From a7945cd1e687ea5e78bd7b1cea95f38329b094e0 Mon Sep 17 00:00:00 2001 From: Piotr Halama Date: Wed, 23 Oct 2024 09:55:00 +0200 Subject: [PATCH] Update release config hint --- .../workflows/promote-to-release-channel.yaml | 25 +++++++++---------- 1 file changed, 12 insertions(+), 13 deletions(-) diff --git a/.github/workflows/promote-to-release-channel.yaml b/.github/workflows/promote-to-release-channel.yaml index ce3f600..2d4b9af 100644 --- a/.github/workflows/promote-to-release-channel.yaml +++ b/.github/workflows/promote-to-release-channel.yaml @@ -4,15 +4,15 @@ on: workflow_dispatch: inputs: new_warden_tag: - description: 'New warden tag (`x.x.x`)' + description: "New warden tag (`x.x.x`)" default: "" required: true warden_skr_config_version: - description: 'Warden SKR config version (`y.y`)' + description: "Warden SKR config version (`y.y.y`)" default: "" required: true channel: - description: 'Module channel' + description: "Module channel" default: "regular" required: true @@ -27,7 +27,6 @@ env: GH_TOOLS_REPO_URL: ${{ secrets.GH_TOOLS_REPO_URL }} jobs: - create-tag: name: Create tag runs-on: ubuntu-latest @@ -58,24 +57,24 @@ jobs: with: fetch-depth: 0 token: ${{ secrets.BOT_TOKEN }} - + - name: Bump sec-scanners-config.yaml run: ./.github/scripts/upgrade-sec-scanners-config.sh env: IMG_VERSION: ${{ github.event.inputs.new_warden_tag }} - + - name: Bump values.yaml run: | make replace-chart-images env: IMG_DIRECTORY: "prod" IMG_VERSION: ${{ github.event.inputs.new_warden_tag }} - + - name: Bump chart version run: ./.github/scripts/upgrade-chart-version.sh env: CHART_VERSION: ${{ github.event.inputs.new_warden_tag }} - + - name: Commit&Push run: | git config --local user.email "otter-releaser@otter-releaser.noreply.github.com" @@ -92,29 +91,29 @@ jobs: name: Render warden with skr config needs: upgrade-images runs-on: ubuntu-latest - + steps: - name: Checkout code uses: actions/checkout@v4 with: fetch-depth: 0 - ref: ${{ github.event.inputs.new_warden_tag }} # fetching tag that was created in previous job + ref: ${{ github.event.inputs.new_warden_tag }} # fetching tag that was created in previous job - name: Download warden-SKR-config run: | gh release download ${{ github.event.inputs.warden_skr_config_version }} -R "${WARDEN_SKR_OVERRIDES_REPO_URL}" --pattern '*.yaml' --output values.yaml - + - name: Render warden manifest for values run: | make render-manifest-for-values echo "==== warden manifest ===" cat warden.yaml - + - name: Render module-config run: | make module-config echo "==== module-config ===" - cat module-config.yaml + cat module-config.yaml - name: Set up module-manifests repo run: |