Skip to content
This repository has been archived by the owner on Dec 19, 2023. It is now read-only.

Commit

Permalink
Add timeout and vendor in uni agent
Browse files Browse the repository at this point in the history
  • Loading branch information
dbbring committed Feb 7, 2022
1 parent b53ce54 commit 59660bb
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 @@ -24,6 +25,13 @@ jobs:
with:
node-version: ${{ matrix.node-version }}

- 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

- uses: actions/cache@v2
with:
path: ~/.npm
Expand All @@ -41,6 +49,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 59660bb

Please sign in to comment.