Skip to content

Commit 8e106ec

Browse files
committed
Opt-in upload of results/ for AWS Batch runtime
Workflows that run with the AWS Batch runtime tend to produce large files in this folder. Excluding the folder from default artifact paths helps reduce usage against artifact storage limits. Additionally, the files can still be accessed by manually attaching to the AWS Batch job.
1 parent 6936161 commit 8e106ec

2 files changed

Lines changed: 5 additions & 5 deletions

File tree

.github/workflows/pathogen-repo-build.yaml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -105,10 +105,10 @@ on:
105105
106106
build.log
107107
auspice/
108-
results/
109108
benchmarks/
110109
logs/
111110
.snakemake/log/
111+
results/ (not included for `aws-batch` runtime)
112112
113113
The "build.log" contains log messages from the `nextstrain build` command. The other paths are common output paths for Nextstrain builds. If a path does not exist in your build, then the action will still succeed and will print out a warning for the non-existent file(s). Use an exclude pattern for any of the default paths that you would like to exclude from the artifact (e.g. !build.log).
114114
type: string
@@ -209,10 +209,10 @@ on:
209209
210210
build.log
211211
auspice/
212-
results/
213212
benchmarks/
214213
logs/
215214
.snakemake/log/
215+
results/ (not included for `aws-batch` runtime)
216216
217217
The "build.log" contains log messages from the `nextstrain build` command. The other paths are common output paths for Nextstrain builds. If a path does not exist in your build, then the action will still succeed and will print out a warning for the non-existent file(s). Use an exclude pattern for any of the default paths that you would like to exclude from the artifact (e.g. !build.log).
218218
type: string
@@ -230,7 +230,7 @@ env:
230230
NEXTSTRAIN_DEFAULT_ARTIFACT_PATHS: |
231231
build.log
232232
auspice/
233-
results/
233+
${{ inputs.runtime != 'aws-batch' && 'results/' || '' }}
234234
benchmarks/
235235
logs/
236236
.snakemake/log/

.github/workflows/pathogen-repo-build.yaml.in

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -143,10 +143,10 @@ on:
143143

144144
build.log
145145
auspice/
146-
results/
147146
benchmarks/
148147
logs/
149148
.snakemake/log/
149+
results/ (not included for `aws-batch` runtime)
150150

151151
The "build.log" contains log messages from the
152152
`nextstrain build` command.
@@ -188,7 +188,7 @@ env:
188188
NEXTSTRAIN_DEFAULT_ARTIFACT_PATHS: |
189189
build.log
190190
auspice/
191-
results/
191+
${{ inputs.runtime != 'aws-batch' && 'results/' || '' }}
192192
benchmarks/
193193
logs/
194194
.snakemake/log/

0 commit comments

Comments
 (0)