Commit 477a120 1 parent 6d3a6d8 commit 477a120 Copy full SHA for 477a120
File tree 4 files changed +46
-11
lines changed
4 files changed +46
-11
lines changed Original file line number Diff line number Diff line change
1
+ [compression ]
2
+ type = " zstd"
3
+
4
+ [compression .zstd ]
5
+ compressionLevel = 3
6
+
7
+ [general ]
8
+ jobNameVariable = " CI_JOB_NAME"
9
+ jobsBlackList = []
10
+ logLevel = " warn"
11
+ threadsCount = 6
12
+
13
+ [metrics ]
14
+ enabled = true
15
+ pushEndpoint = " placeholder"
16
+
17
+ [metrics .extraLabels ]
18
+ environment = " production"
19
+ job_name = " $CI_JOB_NAME"
20
+ project_name = " $CI_PROJECT_PATH"
21
+
22
+ [storage ]
23
+ type = " s3"
24
+
25
+ [storage .s3 ]
26
+ accessKeyId = " placeholder"
27
+ bucketName = " placeholder"
28
+ concurrency = 10
29
+ endpointUrl = " placeholder"
30
+ secretAccessKey = " placeholder"
Original file line number Diff line number Diff line change 14
14
# GitHub Actions allows using 'env' in a container context.
15
15
# However, env variables don't work for forks: https://github.com/orgs/community/discussions/44322
16
16
# This workaround sets the container image for each job using 'set-image' job output.
17
- runs-on : arc-runners-polkadot-sdk-default
17
+ runs-on : arc-runners-polkadot-sdk
18
18
timeout-minutes : 10
19
19
outputs :
20
20
IMAGE : ${{ steps.set_image.outputs.IMAGE }}
24
24
- id : set_image
25
25
run : cat .github/env >> $GITHUB_OUTPUT
26
26
fmt :
27
- runs-on : arc-runners-polkadot-sdk-default
27
+ runs-on : arc-runners-polkadot-sdk
28
28
timeout-minutes : 10
29
29
needs : [set-image]
30
30
container :
34
34
- name : Cargo fmt
35
35
run : cargo +nightly fmt --all -- --check
36
36
check-dependency-rules :
37
- runs-on : arc-runners-polkadot-sdk-default
37
+ runs-on : arc-runners-polkadot-sdk
38
38
timeout-minutes : 10
39
39
needs : [set-image]
40
40
container :
46
46
cd substrate/
47
47
../.gitlab/ensure-deps.sh
48
48
check-rust-feature-propagation :
49
- runs-on : arc-runners-polkadot-sdk-default
50
- # runs-on: ubuntu-latest
49
+ runs-on : arc-runners-polkadot-sdk
51
50
timeout-minutes : 10
52
51
needs : [set-image]
53
52
container :
57
56
- name : run zepter
58
57
run : zepter run check
59
58
test-rust-features :
60
- runs-on : arc-runners-polkadot-sdk-default
61
- # runs-on: ubuntu-latest
59
+ runs-on : arc-runners-polkadot-sdk
62
60
timeout-minutes : 10
63
61
needs : [set-image]
64
62
container :
68
66
- name : run rust features
69
67
run : bash .gitlab/rust-features.sh .
70
68
check-toml-format :
71
- runs-on : arc-runners-polkadot-sdk-default
69
+ runs-on : arc-runners-polkadot-sdk
72
70
timeout-minutes : 10
73
71
needs : [set-image]
74
72
container :
Original file line number Diff line number Diff line change @@ -8,6 +8,13 @@ concurrency:
8
8
group : ${{ github.workflow }}-${{ github.event.pull_request.number || github.ref }}
9
9
cancel-in-progress : true
10
10
11
+ env :
12
+ FORKLIFT_storage_s3_bucketName : ${{ secrets.FORKLIFT_storage_s3_bucketName }}
13
+ FORKLIFT_storage_s3_accessKeyId : ${{ secrets.FORKLIFT_storage_s3_accessKeyId }}
14
+ FORKLIFT_storage_s3_secretAccessKey : ${{ secrets.FORKLIFT_storage_s3_secretAccessKey }}
15
+ FORKLIFT_storage_s3_endpointUrl : ${{ secrets.FORKLIFT_storage_s3_endpointUrl }}
16
+ FORKLIFT_metrics_pushEndpoint : ${{ secrets.FORKLIFT_metrics_pushEndpoint }}
17
+
11
18
jobs :
12
19
set-image :
13
20
# GitHub Actions allows using 'env' in a container context.
38
45
- name : Checkout
39
46
uses : actions/checkout@v4
40
47
- name : script
41
- run : WASM_BUILD_NO_COLOR=1 time cargo test -p staging-node-cli --release --locked -- --ignored
48
+ run : WASM_BUILD_NO_COLOR=1 time forklift cargo test -p staging-node-cli --release --locked -- --ignored
42
49
quick-benchmarks :
43
50
runs-on : arc-runners-polkadot-sdk-beefy
44
51
timeout-minutes : 30
54
61
- name : Checkout
55
62
uses : actions/checkout@v4
56
63
- name : script
57
- run : time cargo run --locked --release -p staging-node-cli --bin substrate-node --features runtime-benchmarks -- benchmark pallet --chain dev --pallet "*" --extrinsic "*" --steps 2 --repeat 1 --quiet
64
+ run : time forklift cargo run --locked --release -p staging-node-cli --bin substrate-node --features runtime-benchmarks -- benchmark pallet --chain dev --pallet "*" --extrinsic "*" --steps 2 --repeat 1 --quiet
Original file line number Diff line number Diff line change @@ -120,7 +120,7 @@ default:
120
120
.forklift-cache :
121
121
before_script :
122
122
- mkdir ~/.forklift
123
- - cp $FL_FORKLIFT_CONFIG ~/.forklift/config.toml
123
+ - cp .forklift/config.toml ~/.forklift/config.toml
124
124
- >
125
125
if [ "$FORKLIFT_BYPASS" != "true" ]; then
126
126
echo "FORKLIFT_BYPASS not set";
You can’t perform that action at this time.
0 commit comments