mirror of
https://github.com/pezkuwichain/pezkuwi-subxt.git
synced 2026-06-20 16:21:02 +00:00
CI: remove node-template from build-linux-substrate-simnet job (#10034)
* ci: remove node-template from build-linux-substrate-simnet * build-linux-substrate job impovements * small fix
This commit is contained in:
committed by
GitHub
parent
53720da2b4
commit
d7e07d4fb9
+25
-15
@@ -178,6 +178,21 @@ default:
|
|||||||
| tee artifacts/benches/$CI_COMMIT_REF_NAME-$CI_COMMIT_SHORT_SHA/::trie::read::small.json'
|
| tee artifacts/benches/$CI_COMMIT_REF_NAME-$CI_COMMIT_SHORT_SHA/::trie::read::small.json'
|
||||||
- sccache -s
|
- sccache -s
|
||||||
|
|
||||||
|
.build-linux-substrate-script: &build-linux-substrate-script
|
||||||
|
- WASM_BUILD_NO_COLOR=1 time cargo build --release --verbose
|
||||||
|
- mv ./target/release/substrate ./artifacts/substrate/.
|
||||||
|
- echo -n "Substrate version = "
|
||||||
|
- if [ "${CI_COMMIT_TAG}" ]; then
|
||||||
|
echo "${CI_COMMIT_TAG}" | tee ./artifacts/substrate/VERSION;
|
||||||
|
else
|
||||||
|
./artifacts/substrate/substrate --version |
|
||||||
|
sed -n -E 's/^substrate ([0-9.]+.*-[0-9a-f]{7,13})-.*$/\1/p' |
|
||||||
|
tee ./artifacts/substrate/VERSION;
|
||||||
|
fi
|
||||||
|
- sha256sum ./artifacts/substrate/substrate | tee ./artifacts/substrate/substrate.sha256
|
||||||
|
- cp -r .maintain/docker/substrate.Dockerfile ./artifacts/substrate/
|
||||||
|
- sccache -s
|
||||||
|
|
||||||
#### Vault secrets
|
#### Vault secrets
|
||||||
.vault-secrets: &vault-secrets
|
.vault-secrets: &vault-secrets
|
||||||
secrets:
|
secrets:
|
||||||
@@ -571,7 +586,8 @@ check-dependent-cumulus:
|
|||||||
variables:
|
variables:
|
||||||
DEPENDENT_REPO: cumulus
|
DEPENDENT_REPO: cumulus
|
||||||
|
|
||||||
build-linux-substrate: &build-binary
|
|
||||||
|
build-linux-substrate:
|
||||||
stage: build
|
stage: build
|
||||||
<<: *collect-artifacts
|
<<: *collect-artifacts
|
||||||
<<: *docker-env
|
<<: *docker-env
|
||||||
@@ -582,27 +598,21 @@ build-linux-substrate: &build-binary
|
|||||||
before_script:
|
before_script:
|
||||||
- mkdir -p ./artifacts/substrate/
|
- mkdir -p ./artifacts/substrate/
|
||||||
script:
|
script:
|
||||||
- WASM_BUILD_NO_COLOR=1 time cargo build --release --verbose
|
- *build-linux-substrate-script
|
||||||
- mv ./target/release/substrate ./artifacts/substrate/.
|
|
||||||
- echo -n "Substrate version = "
|
|
||||||
- if [ "${CI_COMMIT_TAG}" ]; then
|
|
||||||
echo "${CI_COMMIT_TAG}" | tee ./artifacts/substrate/VERSION;
|
|
||||||
else
|
|
||||||
./artifacts/substrate/substrate --version |
|
|
||||||
sed -n -E 's/^substrate ([0-9.]+.*-[0-9a-f]{7,13})-.*$/\1/p' |
|
|
||||||
tee ./artifacts/substrate/VERSION;
|
|
||||||
fi
|
|
||||||
- sha256sum ./artifacts/substrate/substrate | tee ./artifacts/substrate/substrate.sha256
|
|
||||||
- printf '\n# building node-template\n\n'
|
- printf '\n# building node-template\n\n'
|
||||||
- ./.maintain/node-template-release.sh ./artifacts/substrate/substrate-node-template.tar.gz
|
- ./.maintain/node-template-release.sh ./artifacts/substrate/substrate-node-template.tar.gz
|
||||||
- cp -r .maintain/docker/substrate.Dockerfile ./artifacts/substrate/
|
|
||||||
- sccache -s
|
|
||||||
|
|
||||||
#Build binary for simnet quick tests.
|
#Build binary for simnet quick tests.
|
||||||
build-linux-substrate-simnet:
|
build-linux-substrate-simnet:
|
||||||
<<: *build-binary
|
stage: build
|
||||||
<<: *collect-artifacts-short
|
<<: *collect-artifacts-short
|
||||||
|
<<: *docker-env
|
||||||
<<: *test-refs-no-trigger-prs-only
|
<<: *test-refs-no-trigger-prs-only
|
||||||
|
before_script:
|
||||||
|
- mkdir -p ./artifacts/substrate/
|
||||||
|
script:
|
||||||
|
- *build-linux-substrate-script
|
||||||
|
|
||||||
build-linux-subkey: &build-subkey
|
build-linux-subkey: &build-subkey
|
||||||
stage: build
|
stage: build
|
||||||
|
|||||||
Reference in New Issue
Block a user