Skip to content

Commit c136fbc

Browse files
committed
Use drivers-evergreen-tools teardown
1 parent 9cd3a61 commit c136fbc

File tree

2 files changed

+19
-25
lines changed

2 files changed

+19
-25
lines changed

.evergreen/config.yml

Lines changed: 19 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -520,6 +520,25 @@ functions:
520520
- .evergreen/scripts/cleanup.sh
521521

522522
"teardown system":
523+
- command: subprocess.exec
524+
params:
525+
binary: bash
526+
working_dir: "src"
527+
args:
528+
# Ensure the instance profile is reassigned for aws tests.
529+
- ${DRIVERS_TOOLS}/.evergreen/auth_aws/teardown.sh
530+
- command: subprocess.exec
531+
params:
532+
binary: bash
533+
working_dir: "src"
534+
args:
535+
- ${DRIVERS_TOOLS}/.evergreen/csfle/teardown.sh
536+
- command: subprocess.exec
537+
params:
538+
binary: bash
539+
working_dir: "src"
540+
args:
541+
- ${DRIVERS_TOOLS}/.evergreen/ocsp/teardown.sh
523542
- command: subprocess.exec
524543
params:
525544
binary: bash
@@ -601,14 +620,6 @@ functions:
601620
args:
602621
- src/.evergreen/scripts/stop-load-balancer.sh
603622

604-
"teardown":
605-
- command: subprocess.exec
606-
params:
607-
binary: bash
608-
args:
609-
- src/.evergreen/scripts/run-with-env.sh
610-
- src/.evergreen/scripts/teardown.sh
611-
612623
"teardown atlas":
613624
- command: subprocess.exec
614625
params:
@@ -646,7 +657,6 @@ post:
646657
# Disabled, causing timeouts
647658
# - func: "upload working dir"
648659
- func: "teardown system"
649-
- func: "teardown"
650660
- func: "upload coverage"
651661
- func: "upload mo artifacts"
652662
- func: "upload test results"

.evergreen/scripts/teardown.sh

Lines changed: 0 additions & 16 deletions
This file was deleted.

0 commit comments

Comments
 (0)