Skip to content

Commit 542ebf2

Browse files
authored
Update blossom-ci.yml
1 parent c01bdd9 commit 542ebf2

File tree

1 file changed

+16
-4
lines changed

1 file changed

+16
-4
lines changed

.github/workflows/blossom-ci.yml

Lines changed: 16 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -27,15 +27,15 @@ on:
2727
required: false
2828
jobs:
2929
Authorization:
30-
name: Check Authorization to Launch NVIDIA CI
30+
name: Authorization
3131
runs-on: blossom
3232
outputs:
3333
args: ${{ env.args }}
3434

3535
# This job only runs for pull request comments
3636
if: |
3737
contains( 'andi4191, narendasan, peri044, bowang007,', format('{0},', github.actor)) &&
38-
github.event.comment.body == '/blossom-ci'
38+
github.event.comment.body == '/blossom-ci'
3939
steps:
4040
- name: Check if comment is issued by authorized person
4141
run: blossom-ci
@@ -55,6 +55,19 @@ jobs:
5555
repository: ${{ fromJson(needs.Authorization.outputs.args).repo }}
5656
ref: ${{ fromJson(needs.Authorization.outputs.args).ref }}
5757
lfs: 'true'
58+
59+
# repo specific steps
60+
#- name: Setup java
61+
# uses: actions/setup-java@v1
62+
# with:
63+
# java-version: 1.8
64+
65+
# add blackduck properties https://synopsys.atlassian.net/wiki/spaces/INTDOCS/pages/631308372/Methods+for+Configuring+Analysis#Using-a-configuration-file
66+
#- name: Setup blackduck properties
67+
# run: |
68+
# PROJECTS=$(mvn -am dependency:tree | grep maven-dependency-plugin | awk '{ out="com.nvidia:"$(NF-1);print out }' | grep rapids | xargs | sed -e 's/ /,/g')
69+
# echo detect.maven.build.command="-pl=$PROJECTS -am" >> application.properties
70+
# echo detect.maven.included.scopes=compile >> application.properties
5871

5972
- name: Run blossom action
6073
uses: NVIDIA/blossom-action@main
@@ -67,7 +80,7 @@ jobs:
6780
args3: ${{ fromJson(needs.Authorization.outputs.args).args3 }}
6881

6982
Job-trigger:
70-
name: Start NVIDIA CI pipelines
83+
name: Start ci job
7184
needs: [Vulnerability-scan]
7285
runs-on: blossom
7386
steps:
@@ -89,4 +102,3 @@ jobs:
89102
OPERATION: 'POST-PROCESSING'
90103
CI_SERVER: ${{ secrets.CI_SERVER }}
91104
REPO_TOKEN: ${{ secrets.GITHUB_TOKEN }}
92-

0 commit comments

Comments
 (0)