Merge pull request #33 from philips-forks/blackduck

This commit is contained in:
aswin-in-philips 2023-03-27 17:30:44 +05:30 committed by GitHub
commit 45d2917425
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 10 additions and 10 deletions

View File

@ -88,15 +88,15 @@ jobs:
run: | run: |
./.github/workflows/test.sh ./.github/workflows/test.sh
Blackduck: # Blackduck:
needs: [Init] # needs: [Init]
runs-on: builder_blr # runs-on: builder_blr
steps: # steps:
- name: checkout # - name: checkout
uses: actions/checkout@v2 # uses: actions/checkout@v2
- name: blackduck scan # - name: blackduck scan
run: powershell -ExecutionPolicy RemoteSigned -NoExit -File ${{ github.workspace }}\Build\PS\Invoke-BlackduckDetect.ps1 -SourcePath ${{ github.workspace }} -ApiToken ${{ secrets.BLACKDUCK_TOKEN }} # run: powershell -ExecutionPolicy RemoteSigned -NoExit -File ${{ github.workspace }}\Build\PS\Invoke-BlackduckDetect.ps1 -SourcePath ${{ github.workspace }} -ApiToken ${{ secrets.BLACKDUCK_TOKEN }}
Fortify: Fortify:
needs: [Init] needs: [Init]
@ -194,7 +194,7 @@ jobs:
PR_Deploy_Test_HDS_AUTH_GATEWAY: PR_Deploy_Test_HDS_AUTH_GATEWAY:
if: github.event_name == 'pull_request' if: github.event_name == 'pull_request'
needs: [Build, Blackduck, Fortify, unit-test, CodeAnalysis] needs: [Build, Fortify, unit-test, CodeAnalysis]
uses: ./.github/workflows/deploy-hds-auth-gateway.yaml uses: ./.github/workflows/deploy-hds-auth-gateway.yaml
with: with:
OAUTH2_PROXY_IMAGE: ${{ needs.Build.outputs.envoyPRTag }} OAUTH2_PROXY_IMAGE: ${{ needs.Build.outputs.envoyPRTag }}
@ -205,7 +205,7 @@ jobs:
CI_Deploy_Test_HDS_AUTH_GATEWAY: CI_Deploy_Test_HDS_AUTH_GATEWAY:
if: github.ref == 'refs/heads/edi-foundation-integration' if: github.ref == 'refs/heads/edi-foundation-integration'
needs: [Build, Blackduck, Fortify, unit-test, CodeAnalysis] needs: [Build, Fortify, unit-test, CodeAnalysis]
uses: ./.github/workflows/api-gw-integrated-test.yaml uses: ./.github/workflows/api-gw-integrated-test.yaml
with: with:
OAUTH2_PROXY_IMAGE: ${{ needs.Build.outputs.envoyCITag }} OAUTH2_PROXY_IMAGE: ${{ needs.Build.outputs.envoyCITag }}