From 3d538e3a370b45a2543755fc2645f66fb4469a1f Mon Sep 17 00:00:00 2001 From: John Huddleston Date: Fri, 15 Dec 2023 13:57:48 -0800 Subject: [PATCH] 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. --- .../workflows/run-nextflu-private-builds.yaml | 32 +++++++++++++++++++ 1 file changed, 32 insertions(+) create mode 100644 .github/workflows/run-nextflu-private-builds.yaml diff --git a/.github/workflows/run-nextflu-private-builds.yaml b/.github/workflows/run-nextflu-private-builds.yaml new file mode 100644 index 00000000..772e68d4 --- /dev/null +++ b/.github/workflows/run-nextflu-private-builds.yaml @@ -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