mirror of
https://github.com/stefanprodan/podinfo.git
synced 2026-05-27 20:02:49 +00:00
github.com/spf13/cobra v1.2.1 github.com/spf13/viper v1.8.1 go.uber.org/zap v1.19.1 Signed-off-by: Stefan Prodan <stefan.prodan@gmail.com>
37 lines
804 B
YAML
37 lines
804 B
YAML
name: e2e
|
|
|
|
on:
|
|
pull_request:
|
|
push:
|
|
branches:
|
|
- 'master'
|
|
|
|
jobs:
|
|
kind-helm:
|
|
strategy:
|
|
matrix:
|
|
helm-version:
|
|
- 3.6.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:
|
|
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
|