Skip to content

Commit

Permalink
add online multinode custom-cidr proxy test
Browse files Browse the repository at this point in the history
  • Loading branch information
laverya committed Nov 11, 2024
1 parent 83a0f1d commit 89408d4
Showing 1 changed file with 28 additions and 1 deletion.
29 changes: 28 additions & 1 deletion .github/workflows/release-prod.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -315,20 +315,48 @@ 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' }}
needs:
- release
- release-app
- get-tag
- build-current
- build-previous-stable
strategy:
fail-fast: false
matrix:
test:
- TestResetAndReinstallAirgap
- TestSingleNodeAirgapUpgrade
- TestProxiedCustomCIDR
include:
- test: TestMultiNodeAirgapUpgrade
runner: embedded-cluster
Expand Down Expand Up @@ -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
Expand Down

0 comments on commit 89408d4

Please sign in to comment.