Skip to content

Commit 3cf5b86

Browse files
authored
Merge pull request #24 from Jibola/retry-on-atlas-failure
[Bugfix] Retry setup on failure rather than continue_on_error
2 parents 8da4388 + 19bdce6 commit 3cf5b86

File tree

1 file changed

+4
-1
lines changed

1 file changed

+4
-1
lines changed

.evergreen/config.yml

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -24,11 +24,13 @@ timeout:
2424
functions:
2525
"fetch source":
2626
- command: git.get_project
27+
type: setup
2728
params:
2829
directory: "src"
2930

3031
"fetch repo":
3132
- command: shell.exec
33+
type: setup
3234
params:
3335
working_dir: "src"
3436
script: |
@@ -60,16 +62,17 @@ functions:
6062
"setup atlas cli":
6163
- command: subprocess.exec
6264
type: setup
65+
retry_on_failure: true
6366
params:
6467
add_expansions_to_env: true
65-
continue_on_err: true
6668
working_dir: "src"
6769
binary: bash
6870
env:
6971
atlas: ${workdir}/src/atlas/bin/atlas
7072
args:
7173
- .evergreen/provision-atlas.sh
7274

75+
pre_error_fails_task: true
7376
pre:
7477
- func: "fetch source"
7578
- func: "setup atlas cli"

0 commit comments

Comments
 (0)