mirror of
https://github.com/stefanprodan/podinfo.git
synced 2026-04-06 19:16:50 +00:00
- remove Helm v2 and Tiller - update Helm v3 to 3.5.0 - rename scripts dir to test Signed-off-by: Stefan Prodan <stefan.prodan@gmail.com>
37 lines
809 B
YAML
37 lines
809 B
YAML
name: e2e
|
|
|
|
on:
|
|
pull_request:
|
|
push:
|
|
branches:
|
|
- 'master'
|
|
|
|
jobs:
|
|
kind-helm:
|
|
strategy:
|
|
matrix:
|
|
helm-version:
|
|
- 3.5.0
|
|
runs-on: ubuntu-latest
|
|
steps:
|
|
- name: Checkout
|
|
uses: actions/checkout@v2
|
|
- name: Setup Kubernetes
|
|
uses: engineerd/setup-kind@v0.5.0
|
|
- name: Build container image
|
|
run: |
|
|
./test/build.sh
|
|
kind load docker-image test/podinfo:latest
|
|
- name: Setup Helm
|
|
uses: ./.github/actions/helm
|
|
with:
|
|
helm-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
|