File tree Expand file tree Collapse file tree 2 files changed +8
-11
lines changed Expand file tree Collapse file tree 2 files changed +8
-11
lines changed Original file line number Diff line number Diff line change @@ -11,15 +11,16 @@ SKIP_SERVERS=1 bash $HERE/setup-encryption.sh
11
11
# Set up the remote files to test.
12
12
git add .
13
13
git commit -m " add files" || true
14
- git archive -o /tmp/mongo-python-driver.tgz HEAD
14
+ git archive -o /tmp/mongo-python-driver.tar HEAD
15
+ tar -rf /tmp/mongo-python-driver.tar libmongocrypt
16
+ tar -rf /tmp/mongo-python-driver.tar secrets-export.sh
17
+ gzip /tmp/mongo-python-driver.tar
15
18
# shellcheck disable=SC2088
16
- AZUREKMS_SRC=" /tmp/mongo-python-driver.tgz" AZUREKMS_DST=" ~/" \
17
- $DRIVERS_TOOLS /.evergreen/csfle/azurekms/copy-file.sh
18
- AZUREKMS_SRC=" $HERE /../secrets-export.sh" AZUREKMS_DST=" ~/" \
19
+ AZUREKMS_SRC=" /tmp/mongo-python-driver.tar.gz" AZUREKMS_DST=" ~/" \
19
20
$DRIVERS_TOOLS /.evergreen/csfle/azurekms/copy-file.sh
20
21
echo " Copying files ... end"
21
22
echo " Untarring file ... begin"
22
- AZUREKMS_CMD=" tar xf mongo-python-driver.tgz " \
23
+ AZUREKMS_CMD=" tar xf mongo-python-driver.tar.gz " \
23
24
$DRIVERS_TOOLS /.evergreen/csfle/azurekms/run-command.sh
24
25
echo " Untarring file ... end"
25
26
echo " Running test ... begin"
Original file line number Diff line number Diff line change @@ -10,17 +10,13 @@ export GCPKMS_ZONE=${GCPKMS_ZONE}
10
10
export GCPKMS_INSTANCENAME=${GCPKMS_INSTANCENAME}
11
11
export LIBMONGOCRYPT_URL=https://s3.amazonaws.com/mciuploads/libmongocrypt/debian11/master/latest/libmongocrypt.tar.gz
12
12
SKIP_SERVERS=1 bash $HERE /setup-encryption.sh
13
- # Set up the remote files to test.
14
- git add .
15
- git commit -m " add files" || true
16
- git archive -o /tmp/mongo-python-driver.tgz HEAD
13
+ tar czf /tmp/mongo-python-driver.tgz .
17
14
GCPKMS_SRC=/tmp/mongo-python-driver.tgz GCPKMS_DST=$GCPKMS_INSTANCENAME : $DRIVERS_TOOLS /.evergreen/csfle/gcpkms/copy-file.sh
18
- GCPKMS_SRC=" $HERE /../secrets-export.sh" GCPKMS_DST=$GCPKMS_INSTANCENAME : $DRIVERS_TOOLS /.evergreen/csfle/gcpkms/copy-file.sh
19
15
echo " Copying files ... end"
20
16
echo " Untarring file ... begin"
21
17
GCPKMS_CMD=" tar xf mongo-python-driver.tgz" $DRIVERS_TOOLS /.evergreen/csfle/gcpkms/run-command.sh
22
18
echo " Untarring file ... end"
23
19
echo " Running test ... begin"
24
- GCPKMS_CMD=" SUCCESS=true TEST_FLE_GCP_AUTO=1 bash ./.evergreen/just.sh test-eg" $DRIVERS_TOOLS /.evergreen/csfle/gcpkms/run-command.sh
20
+ GCPKMS_CMD=" rm -rf .venv .evergreen/scripts/env.sh && SUCCESS=true TEST_FLE_GCP_AUTO=1 ./.evergreen/just.sh test-eg" $DRIVERS_TOOLS /.evergreen/csfle/gcpkms/run-command.sh
25
21
echo " Running test ... end"
26
22
bash $HERE /teardown-encryption.sh
You can’t perform that action at this time.
0 commit comments