-
Notifications
You must be signed in to change notification settings - Fork 0
45 lines (44 loc) · 1.06 KB
/
integration-test.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
name: Integration test
on:
release:
types:
- 'created'
pull_request:
branches:
# perform integration test before merging to master
- 'master'
paths-ignore:
- '*.md'
- 'proposal/**'
- 'deploy/**'
- 'LICENSE'
jobs:
integration-test:
runs-on: ubuntu-latest
steps:
- name: Set up Go 1.16
uses: actions/setup-go@v2
with:
go-version: 1.16.6
- name: Checkout
uses: actions/checkout@v2
- name: Build Image
uses: docker/build-push-action@v2
with:
context: .
file: ./Dockerfile
push: false
load: true
platforms: linux/amd64
tags: |
ksraj123/stale-sts-pvc-cleaner:ci
- name: Set up Minikube
uses: manusa/[email protected]
with:
minikube version: 'v1.23.2'
kubernetes version: 'v1.22.3'
driver: none
start args: '--install-addons=false'
- name: Integration test
run: |
make integration-test