-
Notifications
You must be signed in to change notification settings - Fork 55
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge remote-tracking branch 'origin/main' into resize_scheduler_opt
- Loading branch information
Showing
182 changed files
with
9,631 additions
and
3,632 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,86 +1,87 @@ | ||
# SPDX-FileCopyrightText: Copyright (c) 2023-present NVIDIA CORPORATION & AFFILIATES. | ||
# All rights reserved. | ||
# SPDX-License-Identifier: BSD-3-Clause | ||
|
||
# A workflow to trigger ci on hybrid infra (github + self hosted runner) | ||
name: Nvfuser-CI Trigger | ||
on: | ||
issue_comment: | ||
types: [created] | ||
jobs: | ||
Authorization: | ||
name: Authorization | ||
runs-on: blossom | ||
outputs: | ||
args: ${{ env.args }} | ||
|
||
# This job only runs for pull request comments | ||
if: >- | ||
( startsWith(github.event.comment.body, '!build') || | ||
startsWith(github.event.comment.body, '!test') | ||
) && | ||
( github.actor == 'xwang233' || | ||
github.actor == 'jjsjann123' || | ||
github.actor == 'chang-l' || | ||
github.actor == 'csarofeen' || | ||
github.actor == 'drzejan2' || | ||
github.actor == 'IvanYashchuk' || | ||
github.actor == 'jacobhinkle' || | ||
github.actor == 'kevinstephano' || | ||
github.actor == 'liqiangxl' || | ||
github.actor == 'mmigdal-nv' || | ||
github.actor == 'naoyam' || | ||
github.actor == 'ptrblck' || | ||
github.actor == 'rdspring1' || | ||
github.actor == 'samnordmann' || | ||
github.actor == 'zasdfgbnm' || | ||
github.actor == 'crcrpar' || | ||
github.actor == 'nWEIdia' || | ||
github.actor == 'Priya2698' || | ||
github.actor == 'wujingyue' || | ||
github.actor == 'tfogal' || | ||
github.actor == 'protonu' || | ||
github.actor == 'cowanmeg' || | ||
github.actor == 'nsarka' | ||
) | ||
steps: | ||
- name: Check if comment is issued by authorized person | ||
run: blossom-ci | ||
env: | ||
OPERATION: 'AUTH' | ||
REPO_TOKEN: ${{ secrets.GITHUB_TOKEN }} | ||
REPO_KEY_DATA: ${{ secrets.BLOSSOM_KEY }} | ||
|
||
Vulnerability-scan: | ||
name: Vulnerability scan | ||
needs: [Authorization] | ||
runs-on: ubuntu-latest | ||
steps: | ||
- name: Checkout code | ||
uses: actions/checkout@v2 | ||
with: | ||
repository: ${{ fromJson(needs.Authorization.outputs.args).repo }} | ||
ref: ${{ fromJson(needs.Authorization.outputs.args).ref }} | ||
lfs: 'true' | ||
|
||
- name: Run blossom action | ||
uses: NVIDIA/blossom-action@main | ||
env: | ||
REPO_TOKEN: ${{ secrets.GITHUB_TOKEN }} | ||
REPO_KEY_DATA: ${{ secrets.BLOSSOM_KEY }} | ||
with: | ||
args1: ${{ fromJson(needs.Authorization.outputs.args).args1 }} | ||
args2: ${{ fromJson(needs.Authorization.outputs.args).args2 }} | ||
args3: ${{ fromJson(needs.Authorization.outputs.args).args3 }} | ||
|
||
Job-trigger: | ||
name: Start ci job | ||
needs: [Vulnerability-scan] | ||
runs-on: blossom | ||
steps: | ||
- name: Start ci job | ||
run: blossom-ci | ||
env: | ||
OPERATION: 'START-CI-JOB' | ||
CI_SERVER: ${{ secrets.CI_SERVER }} | ||
REPO_TOKEN: ${{ secrets.GITHUB_TOKEN }} | ||
# SPDX-FileCopyrightText: Copyright (c) 2023-present NVIDIA CORPORATION & AFFILIATES. | ||
# All rights reserved. | ||
# SPDX-License-Identifier: BSD-3-Clause | ||
|
||
# A workflow to trigger ci on hybrid infra (github + self hosted runner) | ||
name: Nvfuser-CI Trigger | ||
on: | ||
issue_comment: | ||
types: [created] | ||
jobs: | ||
Authorization: | ||
name: Authorization | ||
runs-on: blossom | ||
outputs: | ||
args: ${{ env.args }} | ||
|
||
# This job only runs for pull request comments | ||
if: >- | ||
( startsWith(github.event.comment.body, '!build') || | ||
startsWith(github.event.comment.body, '!test') | ||
) && | ||
( github.actor == 'xwang233' || | ||
github.actor == 'jjsjann123' || | ||
github.actor == 'chang-l' || | ||
github.actor == 'csarofeen' || | ||
github.actor == 'drzejan2' || | ||
github.actor == 'IvanYashchuk' || | ||
github.actor == 'jacobhinkle' || | ||
github.actor == 'kevinstephano' || | ||
github.actor == 'liqiangxl' || | ||
github.actor == 'mmigdal-nv' || | ||
github.actor == 'naoyam' || | ||
github.actor == 'ptrblck' || | ||
github.actor == 'rdspring1' || | ||
github.actor == 'samnordmann' || | ||
github.actor == 'zasdfgbnm' || | ||
github.actor == 'crcrpar' || | ||
github.actor == 'nWEIdia' || | ||
github.actor == 'Priya2698' || | ||
github.actor == 'wujingyue' || | ||
github.actor == 'tfogal' || | ||
github.actor == 'protonu' || | ||
github.actor == 'cowanmeg' || | ||
github.actor == 'nsarka' || | ||
github.actor == 'syed-ahmed' | ||
) | ||
steps: | ||
- name: Check if comment is issued by authorized person | ||
run: blossom-ci | ||
env: | ||
OPERATION: 'AUTH' | ||
REPO_TOKEN: ${{ secrets.GITHUB_TOKEN }} | ||
REPO_KEY_DATA: ${{ secrets.BLOSSOM_KEY }} | ||
|
||
Vulnerability-scan: | ||
name: Vulnerability scan | ||
needs: [Authorization] | ||
runs-on: ubuntu-latest | ||
steps: | ||
- name: Checkout code | ||
uses: actions/checkout@v2 | ||
with: | ||
repository: ${{ fromJson(needs.Authorization.outputs.args).repo }} | ||
ref: ${{ fromJson(needs.Authorization.outputs.args).ref }} | ||
lfs: 'true' | ||
|
||
- name: Run blossom action | ||
uses: NVIDIA/blossom-action@main | ||
env: | ||
REPO_TOKEN: ${{ secrets.GITHUB_TOKEN }} | ||
REPO_KEY_DATA: ${{ secrets.BLOSSOM_KEY }} | ||
with: | ||
args1: ${{ fromJson(needs.Authorization.outputs.args).args1 }} | ||
args2: ${{ fromJson(needs.Authorization.outputs.args).args2 }} | ||
args3: ${{ fromJson(needs.Authorization.outputs.args).args3 }} | ||
|
||
Job-trigger: | ||
name: Start ci job | ||
needs: [Vulnerability-scan] | ||
runs-on: blossom | ||
steps: | ||
- name: Start ci job | ||
run: blossom-ci | ||
env: | ||
OPERATION: 'START-CI-JOB' | ||
CI_SERVER: ${{ secrets.CI_SERVER }} | ||
REPO_TOKEN: ${{ secrets.GITHUB_TOKEN }} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.