Create workflow to run e2e tests on latest k8s #3385
Workflow file for this run
This file contains hidden or 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-testing | |
| "on": | |
| push: | |
| branches: | |
| - develop | |
| paths-ignore: | |
| - 'docs/**' | |
| - '*.md' | |
| - 'cli/**' | |
| pull_request: | |
| types: [opened, reopened, synchronize] | |
| paths-ignore: | |
| - 'docs/**' | |
| - '*.md' | |
| - 'cli/**' | |
| concurrency: | |
| group: ${{ github.workflow }}-${{ github.ref }} | |
| cancel-in-progress: true | |
| jobs: | |
| test-all: | |
| name: Upgrade Testing | |
| runs-on: ubuntu-latest | |
| steps: | |
| - name: Check out code | |
| uses: actions/checkout@v4 | |
| with: | |
| fetch-depth: 0 | |
| - name: Set up Go 1.x | |
| uses: actions/setup-go@v5 | |
| with: | |
| go-version-file: go.mod | |
| - name: Install Carvel Tools | |
| run: ./hack/install-deps.sh | |
| - name: Run Upgrade Test | |
| run: | | |
| set -e -x | |
| minikube start --driver=docker | |
| eval $(minikube docker-env --shell=bash) | |
| kapp deploy -a kc -f https://github.com/carvel-dev/kapp-controller/releases/latest/download/release.yml -y | |
| ./hack/deploy.sh |