-
Notifications
You must be signed in to change notification settings - Fork 320
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
4037: feat: cypress on cron, cancel on deploy r=sprutton1 a=sprutton1 We're going to start running the cypress jobs on a 15 minute timer. Since they are now also running on merge after we deploy tools-prod, we want to cancel in-progress cypress jobs because they will fail anyways when we deploy. If a new cypress job is started while we are still deploying, it will queue up and wait it's turn. Co-authored-by: Scott Prutton <[email protected]>
- Loading branch information
Showing
3 changed files
with
27 additions
and
3 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 |
---|---|---|
@@ -0,0 +1,17 @@ | ||
on: | ||
schedule: | ||
- cron: '*/15 * * * *' # Runs every 15 minutes | ||
|
||
# We want to ensure that in-progress cron runs are canceled | ||
# when do a deploy so they don't fail erroneously, but these | ||
# cannot cancel deploys | ||
concurrency: | ||
group: e2e | ||
cancel-in-progress: false | ||
|
||
jobs: | ||
e2e-validation: | ||
uses: ./.github/workflows/e2e-validation.yml | ||
with: | ||
environment: tools | ||
secrets: inherit |
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