Skip to content

Commit

Permalink
ci: expose e2e test cotext for cleanup scripts (#7275)
Browse files Browse the repository at this point in the history
Expose e2e-test context to cleanup script task
  • Loading branch information
yuth authored May 6, 2021
1 parent 338cea2 commit 7aed706
Show file tree
Hide file tree
Showing 2 changed files with 12 additions and 4 deletions.
8 changes: 6 additions & 2 deletions .circleci/config.base.yml
Original file line number Diff line number Diff line change
Expand Up @@ -594,7 +594,9 @@ workflows:
jobs:
- build
- cleanup_resources:
context: cleanup-resources
context:
- cleanup-resources
- e2e-test-context
requires:
- build

Expand Down Expand Up @@ -762,7 +764,9 @@ workflows:
only:
- release
- cleanup_resources_after_e2e_runs:
context: cleanup-resources
context:
- cleanup-resources
- e2e-test-context
requires:
- done_with_pkg_linux_e2e_tests
- amplify_migration_tests_latest
Expand Down
8 changes: 6 additions & 2 deletions .circleci/config.yml
Original file line number Diff line number Diff line change
Expand Up @@ -1868,7 +1868,9 @@ workflows:
jobs:
- build
- cleanup_resources:
context: cleanup-resources
context:
- cleanup-resources
- e2e-test-context
requires:
- build
build_test_deploy:
Expand Down Expand Up @@ -2058,7 +2060,9 @@ workflows:
only:
- release
- cleanup_resources_after_e2e_runs:
context: cleanup-resources
context:
- cleanup-resources
- e2e-test-context
requires:
- done_with_pkg_linux_e2e_tests
- amplify_migration_tests_latest
Expand Down

0 comments on commit 7aed706

Please sign in to comment.