mirror of
https://github.com/pezkuwichain/pezkuwi-subxt.git
synced 2026-06-16 21:21:03 +00:00
2e70dd3bbe
New runtimes for the Coretime Chain (a.k.a. "Broker Chain") described in RFC-1. Replaces https://github.com/paritytech/cumulus/pull/2889 - [x] Add Agile Coretime pallet https://github.com/paritytech/substrate/pull/14568 - [x] Generate chain specs for local and testnets - [x] Deploy parachain on Rococo - Done: [rococo-coretime-rpc.polkadot.io](https://polkadot.js.org/apps/?rpc=wss%3A%2F%2Frococo-coretime-rpc.polkadot.io#/explorer) DevOps issue for Aura keygen: https://github.com/paritytech/devops/issues/2725 Edit (Dónal): This PR is mainly for Rococo, the Westend runtime is a shell with no `Broker` pallet. The Rococo runtime has the broker calls filtered for initial deployment. --------- Co-authored-by: Dónal Murray <donal.murray@parity.io> Co-authored-by: 0xmovses <r.v.melkonian@gmail.com> Co-authored-by: Liam Aharon <liam.aharon@hotmail.com> Co-authored-by: Bastian Köcher <git@kchr.de> Co-authored-by: Marcin S. <marcin@realemail.net> Co-authored-by: Bastian Köcher <info@kchr.de> Co-authored-by: command-bot <> Co-authored-by: Branislav Kontur <bkontur@gmail.com>
91 lines
2.5 KiB
YAML
91 lines
2.5 KiB
YAML
# This file is part of .gitlab-ci.yml
|
|
# Here are all jobs that are executed during "short-benchmarks" stage
|
|
|
|
# Run all pallet benchmarks only once to check if there are any errors
|
|
|
|
# run short-benchmarks for relay chain runtimes from polkadot
|
|
|
|
short-benchmark-westend: &short-bench
|
|
stage: short-benchmarks
|
|
extends:
|
|
- .docker-env
|
|
- .common-refs
|
|
needs:
|
|
- job: build-short-benchmark
|
|
artifacts: true
|
|
variables:
|
|
RUNTIME: westend
|
|
# Enable debug assertions since we are running optimized builds for testing
|
|
# but still want to have debug assertions.
|
|
RUSTFLAGS: "-C debug-assertions -D warnings"
|
|
RUST_BACKTRACE: "full"
|
|
WASM_BUILD_NO_COLOR: 1
|
|
WASM_BUILD_RUSTFLAGS: "-C debug-assertions -D warnings"
|
|
tags:
|
|
- benchmark
|
|
script:
|
|
- ./artifacts/polkadot benchmark pallet --chain $RUNTIME-dev --pallet "*" --extrinsic "*" --steps 2 --repeat 1
|
|
|
|
# run short-benchmarks for system parachain runtimes from cumulus
|
|
|
|
.short-benchmark-cumulus: &short-bench-cumulus
|
|
stage: short-benchmarks
|
|
extends:
|
|
- .common-refs
|
|
- .docker-env
|
|
needs:
|
|
- job: build-short-benchmark-cumulus
|
|
artifacts: true
|
|
variables:
|
|
RUNTIME_CHAIN: benchmarked-runtime-chain
|
|
# Enable debug assertions since we are running optimized builds for testing
|
|
# but still want to have debug assertions.
|
|
RUSTFLAGS: "-C debug-assertions -D warnings"
|
|
RUST_BACKTRACE: "full"
|
|
WASM_BUILD_NO_COLOR: 1
|
|
WASM_BUILD_RUSTFLAGS: "-C debug-assertions -D warnings"
|
|
tags:
|
|
- benchmark
|
|
script:
|
|
- ./artifacts/polkadot-parachain benchmark pallet --chain $RUNTIME_CHAIN --pallet "*" --extrinsic "*" --steps 2 --repeat 1
|
|
|
|
short-benchmark-asset-hub-rococo:
|
|
<<: *short-bench-cumulus
|
|
variables:
|
|
RUNTIME_CHAIN: asset-hub-rococo-dev
|
|
|
|
short-benchmark-asset-hub-westend:
|
|
<<: *short-bench-cumulus
|
|
variables:
|
|
RUNTIME_CHAIN: asset-hub-westend-dev
|
|
|
|
short-benchmark-bridge-hub-rococo:
|
|
<<: *short-bench-cumulus
|
|
variables:
|
|
RUNTIME_CHAIN: bridge-hub-rococo-dev
|
|
|
|
short-benchmark-bridge-hub-westend:
|
|
<<: *short-bench-cumulus
|
|
variables:
|
|
RUNTIME_CHAIN: bridge-hub-westend-dev
|
|
|
|
short-benchmark-collectives-westend:
|
|
<<: *short-bench-cumulus
|
|
variables:
|
|
RUNTIME_CHAIN: collectives-westend-dev
|
|
|
|
short-benchmark-coretime-rococo:
|
|
<<: *short-bench-cumulus
|
|
variables:
|
|
RUNTIME_CHAIN: coretime-rococo-dev
|
|
|
|
short-benchmark-coretime-westend:
|
|
<<: *short-bench-cumulus
|
|
variables:
|
|
RUNTIME_CHAIN: coretime-westend-dev
|
|
|
|
short-benchmark-glutton-westend:
|
|
<<: *short-bench-cumulus
|
|
variables:
|
|
RUNTIME_CHAIN: glutton-westend-dev-1300
|