mirror of
https://github.com/pezkuwichain/pezkuwi-subxt.git
synced 2026-05-30 22:11:02 +00:00
CI: workaraound for variable not passed to after_script (#2256)
This commit is contained in:
+11
-11
@@ -180,11 +180,9 @@ check-transaction-versions:
|
|||||||
script:
|
script:
|
||||||
- scripts/gitlab/check_extrinsics_ordering.sh
|
- scripts/gitlab/check_extrinsics_ordering.sh
|
||||||
|
|
||||||
.build-linux: &build-linux
|
.pack-artifacts: &pack-artifacts
|
||||||
<<: *collect-artifacts
|
- mkdir -p ./artifacts
|
||||||
<<: *docker-env
|
- VERSION="${CI_COMMIT_REF_NAME}" # will be tag or branch name
|
||||||
<<: *compiler-info
|
|
||||||
after_script:
|
|
||||||
- mv ./target/release/polkadot ./artifacts/.
|
- mv ./target/release/polkadot ./artifacts/.
|
||||||
- sha256sum ./artifacts/polkadot | tee ./artifacts/polkadot.sha256
|
- sha256sum ./artifacts/polkadot | tee ./artifacts/polkadot.sha256
|
||||||
- if [ "${CI_COMMIT_TAG}" ]; then
|
- if [ "${CI_COMMIT_TAG}" ]; then
|
||||||
@@ -201,7 +199,9 @@ check-transaction-versions:
|
|||||||
|
|
||||||
build-linux-release:
|
build-linux-release:
|
||||||
stage: build
|
stage: build
|
||||||
<<: *build-linux
|
<<: *collect-artifacts
|
||||||
|
<<: *docker-env
|
||||||
|
<<: *compiler-info
|
||||||
rules:
|
rules:
|
||||||
# .rules-test with manual on PRs
|
# .rules-test with manual on PRs
|
||||||
- if: $PIPELINE == "rococo"
|
- if: $PIPELINE == "rococo"
|
||||||
@@ -211,21 +211,21 @@ build-linux-release:
|
|||||||
allow_failure: true
|
allow_failure: true
|
||||||
- when: always
|
- when: always
|
||||||
script:
|
script:
|
||||||
- mkdir -p ./artifacts
|
|
||||||
- VERSION="${CI_COMMIT_REF_NAME}" # will be tag or branch name
|
|
||||||
- time cargo build --release --verbose
|
- time cargo build --release --verbose
|
||||||
- sccache -s
|
- sccache -s
|
||||||
|
- *pack-artifacts
|
||||||
|
|
||||||
build-linux-rococo:
|
build-linux-rococo:
|
||||||
stage: build
|
stage: build
|
||||||
<<: *build-linux
|
<<: *collect-artifacts
|
||||||
|
<<: *docker-env
|
||||||
|
<<: *compiler-info
|
||||||
rules:
|
rules:
|
||||||
- if: $PIPELINE == "rococo"
|
- if: $PIPELINE == "rococo"
|
||||||
script:
|
script:
|
||||||
- mkdir -p ./artifacts
|
|
||||||
- VERSION="${CI_COMMIT_REF_NAME}" # will be tag or branch name
|
|
||||||
- time cargo build --release --verbose --features=real-overseer
|
- time cargo build --release --verbose --features=real-overseer
|
||||||
- sccache -s
|
- sccache -s
|
||||||
|
- *pack-artifacts
|
||||||
|
|
||||||
generate-impl-guide:
|
generate-impl-guide:
|
||||||
stage: build
|
stage: build
|
||||||
|
|||||||
Reference in New Issue
Block a user