kotlin-dsl/HelmUpgrade.xml (28 lines of code) (raw):

<?xml version="1.0" encoding="UTF-8"?> <!-- ~ Copyright 2000 - 2017 JetBrains s.r.o. ~ ~ Licensed under the Apache License, Version 2.0 (the "License"). ~ See LICENSE in the project root for license information. --> <dsl-extension kind="buildStep" type="jetbrains.helm" applicable="params['teamcity.helm.command'] == 'helm-upgrade'" generateDslJar="true"> <class name="HelmUpgradeStep"> <description> A [helm build step](https://github.com/JetBrains/teamcity-kubernetes-plugin) to run 'helm upgrade' command </description> </class> <function name="helmUpgrade"> <description> Adds a [helm build step](https://github.com/JetBrains/teamcity-kubernetes-plugin) to run 'helm upgrade' command @see HelmUpgradeStep </description> </function> <init> <param name="command" value="helm-upgrade"/> </init> <params> <param name="helm-upgradeteamcity.helm.releaseName" dslName="release"> <description>Release to upgrade.</description> </param> <param name="helm-upgradeteamcity.helm.chart" dslName="chart"> <description>New version of chart.</description> </param> <param name="helm-upgradeteamcity.helm.additionalFlags" dslName="additionalFlags"> <description>Additional options for 'helm upgrade' command line.</description> </param> </params> </dsl-extension>