Upgrade test #2
Workflow file for this run
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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: checkout to latest commit and install warden | |
run: | | |
last_commit=$(git rev-parse upstream/main) | |
git checkout $last_commit | |
helm install warden | |
- name: run integration tests | |
run: make test |