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

fix: unnecessary set Snakefile in AzBatch executor #2397

Merged
merged 4 commits into from Aug 7, 2023
Merged

Conversation

jakevc
Copy link
Contributor

@jakevc jakevc commented Aug 5, 2023

Description

  • Removes unnecessary setting of Snakefile in AzBatch executor. This was 1. not necessary, and 2. was causing a failure to resolve the Snakefile path when it was located at workflow/Snakefile.
  • Since default resources is now included in the command per fix: do not overwrite default resources setting in azure batch executor #2395 , I needed to update the shell quoting so the command doesn't fail because of the parentheses in the default resources. Used the same solution as fix: slurm default_resources quoting #2043 and it works nicely.
  • Updated the masking regex to be more generic for SAS token possibilities

QC

  • The PR contains a test case for the changes or the changes are already covered by an existing test case.
  • 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).

@sonarcloud
Copy link

sonarcloud bot commented Aug 5, 2023

Kudos, SonarCloud Quality Gate passed!    Quality Gate passed

Bug A 0 Bugs
Vulnerability A 0 Vulnerabilities
Security Hotspot A 0 Security Hotspots
Code Smell A 0 Code Smells

No Coverage information No Coverage information
0.0% 0.0% Duplication

@johanneskoester johanneskoester merged commit 78e6d6e into main Aug 7, 2023
7 checks passed
@johanneskoester johanneskoester deleted the fix/azbatch branch August 7, 2023 08:28
johanneskoester pushed a commit that referenced this pull request Aug 7, 2023
🤖 I have created a release *beep* *boop*
---


##
[7.32.2](v7.32.1...v7.32.2)
(2023-08-07)


### Bug Fixes

* unnecessary set Snakefile in AzBatch executor
([#2397](#2397))
([78e6d6e](78e6d6e))

---
This PR was generated with [Release
Please](https://github.com/googleapis/release-please). See
[documentation](https://github.com/googleapis/release-please#release-please).

Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants