mirror of
https://github.com/stefanprodan/podinfo.git
synced 2026-04-06 02:56:51 +00:00
39 lines
845 B
YAML
39 lines
845 B
YAML
name: e2e
|
|
|
|
on:
|
|
pull_request:
|
|
push:
|
|
branches:
|
|
- 'master'
|
|
|
|
jobs:
|
|
kind-helm:
|
|
strategy:
|
|
matrix:
|
|
helm-version:
|
|
- 3.9.0
|
|
runs-on: ubuntu-latest
|
|
steps:
|
|
- name: Checkout
|
|
uses: actions/checkout@v2
|
|
- name: Setup Kubernetes
|
|
uses: engineerd/setup-kind@v0.5.0
|
|
with:
|
|
version: v0.11.1
|
|
- name: Build container image
|
|
run: |
|
|
./test/build.sh
|
|
kind load docker-image test/podinfo:latest
|
|
- name: Setup Helm
|
|
uses: ./.github/actions/helm
|
|
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
|