From 4546d735b5f58b391926a7c36faf3385f2a22fc6 Mon Sep 17 00:00:00 2001 From: MichalKalke Date: Fri, 26 Jan 2024 11:20:44 +0100 Subject: [PATCH] Skeleton of upgrade test --- .github/workflows/upgrade-test.yaml | 36 +++++++++++++++++++++++++++++ 1 file changed, 36 insertions(+) create mode 100644 .github/workflows/upgrade-test.yaml diff --git a/.github/workflows/upgrade-test.yaml b/.github/workflows/upgrade-test.yaml new file mode 100644 index 00000000..78098da5 --- /dev/null +++ b/.github/workflows/upgrade-test.yaml @@ -0,0 +1,36 @@ +# https://github.com/kyma-project/warden/releases/latest/download/warden-chart.tgz +name: Upgrade test + +on: + push: + branches: [ "main", "release-*" ] + pull_request: + paths-ignore: + - 'docs/**' + - 'examples/**' + types: + - opened + - reopened + - synchronize + - ready_for_review + - converted_to_draft + +jobs: + upgrade-test: + runs-on: ubuntu-latest + if: github.event_name == 'push' + steps: + - uses: actions/checkout@v4 + - name: create single cluster + uses: AbsaOSS/k3d-action@4e8b3239042be1dc0aed6c5eb80c13b18200fc79 #v2.4.0 + with: + cluster-name: "k3dCluster" + args: >- + --agents 1 + --port 80:80@loadbalancer + --port 443:443@loadbalancer + --wait + - name: install latest warden operator from the release + run: helm install warden https://github.com/kyma-project/warden/releases/latest/download/warden-chart.tgz + - name: run integration tests + run: make test \ No newline at end of file