Files
werf-actions/converge
Alexey Igrychev bbed6a352f feat: export ci-env variables to the next steps
Signed-off-by: Alexey Igrychev <alexey.igrychev@flant.com>
2023-01-20 11:46:17 +00:00
..
2022-10-21 12:41:04 +11:00

___

The action combines all the necessary steps in itself and logic may be divided into environment setup and launching werf converge.

Inputs

channel:
  description: 'The one of the following channel: alpha, beta, ea, stable, rock-solid'
  default: 'alpha'
  required: false
version:
  description: 'The certain version'
  required: false
env:
  description: 'Specific deployment environment'
  required: true
github-token:
  description: 'The GitHub token used to login and to interact with Docker Github Packages'
  default: ${{ github.token }}
  required: false
kube-config-base64-data:
  description: 'Base64 encoded kubeconfig data used for deployment, cleanup and distributed locks'
  required: false

Example

converge: 
  name: Converge
  runs-on: ubuntu-latest
  steps:
  
    - name: Checkout code
      uses: actions/checkout@v2
      with:
        fetch-depth: 0

    - name: Converge
      uses: werf/actions/converge@v1.2
      with:
        kube-config-base64-data: ${{ secrets.KUBE_CONFIG_BASE64_DATA }}
        env: production