Support Helm 2 build steps.
The plugin is compatible with TeamCity 2017.1.x and later. The plugin is compatible with Helm 2.0
You can download the plugin and install it as an additional TeamCity plugin.
Add Helm build step to build configuration, choose one of supported commands: install, upgrade, rollback, test, delete.
Or use Kotlin DSL
object Helm_Deployment : BuildType({
uuid = "866dd903-6f55-4a54-a621-065b380dd7fc"
extId = "Helm_Deployment"
name = "Deployment"
steps {
helmInstall {
chart = "stable/teamcity-server"
param("teamcity.helm.command", "helm-install")
}
}
})
Build agent to be compatible with Helm runner should provide Helm_Path configuration parameter which should point to the location of Helm executable. Plugin searches Helm in default location /usr/local/bin/helm on Linux machines.
Apache 2.0
Please feel free to post feedback in the repository issues.
Follow general instructions to build TeamCity plugins using Maven. Plugin uses TeamCity SDK Maven plugin
# build and package plugin
mvn clean package
# deploy packed plugin to local Teamcity installation and start server and build agent
mvn tc-sdk:start
# stop locally running server and build agent
mvn tc-sdk:stop