-
Notifications
You must be signed in to change notification settings - Fork 27
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Add GitHub workflow to run nextflu-private builds
Adds a workflow to run nextflu-private builds through GitHub Actions, in the first step toward automation of reports.
- Loading branch information
Showing
1 changed file
with
32 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,32 @@ | ||
name: Run Nextstrain builds for the nextflu-private group | ||
|
||
on: | ||
workflow_dispatch: | ||
inputs: | ||
dockerImage: | ||
description: "Specific container image to use for build (will override the default of `nextstrain build`)" | ||
required: false | ||
type: string | ||
|
||
jobs: | ||
run-build: | ||
permissions: | ||
id-token: write | ||
uses: nextstrain/.github/.github/workflows/pathogen-repo-build.yaml@master | ||
secrets: inherit | ||
with: | ||
runtime: aws-batch | ||
env: | | ||
NEXTSTRAIN_DOCKER_IMAGE: ${{ inputs.dockerImage }} | ||
run: | | ||
nextstrain build \ | ||
--detach \ | ||
--cpus 36 \ | ||
--memory 72gib \ | ||
--env AWS_ACCESS_KEY_ID \ | ||
--env AWS_SECRET_ACCESS_KEY \ | ||
. \ | ||
all \ | ||
all_counts_of_recent_tips_by_clade \ | ||
-p \ | ||
--configfile profiles/nextflu-private.yaml |