File tree 1 file changed +10
-25
lines changed
1 file changed +10
-25
lines changed Original file line number Diff line number Diff line change 4
4
#
5
5
# pipelines can be triggered manually in the web
6
6
7
+ default :
8
+ interruptible : true
9
+ retry :
10
+ max : 2
11
+ when :
12
+ - runner_system_failure
13
+ - unknown_failure
14
+ - api_failure
7
15
8
16
stages :
9
17
- fmt
@@ -15,12 +23,6 @@ variables:
15
23
GIT_STRATEGY : fetch
16
24
GIT_DEPTH : 100
17
25
CARGO_INCREMENTAL : 0
18
- CARGO_TARGET_DIR : " /ci-cache/${CI_PROJECT_NAME}/targets/${CI_COMMIT_REF_NAME}/${CI_JOB_NAME}"
19
-
20
- workflow :
21
- rules :
22
- - if : $CI_COMMIT_TAG
23
- - if : $CI_COMMIT_BRANCH
24
26
25
27
.collect-artifacts : &collect-artifacts
26
28
artifacts :
@@ -37,27 +39,10 @@ workflow:
37
39
- rustc -vV
38
40
- rustup show
39
41
- bash --version
40
- - mkdir -p ${CARGO_TARGET_DIR}
41
- - ./scripts/ci/pre_cache.sh
42
- - sccache -s
43
- interruptible : true
44
- retry :
45
- max : 2
46
- when :
47
- - runner_system_failure
48
- - unknown_failure
49
- - api_failure
50
42
tags :
51
- - linux-docker
43
+ - linux-docker-vm-c2
52
44
53
45
.kubernetes-env : &kubernetes-env
54
- retry :
55
- max : 2
56
- when :
57
- - runner_system_failure
58
- - unknown_failure
59
- - api_failure
60
- interruptible : true
61
46
tags :
62
47
- kubernetes-parity-build
63
48
@@ -93,7 +78,7 @@ build-linux:
93
78
- time cargo build --release
94
79
- time cargo test --release --all
95
80
- mkdir -p ./artifacts/substrate-contracts-node-linux/
96
- - cp ${CARGO_TARGET_DIR} /release/substrate-contracts-node ./artifacts/substrate-contracts-node-linux/substrate-contracts-node
81
+ - cp target /release/substrate-contracts-node ./artifacts/substrate-contracts-node-linux/substrate-contracts-node
97
82
98
83
# ## stage: build-mac
99
84
You can’t perform that action at this time.
0 commit comments