File tree Expand file tree Collapse file tree 1 file changed +12
-18
lines changed Expand file tree Collapse file tree 1 file changed +12
-18
lines changed Original file line number Diff line number Diff line change @@ -5,21 +5,24 @@ stages:
5
5
- build
6
6
- publish
7
7
8
- workflow :
9
- rules :
10
- - if : $CI_COMMIT_TAG
11
- - if : $CI_COMMIT_BRANCH
12
-
13
- variables : &default-vars
8
+ variables :
14
9
GIT_STRATEGY : fetch
15
10
GIT_DEPTH : 100
16
11
CARGO_INCREMENTAL : 0
17
12
ARCH : " x86_64"
18
13
CI_IMAGE : " paritytech/bridges-ci:production"
14
+ BUILDAH_IMAGE : " quay.io/buildah/stable:v1.27"
19
15
RUST_BACKTRACE : full
20
16
21
17
default :
22
18
cache : {}
19
+ interruptible : true
20
+ retry :
21
+ max : 2
22
+ when :
23
+ - runner_system_failure
24
+ - unknown_failure
25
+ - api_failure
23
26
24
27
.collect-artifacts : &collect-artifacts
25
28
artifacts :
@@ -32,7 +35,6 @@ default:
32
35
.kubernetes-build : &kubernetes-build
33
36
tags :
34
37
- kubernetes-parity-build
35
- interruptible : true
36
38
37
39
.docker-env : &docker-env
38
40
image : " ${CI_IMAGE}"
@@ -41,16 +43,8 @@ default:
41
43
- cargo --version
42
44
- rustup +nightly show
43
45
- cargo +nightly --version
44
- - sccache -s
45
- retry :
46
- max : 2
47
- when :
48
- - runner_system_failure
49
- - unknown_failure
50
- - api_failure
51
- interruptible : true
52
46
tags :
53
- - linux-docker
47
+ - linux-docker-vm-c2
54
48
55
49
.test-refs : &test-refs
56
50
rules :
@@ -237,7 +231,7 @@ build-nightly:
237
231
238
232
.build-push-image : &build-push-image
239
233
<< : *kubernetes-build
240
- image : quay.io/buildah/stable:v1.27
234
+ image : $BUILDAH_IMAGE
241
235
<< : *build-refs
242
236
variables : &image-variables
243
237
GIT_STRATEGY : none
@@ -248,7 +242,7 @@ build-nightly:
248
242
needs :
249
243
- job : build
250
244
artifacts : true
251
- before_script : &check-versions
245
+ before_script :
252
246
- echo "Starting docker image build/push with name '${IMAGE_NAME}' for '${BRIDGES_PROJECT}' with Dockerfile = '${DOCKERFILE}'"
253
247
- if [[ "${CI_COMMIT_TAG}" ]]; then
254
248
VERSION=${CI_COMMIT_TAG};
You can’t perform that action at this time.
0 commit comments