diff --git a/.github/workflows/release-prod.yaml b/.github/workflows/release-prod.yaml index 8e5b26ab4..91a2f3eba 100644 --- a/.github/workflows/release-prod.yaml +++ b/.github/workflows/release-prod.yaml @@ -315,6 +315,32 @@ jobs: export APP_VERSION="appver-${{ needs.get-tag.outputs.tag-name }}-upgrade" export RELEASE_YAML_DIR=e2e/kots-release-upgrade ./scripts/ci-release-app.sh + + build-current: + name: Download the current release binary + runs-on: ubuntu-latest + needs: + - release-app + - get-tag + steps: + - name: Download current binary + env: + LICENSE_ID: ${{ secrets.STAGING_EMBEDDED_CLUSTER_LICENSE_ID }} + run: | + export APP_VERSION="appver-${{ needs.get-tag.outputs.tag-name }}" + curl -L "https://staging.replicated.app/embedded/embedded-cluster-smoke-test-staging-app/ci/${APP_VERSION}" -H "Authorization: $LICENSE_ID" -o embedded-cluster-smoke-test-staging-app-ci.tgz + tar -xzf embedded-cluster-smoke-test-staging-app-ci.tgz + mv embedded-cluster-smoke-test-staging-app-ci embedded-cluster + mkdir -p output/bin + mv embedded-cluster output/bin + + - name: Upload release + uses: actions/upload-artifact@v4 + with: + name: current-release + path: | + output/bin/embedded-cluster + e2e: name: E2E runs-on: ${{ matrix.runner || 'ubuntu-22.04' }} @@ -322,6 +348,7 @@ jobs: - release - release-app - get-tag + - build-current - build-previous-stable strategy: fail-fast: false @@ -329,6 +356,7 @@ jobs: test: - TestResetAndReinstallAirgap - TestSingleNodeAirgapUpgrade + - TestProxiedCustomCIDR include: - test: TestMultiNodeAirgapUpgrade runner: embedded-cluster @@ -360,7 +388,6 @@ jobs: upgrade-target-ec-version: ${{ needs.get-tag.outputs.tag-name }} # this job will validate that all the tests passed - # it is used for the github branch protection rule validate-release-success: name: Validate success runs-on: ubuntu-20.04