Skip to content

Commit 1c808a9

Browse files
authored
RUBY-3694 Use correct CA when verifying OCSP endpoint (2.20.x) (#2945)
* RUBY-3694 Use correct CA when verifying OCSP endpoint (#2944) * use the next cert in the chain as the CA when verifying OCSP * don't assume the issuer is at a particular position in the chain * Fix incorrect method description * https for submodules * fix submodule syntax * update test configuration * bump drivers-evergreen-tools for DB version lookups * allow prepare_server to compute the distro in the format it needs * more evergreen config tweaks * more test tweaks * fix broken resolver specs * don't try to use mock_dns on ruby 2.7 * make sure and definie the minimum_mri_version constraint * use https to clone git repos * maybe we need to skip sooner to avoid the around hooks... * Gracefully handle the case where the issuer can't be found (#2946) * no need to test against latest; 2.20.x only supports up to 7.0
1 parent 8f16460 commit 1c808a9

File tree

18 files changed

+220
-559
lines changed

18 files changed

+220
-559
lines changed

.evergreen/config.yml

Lines changed: 70 additions & 198 deletions
Large diffs are not rendered by default.

.evergreen/config/axes.yml.erb

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -184,15 +184,15 @@ axes:
184184
- id: ubuntu2204
185185
display_name: "Ubuntu 22.04"
186186
run_on: ubuntu2204-small
187+
- id: ubuntu2204-arm
188+
display_name: "Ubuntu 22.04 ARM"
189+
run_on: ubuntu2204-arm64-small
187190
- id: ubuntu2004
188191
display_name: "Ubuntu 20.04"
189192
run_on: ubuntu2004-small
190-
- id: rhel8
191-
display_name: "RHEL 8"
192-
run_on: rhel80-small
193-
- id: rhel8-arm
194-
display_name: "RHEL 8 ARM64"
195-
run_on: rhel82-arm64-small
193+
- id: ubuntu1804
194+
display_name: "Ubuntu 18.04"
195+
run_on: ubuntu1804-small
196196

197197
- id: docker-distro
198198
display_name: Docker Distro
@@ -297,7 +297,7 @@ axes:
297297
values:
298298
- id: mmapv1
299299
display_name: MMAPv1
300-
run_on: rhel80-small
300+
run_on: ubuntu1804-small
301301
variables:
302302
MMAPV1: 'true'
303303

.evergreen/config/common.yml.erb

Lines changed: 0 additions & 77 deletions
Original file line numberDiff line numberDiff line change
@@ -464,65 +464,6 @@ post:
464464
- func: "upload test results to s3"
465465

466466
task_groups:
467-
- name: serverless_task_group
468-
setup_group_can_fail_task: true
469-
setup_group_timeout_secs: 1800 # 30 minutes
470-
setup_group:
471-
- func: "fetch source"
472-
- func: "create expansions"
473-
- command: ec2.assume_role
474-
params:
475-
role_arn: ${aws_test_secrets_role}
476-
- command: shell.exec
477-
params:
478-
shell: "bash"
479-
script: |
480-
${PREPARE_SHELL}
481-
bash ${DRIVERS_TOOLS}/.evergreen/serverless/setup-secrets.sh
482-
bash ${DRIVERS_TOOLS}/.evergreen/serverless/create-instance.sh
483-
- command: expansions.update
484-
params:
485-
file: serverless-expansion.yml
486-
teardown_task:
487-
- command: shell.exec
488-
params:
489-
script: |
490-
${PREPARE_SHELL}
491-
bash ${DRIVERS_TOOLS}/.evergreen/serverless/delete-instance.sh
492-
- func: "upload test results"
493-
tasks:
494-
- "test-serverless"
495-
496-
- name: serverless_next_task_group
497-
setup_group_can_fail_task: true
498-
setup_group_timeout_secs: 1800 # 30 minutes
499-
setup_group:
500-
- func: "fetch source"
501-
- func: "create expansions"
502-
- command: ec2.assume_role
503-
params:
504-
role_arn: ${aws_test_secrets_role}
505-
- command: shell.exec
506-
params:
507-
shell: "bash"
508-
script: |
509-
${PREPARE_SHELL}
510-
bash ${DRIVERS_TOOLS}/.evergreen/serverless/setup-secrets.sh serverless_next
511-
bash ${DRIVERS_TOOLS}/.evergreen/serverless/create-instance.sh
512-
- command: expansions.update
513-
params:
514-
file: serverless-expansion.yml
515-
teardown_task:
516-
- command: shell.exec
517-
params:
518-
script: |
519-
${PREPARE_SHELL}
520-
bash ${DRIVERS_TOOLS}/.evergreen/serverless/setup-secrets.sh serverless_next
521-
bash ${DRIVERS_TOOLS}/.evergreen/serverless/delete-instance.sh
522-
- func: "upload test results"
523-
tasks:
524-
- "test-serverless"
525-
526467
- name: testatlas_task_group
527468
setup_group_can_fail_task: true
528469
setup_group_timeout_secs: 1800 # 30 minutes
@@ -752,37 +693,19 @@ tasks:
752693
- name: "test-atlas"
753694
commands:
754695
- func: "run Atlas tests"
755-
- name: "test-serverless"
756-
commands:
757-
- func: "export FLE credentials"
758-
- func: "run serverless tests"
759-
- name: "test-docker"
760-
commands:
761-
- func: "build and test docker image"
762696
- name: "test-mlaunch"
763697
commands:
764698
- func: "run tests"
765699
- name: "driver-bench"
766700
commands:
767701
- func: "run benchmarks"
768-
- name: "test-via-docker"
769-
commands:
770-
- func: "run tests via docker"
771-
- name: "test-kerberos-integration"
772-
commands:
773-
- func: "export Kerberos credentials"
774-
- func: "run Kerberos integration tests"
775702
- name: "test-kerberos"
776703
commands:
777704
- func: "run Kerberos unit tests"
778705
- name: "test-fle"
779706
commands:
780707
- func: "export FLE credentials"
781708
- func: "run tests"
782-
- name: "test-fle-via-docker"
783-
commands:
784-
- func: "export FLE credentials"
785-
- func: "run tests via docker"
786709
- name: "test-aws-auth"
787710
commands:
788711
- func: "export AWS auth credentials"

0 commit comments

Comments
 (0)