Command bot GHA v2 - /cmd <cmd> (#5457)
Closes https://github.com/paritytech/product-engineering/issues/93 - Deprecates old command bot bash scripts. New cmd implementation is re-written on Python - Deprecates `sync` command, which was never used - Benchmarks: - Uses new [frame-omni-bencher](https://crates.io/crates/frame-omni-bencher) - Simplifies usage to only providing a runtime and/or pallet name (even multiple runtimes or pallets) - Supports sub-modules (like `/cmd bench --runtime dev --pallet pallet_asset_conversion_ops`) - Can regenerate all weights with one command (substrate, polkadot, cumulus) for provided pallet(s) name - Adds [subweight](https://crates.io/crates/subweight-core) diff as a result of bench command
parent
4096ad7f
Showing
- .github/command-screnshot.png 0 additions, 0 deletions.github/command-screnshot.png
- .github/commands-readme.md 0 additions, 276 deletions.github/commands-readme.md
- .github/scripts/cmd/_help.py 26 additions, 0 deletions.github/scripts/cmd/_help.py
- .github/scripts/cmd/cmd.py 196 additions, 0 deletions.github/scripts/cmd/cmd.py
- .github/workflows/cmd.yml 411 additions, 0 deletions.github/workflows/cmd.yml
- .github/workflows/command-bench-all.yml 0 additions, 99 deletions.github/workflows/command-bench-all.yml
- .github/workflows/command-bench-overhead.yml 0 additions, 78 deletions.github/workflows/command-bench-overhead.yml
- .github/workflows/command-bench.yml 0 additions, 124 deletions.github/workflows/command-bench.yml
- .github/workflows/command-fmt.yml 0 additions, 65 deletions.github/workflows/command-fmt.yml
- .github/workflows/command-inform.yml 0 additions, 22 deletions.github/workflows/command-inform.yml
- .github/workflows/command-prdoc.yml 0 additions, 90 deletions.github/workflows/command-prdoc.yml
- .github/workflows/command-sync.yml 0 additions, 71 deletions.github/workflows/command-sync.yml
- .github/workflows/command-update-ui.yml 0 additions, 59 deletions.github/workflows/command-update-ui.yml
- .github/workflows/review-bot.yml 0 additions, 1 deletion.github/workflows/review-bot.yml
- .github/workflows/runtimes-matrix.json 98 additions, 0 deletions.github/workflows/runtimes-matrix.json
- .gitignore 1 addition, 0 deletions.gitignore
- docs/contributor/CONTRIBUTING.md 6 additions, 6 deletionsdocs/contributor/CONTRIBUTING.md
- docs/contributor/commands-readme.md 44 additions, 0 deletionsdocs/contributor/commands-readme.md
- docs/contributor/weight-generation.md 69 additions, 0 deletionsdocs/contributor/weight-generation.md
- scripts/bench-all.sh 0 additions, 16 deletionsscripts/bench-all.sh
Please register or sign in to comment