summaryrefslogtreecommitdiff
path: root/etc
diff options
context:
space:
mode:
authorRichard Samuels <richard.samuels@mongodb.com>2020-05-26 17:02:44 -0400
committerEvergreen Agent <no-reply@evergreen.mongodb.com>2020-06-03 16:01:49 +0000
commitc0573ceda8d44f33665436f446c6cd1fc0a3d238 (patch)
tree095f4b72e73a7c18c5b1c918a716d2b3365a5e39 /etc
parent81769e38de1ca6bc311aa1497234b1b55f16626e (diff)
downloadmongo-c0573ceda8d44f33665436f446c6cd1fc0a3d238.tar.gz
SERVER-48188 Allow multiversion *_gen tasks to be rerun without fail
Diffstat (limited to 'etc')
-rw-r--r--etc/evergreen.yml13
1 files changed, 5 insertions, 8 deletions
diff --git a/etc/evergreen.yml b/etc/evergreen.yml
index 4940145370f..81a4a00a2af 100644
--- a/etc/evergreen.yml
+++ b/etc/evergreen.yml
@@ -1602,6 +1602,7 @@ functions:
params:
target: generate_tasks_config.tgz
source_dir: src/generated_resmoke_config
+ optional: true
include:
- "*"
@@ -2053,14 +2054,6 @@ functions:
${activate_virtualenv}
$python buildscripts/evergreen_gen_multiversion_tests.py run --expansion-file expansions.yml
- - command: shell.exec
- params:
- working_dir: src
- script: |
- set -o errexit
- set -o verbose
-
- ${activate_virtualenv}
$python buildscripts/evergreen_gen_multiversion_tests.py generate-exclude-files --suite=${task_name} --task-path-suffix=${task_path_suffix} --is-generated-suite=true
- command: archive.targz_pack
@@ -2080,9 +2073,13 @@ functions:
permissions: public-read
content_type: ${content_type|application/gzip}
display_name: Generated Task Config - Execution ${execution}
+ optional: true
- command: generate.tasks
params:
+ # Optional b/c reruns of this task will produce no JSON files to avoid
+ # generate.tasks failing
+ optional: true
files:
- src/generated_resmoke_config/*.json