-
Notifications
You must be signed in to change notification settings - Fork 2
48 lines (39 loc) · 1.02 KB
/
e2e-tests.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
name: E2E Tests
on:
# Only run this on pushes to master
push:
branches:
- main
# And when PRs operations are done
pull_request:
types:
- opened
- reopened
- synchronize
jobs:
e2e-tests:
name: Run E2E Tests
runs-on: ubuntu-latest
steps:
- name: Set up Go 1.17
uses: actions/setup-go@v2
with:
go-version: 1.17
- name: Check out code into the Go module directory
uses: actions/checkout@v2
- name: Create k8s KinD Cluster
uses: helm/kind-action@v1.2.0
- name: Install Helm
uses: azure/setup-helm@v1
with:
version: v3.2.0
- name: Add Helm 'bitnami' repository
run: helm repo add bitnami https://charts.bitnami.com/bitnami && helm repo update
- name: Run releases test
working-directory: ./release-testing
run: ./test
- uses: actions/upload-artifact@v1
if: failure()
with:
name: debug-log
path: ./release-testing/debug-log.txt