forked from hetznercloud/csi-driver
-
Notifications
You must be signed in to change notification settings - Fork 1
/
.gitlab-ci.yml
54 lines (46 loc) · 854 Bytes
/
.gitlab-ci.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
49
50
51
52
53
54
---
include:
- project: "hc/ops/ci"
file: "k8s/release.yml"
stages:
- test
- E2E
- build
- release
variables:
GOPROXY: goproxy.prodext.hcinfra.de
GONOSUMDB: hetzner.cloud
unit:
image: golang:1.17
stage: test
script:
- go test $(go list ./... | grep -v e2etests) -v
tags:
- hc-bladerunner
.k8se2e: &k8se2e
image: docker:git
stage: E2E
variables:
K8S_VERSION: k8s-1.17.14
before_script:
- apk add --no-cache git make musl-dev go
script:
- go test $(go list ./... | grep e2etests) -v -timeout 60m
tags:
- hc-bladerunner-build
k8s 1.19:
<<: *k8se2e
variables:
K8S_VERSION: k8s-1.19.10
k8s 1.20:
<<: *k8se2e
variables:
K8S_VERSION: k8s-1.20.6
k8s 1.21:
<<: *k8se2e
variables:
K8S_VERSION: k8s-1.21.0
k8s 1.22:
<<: *k8se2e
variables:
K8S_VERSION: k8s-1.22.0