-
Notifications
You must be signed in to change notification settings - Fork 1.1k
PYTHON-3276 [pymongo] FLE 1.0 shared library #947
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Changes from all commits
d450f2f
0efaa2f
5cb9482
3505295
f1be8d2
a0d96b2
77f57ed
e56dfa5
8a18adf
da553ca
bdb6c74
c3655d1
5347fb9
decd576
4be7908
5690fde
a1349f3
bf58852
2c92c6f
6a35554
d40fc09
19fb586
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
| Original file line number | Diff line number | Diff line change |
|---|---|---|
|
|
@@ -450,6 +450,9 @@ functions: | |
| export LIBMONGOCRYPT_URL="${libmongocrypt_url}" | ||
| export TEST_ENCRYPTION=1 | ||
| fi | ||
| if [ -n "${test_csfle}" ]; then | ||
| export TEST_CSFLE=1 | ||
| fi | ||
| if [ -n "${test_pyopenssl}" ]; then | ||
| export TEST_PYOPENSSL=1 | ||
| fi | ||
|
|
@@ -1232,7 +1235,6 @@ tasks: | |
| VERSION: "5.0" | ||
| TOPOLOGY: "sharded_cluster" | ||
| - func: "run tests" | ||
|
|
||
| - name: "test-6.0-standalone" | ||
| tags: ["6.0", "standalone"] | ||
| commands: | ||
|
|
@@ -2161,6 +2163,14 @@ axes: | |
| variables: | ||
| test_encryption: true | ||
| batchtime: 10080 # 7 days | ||
| - id: "encryption_with_csfle" | ||
| display_name: "Encryption with CSFLE" | ||
| tags: ["encryption_tag", "csfle"] | ||
| variables: | ||
| test_encryption: true | ||
| test_csfle: true | ||
| batchtime: 10080 # 7 days | ||
|
|
||
|
|
||
| # Run pyopenssl tests? | ||
| - id: pyopenssl | ||
|
|
@@ -2229,21 +2239,6 @@ buildvariants: | |
| - ".4.0" | ||
| - ".3.6" | ||
|
|
||
| - matrix_name: "tests-all-encryption" | ||
| matrix_spec: | ||
| platform: | ||
| # OSes that support versions of MongoDB>=2.6 with SSL. | ||
| - awslinux | ||
| auth-ssl: "*" | ||
| encryption: "*" | ||
| display_name: "Encryption ${platform} ${auth-ssl}" | ||
| tasks: | ||
| - ".6.0" | ||
| - ".5.0" | ||
| - ".4.4" | ||
| - ".4.2" | ||
| - ".4.0" | ||
|
|
||
| - matrix_name: "tests-archlinux" | ||
| matrix_spec: | ||
| platform: | ||
|
|
@@ -2297,14 +2292,27 @@ buildvariants: | |
| auth: "auth" | ||
| ssl: "nossl" | ||
| encryption: "*" | ||
| display_name: "Encryption ${platform} ${auth} ${ssl}" | ||
| display_name: "${encryption} ${platform} ${auth} ${ssl}" | ||
| tasks: &encryption-server-versions | ||
| - ".rapid" | ||
| - ".latest" | ||
| - ".6.0" | ||
| - ".5.0" | ||
| - ".4.4" | ||
| - ".4.2" | ||
| - ".4.0" | ||
|
Member
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Since we don't want to test CSFLE with <6.0 we should use the "rules" field to ensure we're only testing classic fle with 4.0+ and shared lib fle with 6.0+: https://github.com/evergreen-ci/evergreen/wiki/Project-Configuration-Files#the-rules-field
Contributor
Author
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. I added a rules field but it does not seem to be removing the tasks.
Member
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Due to a longstanding bug in EVG, the
Contributor
Author
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. It is now working for mac os, but not for the other platforms.
Member
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. The other ones have different axis. |
||
| rules: &encryption-exclude-rules | ||
| - if: | ||
| platform: "*" | ||
| auth: "*" | ||
| ssl: "*" | ||
| encryption: [ "encryption_with_csfle" ] | ||
| then: | ||
| remove_tasks: | ||
| - ".5.0" | ||
| - ".4.4" | ||
| - ".4.2" | ||
| - ".4.0" | ||
|
|
||
| # Test one server version with zSeries, POWER8, and ARM. | ||
| - matrix_name: "test-different-cpu-architectures" | ||
|
|
@@ -2385,8 +2393,21 @@ buildvariants: | |
| # dependency tests-python-version-rhel62-test-encryption_.../test-2.6-standalone is not present in the project config | ||
| # coverage: "*" | ||
| encryption: "*" | ||
| display_name: "Encryption ${python-version} ${platform} ${auth-ssl}" | ||
| display_name: "${encryption} ${python-version} ${platform} ${auth-ssl}" | ||
| tasks: *encryption-server-versions | ||
| rules: | ||
| - if: | ||
| platform: "*" | ||
| python-version: "*" | ||
| auth-ssl: "*" | ||
| encryption: [ "encryption_with_csfle" ] | ||
| then: | ||
| remove_tasks: | ||
| - ".5.0" | ||
| - ".4.4" | ||
| - ".4.2" | ||
| - ".4.0" | ||
|
|
||
|
|
||
| - matrix_name: "tests-python-version-ubuntu18-without-c-extensions" | ||
| matrix_spec: | ||
|
|
@@ -2481,8 +2502,20 @@ buildvariants: | |
| python-version-windows: "*" | ||
| auth-ssl: "*" | ||
| encryption: "*" | ||
| display_name: "Encryption ${platform} ${python-version-windows} ${auth-ssl}" | ||
| display_name: "${encryption} ${platform} ${python-version-windows} ${auth-ssl}" | ||
| tasks: *encryption-server-versions | ||
| rules: | ||
| - if: | ||
| platform: "*" | ||
| python-version-windows: "*" | ||
| auth-ssl: "*" | ||
| encryption: [ "encryption_with_csfle" ] | ||
| then: | ||
| remove_tasks: | ||
| - ".5.0" | ||
| - ".4.4" | ||
| - ".4.2" | ||
| - ".4.0" | ||
|
|
||
| # Storage engine tests on Ubuntu 18.04 (x86_64) with Python 3.7. | ||
| - matrix_name: "tests-storage-engines" | ||
|
|
||
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Add 6.0 and rapid.