Skip to content

Commit

Permalink
Merge pull request #773 from C2FO/ws-action-changes
Browse files Browse the repository at this point in the history
Add timeout and vendor in uni. agent
  • Loading branch information
dbbring authored Feb 7, 2022
2 parents c6b833d + 418a0e9 commit 0caf501
Showing 1 changed file with 9 additions and 1 deletion.
10 changes: 9 additions & 1 deletion .github/workflows/whitesource.yml
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,7 @@ on:
jobs:
WhiteSource-Unified-Agent:
runs-on: ubuntu-latest
timeout-minutes: 20

strategy:
fail-fast: false
Expand All @@ -19,6 +20,13 @@ jobs:
with:
persist-credentials: false

- name: Configure AWS Credentials
uses: aws-actions/configure-aws-credentials@v1
with:
aws-access-key-id: ${{ secrets.AWS_C2FO_GITHUB_ACTIONS_KEY }}
aws-secret-access-key: ${{ secrets.AWS_C2FO_GITHUB_ACTIONS_SECRET }}
aws-region: us-west-2

- name: Set up Node.js ${{ matrix.node-version }}
uses: actions/setup-node@v1
with:
Expand Down Expand Up @@ -47,6 +55,6 @@ jobs:
WS_PRODUCTNAME: GH_${{github.event.repository.name}}
WS_PROJECTNAME: GH_${{github.event.repository.name}}
run: |
curl -LJO https://unified-agent.s3.amazonaws.com/wss-unified-agent.jar
aws s3api get-object --bucket secops-approved-libraries --key whitesource/wss-unified-agent.jar ./wss-unified-agent.jar
echo Unified Agent downloaded successfully
java -jar wss-unified-agent.jar

0 comments on commit 0caf501

Please sign in to comment.