-
Notifications
You must be signed in to change notification settings - Fork 26
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
.github/workflows: Add workflows for weekly flu builds
This adds GH Action workflows for both the Nextstrain public builds and the private Nextflu builds. The `nextstrain build` commands are copied from the example commands in #76
- Loading branch information
1 parent
c32ddcb
commit 91a996c
Showing
2 changed files
with
52 additions
and
0 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,26 @@ | ||
name: Run the private Nextflu builds | ||
|
||
on: workflow_dispatch | ||
|
||
jobs: | ||
build: | ||
runs-on: ubuntu-latest | ||
steps: | ||
- uses: actions/checkout@v3 | ||
- uses: nextstrain/.github/actions/setup-nextstrain-cli@master | ||
- name: Launch build on AWS Batch | ||
run: | | ||
set -x | ||
nextstrain build \ | ||
--aws-batch \ | ||
--detach \ | ||
--cpus 36 \ | ||
--memory 72gib \ | ||
. \ | ||
all_who \ | ||
-p \ | ||
--configfile profiles/private.nextflu.org.yaml | ||
env: | ||
AWS_ACCESS_KEY_ID: ${{ secrets.AWS_ACCESS_KEY_ID }} | ||
AWS_SECRET_ACCESS_KEY: ${{ secrets.AWS_SECRET_ACCESS_KEY }} |
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,26 @@ | ||
name: Run the Nextstrain public builds | ||
|
||
on: workflow_dispatch | ||
|
||
jobs: | ||
build: | ||
runs-on: ubuntu-latest | ||
steps: | ||
- uses: actions/checkout@v3 | ||
- uses: nextstrain/.github/actions/setup-nextstrain-cli@master | ||
- name: Launch build on AWS Batch | ||
run: | | ||
set -x | ||
nextstrain build \ | ||
--aws-batch \ | ||
--detach \ | ||
--cpus 36 \ | ||
--memory 72gib \ | ||
. \ | ||
all_public \ | ||
-p \ | ||
--configfile profiles/nextstrain-public.yaml | ||
env: | ||
AWS_ACCESS_KEY_ID: ${{ secrets.AWS_ACCESS_KEY_ID }} | ||
AWS_SECRET_ACCESS_KEY: ${{ secrets.AWS_SECRET_ACCESS_KEY }} |