-
Notifications
You must be signed in to change notification settings - Fork 1
52 lines (41 loc) · 1.04 KB
/
e2e.yaml
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
49
50
51
name: e2e
on:
push:
branches:
- main
- development
pull_request:
branches:
- main
- development
jobs:
e2e:
name: Run e2e tests on Pull requests
runs-on: self-hosted
steps:
- uses: actions/checkout@v2
- name: Set up Go 1.15
uses: actions/setup-go@v2
with:
go-version: 1.15
# - name: Cache Go modules
# uses: actions/cache@v2
# with:
# path: ~/go/pkg/mod
# key: ${{ runner.os }}-go-${{ hashFiles('**/go.sum') }}
# restore-keys: |
# ${{ runner.os }}-go-
- name: Get dependencies
run: |
go get -v -t -d ./...
- name: Get vendors
run: |
go mod vendor
- uses: actions/checkout@v2
- name: Create k8s Kind Cluster
uses: helm/[email protected]
with:
node_image: "systemautoscaler/kindest-node:latest"
config: "./config/cluster-conf/kind.conf"
- name: Deploy CRDs, RBAC in kind and run tests
run: make e2e