@@ -134,6 +134,7 @@ functions:
134
134
params :
135
135
working_dir : src
136
136
timeout_secs : 300
137
+ shell : bash
137
138
script : |
138
139
${PREPARE_SHELL}
139
140
@@ -144,6 +145,13 @@ functions:
144
145
rm -f ./prepare_client_encryption.sh
145
146
fi
146
147
148
+ export VERSION=${VERSION}
149
+ export DRIVERS_TOOLS=${DRIVERS_TOOLS}
150
+
151
+ source ${PROJECT_DIRECTORY}/.evergreen/prepare-crypt-shared-lib.sh
152
+
153
+ echo "CRYPT_SHARED_LIB_PATH: $CRYPT_SHARED_LIB_PATH"
154
+
147
155
MONGODB_URI="${MONGODB_URI}" \
148
156
AUTH=${AUTH} SSL=${SSL} TEST_CSFLE=true \
149
157
MONGODB_API_VERSION="${MONGODB_API_VERSION}" \
@@ -725,36 +733,6 @@ functions:
725
733
-v \
726
734
--fault revoked
727
735
run custom csfle tests :
728
- - command : shell.exec
729
- type : test
730
- params :
731
- silent : true
732
- working_dir : src
733
- script : |
734
- ${PREPARE_SHELL}
735
- cat <<EOT > prepare_client_encryption.sh
736
- export CLIENT_ENCRYPTION=${CLIENT_ENCRYPTION}
737
- export CSFLE_KMS_PROVIDERS='${CSFLE_KMS_PROVIDERS}'
738
- export AWS_ACCESS_KEY_ID="${AWS_ACCESS_KEY_ID}"
739
- export AWS_SECRET_ACCESS_KEY="${AWS_SECRET_ACCESS_KEY}"
740
- export CSFLE_GIT_REF="${CSFLE_GIT_REF}"
741
- export CDRIVER_GIT_REF="${CDRIVER_GIT_REF}"
742
- EOT
743
- - command : shell.exec
744
- type : test
745
- params :
746
- working_dir : src
747
- timeout_secs : 60
748
- script : |
749
- ${PREPARE_SHELL}
750
-
751
- # Disable xtrace (just in case it was accidentally set).
752
- set +x
753
- . ./prepare_client_encryption.sh
754
- rm -f ./prepare_client_encryption.sh
755
-
756
- MONGODB_URI="${MONGODB_URI}" bash ${PROJECT_DIRECTORY}/.evergreen/run-custom-csfle-tests.sh
757
- run custom csfle shared lib tests :
758
736
- command : shell.exec
759
737
type : test
760
738
params :
@@ -789,9 +767,8 @@ functions:
789
767
790
768
source ${PROJECT_DIRECTORY}/.evergreen/prepare-crypt-shared-lib.sh
791
769
export MONGODB_URI="${MONGODB_URI}"
792
- export CRYPT_SHARED_LIB_PATH
793
770
794
- echo "setting CRYPT_SHARED_LIB_PATH: $CRYPT_SHARED_LIB_PATH"
771
+ echo "CRYPT_SHARED_LIB_PATH: $CRYPT_SHARED_LIB_PATH"
795
772
796
773
bash ${PROJECT_DIRECTORY}/.evergreen/run-custom-csfle-tests.sh
797
774
run custom snappy tests :
@@ -1716,7 +1693,7 @@ tasks:
1716
1693
vars :
1717
1694
NODE_LTS_NAME : erbium
1718
1695
TEST_NPM_SCRIPT : check:unit
1719
- - name : run-custom-csfle-tests-mongocryptd -pinned-commit
1696
+ - name : run-custom-csfle-tests-5.0 -pinned-commit
1720
1697
tags :
1721
1698
- run-custom-dependency-tests
1722
1699
commands :
@@ -1725,13 +1702,13 @@ tasks:
1725
1702
NODE_LTS_NAME : erbium
1726
1703
- func : bootstrap mongo-orchestration
1727
1704
vars :
1728
- VERSION : latest
1705
+ VERSION : ' 5.0 '
1729
1706
TOPOLOGY : replica_set
1730
1707
- func : bootstrap kms servers
1731
1708
- func : run custom csfle tests
1732
1709
vars :
1733
1710
CSFLE_GIT_REF : 41afd44ca04d246998969c53de4e0f22802b0c8a
1734
- - name : run-custom-csfle-tests-mongocryptd -master
1711
+ - name : run-custom-csfle-tests-5.0 -master
1735
1712
tags :
1736
1713
- run-custom-dependency-tests
1737
1714
commands :
@@ -1740,13 +1717,13 @@ tasks:
1740
1717
NODE_LTS_NAME : erbium
1741
1718
- func : bootstrap mongo-orchestration
1742
1719
vars :
1743
- VERSION : latest
1720
+ VERSION : ' 5.0 '
1744
1721
TOPOLOGY : replica_set
1745
1722
- func : bootstrap kms servers
1746
1723
- func : run custom csfle tests
1747
1724
vars :
1748
1725
CSFLE_GIT_REF : master
1749
- - name : run-custom-csfle-shared-lib- tests-pinned-commit
1726
+ - name : run-custom-csfle-tests-rapid -pinned-commit
1750
1727
tags :
1751
1728
- run-custom-dependency-tests
1752
1729
commands :
@@ -1755,14 +1732,28 @@ tasks:
1755
1732
NODE_LTS_NAME : erbium
1756
1733
- func : bootstrap mongo-orchestration
1757
1734
vars :
1758
- VERSION : latest
1735
+ VERSION : rapid
1759
1736
TOPOLOGY : replica_set
1760
1737
- func : bootstrap kms servers
1761
- - func : run custom csfle shared lib tests
1738
+ - func : run custom csfle tests
1762
1739
vars :
1763
- VERSION : latest
1764
1740
CSFLE_GIT_REF : 41afd44ca04d246998969c53de4e0f22802b0c8a
1765
- - name : run-custom-csfle-shared-lib-tests-master
1741
+ - name : run-custom-csfle-tests-rapid-master
1742
+ tags :
1743
+ - run-custom-dependency-tests
1744
+ commands :
1745
+ - func : install dependencies
1746
+ vars :
1747
+ NODE_LTS_NAME : erbium
1748
+ - func : bootstrap mongo-orchestration
1749
+ vars :
1750
+ VERSION : rapid
1751
+ TOPOLOGY : replica_set
1752
+ - func : bootstrap kms servers
1753
+ - func : run custom csfle tests
1754
+ vars :
1755
+ CSFLE_GIT_REF : master
1756
+ - name : run-custom-csfle-tests-latest-pinned-commit
1766
1757
tags :
1767
1758
- run-custom-dependency-tests
1768
1759
commands :
@@ -1774,9 +1765,23 @@ tasks:
1774
1765
VERSION : latest
1775
1766
TOPOLOGY : replica_set
1776
1767
- func : bootstrap kms servers
1777
- - func : run custom csfle shared lib tests
1768
+ - func : run custom csfle tests
1769
+ vars :
1770
+ CSFLE_GIT_REF : 41afd44ca04d246998969c53de4e0f22802b0c8a
1771
+ - name : run-custom-csfle-tests-latest-master
1772
+ tags :
1773
+ - run-custom-dependency-tests
1774
+ commands :
1775
+ - func : install dependencies
1776
+ vars :
1777
+ NODE_LTS_NAME : erbium
1778
+ - func : bootstrap mongo-orchestration
1778
1779
vars :
1779
1780
VERSION : latest
1781
+ TOPOLOGY : replica_set
1782
+ - func : bootstrap kms servers
1783
+ - func : run custom csfle tests
1784
+ vars :
1780
1785
CSFLE_GIT_REF : master
1781
1786
- name : test-latest-server-noauth
1782
1787
tags :
@@ -2339,10 +2344,12 @@ buildvariants:
2339
2344
- run-custom-snappy-tests
2340
2345
- run-bson-ext-integration
2341
2346
- run-bson-ext-unit
2342
- - run-custom-csfle-tests-mongocryptd-pinned-commit
2343
- - run-custom-csfle-tests-mongocryptd-master
2344
- - run-custom-csfle-shared-lib-tests-pinned-commit
2345
- - run-custom-csfle-shared-lib-tests-master
2347
+ - run-custom-csfle-tests-5.0-pinned-commit
2348
+ - run-custom-csfle-tests-5.0-master
2349
+ - run-custom-csfle-tests-rapid-pinned-commit
2350
+ - run-custom-csfle-tests-rapid-master
2351
+ - run-custom-csfle-tests-latest-pinned-commit
2352
+ - run-custom-csfle-tests-latest-master
2346
2353
- name : ubuntu1804-test-serverless
2347
2354
display_name : Serverless Test
2348
2355
run_on : ubuntu1804-test
0 commit comments