GitHub Action workflows clean up - #218
Merged
Merged
Conversation
Recently learned that Snakemake no longer overwrites the entire config when providing nested config values via the `--config` option.¹ This allows us to remove the set-branch-ingest-config script and directly set branch config values via the command line option in our GitHub Action workflows. I've opted to use `jq` to interpolate the branch name into the S3_DST because I didn't want to fiddle with escaping quotes in the JSON string. ¹ nextstrain/dengue#13 (comment)
Since we've removed the need to run set-branch-ingest-config in the GitHub Action workflow in the previous commit, we can refactor the fetch-and-ingest-branch workflow to use the shared pathogen-repo-build workflow.
The AWS_DEFAULT_REGION envvar is not required for AWS S3 interactions, so remove it from our workflows and documentation. This will allow us to remove AWS_DEFAULT_REGION from the repo secrets so that our pathogen-repo-build summary no longer points to a masked URL for the AWS Batch console (e.g. https://console.aws.amazon.com/batch/home?region=***#jobs/detail/0d66a150-a010-4761-9561-8085ef1d7ea3).
joverlee521
force-pushed
the
remove-set-branch-config
branch
from
October 30, 2023 20:57
0d0154f to
a20d021
Compare
Contributor
Author
|
As part of this PR, I've already removed the |
joverlee521
marked this pull request as ready for review
October 30, 2023 21:02
joverlee521
requested review from
a team and
corneliusroemer
and removed request for
corneliusroemer
October 30, 2023 21:04
The GITHUB_RUN_ID environment variable is only used for Slack notification messages, so it is not needed for the branch workflows that run without Slack notifications.
Contributor
Author
|
Test run completed successfully and uploaded files to |
This file contains hidden or 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
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Clean up GitHub Action workflows, see commits for details.
Checklist