Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
22 changes: 22 additions & 0 deletions .github/workflows/blossom-ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,28 @@
# limitations under the License.

# A workflow to trigger ci on hybrid infra (github + self hosted runner)
#
# IMPORTANT: this file must match the Blossom template. On every /bot command the Blossom
# runner compares the parsed YAML of this file with the template. If they differ, the command
# is rejected with "Workflow file integrity check failed".
#
# You can change:
# - the `if` of the Authorization job (command prefixes and the user list)
# - the version of an action in `uses:`, for example actions/checkout@v6. The action itself
# must stay the same.
# - comments
#
# You cannot change anything else. For example, do not:
# - add a job or a step
# - add a key such as `permissions`, `concurrency`, `env` or `needs`
# - change `on:`, `runs-on`, `needs`, a step name, or the `run`, `env` and `with` of a step
#
# A change cannot be tested in a pull request, because this workflow always runs from the
# default branch.
#
# Before you change this file, read the code that does the comparison (`compareYaml` and
# `checkWorkflowFile`) and make sure your change is allowed: http://nv/blossom-ci-yml-check
# (NVIDIA internal link). The rules above come from that code and may be out of date.
name: Blossom-CI
on:
issue_comment:
Expand Down
11 changes: 6 additions & 5 deletions .github/workflows/bot-command.yml
Original file line number Diff line number Diff line change
Expand Up @@ -46,8 +46,9 @@ jobs:
"Run `/bot [-h|--help]` to print this help message.\n\n" +
"See details below for each supported subcommand.\n\n" +
"<details>\n\n" +
"`run [--reuse-test (optional)pipeline-id --disable-fail-fast --skip-test --stage-list \"A10-PyTorch-1, xxx\" --gpu-type \"A30, H100_PCIe\" --test-backend \"pytorch, cpp\" --add-multi-gpu-test --only-multi-gpu-test --disable-multi-gpu-test --post-merge --extra-stage \"H100_PCIe-TensorRT-Post-Merge-1, xxx\" --detailed-log --debug(experimental) --high-priority]`\n\n" +
"`run [--commit FULL_SHA --reuse-test (optional)pipeline-id --disable-fail-fast --skip-test --stage-list \"A10-PyTorch-1, xxx\" --gpu-type \"A30, H100_PCIe\" --test-backend \"pytorch, cpp\" --add-multi-gpu-test --only-multi-gpu-test --disable-multi-gpu-test --post-merge --extra-stage \"H100_PCIe-TensorRT-Post-Merge-1, xxx\" --detailed-log --debug(experimental) --high-priority]`\n\n" +
"Launch build/test pipelines. All previously running jobs will be killed.\n\n" +
"`--commit FULL_SHA ` *(OPTIONAL)* : Full 40-character SHA of the commit to run on. **Required for pull requests from outside the NVIDIA GitHub organization.** Also accepted by `skip` and `reuse-pipeline`.\n\n" +
"`--reuse-test (optional)pipeline-id ` *(OPTIONAL)* : Allow the new pipeline to reuse build artifacts and skip successful test stages from a specified pipeline or the last pipeline if no pipeline-id is indicated. If the Git commit ID has changed, this option will be always ignored. The DEFAULT behavior of the bot is to reuse build artifacts and successful test results from the last pipeline.\n\n" +
"`--disable-reuse-test ` *(OPTIONAL)* : Explicitly prevent the pipeline from reusing build artifacts and skipping successful test stages from a previous pipeline. Ensure that all builds and tests are run regardless of previous successes.\n\n" +
"`--disable-fail-fast ` *(OPTIONAL)* : Disable fail fast on build/tests/infra failures.\n\n" +
Expand All @@ -67,11 +68,11 @@ jobs:
"`kill `\n\n" +
"Kill all running builds associated with pull request.\n\n" +
"### skip\n\n" +
"`skip --comment COMMENT `\n\n" +
"Skip testing for latest commit on pull request. `--comment \"Reason for skipping build/test\"` is required. IMPORTANT NOTE: This is dangerous since lack of user care and validation can cause top of tree to break.\n\n" +
"`skip --comment COMMENT [--commit FULL_SHA]`\n\n" +
"Skip testing for latest commit on pull request. `--comment \"Reason for skipping build/test\"` is required. IMPORTANT NOTE: This is dangerous since lack of user care and validation can cause top of tree to break. `--commit FULL_SHA` is required for pull requests from outside the NVIDIA GitHub organization.\n\n" +
"### reuse-pipeline\n\n" +
"`reuse-pipeline `\n\n" +
"Reuse a previous pipeline to validate current commit. This action will also kill all currently running builds associated with the pull request. IMPORTANT NOTE: This is dangerous since lack of user care and validation can cause top of tree to break.\n\n" +
"`reuse-pipeline [--commit FULL_SHA]`\n\n" +
"Reuse a previous pipeline to validate current commit. This action will also kill all currently running builds associated with the pull request. IMPORTANT NOTE: This is dangerous since lack of user care and validation can cause top of tree to break. `--commit FULL_SHA` is required for pull requests from outside the NVIDIA GitHub organization.\n\n" +
"</details>";

github.rest.issues.createComment({
Expand Down
Loading