HelmBlueGreenDeploy - YAML Schema

JFrog Pipelines Documentation

ft:sourceType
Paligo

The YAML schema for HelmBlueGreenDeploy native step is as shown below. For more information on HelmBlueGreenDeploy Pipeline steps, see HelmBlueGreenDeploy.

HelmBlueGreenDeploy

pipelines:
  - name:   <string>
    steps:
      - name: <string>
        type: HelmBlueGreenDeploy
        configuration:
          #inherits all the tags from bash
          helmVersion:                  <2 | 3>         # optional, defaults to 3
          namespace:                    <string>
          blueReleaseName:              <string>
          blueFlags:                    <string>        # optional
          blueValueFilePaths:                           # optional
            - <path and filename>          
          greenReleaseName:             <string>
          greenFlags:                   <string>        # optional
          greenValueFilePaths:                      # optional
            - <path and filename>          
          roleServices:
            - liveName:             <string>
              liveCustomProperties: <string>        # optional
              idleName:             <string>
              idleCustomProperties: <string>        # optional
              blueReferenceName:    <string>
                          greenReferenceName:   <string>              
          chartPath:                    <path string>   # optional, may be required for certain input resources
                  chartName:                <path string>   # optional, may be required for certain input resources
                  chartVersion:             <path string>   # optional, may be required for certain input resources
          dryRun:                   <true | false>  # optional, only deploys if the dryrun is success
          lint:                     <true | false>  # lints chart before upgrade, default false
          lintFlags: “--strict”
          test:                     <true | false>  # runs helm test after upgrade, default false
          testFlags: “--parallel”

          integrations:
            - name:         <kubernetes integration>                         # required
          inputResources:
            - name:         <HelmChart, GitRepo, FileSpec or BuildInfo resource>        # required, only one input resource is allowed

        execution:
          onStart:
            - echo "Preparing for work..."
          onSuccess:
            - echo "Job well done!"
          onFailure:
            - echo "uh oh, something went wrong"
          onComplete: #always
            - echo "Cleaning up some stuff"