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 @@ -1247,17 +1247,17 @@ tasks:
1247
1247
- name : " oidc-auth-test-azure-latest"
1248
1248
commands :
1249
1249
- func : " install dependencies"
1250
- - command : shell .exec
1250
+ - command : subprocess .exec
1251
1251
params :
1252
- shell : bash
1253
- script : |-
1254
- set -o errexit
1255
- ${PREPARE_SHELL }
1256
- cd src
1257
- export AZUREOIDC_DRIVERS_TAR_FILE=/tmp/node-mongodb-native.tgz
1258
- tar czf $AZUREOIDC_DRIVERS_TAR_FILE .
1259
- export AZUREOIDC_TEST_CMD="source ./env.sh && PROVIDER_NAME=azure ./.evergreen/run-oidc-tests.sh"
1260
- bash $DRIVERS_TOOLS/ .evergreen/auth_oidc/azure/ run-driver-test .sh
1252
+ working_dir : src
1253
+ binary : bash
1254
+ env :
1255
+ DRIVERS_TOOLS : ${DRIVERS_TOOLS }
1256
+ PROJECT_DIRECTORY : ${PROJECT_DIRECTORY}
1257
+ AZUREOIDC_CLIENTID : ${testazureoidc_clientid}
1258
+ PROVIDER_NAME : azure
1259
+ args :
1260
+ - .evergreen/run-oidc-tests-azure .sh
1261
1261
1262
1262
task_groups :
1263
1263
- name : serverless_task_group
Original file line number Diff line number Diff line change @@ -1171,17 +1171,17 @@ tasks:
1171
1171
- name : oidc-auth-test-azure-latest
1172
1172
commands :
1173
1173
- func : install dependencies
1174
- - command : shell .exec
1174
+ - command : subprocess .exec
1175
1175
params :
1176
- shell : bash
1177
- script : |-
1178
- set -o errexit
1179
- ${PREPARE_SHELL }
1180
- cd src
1181
- export AZUREOIDC_DRIVERS_TAR_FILE=/tmp/node-mongodb-native.tgz
1182
- tar czf $AZUREOIDC_DRIVERS_TAR_FILE .
1183
- export AZUREOIDC_TEST_CMD="source ./env.sh && PROVIDER_NAME=azure ./.evergreen/run-oidc-tests.sh"
1184
- bash $DRIVERS_TOOLS/ .evergreen/auth_oidc/azure/ run-driver-test .sh
1176
+ working_dir : src
1177
+ binary : bash
1178
+ env :
1179
+ DRIVERS_TOOLS : ${DRIVERS_TOOLS }
1180
+ PROJECT_DIRECTORY : ${PROJECT_DIRECTORY}
1181
+ AZUREOIDC_CLIENTID : ${testazureoidc_clientid}
1182
+ PROVIDER_NAME : azure
1183
+ args :
1184
+ - .evergreen/run-oidc-tests-azure .sh
1185
1185
- name : test-latest-server
1186
1186
tags :
1187
1187
- 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