-
Notifications
You must be signed in to change notification settings - Fork 135
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Create separate night trigger workflow for 24.lts.1+ (#469)
This allows us to stagger on-device tests to mitigate running into capacity issues. b/284305504
- Loading branch information
Showing
2 changed files
with
30 additions
and
21 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 |
---|---|---|
|
@@ -7,27 +7,6 @@ on: | |
workflow_dispatch: | ||
|
||
jobs: | ||
trigger_24: | ||
permissions: | ||
actions: write | ||
runs-on: ubuntu-latest | ||
steps: | ||
- name: Checkout | ||
uses: kaidokert/[email protected] | ||
with: | ||
fetch-depth: 1 | ||
ref: 24.lts.1+ | ||
persist-credentials: false | ||
- name: Trigger Nightly | ||
run: | | ||
set -x | ||
gh workflow run android_24.lts.1+ --ref 24.lts.1+ -f nightly=true | ||
gh workflow run evergreen_24.lts.1+ --ref 24.lts.1+ -f nightly=true | ||
gh workflow run linux_24.lts.1+ --ref 24.lts.1+ -f nightly=true | ||
gh workflow run raspi-2_24.lts.1+ --ref 24.lts.1+ -f nightly=true | ||
gh workflow run win32_24.lts.1+ --ref 24.lts.1+ -f nightly=true | ||
env: | ||
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} | ||
trigger_23: | ||
permissions: | ||
actions: write | ||
|
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,30 @@ | ||
name: nightly_trigger_24.lts.1+ | ||
|
||
on: | ||
schedule: | ||
# GMT timezone. | ||
- cron: '30 5 * * *' | ||
workflow_dispatch: | ||
|
||
jobs: | ||
trigger_24: | ||
permissions: | ||
actions: write | ||
runs-on: ubuntu-latest | ||
steps: | ||
- name: Checkout | ||
uses: kaidokert/[email protected] | ||
with: | ||
fetch-depth: 1 | ||
ref: 24.lts.1+ | ||
persist-credentials: false | ||
- name: Trigger Nightly | ||
run: | | ||
set -x | ||
gh workflow run android_24.lts.1+ --ref 24.lts.1+ -f nightly=true | ||
gh workflow run evergreen_24.lts.1+ --ref 24.lts.1+ -f nightly=true | ||
gh workflow run linux_24.lts.1+ --ref 24.lts.1+ -f nightly=true | ||
gh workflow run raspi-2_24.lts.1+ --ref 24.lts.1+ -f nightly=true | ||
gh workflow run win32_24.lts.1+ --ref 24.lts.1+ -f nightly=true | ||
env: | ||
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} |