mirror of
https://github.com/pezkuwichain/pezkuwi-subxt.git
synced 2026-05-30 18:41:03 +00:00
[ci] Adjust check-runtime-migration job (#6107)
* [WIP][ci] Add node to check-runtime-migration job * add image * remove sscache from before_script * add nodes * restart pipeline * restart pipeline2 * disable other jobs * debug * remove debug * add ports * restart pipeline * restart pipeline * restart pipeline * try kusama first * run polkadot 1st * disable some jobs * try command from command bot * cargo run * test passing variables * run without condition * adjust kusama and westend * fix * return jobs * fix small nits * split check-runtime-migration Co-authored-by: parity-processbot <>
This commit is contained in:
committed by
GitHub
parent
ff935b806c
commit
896d1c2c3b
@@ -93,7 +93,6 @@ default:
|
|||||||
before_script:
|
before_script:
|
||||||
- rustup show
|
- rustup show
|
||||||
- cargo --version
|
- cargo --version
|
||||||
- sccache -s
|
|
||||||
|
|
||||||
.test-refs:
|
.test-refs:
|
||||||
rules:
|
rules:
|
||||||
|
|||||||
@@ -51,8 +51,8 @@ check-try-runtime:
|
|||||||
- cargo check --features try-runtime --all
|
- cargo check --features try-runtime --all
|
||||||
|
|
||||||
# More info can be found here: https://github.com/paritytech/polkadot/pull/5865
|
# More info can be found here: https://github.com/paritytech/polkadot/pull/5865
|
||||||
# Works only in PRs
|
# Works only in PRs with E1 label
|
||||||
check-runtime-migration:
|
.check-runtime-migration:
|
||||||
stage: check
|
stage: check
|
||||||
extends:
|
extends:
|
||||||
- .docker-env
|
- .docker-env
|
||||||
@@ -67,10 +67,41 @@ check-runtime-migration:
|
|||||||
if [[ $has_runtimemigration_label != 0 ]]; then
|
if [[ $has_runtimemigration_label != 0 ]]; then
|
||||||
echo "Found label runtimemigration. Running tests"
|
echo "Found label runtimemigration. Running tests"
|
||||||
export RUST_LOG=remote-ext=debug,runtime=debug
|
export RUST_LOG=remote-ext=debug,runtime=debug
|
||||||
time cargo test --release -p westend-runtime -p polkadot-runtime -p kusama-runtime --features try-runtime
|
echo "---------- Running try-runtime for ${NETWORK} ----------"
|
||||||
|
time cargo run --release --features=try-runtime try-runtime --chain=${NETWORK}-dev --execution=Wasm --no-spec-check-panic on-runtime-upgrade live --uri wss://${NETWORK}-try-runtime-node.parity-chains.parity.io:443
|
||||||
else
|
else
|
||||||
echo "runtimemigration label not found. Skipping"
|
echo "runtimemigration label not found. Skipping"
|
||||||
fi
|
fi
|
||||||
|
|
||||||
|
check-runtime-migration-polkadot:
|
||||||
|
stage: check
|
||||||
|
extends:
|
||||||
|
- .docker-env
|
||||||
|
- .test-pr-refs
|
||||||
|
- .compiler-info
|
||||||
|
- .check-runtime-migration
|
||||||
|
variables:
|
||||||
|
NETWORK: "polkadot"
|
||||||
|
|
||||||
|
check-runtime-migration-kusama:
|
||||||
|
stage: check
|
||||||
|
extends:
|
||||||
|
- .docker-env
|
||||||
|
- .test-pr-refs
|
||||||
|
- .compiler-info
|
||||||
|
- .check-runtime-migration
|
||||||
|
variables:
|
||||||
|
NETWORK: "kusama"
|
||||||
|
|
||||||
|
check-runtime-migration-westend:
|
||||||
|
stage: check
|
||||||
|
extends:
|
||||||
|
- .docker-env
|
||||||
|
- .test-pr-refs
|
||||||
|
- .compiler-info
|
||||||
|
- .check-runtime-migration
|
||||||
|
variables:
|
||||||
|
NETWORK: "westend"
|
||||||
allow_failure: true
|
allow_failure: true
|
||||||
|
|
||||||
# is broken, need to fix
|
# is broken, need to fix
|
||||||
|
|||||||
Reference in New Issue
Block a user