Skip to content

Commit

Permalink
Create separate night trigger workflow for 24.lts.1+ (youtube#469)
Browse files Browse the repository at this point in the history
This allows us to stagger on-device tests to mitigate
running into capacity issues.

b/284305504
  • Loading branch information
isarkis committed May 26, 2023
1 parent 77b6283 commit 34f50ff
Show file tree
Hide file tree
Showing 2 changed files with 30 additions and 21 deletions.
21 changes: 0 additions & 21 deletions .github/workflows/nightly_trigger.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
30 changes: 30 additions & 0 deletions .github/workflows/nightly_trigger_24.lts.1+.yaml
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 }}

0 comments on commit 34f50ff

Please sign in to comment.