From 43edc93113ab142c03a7917573d9d3b4d7cadd50 Mon Sep 17 00:00:00 2001 From: Andrew Lavery Date: Thu, 14 Nov 2024 22:27:40 -0300 Subject: [PATCH] promote the current EC version to the stable channel on release --- .github/workflows/release-prod.yaml | 15 ++++++++++++++- 1 file changed, 14 insertions(+), 1 deletion(-) diff --git a/.github/workflows/release-prod.yaml b/.github/workflows/release-prod.yaml index e7539f9ad..d1dc826af 100644 --- a/.github/workflows/release-prod.yaml +++ b/.github/workflows/release-prod.yaml @@ -284,7 +284,7 @@ jobs: export EC_VERSION="${{ github.ref_name }}" export APP_VERSION="appver-${{ github.ref_name }}" export RELEASE_YAML_DIR=e2e/kots-release-install - ./scripts/ci-release-app.sh + ./scripts/ci-release-app.sh # and finally an app upgrade export EC_VERSION="${{ github.ref_name }}" @@ -319,6 +319,19 @@ jobs: export APP_VERSION="appver-${{ github.ref_name }}-upgrade" export RELEASE_YAML_DIR=e2e/kots-release-upgrade ./scripts/ci-release-app.sh + - name: Create Stable release + env: + REPLICATED_APP: "embedded-cluster-smoke-test-staging-app" + REPLICATED_API_TOKEN: ${{ secrets.STAGING_REPLICATED_API_TOKEN }} + REPLICATED_API_ORIGIN: "https://api.staging.replicated.com/vendor" + APP_CHANNEL: Stable + USES_DEV_BUCKET: "0" + run: | + # install the current k0s version + export EC_VERSION="${{ github.ref_name }}" + export APP_VERSION="${{ github.ref_name }}" + export RELEASE_YAML_DIR=e2e/kots-release-install + ./scripts/ci-release-app.sh download-current: name: Download the current release binary