Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Launch ncov builds using the up-and-coming new nextstrain/base image #123

Merged
merged 2 commits into from
Jan 27, 2021
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
16 changes: 16 additions & 0 deletions bin/rebuild-staging
Original file line number Diff line number Diff line change
Expand Up @@ -66,6 +66,22 @@ main() {

echo "Notifying Slack about rebuild."
"$bin"/notify-slack "A new staging build was submitted. Follow along in your local ncov repo with: "'```'"nextstrain build --aws-batch --attach $aws_batch_job_id ."'```'


echo "Launching a trial build for nextstrain/base:branch-python-base"

# Must use a config file because Snakemake's --config options seemingly
# don't override the profile's config files as they should. Not sure why.
tee ncov/trial.yaml <<<"
---
S3_BUCKET: nextstrain-ncov-private/branch/new-build-base-image
s3_staging_url: s3://nextstrain-staging/trial_
"

"$bin"/launch-build \
--image nextstrain/base:branch-python-base \
ncov deploy_to_staging upload \
--configfile trial.yaml
}

# Returns 1 if both files match (have identical hashes). Else returns 0.
Expand Down