mirror of
https://github.com/pezkuwichain/pezkuwi-subxt.git
synced 2026-04-25 14:07:58 +00:00
489a5b501a
* Fix benchmarks-ci.sh - missing pallet_utility/pallet_multisig * Missing ParentAsSuperuser for bridge-hubs * Fixed missing stuff in benchmarks.yml * Added MigrateToTrackInactive + CheckingAccount (for completness as other runtimes) * Measured xcm weights for bridge-hubs * Fix for fungible benchmarks * ".git/.scripts/bench-bot.sh" xcm bridge-hub-kusama bridge-hubs pallet_xcm_benchmarks::fungible * ".git/.scripts/bench-bot.sh" xcm bridge-hub-rococo bridge-hubs pallet_xcm_benchmarks::generic * ".git/.scripts/bench-bot.sh" xcm bridge-hub-rococo bridge-hubs pallet_xcm_benchmarks::fungible * ".git/.scripts/bench-bot.sh" xcm bridge-hub-kusama bridge-hubs pallet_xcm_benchmarks::generic * Reverting migrations - no need for them * script for generate genesis spec/head/wasm * Adding invulnerables and session.keys to the script (https://github.com/paritytech/devops/issues/2196) * update chainspec with cmd: ./scripts/create_bridge_hub_kusama_spec.sh ./target/release/wbuild/bridge-hub-kusama-runtime/bridge_hub_kusama_runtime.compact.compressed.wasm 1003 * para_id 1003 -> 1002, cmd: ./scripts/create_bridge_hub_kusama_spec.sh ./target/release/wbuild/bridge-hub-kusama-runtime/bridge_hub_kusama_runtime.compact.compressed.wasm 1002 Co-authored-by: command-bot <>
81 lines
2.8 KiB
YAML
81 lines
2.8 KiB
YAML
# This file is part of .gitlab-ci.yml
|
|
# Here are all jobs that are executed during "benchmarks" stage
|
|
# Work only on release-parachains-v* branches
|
|
|
|
benchmarks-build:
|
|
stage: benchmarks-build
|
|
extends:
|
|
- .docker-env
|
|
- .collect-artifacts
|
|
- .benchmarks-manual-refs
|
|
script:
|
|
- time cargo build --profile production --locked --features runtime-benchmarks
|
|
- mkdir -p artifacts
|
|
- cp target/production/polkadot-parachain ./artifacts/
|
|
|
|
benchmarks-assets:
|
|
stage: benchmarks-run
|
|
extends:
|
|
- .collect-artifacts
|
|
- .benchmarks-refs
|
|
before_script:
|
|
- !reference [.docker-env, before_script]
|
|
timeout: 1d
|
|
script:
|
|
- ./scripts/benchmarks-ci.sh assets statemine ./artifacts
|
|
- ./scripts/benchmarks-ci.sh assets statemint ./artifacts
|
|
- ./scripts/benchmarks-ci.sh assets westmint ./artifacts
|
|
- export CURRENT_TIME=$(date '+%s')
|
|
- export BRANCHNAME="weights-statemint-${CI_COMMIT_BRANCH}-${CURRENT_TIME}"
|
|
- !reference [.git-commit-push, script]
|
|
- ./scripts/ci/create-benchmark-pr.sh "[benchmarks] Update weights for statemine/t" "$BRANCHNAME"
|
|
- rm -f ./artifacts/polkadot-parachain
|
|
- rm -f ./artifacts/test-parachain
|
|
after_script:
|
|
- rm -rf .git/config
|
|
tags:
|
|
- weights
|
|
|
|
benchmarks-collectives:
|
|
stage: benchmarks-run
|
|
extends:
|
|
- .collect-artifacts
|
|
- .benchmarks-refs
|
|
before_script:
|
|
- !reference [.docker-env, before_script]
|
|
script:
|
|
- ./scripts/benchmarks-ci.sh collectives collectives-polkadot ./artifacts
|
|
- git status
|
|
- export CURRENT_TIME=$(date '+%s')
|
|
- export BRANCHNAME="weights-collectives-${CI_COMMIT_BRANCH}-${CURRENT_TIME}"
|
|
- !reference [.git-commit-push, script]
|
|
- ./scripts/ci/create-benchmark-pr.sh "[benchmarks] Update weights for collectives" "$BRANCHNAME"
|
|
- rm -f ./artifacts/polkadot-parachain
|
|
- rm -f ./artifacts/test-parachain
|
|
after_script:
|
|
- rm -rf .git/config
|
|
tags:
|
|
- weights
|
|
|
|
benchmarks-bridge-hubs:
|
|
stage: benchmarks-run
|
|
extends:
|
|
- .collect-artifacts
|
|
- .benchmarks-refs
|
|
before_script:
|
|
- !reference [.docker-env, before_script]
|
|
timeout: 1d
|
|
script:
|
|
- ./scripts/benchmarks-ci.sh bridge-hubs bridge-hub-kusama ./artifacts
|
|
- ./scripts/benchmarks-ci.sh bridge-hubs bridge-hub-rococo ./artifacts
|
|
- export CURRENT_TIME=$(date '+%s')
|
|
- export BRANCHNAME="weights-bridge-hubs-${CI_COMMIT_BRANCH}-${CURRENT_TIME}"
|
|
- !reference [.git-commit-push, script]
|
|
- ./scripts/ci/create-benchmark-pr.sh "[benchmarks] Update weights for bridge-hubs" "$BRANCHNAME"
|
|
- rm -f ./artifacts/polkadot-parachain
|
|
- rm -f ./artifacts/test-parachain
|
|
after_script:
|
|
- rm -rf .git/config
|
|
tags:
|
|
- weights
|