Skip to content

Commit

Permalink
Add GitHub workflow to run nextflu-private builds
Browse files Browse the repository at this point in the history
Adds a workflow to run nextflu-private builds through GitHub Actions, in
the first step toward automation of reports.
  • Loading branch information
huddlej committed Dec 15, 2023
1 parent 81fcd2c commit 3d538e3
Showing 1 changed file with 32 additions and 0 deletions.
32 changes: 32 additions & 0 deletions .github/workflows/run-nextflu-private-builds.yaml
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

0 comments on commit 3d538e3

Please sign in to comment.