Skip to content

Commit 4f8a87d

Browse files
committed
.gitlab-ci.yml: add gatekeeper stage, update Go versions, switch armv7hf target from docker to shell
1 parent ccb90ae commit 4f8a87d

File tree

1 file changed

+17
-7
lines changed

1 file changed

+17
-7
lines changed

.gitlab-ci.yml

Lines changed: 17 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -1,12 +1,25 @@
1+
stages:
2+
- gatekeeper
3+
- test
4+
15
.test:
26
stage: test
37
script:
48
- ./build/ci.sh
59

6-
test:linux:x64:old:
10+
.test:linux:x64:
711
extends: .test
812
tags: [ x64, linux, docker ]
913
image: golang:$GOVERSION
14+
15+
gatekeeper-test:
16+
extends: .test:linux:x64
17+
stage: gatekeeper
18+
variables:
19+
GOVERSION: '1.20'
20+
21+
test:linux:x64:old:
22+
extends: .test:linux:x64
1023
parallel:
1124
matrix:
1225
- GOVERSION: [ '1.11.4', '1.12' ]
@@ -15,17 +28,14 @@ test:linux:x64:old:
1528
- rm go.sum # issues with checksum mismatch, if anyone still uses old Go, they may need to delete go.sum
1629

1730
test:linux:x64:
18-
extends: .test
19-
tags: [ x64, linux, docker ]
20-
image: golang:$GOVERSION
31+
extends: .test:linux:x64
2132
parallel:
2233
matrix:
23-
- GOVERSION: [ '1.13', '1.14', '1.15', '1.16', '1.17' ]
34+
- GOVERSION: [ '1.13', '1.14', '1.15', '1.16', '1.17', '1.18', '1.19', '1.20' ]
2435

2536
test:linux:ARMv7hf:
2637
extends: .test
27-
image: golang
28-
tags: [ armv7hf, linux, docker ]
38+
tags: [ armv7hf, linux ]
2939
variables:
3040
BUILD_ARGS: -test.short
3141

0 commit comments

Comments
 (0)