Skip to content

Commit

Permalink
Automation: Build both global and state phylogenetic trees
Browse files Browse the repository at this point in the history
  • Loading branch information
j23414 committed Jan 10, 2025
1 parent 6af1a4e commit 64d7feb
Showing 1 changed file with 31 additions and 1 deletion.
32 changes: 31 additions & 1 deletion .github/workflows/phylogenetic.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -76,7 +76,7 @@ jobs:
outputs:
config_overrides: ${{ steps.config.outputs.config }}

phylogenetic:
phylogenetic_global:
needs: [set_config_overrides]
permissions:
id-token: write
Expand Down Expand Up @@ -105,3 +105,33 @@ jobs:
phylogenetic/benchmarks/
phylogenetic/logs/
phylogenetic/.snakemake/log/
phylogenetic_wa:
needs: [set_config_overrides]
permissions:
id-token: write
uses: nextstrain/.github/.github/workflows/pathogen-repo-build.yaml@master
secrets: inherit
with:
# Starting with the default docker runtime
# We can migrate to AWS Batch when/if we need to for more resources or if
# the job runs longer than the GH Action limit of 6 hours.
runtime: docker
env: |
NEXTSTRAIN_DOCKER_IMAGE: ${{ inputs.image }}
CONFIG_OVERRIDES: ${{ needs.set_config_overrides.outputs.config_overrides }}
run: |
nextstrain build \
phylogenetic \
deploy_all \
--configfile build-configs/nextstrain-automation/config.yaml build-configs/washington-state/config.yaml \
$CONFIG_OVERRIDES
# Specifying artifact name to differentiate ingest build outputs from
# the phylogenetic build outputs
artifact-name: phylogenetic-wa-build-output
artifact-paths: |
phylogenetic/auspice/
phylogenetic/results/
phylogenetic/benchmarks/
phylogenetic/logs/
phylogenetic/.snakemake/log/

0 comments on commit 64d7feb

Please sign in to comment.