From 4a8008359f38db1b3d7acaf7013a66a5c5394922 Mon Sep 17 00:00:00 2001 From: Joseph Hunkeler Date: Wed, 11 Feb 2026 15:05:08 -0500 Subject: Add a retry loop to download * Configurable with env var: STASIS_DOWNLOAD_RETRIES --- README.md | 2 ++ 1 file changed, 2 insertions(+) (limited to 'README.md') diff --git a/README.md b/README.md index c1a490d..67ebf0d 100644 --- a/README.md +++ b/README.md @@ -200,6 +200,8 @@ stasis mydelivery.ini | STASIS_JF_CLIENT_CERT_CERT_PATH | Path to OpenSSL cert files | | STASIS_JF_CLIENT_CERT_KEY_PATH | OpenSSL key file (in cert path) | | STASIS_JF_REPO | Artifactory "generic" repository to write to | +| STASIS_DOWNLOAD_TIMEOUT | Number of seconds before timing out a remote file download | +| STASIS_DOWNLOAD_RETRIES | Number of retries before giving up on a remote file download | ## Main configuration (stasis.ini) -- cgit From 608600b8d1b8c4bf759e6246cc2a442a58f94bdc Mon Sep 17 00:00:00 2001 From: Joseph Hunkeler Date: Thu, 12 Feb 2026 09:29:02 -0500 Subject: Document env vars in README: * STASIS_DOWNLOAD_RETRY_MAX * STASIS_DOWNLOAD_RETRY_SECONDS --- README.md | 19 ++++++++++--------- 1 file changed, 10 insertions(+), 9 deletions(-) (limited to 'README.md') diff --git a/README.md b/README.md index 67ebf0d..e72247f 100644 --- a/README.md +++ b/README.md @@ -201,7 +201,8 @@ stasis mydelivery.ini | STASIS_JF_CLIENT_CERT_KEY_PATH | OpenSSL key file (in cert path) | | STASIS_JF_REPO | Artifactory "generic" repository to write to | | STASIS_DOWNLOAD_TIMEOUT | Number of seconds before timing out a remote file download | -| STASIS_DOWNLOAD_RETRIES | Number of retries before giving up on a remote file download | +| STASIS_DOWNLOAD_RETRY_MAX | Number of retries before giving up on a remote file download | +| STASIS_DOWNLOAD_RETRY_SECONDS | Number of seconds to wait before retrying a remote file download | ## Main configuration (stasis.ini) @@ -288,14 +289,14 @@ Sections starting with `test:` will be used during the testing phase of the stas | Key | Type | Purpose | Required | |--------------|---------|----------------------------------------------------------|----------| | disable | Boolean | Disable `script` execution (`script_setup` always executes) | N | -| parallel | Boolean | Execute test block in parallel (default) or sequentially | N | -| timeout | String | Kill test script after `n[hms]` | N | -| build_recipe | String | Git repository path to package's conda recipe | N | -| repository | String | Git repository path or URL to clone | Y | -| version | String | Git commit or tag to check out | Y | -| runtime | List | Export environment variables specific to test context | Y | -| script_setup | List | Body of a shell script that will install dependencies | N | -| script | List | Body of a shell script that will execute the tests | Y | +| parallel | Boolean | Execute test block in parallel (default) or sequentially | N | +| timeout | String | Kill test script after `n[hms]` | N | +| build_recipe | String | Git repository path to package's conda recipe | N | +| repository | String | Git repository path or URL to clone | Y | +| version | String | Git commit or tag to check out | Y | +| runtime | List | Export environment variables specific to test context | Y | +| script_setup | List | Body of a shell script that will install dependencies | N | +| script | List | Body of a shell script that will execute the tests | Y | ### deploy:artifactory:_name_ -- cgit From 635ec182af3d281c27fe5297a042d68516fa3058 Mon Sep 17 00:00:00 2001 From: Joseph Hunkeler Date: Thu, 12 Feb 2026 09:29:11 -0500 Subject: Fix table format --- README.md | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'README.md') diff --git a/README.md b/README.md index e72247f..a8c72d6 100644 --- a/README.md +++ b/README.md @@ -286,8 +286,8 @@ Environment variables exported are _global_ to all programs executed by stasis. Sections starting with `test:` will be used during the testing phase of the stasis pipeline. Where the value of `name` following the colon is an arbitrary value, and only used for reporting which test-run is executing. Section names must be unique. -| Key | Type | Purpose | Required | -|--------------|---------|----------------------------------------------------------|----------| +| Key | Type | Purpose | Required | +|--------------|---------|-------------------------------------------------------------|----------| | disable | Boolean | Disable `script` execution (`script_setup` always executes) | N | | parallel | Boolean | Execute test block in parallel (default) or sequentially | N | | timeout | String | Kill test script after `n[hms]` | N | -- cgit