File tree Expand file tree Collapse file tree 3 files changed +31
-20
lines changed Expand file tree Collapse file tree 3 files changed +31
-20
lines changed Original file line number Diff line number Diff line change @@ -1225,17 +1225,17 @@ tasks:
1225
1225
- name : " oidc-auth-test-azure-latest"
1226
1226
commands :
1227
1227
- func : " install dependencies"
1228
- - command : shell .exec
1228
+ - command : subprocess .exec
1229
1229
params :
1230
- shell : bash
1231
- script : |-
1232
- set -o errexit
1233
- ${PREPARE_SHELL }
1234
- cd src
1235
- export AZUREOIDC_DRIVERS_TAR_FILE=/tmp/node-mongodb-native.tgz
1236
- tar czf $AZUREOIDC_DRIVERS_TAR_FILE .
1237
- export AZUREOIDC_TEST_CMD="source ./env.sh && PROVIDER_NAME=azure ./.evergreen/run-oidc-tests.sh"
1238
- bash $DRIVERS_TOOLS/ .evergreen/auth_oidc/azure/ run-driver-test .sh
1230
+ working_dir : src
1231
+ binary : bash
1232
+ env :
1233
+ DRIVERS_TOOLS : ${DRIVERS_TOOLS }
1234
+ PROJECT_DIRECTORY : ${PROJECT_DIRECTORY}
1235
+ AZUREOIDC_CLIENTID : ${testazureoidc_clientid}
1236
+ PROVIDER_NAME : azure
1237
+ args :
1238
+ - .evergreen/run-oidc-tests-azure .sh
1239
1239
1240
1240
task_groups :
1241
1241
- name : serverless_task_group
Original file line number Diff line number Diff line change @@ -1152,17 +1152,17 @@ tasks:
1152
1152
- name : oidc-auth-test-azure-latest
1153
1153
commands :
1154
1154
- func : install dependencies
1155
- - command : shell .exec
1155
+ - command : subprocess .exec
1156
1156
params :
1157
- shell : bash
1158
- script : |-
1159
- set -o errexit
1160
- ${PREPARE_SHELL }
1161
- cd src
1162
- export AZUREOIDC_DRIVERS_TAR_FILE=/tmp/node-mongodb-native.tgz
1163
- tar czf $AZUREOIDC_DRIVERS_TAR_FILE .
1164
- export AZUREOIDC_TEST_CMD="source ./env.sh && PROVIDER_NAME=azure ./.evergreen/run-oidc-tests.sh"
1165
- bash $DRIVERS_TOOLS/ .evergreen/auth_oidc/azure/ run-driver-test .sh
1157
+ working_dir : src
1158
+ binary : bash
1159
+ env :
1160
+ DRIVERS_TOOLS : ${DRIVERS_TOOLS }
1161
+ PROJECT_DIRECTORY : ${PROJECT_DIRECTORY}
1162
+ AZUREOIDC_CLIENTID : ${testazureoidc_clientid}
1163
+ PROVIDER_NAME : azure
1164
+ args :
1165
+ - .evergreen/run-oidc-tests-azure .sh
1166
1166
- name : test-latest-server
1167
1167
tags :
1168
1168
- latest
Original file line number Diff line number Diff line change
1
+ #! /bin/bash
2
+ set -o xtrace # Write all commands first to stderr
3
+ set -o errexit # Exit the script with error if any of the commands fail
4
+
5
+ export AZUREOIDC_DRIVERS_TAR_FILE=/tmp/node-mongodb-native.tgz
6
+ tar czf $AZUREOIDC_DRIVERS_TAR_FILE .
7
+ export AZUREOIDC_TEST_CMD=" source ./env.sh && PROVIDER_NAME=azure ./.evergreen/run-oidc-tests.sh"
8
+ export AZUREOIDC_CLIENTID=$AZUREOIDC_CLIENTID
9
+ export PROJECT_DIRECTORY=$PROJECT_DIRECTORY
10
+ export PROVIDER_NAME=$PROVIDER_NAME
11
+ bash $DRIVERS_TOOLS /.evergreen/auth_oidc/azure/run-driver-test.sh
You can’t perform that action at this time.
0 commit comments