Skip to content

Commit dc78bb6

Browse files
committed
Test FLE via docker
1 parent df9cdae commit dc78bb6

File tree

6 files changed

+22
-6
lines changed

6 files changed

+22
-6
lines changed

.evergreen/config-atlas.yml

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -620,6 +620,10 @@ axes:
620620
display_name: debian10
621621
variables:
622622
DOCKER_DISTRO: debian10
623+
- id: ubuntu1804
624+
display_name: ubuntu1804
625+
variables:
626+
DOCKER_DISTRO: ubuntu1804
623627

624628
- id: "compressor"
625629
display_name: Compressor

.evergreen/config.yml

Lines changed: 8 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -475,6 +475,10 @@ tasks:
475475
commands:
476476
- func: "export FLE credentials"
477477
- func: "run tests"
478+
- name: "test-fle-via-docker"
479+
commands:
480+
- func: "export FLE credentials"
481+
- func: "run tests via docker"
478482
- name: "test-aws-auth"
479483
commands:
480484
- func: "export AWS auth credentials"
@@ -654,6 +658,10 @@ axes:
654658
display_name: debian10
655659
variables:
656660
DOCKER_DISTRO: debian10
661+
- id: ubuntu1804
662+
display_name: ubuntu1804
663+
variables:
664+
DOCKER_DISTRO: ubuntu1804
657665

658666
- id: "compressor"
659667
display_name: Compressor
@@ -1277,8 +1285,6 @@ buildvariants:
12771285
- matrix_name: "fle-4.4"
12781286
matrix_spec:
12791287
auth-and-ssl: "noauth-and-nossl"
1280-
# https://jira.mongodb.org/browse/RUBY-2832
1281-
# ruby: [ruby-3.0, ruby-2.7, jruby-9.2]
12821288
ruby: [ruby-3.0, ruby-2.7]
12831289
topology: standalone
12841290
mongodb-version: ['4.4']

.evergreen/config/axes.yml.erb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -165,7 +165,7 @@ axes:
165165
- id: docker-distro
166166
display_name: Docker Distro
167167
values:
168-
<% %w(debian92 debian10).each do |distro| %>
168+
<% %w(debian92 debian10 ubuntu1804).each do |distro| %>
169169
- id: <%= distro %>
170170
display_name: <%= distro %>
171171
variables:

.evergreen/config/common.yml.erb

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -554,6 +554,10 @@ tasks:
554554
commands:
555555
- func: "export FLE credentials"
556556
- func: "run tests"
557+
- name: "test-fle-via-docker"
558+
commands:
559+
- func: "export FLE credentials"
560+
- func: "run tests via docker"
557561
- name: "test-aws-auth"
558562
commands:
559563
- func: "export AWS auth credentials"

.evergreen/config/standard.yml.erb

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -437,8 +437,6 @@ buildvariants:
437437
- matrix_name: "fle-4.4"
438438
matrix_spec:
439439
auth-and-ssl: "noauth-and-nossl"
440-
# https://jira.mongodb.org/browse/RUBY-2832
441-
# ruby: [ruby-3.0, ruby-2.7, jruby-9.2]
442440
ruby: [ruby-3.0, ruby-2.7]
443441
topology: standalone
444442
mongodb-version: ['4.4']

.evergreen/run-tests-docker.sh

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,13 +13,17 @@ fi
1313
params=
1414
for var in MONGODB_VERSION TOPOLOGY RVM_RUBY \
1515
OCSP_ALGORITHM OCSP_STATUS OCSP_DELEGATE OCSP_MUST_STAPLE \
16-
OCSP_CONNECTIVITY OCSP_VERIFIER
16+
OCSP_CONNECTIVITY OCSP_VERIFIER FLE
1717
do
1818
value="${!var}"
1919
if test -n "$value"; then
2020
params="$params $var=${!var}"
2121
fi
2222
done
2323

24+
if test -f .env.private; then
25+
params="$params -a .env.private"
26+
fi
27+
2428
# OCSP verifier tests need debian10 so that ocsp mock works
2529
./.evergreen/test-on-docker -p -d $DOCKER_DISTRO $params

0 commit comments

Comments
 (0)