Unverified Commit 95fce90c authored by Denis_P's avatar Denis_P 🏑 Committed by GitHub
Browse files

CI: workaraound for variable not passed to after_script (#2256)

parent c385b486
Pipeline #119939 passed with stages
in 30 minutes and 38 seconds
......@@ -180,11 +180,9 @@ check-transaction-versions:
script:
- scripts/gitlab/check_extrinsics_ordering.sh
.build-linux: &build-linux
<<: *collect-artifacts
<<: *docker-env
<<: *compiler-info
after_script:
.pack-artifacts: &pack-artifacts
- mkdir -p ./artifacts
- VERSION="${CI_COMMIT_REF_NAME}" # will be tag or branch name
- mv ./target/release/polkadot ./artifacts/.
- sha256sum ./artifacts/polkadot | tee ./artifacts/polkadot.sha256
- if [ "${CI_COMMIT_TAG}" ]; then
......@@ -201,7 +199,9 @@ check-transaction-versions:
build-linux-release:
stage: build
<<: *build-linux
<<: *collect-artifacts
<<: *docker-env
<<: *compiler-info
rules:
# .rules-test with manual on PRs
- if: $PIPELINE == "rococo"
......@@ -211,21 +211,21 @@ build-linux-release:
allow_failure: true
- when: always
script:
- mkdir -p ./artifacts
- VERSION="${CI_COMMIT_REF_NAME}" # will be tag or branch name
- time cargo build --release --verbose
- sccache -s
- *pack-artifacts
build-linux-rococo:
stage: build
<<: *build-linux
<<: *collect-artifacts
<<: *docker-env
<<: *compiler-info
rules:
- if: $PIPELINE == "rococo"
script:
- mkdir -p ./artifacts
- VERSION="${CI_COMMIT_REF_NAME}" # will be tag or branch name
- time cargo build --release --verbose --features=real-overseer
- sccache -s
- *pack-artifacts
generate-impl-guide:
stage: build
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment