Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Browse files
Browse the repository at this point in the history
### Description Finish remaining issues with the original implementation of the Azure Batch Executor originally tackled by @andreas-wilm in #533. - simplified command line options - batch configuration as a class with sensible defaults, or environment variable overrides. - made use of existing AzBlob helper where possible. - updates dockerfile with necessary deps - container jakevc/snakemake:latest contains these changes for testing Toyed with the idea of having more configuration from command line options, but this litters the codebase with redundant code (each command line option needs to be repeated a few times in __init__.py, scheduler.py, workflow.py, azure_batch.py). Env Variables seem appropriate with sensible defaults. ### QC <!-- Make sure that you can tick the boxes below. --> * [x] The PR contains a test case for the changes or the changes are already covered by an existing test case. * [x] The documentation (`docs/`) is updated to reflect the changes or this is not necessary (e.g. if the change does neither modify the language nor the behavior or functionalities of Snakemake). ### Example Example invocation: ```bash export AZ_BLOB_ACCOUNT_URL=********* export AZ_BATCH_ACCOUNT_KEY=********* snakemake \ --jobs 3 \ -rpf --verbose --default-remote-prefix snaketest \ --use-conda \ --default-remote-provider AzBlob \ --envvars AZ_BLOB_ACCOUNT_URL \ --az-batch \ --container-image jakevc/snakemake \ --az-batch-account-url ********** ``` --------- ### Description <!--Add a description of your PR here--> ### QC <!-- Make sure that you can tick the boxes below. --> * [x] The PR contains a test case for the changes or the changes are already covered by an existing test case. * [x] The documentation (`docs/`) is updated to reflect the changes or this is not necessary (e.g. if the change does neither modify the language nor the behavior or functionalities of Snakemake). --------- Signed-off-by: dependabot[bot] <support@github.com> Co-authored-by: Jake VanCampen <jake.vancampen7@gmail.com> Co-authored-by: Emmanouil "Manolis" Maragkakis <em.maragkakis@gmail.com> Co-authored-by: Jesse Connell <jesse08@gmail.com> Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com> Co-authored-by: roshnipatel <roshnipatel@berkeley.edu> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> Co-authored-by: Mike Taves <mwtoews@gmail.com> Co-authored-by: Rich Abdill <rabdill@users.noreply.github.com> Co-authored-by: Koen van Greevenbroek <74298901+koen-vg@users.noreply.github.com> Co-authored-by: Chang Y <yech1990@gmail.com>
- Loading branch information
1 parent
c18083a
commit 0f9c49f
Showing
19 changed files
with
1,709 additions
and
135 deletions.
There are no files selected for viewing
This file contains 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
This file contains 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
This file contains 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
Large diffs are not rendered by default.
Oops, something went wrong.
This file contains 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
This file contains 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
This file contains 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
This file contains 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
Oops, something went wrong.