Skip to content

Commit

Permalink
Update config.yml (#339)
Browse files Browse the repository at this point in the history
Added IMAGE_SCAN_ANCHORE_ANALYSE_TIMEOUT to CircleCI as the timeout was being hard-coded at 500s. This can now be configured on the environment level.
  • Loading branch information
mdebarros authored Feb 3, 2021
1 parent add9c0d commit 2f2c844
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions .circleci/config.yml
Original file line number Diff line number Diff line change
Expand Up @@ -284,7 +284,7 @@ jobs:
anchore_version: v0.6.1
image_name: "docker.io/node:12.16.1-alpine $DOCKER_ORG/$CIRCLE_PROJECT_REPONAME:$CIRCLE_TAG"
policy_failure: false
timeout: '500'
timeout: "$IMAGE_SCAN_ANCHORE_ANALYSE_TIMEOUT"
# Note: if the generated policy is invalid, this will fallback to the default policy, which we don't want!
policy_bundle_file_path: /tmp/mojaloop-policy.json
- run:
Expand Down Expand Up @@ -471,4 +471,4 @@ workflows:
only: /v[0-9]+(\.[0-9]+)*(\-snapshot)?/
branches:
ignore:
- /.*/
- /.*/

0 comments on commit 2f2c844

Please sign in to comment.