-
Notifications
You must be signed in to change notification settings - Fork 4
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Add GitLab CI trigger in GitHub checks (#64)
* Create trigger_ci.yml * Create CODEOWNERS --------- Co-authored-by: Ryan McCormick <[email protected]>
- Loading branch information
1 parent
1bafc80
commit 3f61b39
Showing
2 changed files
with
27 additions
and
0 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 |
---|---|---|
@@ -0,0 +1,20 @@ | ||
on: | ||
pull_request: | ||
jobs: | ||
mirror_repo: | ||
environment: GITLAB | ||
runs-on: self-hosted | ||
steps: | ||
- name: Sync Mirror Repository | ||
run: | | ||
#!/bin/bash | ||
curl --request POST --header "PRIVATE-TOKEN:${{ secrets.TOKEN }}" "${{ secrets.MIRROR_URL }}" | ||
trigger-ci: | ||
environment: GITLAB | ||
needs: mirror_repo | ||
runs-on: self-hosted | ||
steps: | ||
- name: Trigger Pipeline | ||
run: | | ||
#!/bin/bash | ||
curl --fail --request POST --form token=${{ secrets.PIPELINE_TOKEN }} -F ref=${GITHUB_HEAD_REF} -F variables[RULE_WORKFLOW]="DS_TEST_TRITON_CLI" "${{ secrets.PIPELINE_URL }}" |
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 |
---|---|---|
@@ -0,0 +1,7 @@ | ||
############################################################## | ||
# List of approvers/reviewers for Developer Tools | ||
############################################################## | ||
# Learn about CODEOWNERS file format: | ||
# https://help.github.com/en/articles/about-code-owners | ||
# These owners will be the default owners for everything in the github ci workflows | ||
.github/workflows/* @nvda-mesharma |