Skip to content

Commit

Permalink
wip
Browse files Browse the repository at this point in the history
  • Loading branch information
msanft committed Dec 18, 2023
1 parent a9cf38b commit ffdd2b8
Showing 1 changed file with 28 additions and 3 deletions.
31 changes: 28 additions & 3 deletions .github/workflows/e2e-upgrade.yml
Original file line number Diff line number Diff line change
Expand Up @@ -157,7 +157,7 @@ jobs:
- name: Upload CLI binary
uses: actions/upload-artifact@a8a3f3ad30e3422c9c7b888a15615d19a852ae32 # v3.1.3
with:
name: cli
name: constellation
path: build/constellation

create-cluster:
Expand Down Expand Up @@ -216,6 +216,13 @@ jobs:
awsOpenSearchPwd: ${{ secrets.AWS_OPENSEARCH_PWD }}
selfManagedInfra: "false"

- name: Upload working directory
if: always()
uses: actions/upload-artifact@a8a3f3ad30e3422c9c7b888a15615d19a852ae32 # v3.1.3
with:
name: workdir
path: .

e2e-upgrade:
name: Run upgrade test
runs-on: ubuntu-22.04
Expand Down Expand Up @@ -292,7 +299,7 @@ jobs:
- name: Download CLI
uses: actions/download-artifact@9bc31d5ccc31df68ecc42ccf4149144866c47d8a # v3.0.2
with:
name: cli
name: constellation
path: build

- name: Migrate config
Expand Down Expand Up @@ -347,6 +354,24 @@ jobs:
bazel run //e2e/internal/upgrade:upgrade_test -- --want-worker "$WORKERNODES" --want-control "$CONTROLNODES" --target-image "$IMAGE" "$KUBERNETES_FLAG" "$MICROSERVICES_FLAG"
- name: Upload working directory
if: always()
uses: actions/upload-artifact@a8a3f3ad30e3422c9c7b888a15615d19a852ae32 # v3.1.3
with:
name: workdir
path: .

clean-up:
name: Clean up resources
runs-on: ubuntu-22.04
permissions:
id-token: write
checks: write
contents: read
packages: write
needs:
- create-cluster
steps:
- name: Always fetch logs
if: always()
env:
Expand Down Expand Up @@ -386,7 +411,7 @@ jobs:

- name: Notify about failure
if: |
failure() &&
always() &&
github.ref == 'refs/heads/main' &&
inputs.scheduled
continue-on-error: true
Expand Down

0 comments on commit ffdd2b8

Please sign in to comment.