-
Notifications
You must be signed in to change notification settings - Fork 160
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #1662 from snyk/acctest-fixes
[CTX-601] chore: fix various AWS acceptance tests
- Loading branch information
Showing
15 changed files
with
231 additions
and
237 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -13,6 +13,11 @@ orbs: | |
go: circleci/[email protected] | ||
snyk: snyk/[email protected] | ||
gh: circleci/[email protected] | ||
parameters: | ||
ACC_TESTS: | ||
type: string | ||
description: manually run acceptance tests | ||
default: '0' | ||
jobs: | ||
test_acc: | ||
parameters: | ||
|
@@ -216,28 +221,43 @@ jobs: | |
project: ${CIRCLE_PROJECT_REPONAME} | ||
organization: cloud-cloud | ||
workflows: | ||
# Temporarily disabled | ||
# nightly: | ||
# jobs: | ||
# - test_acc: | ||
# name: "Acceptance tests: << matrix.pattern >>" | ||
# matrix: | ||
# parameters: | ||
# pattern: | ||
# - TestAcc_Aws | ||
# - TestAcc_Github_ | ||
# - TestAcc_Google | ||
# - TestAcc_Azure_ | ||
# - TestAcc_StateReader_ | ||
# context: | ||
# - driftctl-acc | ||
# triggers: | ||
# - schedule: | ||
# cron: "0 3 * * *" | ||
# filters: | ||
# branches: | ||
# only: | ||
# - main | ||
nightly: | ||
jobs: | ||
- test_acc: | ||
name: "Acceptance tests: << matrix.pattern >>" | ||
matrix: | ||
parameters: | ||
pattern: | ||
- TestAcc_Aws | ||
- TestAcc_Github_ | ||
- TestAcc_Google | ||
- TestAcc_Azure_ | ||
- TestAcc_StateReader_ | ||
context: | ||
- driftctl-acc | ||
triggers: | ||
- schedule: | ||
cron: "0 3 * * *" | ||
filters: | ||
branches: | ||
only: | ||
- main | ||
manual-acc-tests: | ||
when: | ||
equal: ['1', << pipeline.parameters.ACC_TESTS >>] | ||
jobs: | ||
- test_acc: | ||
name: "Acceptance tests: << matrix.pattern >>" | ||
matrix: | ||
parameters: | ||
pattern: | ||
- TestAcc_Aws | ||
- TestAcc_Github_ | ||
- TestAcc_Google | ||
- TestAcc_Azure_ | ||
- TestAcc_StateReader_ | ||
context: | ||
- driftctl-acc | ||
pullrequest: | ||
jobs: | ||
- lint: | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
31 changes: 18 additions & 13 deletions
31
pkg/resource/aws/testdata/acc/aws_api_gateway_authorizer/.terraform.lock.hcl
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
31 changes: 18 additions & 13 deletions
31
pkg/resource/aws/testdata/acc/aws_apigatewayv2_authorizer/.terraform.lock.hcl
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.