Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

cmd initial #42

Closed
wants to merge 6 commits into from
Closed

cmd initial #42

wants to merge 6 commits into from

Conversation

mordamax
Copy link

No description provided.

@review-bot-stg review-bot-stg bot requested a review from a team August 21, 2024 08:57
@mordamax mordamax removed the request for review from a team August 21, 2024 09:01
@mordamax mordamax marked this pull request as draft August 21, 2024 09:01
@mordamax
Copy link
Author

/cmd fmt --clean

@github-actions github-actions bot deleted a comment from mordamax Aug 24, 2024
Copy link

Command "fmt --clean" has started 🚀 See logs here

Copy link

Command "fmt --clean" has finished ✅ See logs here

remove rust installation + add forklift
submodules + dev runtime
adjst subweight
update ui
fix regex
remove old commands
modify help
docs
@mordamax mordamax closed this Aug 24, 2024
@paritytech-stg paritytech-stg deleted a comment from cla-bot-2021-stg bot Aug 24, 2024
@mordamax mordamax reopened this Aug 26, 2024
@mordamax
Copy link
Author

/cmd --help

@mordamax mordamax closed this Aug 26, 2024
@mordamax mordamax reopened this Aug 27, 2024
@mordamax
Copy link
Author

/cmd --help

@mordamax
Copy link
Author

/cmd fmt

@mordamax
Copy link
Author

/cmd update-ui

Copy link

Command help:
usage: /cmd  [--help] [--continue-on-fail] [--quiet] [--clean] [--image IMAGE]
             {bench,fmt,update-ui} ...

A command runner for polkadot-sdk repo

positional arguments:
  {bench,fmt,update-ui}
                        a command to run
    bench               Runs benchmarks
    fmt                 Formats code (cargo +nightly-VERSION fmt) and configs
                        (taplo format)
    update-ui           Updates UI tests

options:
  --help                help for help if you need some help
  --continue-on-fail    Won't exit(1) on failed command and continue with next
                        steps.
  --quiet               Won't print start/end/failed messages in PR
  --clean               Clean up the previous bot's & author's comments in PR
  --image IMAGE         Override docker image '--image
                        docker.io/paritytech/ci-unified:latest'

### Command 'bench'
usage: /cmd bench [-h] [--continue-on-fail] [--quiet] [--clean]
                  [--image IMAGE]
                  [--runtime [{dev,westend,rococo,asset-hub-westend,asset-hub-rococo,bridge-hub-rococo,bridge-hub-westend,collectives-westend,contracts-rococo,coretime-rococo,coretime-westend,glutton-westend,people-rococo,people-westend} ...]]
                  [--pallet [PALLET ...]]

options:
  -h, --help            show this help message and exit
  --continue-on-fail    Won't exit(1) on failed command and continue with next
                        steps.
  --quiet               Won't print start/end/failed messages in PR
  --clean               Clean up the previous bot's & author's comments in PR
  --image IMAGE         Override docker image '--image
                        docker.io/paritytech/ci-unified:latest'
  --runtime [{dev,westend,rococo,asset-hub-westend,asset-hub-rococo,bridge-hub-rococo,bridge-hub-westend,collectives-westend,contracts-rococo,coretime-rococo,coretime-westend,glutton-westend,people-rococo,people-westend} ...]
                        Runtime(s) space separated
  --pallet [PALLET ...]
                        Pallet(s) space separated

**Examples**:
 Runs all benchmarks 
 /cmd bench

 Runs benchmarks for pallet_balances and pallet_multisig for all runtimes which have these pallets. **--quiet** makes it to output nothing to PR but reactions
 /cmd bench --pallet pallet_balances pallet_xcm_benchmarks::generic --quiet
 
 Runs bench for all pallets for westend runtime and continues even if some benchmarks fail
 /cmd bench --runtime westend --continue-on-fail
 
 Does not output anything and cleans up the previous bot's & author command triggering comments in PR 
 /cmd bench --runtime westend rococo --pallet pallet_balances pallet_multisig --quiet --clean


### Command 'fmt'
usage: /cmd fmt [-h] [--continue-on-fail] [--quiet] [--clean] [--image IMAGE]

options:
  -h, --help          show this help message and exit
  --continue-on-fail  Won't exit(1) on failed command and continue with next
                      steps.
  --quiet             Won't print start/end/failed messages in PR
  --clean             Clean up the previous bot's & author's comments in PR
  --image IMAGE       Override docker image '--image docker.io/paritytech/ci-
                      unified:latest'


### Command 'update-ui'
usage: /cmd update-ui [-h] [--continue-on-fail] [--quiet] [--clean]
                      [--image IMAGE]

options:
  -h, --help          show this help message and exit
  --continue-on-fail  Won't exit(1) on failed command and continue with next
                      steps.
  --quiet             Won't print start/end/failed messages in PR
  --clean             Clean up the previous bot's & author's comments in PR
  --image IMAGE       Override docker image '--image docker.io/paritytech/ci-
                      unified:latest'

Copy link

Command "fmt" has started 🚀 See logs here

Copy link

Command "fmt" has finished ✅ See logs here

@mordamax
Copy link
Author

/cmd ololo

Copy link

Command "ololo" has started 🚀 See logs here

Copy link

Command "ololo" has failed ❌! See logs here

@mordamax mordamax closed this Aug 27, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants