File tree Expand file tree Collapse file tree 3 files changed +13
-3
lines changed Expand file tree Collapse file tree 3 files changed +13
-3
lines changed Original file line number Diff line number Diff line change @@ -1042,15 +1042,19 @@ functions:
1042
1042
- command : shell.exec
1043
1043
type : test
1044
1044
params :
1045
- working_dir : " src"
1045
+ working_dir : src
1046
1046
silent : true
1047
+ shell : bash
1047
1048
script : |
1049
+ set -ex
1048
1050
cd ${DRIVERS_TOOLS}/.evergreen/auth_aws
1049
- ${MONGODB_BINARIES}/mongo --verbose aws_e2e_regular_aws.js
1051
+ . ./activate-authawsvenv.sh
1052
+ python aws_tester.py regular
1050
1053
cd -
1051
1054
cat <<EOF > "${PROJECT_DIRECTORY}/prepare_mongodb_aws.sh"
1052
1055
export AWS_ACCESS_KEY_ID=${iam_auth_ecs_account}
1053
1056
export AWS_SECRET_ACCESS_KEY=${iam_auth_ecs_secret_access_key}
1057
+ export MONGODB_URI="mongodb://localhost:27017/aws?authMechanism=MONGODB-AWS"
1054
1058
EOF
1055
1059
- command : shell.exec
1056
1060
type : test
Original file line number Diff line number Diff line change @@ -988,13 +988,17 @@ functions:
988
988
params :
989
989
working_dir : src
990
990
silent : true
991
+ shell : bash
991
992
script : |
993
+ set -ex
992
994
cd ${DRIVERS_TOOLS}/.evergreen/auth_aws
993
- ${MONGODB_BINARIES}/mongo --verbose aws_e2e_regular_aws.js
995
+ . ./activate-authawsvenv.sh
996
+ python aws_tester.py regular
994
997
cd -
995
998
cat <<EOF > "${PROJECT_DIRECTORY}/prepare_mongodb_aws.sh"
996
999
export AWS_ACCESS_KEY_ID=${iam_auth_ecs_account}
997
1000
export AWS_SECRET_ACCESS_KEY=${iam_auth_ecs_secret_access_key}
1001
+ export MONGODB_URI="mongodb://localhost:27017/aws?authMechanism=MONGODB-AWS"
998
1002
EOF
999
1003
- command : shell.exec
1000
1004
type : test
Original file line number Diff line number Diff line change @@ -34,6 +34,8 @@ if [ ! -d "$DRIVERS_TOOLS" ]; then
34
34
git clone --depth=1 " https://github.com/mongodb-labs/drivers-evergreen-tools.git" " ${DRIVERS_TOOLS} "
35
35
fi
36
36
37
+ echo " installed DRIVERS_EVERGREEN_TOOLS from commit $( git -C $DRIVERS_EVERGREEN_TOOLS rev-parse HEAD) "
38
+
37
39
cat << EOT > "$MONGO_ORCHESTRATION_HOME /orchestration.config"
38
40
{
39
41
"releases": {
You can’t perform that action at this time.
0 commit comments