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

Azurebatch: expose tokenDuration parameter #688

Open
wants to merge 3 commits into
base: master
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from 2 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
8 changes: 5 additions & 3 deletions conf/azurebatch.config
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,7 @@ params {
storage_name = null
storage_key = null
storage_sas = null
storage_duration = null
adamrtalbot marked this conversation as resolved.
Show resolved Hide resolved

// Batch
az_location = "westus2"
Expand Down Expand Up @@ -37,9 +38,10 @@ azure {
queue = params.az_worker_pool
}
storage {
accountName = params.storage_name
accountKey = params.storage_key
sasToken = params.storage_sas
accountName = params.storage_name
accountKey = params.storage_key
sasToken = params.storage_sas
tokenDuration = params.storage_duration
}
batch {
location = params.az_location
Expand Down
4 changes: 4 additions & 0 deletions docs/azurebatch.md
Original file line number Diff line number Diff line change
Expand Up @@ -17,6 +17,10 @@ Access key to Azure blob storage account. `--storage_key` or `--storage_sas` are

SAS for access to Azure blob storage account (see relevant permissions on Nextflow documentation). `--storage_key` or `--storage_sas` are required, but not both.

### --storage_duration

The duration of the shared access signature token created by Nextflow when the `--storage_sas` option is not specified (default: `48h`). Make sure to increase this for large and expensive workflows!

### `--az_location`

The Azure Batch region where the computation is executed in VMs. Default (`westus2`).
Expand Down
Loading