@@ -94,7 +94,6 @@ functions:
94
94
PROJECT_DIRECTORY: "$PROJECT_DIRECTORY"
95
95
PREPARE_SHELL: |
96
96
set -o errexit
97
- set -o xtrace
98
97
export GOPATH="$GOPATH"
99
98
export GOROOT="${GO_DIST}"
100
99
export GOCACHE="$GOCACHE"
@@ -317,7 +316,6 @@ functions:
317
316
fi
318
317
319
318
export GOFLAGS=-mod=vendor
320
- set +o xtrace
321
319
AUTH=${AUTH} \
322
320
SSL=${SSL} \
323
321
MONGODB_URI="${MONGODB_URI}" \
@@ -352,7 +350,7 @@ functions:
352
350
silent : true
353
351
working_dir : src/go.mongodb.org/mongo-driver
354
352
script : |
355
- # DO NOT ECHO WITH XTRACE (which PREPARE_SHELL does)
353
+ # DO NOT ECHO WITH XTRACE
356
354
if [ "Windows_NT" = "$OS" ]; then
357
355
export GOPATH=$(cygpath -w $(dirname $(dirname $(dirname `pwd`))))
358
356
export GOCACHE=$(cygpath -w "$(pwd)/.cache")
@@ -372,7 +370,7 @@ functions:
372
370
params :
373
371
working_dir : src/go.mongodb.org/mongo-driver
374
372
script : |
375
- # DO NOT ECHO WITH XTRACE (which PREPARE_SHELL does)
373
+ # DO NOT ECHO WITH XTRACE
376
374
if [ "Windows_NT" = "$OS" ]; then
377
375
export GOPATH=$(cygpath -w $(dirname $(dirname $(dirname `pwd`))))
378
376
export GOCACHE=$(cygpath -w "$(pwd)/.cache")
@@ -399,7 +397,7 @@ functions:
399
397
params :
400
398
working_dir : src/go.mongodb.org/mongo-driver
401
399
script : |
402
- # DO NOT ECHO WITH XTRACE (which PREPARE_SHELL does)
400
+ # DO NOT ECHO WITH XTRACE
403
401
if [ "Windows_NT" = "$OS" ]; then
404
402
export GOPATH=$(cygpath -w $(dirname $(dirname $(dirname `pwd`))))
405
403
export GOCACHE=$(cygpath -w "$(pwd)/.cache")
@@ -426,7 +424,7 @@ functions:
426
424
params :
427
425
working_dir : src/go.mongodb.org/mongo-driver
428
426
script : |
429
- # DO NOT ECHO WITH XTRACE (which PREPARE_SHELL does)
427
+ # DO NOT ECHO WITH XTRACE
430
428
if [ "Windows_NT" = "$OS" ]; then
431
429
export GOPATH=$(cygpath -w $(dirname $(dirname $(dirname `pwd`))))
432
430
export GOCACHE=$(cygpath -w "$(pwd)/.cache")
@@ -462,7 +460,6 @@ functions:
462
460
export MONGO_GO_DRIVER_CA_FILE=$(cygpath -m $MONGO_GO_DRIVER_CA_FILE)
463
461
fi
464
462
465
- set +o xtrace
466
463
AUTH="auth" \
467
464
SSL="ssl" \
468
465
TOPOLOGY="server" \
@@ -495,7 +492,6 @@ functions:
495
492
. ${DRIVERS_TOOLS}/.evergreen/csfle/set-temp-creds.sh
496
493
497
494
export GOFLAGS=-mod=vendor
498
- set +o xtrace
499
495
AUTH="${AUTH}" \
500
496
SSL="${SSL}" \
501
497
MONGODB_URI="${MONGODB_URI}" \
@@ -548,7 +544,6 @@ functions:
548
544
# testing Client instances, so we set MONGODB_URI to SINGLE_MONGOS_LB_URI.
549
545
550
546
export GOFLAGS=-mod=vendor
551
- set +o xtrace
552
547
AUTH="${AUTH}" \
553
548
SSL="${SSL}" \
554
549
MONGODB_URI="${SINGLE_MONGOS_LB_URI}" \
@@ -565,7 +560,6 @@ functions:
565
560
working_dir : src/go.mongodb.org/mongo-driver
566
561
script : |
567
562
${PREPARE_SHELL}
568
- set +o xtrace
569
563
AUTH="auth" \
570
564
SSL="nossl" \
571
565
TOPOLOGY="server" \
@@ -739,7 +733,7 @@ functions:
739
733
working_dir : " src"
740
734
silent : true
741
735
script : |
742
- # DO NOT ECHO WITH XTRACE (which PREPARE_SHELL does)
736
+ # DO NOT ECHO WITH XTRACE
743
737
cat <<'EOF' > "${PROJECT_DIRECTORY}/prepare_mongodb_aws.sh"
744
738
alias urlencode='python -c "import sys, urllib as ul; sys.stdout.write(ul.quote_plus(sys.argv[1]))"'
745
739
alias jsonkey='python -c "import json,sys;sys.stdout.write(json.load(sys.stdin)[sys.argv[1]])" < ${DRIVERS_TOOLS}/.evergreen/auth_aws/creds.json'
@@ -791,7 +785,7 @@ functions:
791
785
working_dir : " src"
792
786
silent : true
793
787
script : |
794
- # DO NOT ECHO WITH XTRACE (which PREPARE_SHELL does)
788
+ # DO NOT ECHO WITH XTRACE
795
789
cat <<'EOF' > "${PROJECT_DIRECTORY}/prepare_mongodb_aws.sh"
796
790
export AWS_ACCESS_KEY_ID=${iam_auth_ecs_account}
797
791
export AWS_SECRET_ACCESS_KEY=${iam_auth_ecs_secret_access_key}
@@ -811,7 +805,7 @@ functions:
811
805
working_dir : " src"
812
806
silent : true
813
807
script : |
814
- # DO NOT ECHO WITH XTRACE (which PREPARE_SHELL does)
808
+ # DO NOT ECHO WITH XTRACE
815
809
cat <<'EOF' > "${PROJECT_DIRECTORY}/prepare_mongodb_aws.sh"
816
810
alias jsonkey='python -c "import json,sys;sys.stdout.write(json.load(sys.stdin)[sys.argv[1]])" < ${DRIVERS_TOOLS}/.evergreen/auth_aws/creds.json'
817
811
export AWS_ACCESS_KEY_ID=$(jsonkey AccessKeyId)
@@ -890,7 +884,6 @@ functions:
890
884
export KMS_TLS_TESTCASE="${KMS_TLS_TESTCASE}"
891
885
892
886
export GOFLAGS=-mod=vendor
893
- set +o xtrace
894
887
AUTH="${AUTH}" \
895
888
SSL="${SSL}" \
896
889
MONGODB_URI="${MONGODB_URI}" \
0 commit comments