File tree Expand file tree Collapse file tree 1 file changed +12
-0
lines changed Expand file tree Collapse file tree 1 file changed +12
-0
lines changed Original file line number Diff line number Diff line change @@ -715,6 +715,17 @@ functions:
715
715
# balancer is not running.
716
716
DRIVERS_TOOLS=${DRIVERS_TOOLS} MONGODB_URI=${MONGODB_URI} bash ${DRIVERS_TOOLS}/.evergreen/run-load-balancer.sh stop || echo "Ignoring load balancer stop error"
717
717
718
+ teardown-aws :
719
+ - command : shell.exec
720
+ params :
721
+ shell : " bash"
722
+ script : |
723
+ cd "${DRIVERS_TOOLS}/.evergreen/auth_aws"
724
+ if [ -f "./aws_e2e_setup.json" ]; then
725
+ . ./activate-authawsvenv.sh
726
+ python ./lib/aws_assign_instance_profile.py
727
+ fi
728
+
718
729
add-aws-auth-variables-to-file :
719
730
- command : shell.exec
720
731
type : test
@@ -1215,6 +1226,7 @@ post:
1215
1226
- " src/go.mongodb.org/mongo-driver/*.suite"
1216
1227
- func : upload-mo-artifacts
1217
1228
- func : stop-load-balancer
1229
+ - func : teardown-aws
1218
1230
- func : cleanup
1219
1231
1220
1232
tasks :
You can’t perform that action at this time.
0 commit comments