Merge pull request #290 from stefanprodan/release-6.4.1 #420
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: e2e | |
on: | |
pull_request: | |
push: | |
branches: | |
- 'master' | |
permissions: | |
contents: read | |
jobs: | |
kind-helm: | |
strategy: | |
matrix: | |
helm-version: | |
- v3.11.0 | |
runs-on: ubuntu-latest | |
steps: | |
- name: Checkout | |
uses: actions/checkout@v3 | |
- name: Setup Kubernetes | |
uses: helm/[email protected] | |
with: | |
version: v0.17.0 | |
cluster_name: kind | |
- name: Build container image | |
run: | | |
./test/build.sh | |
kind load docker-image test/podinfo:latest | |
- name: Setup Helm | |
uses: azure/setup-helm@v3 | |
with: | |
version: ${{ matrix.helm-version }} | |
- name: Deploy | |
run: ./test/deploy.sh | |
- name: Run integration tests | |
run: ./test/test.sh | |
- name: Debug failure | |
if: failure() | |
run: | | |
kubectl logs -l app=podinfo || true |