Disable checks that cannot make PRs green

main
Elie 2021-11-25 19:21:57 +01:00
parent 0ef31eecd8
commit c0b607dd4f
No known key found for this signature in database
GPG Key ID: 399AF69092C727B6
1 changed files with 31 additions and 27 deletions

View File

@ -201,33 +201,37 @@ workflows:
<<: *only_branches
- test:
<<: *only_branches
- security-code:
name: Snyk code
context:
- snyk
<<: *only_branches
- security-oss:
name: Snyk test
context:
- snyk
<<: *only_branches
pullrequest_acc:
jobs:
- hold:
type: approval # presents manual approval button in the UI
- test_acc:
name: "Acceptance tests: << matrix.pattern >>"
requires:
- hold
matrix:
parameters:
pattern:
- TestAcc_Aws
- TestAcc_Github_
- TestAcc_Google
- TestAcc_Azure_
context:
- driftctl-acc
# Disabled since it fail for contributors because of the snyk token stored in a private context
# - security-code:
# name: Snyk code
# context:
# - snyk
# <<: *only_branches
# - security-oss:
# name: Snyk test
# context:
# - snyk
# <<: *only_branches
# Disabled since it makes every PR to stay in "pending" state
# https://ideas.circleci.com/cloud-feature-requests/p/show-overall-all-checks-have-passed-status-in-github-even-on-builds-with-incompl
# pullrequest_acc:
# jobs:
# - hold:
# type: approval # presents manual approval button in the UI
# - test_acc:
# name: "Acceptance tests: << matrix.pattern >>"
# requires:
# - hold
# matrix:
# parameters:
# pattern:
# - TestAcc_Aws
# - TestAcc_Github_
# - TestAcc_Google
# - TestAcc_Azure_
# context:
# - driftctl-acc
push:
jobs:
- test: