From 7c91272be68a5e5b28bb2f92a678d906e7604538 Mon Sep 17 00:00:00 2001 From: Neal Beeken Date: Fri, 10 May 2024 16:09:39 -0400 Subject: [PATCH] ci(NODE-6162): add server 8.0 to evergreen (#4107) --- .evergreen/ci_matrix_constants.js | 6 +- .evergreen/config.yml | 865 ++++++++++++++++++++++++++---- 2 files changed, 770 insertions(+), 101 deletions(-) diff --git a/.evergreen/ci_matrix_constants.js b/.evergreen/ci_matrix_constants.js index a0a514c22f..42e1e2aa2f 100644 --- a/.evergreen/ci_matrix_constants.js +++ b/.evergreen/ci_matrix_constants.js @@ -1,4 +1,4 @@ -const MONGODB_VERSIONS = ['latest', 'rapid', '7.0', '6.0', '5.0', '4.4', '4.2', '4.0', '3.6']; +const MONGODB_VERSIONS = ['latest', 'rapid', '8.0', '7.0', '6.0', '5.0', '4.4', '4.2', '4.0', '3.6']; const versions = [ { codeName: 'gallium', versionNumber: 16, npmVersion: 9 }, { codeName: 'hydrogen', versionNumber: 18, npmVersion: 'latest' }, @@ -9,8 +9,8 @@ const LOWEST_LTS = NODE_VERSIONS[0]; const LATEST_LTS = NODE_VERSIONS[NODE_VERSIONS.length - 1]; const TOPOLOGIES = ['server', 'replica_set', 'sharded_cluster']; -const AWS_AUTH_VERSIONS = ['latest', '6.0', '5.0', '4.4']; -const TLS_VERSIONS = ['latest', '6.0', '5.0', '4.4', '4.2']; +const AWS_AUTH_VERSIONS = ['latest', '8.0', '7.0', '6.0', '5.0', '4.4']; +const TLS_VERSIONS = ['latest', '8.0', '7.0', '6.0', '5.0', '4.4', '4.2']; const LB_VERSIONS = MONGODB_VERSIONS.slice(0, MONGODB_VERSIONS.indexOf('5.0') + 1); LB_VERSIONS.reverse(); diff --git a/.evergreen/config.yml b/.evergreen/config.yml index 15a0b86fec..7980b5fd32 100644 --- a/.evergreen/config.yml +++ b/.evergreen/config.yml @@ -1368,6 +1368,57 @@ tasks: - func: bootstrap mongo-orchestration - func: bootstrap kms servers - func: run tests + - name: test-8.0-server + tags: + - '8.0' + - server + commands: + - command: expansions.update + type: setup + params: + updates: + - {key: NPM_VERSION, value: '9'} + - {key: VERSION, value: '8.0'} + - {key: TOPOLOGY, value: server} + - {key: AUTH, value: auth} + - func: install dependencies + - func: bootstrap mongo-orchestration + - func: bootstrap kms servers + - func: run tests + - name: test-8.0-replica_set + tags: + - '8.0' + - replica_set + commands: + - command: expansions.update + type: setup + params: + updates: + - {key: NPM_VERSION, value: '9'} + - {key: VERSION, value: '8.0'} + - {key: TOPOLOGY, value: replica_set} + - {key: AUTH, value: auth} + - func: install dependencies + - func: bootstrap mongo-orchestration + - func: bootstrap kms servers + - func: run tests + - name: test-8.0-sharded_cluster + tags: + - '8.0' + - sharded_cluster + commands: + - command: expansions.update + type: setup + params: + updates: + - {key: NPM_VERSION, value: '9'} + - {key: VERSION, value: '8.0'} + - {key: TOPOLOGY, value: sharded_cluster} + - {key: AUTH, value: auth} + - func: install dependencies + - func: bootstrap mongo-orchestration + - func: bootstrap kms servers + - func: run tests - name: test-7.0-server tags: - '7.0' @@ -1824,6 +1875,25 @@ tasks: - func: start-load-balancer - func: run-lb-tests - func: stop-load-balancer + - name: test-8.0-load-balanced + tags: + - latest + - sharded_cluster + - load_balancer + commands: + - command: expansions.update + type: setup + params: + updates: + - {key: VERSION, value: '8.0'} + - {key: TOPOLOGY, value: sharded_cluster} + - {key: AUTH, value: auth} + - {key: LOAD_BALANCER, value: 'true'} + - func: install dependencies + - func: bootstrap mongo-orchestration + - func: start-load-balancer + - func: run-lb-tests + - func: stop-load-balancer - name: test-rapid-load-balanced tags: - latest @@ -1886,165 +1956,621 @@ tasks: type: setup params: updates: - - {key: VERSION, value: latest} - - {key: TOPOLOGY, value: replica_set} + - {key: VERSION, value: latest} + - {key: TOPOLOGY, value: replica_set} + - {key: AUTH, value: auth} + - {key: ORCHESTRATION_FILE, value: auth-oidc.json} + - func: install dependencies + - func: bootstrap oidc + - func: bootstrap mongo-orchestration + - func: setup oidc roles + - func: run oidc tests aws + - name: test-socks5 + tags: [] + commands: + - command: expansions.update + type: setup + params: + updates: + - {key: VERSION, value: latest} + - {key: TOPOLOGY, value: replica_set} + - func: install dependencies + - func: bootstrap mongo-orchestration + - func: bootstrap kms servers + - func: run socks5 tests + - name: test-socks5-csfle + tags: + - socks5-csfle + commands: + - command: expansions.update + type: setup + params: + updates: + - {key: VERSION, value: latest} + - {key: TOPOLOGY, value: replica_set} + - {key: TEST_SOCKS5_CSFLE, value: 'true'} + - func: install dependencies + - func: bootstrap mongo-orchestration + - func: bootstrap kms servers + - func: run socks5 tests + - name: test-socks5-tls + tags: [] + commands: + - command: expansions.update + type: setup + params: + updates: + - {key: SSL, value: ssl} + - {key: VERSION, value: latest} + - {key: TOPOLOGY, value: replica_set} + - func: install dependencies + - func: bootstrap mongo-orchestration + - func: run socks5 tests + - name: test-zstd-compression + tags: + - latest + - zstd + commands: + - command: expansions.update + type: setup + params: + updates: + - {key: VERSION, value: latest} + - {key: TOPOLOGY, value: replica_set} + - {key: AUTH, value: auth} + - {key: COMPRESSOR, value: zstd} + - func: install dependencies + - func: bootstrap mongo-orchestration + - func: run-compression-tests + - name: test-snappy-compression + tags: + - latest + - snappy + commands: + - command: expansions.update + type: setup + params: + updates: + - {key: VERSION, value: latest} + - {key: TOPOLOGY, value: replica_set} + - {key: AUTH, value: auth} + - {key: COMPRESSOR, value: snappy} + - func: install dependencies + - func: bootstrap mongo-orchestration + - func: run-compression-tests + - name: test-tls-support-latest + tags: + - tls-support + commands: + - command: expansions.update + type: setup + params: + updates: + - {key: VERSION, value: latest} + - {key: SSL, value: ssl} + - {key: TOPOLOGY, value: server} + - func: install dependencies + - func: bootstrap mongo-orchestration + - func: run tls tests + - name: test-tls-support-8.0 + tags: + - tls-support + commands: + - command: expansions.update + type: setup + params: + updates: + - {key: VERSION, value: '8.0'} + - {key: SSL, value: ssl} + - {key: TOPOLOGY, value: server} + - func: install dependencies + - func: bootstrap mongo-orchestration + - func: run tls tests + - name: test-tls-support-7.0 + tags: + - tls-support + commands: + - command: expansions.update + type: setup + params: + updates: + - {key: VERSION, value: '7.0'} + - {key: SSL, value: ssl} + - {key: TOPOLOGY, value: server} + - func: install dependencies + - func: bootstrap mongo-orchestration + - func: run tls tests + - name: test-tls-support-6.0 + tags: + - tls-support + commands: + - command: expansions.update + type: setup + params: + updates: + - {key: VERSION, value: '6.0'} + - {key: SSL, value: ssl} + - {key: TOPOLOGY, value: server} + - func: install dependencies + - func: bootstrap mongo-orchestration + - func: run tls tests + - name: test-tls-support-5.0 + tags: + - tls-support + commands: + - command: expansions.update + type: setup + params: + updates: + - {key: VERSION, value: '5.0'} + - {key: SSL, value: ssl} + - {key: TOPOLOGY, value: server} + - func: install dependencies + - func: bootstrap mongo-orchestration + - func: run tls tests + - name: test-tls-support-4.4 + tags: + - tls-support + commands: + - command: expansions.update + type: setup + params: + updates: + - {key: VERSION, value: '4.4'} + - {key: SSL, value: ssl} + - {key: TOPOLOGY, value: server} + - func: install dependencies + - func: bootstrap mongo-orchestration + - func: run tls tests + - name: test-tls-support-4.2 + tags: + - tls-support + commands: + - command: expansions.update + type: setup + params: + updates: + - {key: VERSION, value: '4.2'} + - {key: SSL, value: ssl} + - {key: TOPOLOGY, value: server} + - func: install dependencies + - func: bootstrap mongo-orchestration + - func: run tls tests + - name: aws-latest-auth-test-run-aws-auth-test-with-regular-aws-credentials + commands: + - command: expansions.update + type: setup + params: + updates: + - {key: VERSION, value: latest} + - {key: AUTH, value: auth} + - {key: ORCHESTRATION_FILE, value: auth-aws.json} + - {key: TOPOLOGY, value: server} + - {key: MONGODB_AWS_SDK, value: 'true'} + - func: install dependencies + - func: bootstrap mongo-orchestration + - func: add aws auth variables to file + - func: setup aws env + - func: run aws auth test with regular aws credentials + - name: aws-latest-auth-test-run-aws-auth-test-with-assume-role-credentials + commands: + - command: expansions.update + type: setup + params: + updates: + - {key: VERSION, value: latest} + - {key: AUTH, value: auth} + - {key: ORCHESTRATION_FILE, value: auth-aws.json} + - {key: TOPOLOGY, value: server} + - {key: MONGODB_AWS_SDK, value: 'true'} + - func: install dependencies + - func: bootstrap mongo-orchestration + - func: add aws auth variables to file + - func: setup aws env + - func: run aws auth test with assume role credentials + - name: aws-latest-auth-test-run-aws-auth-test-with-aws-EC2-credentials + commands: + - command: expansions.update + type: setup + params: + updates: + - {key: VERSION, value: latest} + - {key: AUTH, value: auth} + - {key: ORCHESTRATION_FILE, value: auth-aws.json} + - {key: TOPOLOGY, value: server} + - {key: MONGODB_AWS_SDK, value: 'true'} + - func: install dependencies + - func: bootstrap mongo-orchestration + - func: add aws auth variables to file + - func: setup aws env + - func: run aws auth test with aws EC2 credentials + - name: aws-latest-auth-test-run-aws-auth-test-with-aws-credentials-as-environment-variables + commands: + - command: expansions.update + type: setup + params: + updates: + - {key: VERSION, value: latest} + - {key: AUTH, value: auth} + - {key: ORCHESTRATION_FILE, value: auth-aws.json} + - {key: TOPOLOGY, value: server} + - {key: MONGODB_AWS_SDK, value: 'true'} + - func: install dependencies + - func: bootstrap mongo-orchestration + - func: add aws auth variables to file + - func: setup aws env + - func: run aws auth test with aws credentials as environment variables + - name: aws-latest-auth-test-run-aws-auth-test-with-aws-credentials-and-session-token-as-environment-variables + commands: + - command: expansions.update + type: setup + params: + updates: + - {key: VERSION, value: latest} + - {key: AUTH, value: auth} + - {key: ORCHESTRATION_FILE, value: auth-aws.json} + - {key: TOPOLOGY, value: server} + - {key: MONGODB_AWS_SDK, value: 'true'} + - func: install dependencies + - func: bootstrap mongo-orchestration + - func: add aws auth variables to file + - func: setup aws env + - func: run aws auth test with aws credentials and session token as environment variables + - name: aws-latest-auth-test-run-aws-ECS-auth-test + commands: + - command: expansions.update + type: setup + params: + updates: + - {key: VERSION, value: latest} + - {key: AUTH, value: auth} + - {key: ORCHESTRATION_FILE, value: auth-aws.json} + - {key: TOPOLOGY, value: server} + - {key: MONGODB_AWS_SDK, value: 'true'} + - func: install dependencies + - func: bootstrap mongo-orchestration + - func: add aws auth variables to file + - func: setup aws env + - func: run aws ECS auth test + - name: aws-latest-auth-test-run-aws-auth-test-AssumeRoleWithWebIdentity-with-AWS_ROLE_SESSION_NAME-unset + commands: + - command: expansions.update + type: setup + params: + updates: + - {key: VERSION, value: latest} + - {key: AUTH, value: auth} + - {key: ORCHESTRATION_FILE, value: auth-aws.json} + - {key: TOPOLOGY, value: server} + - {key: MONGODB_AWS_SDK, value: 'true'} + - func: install dependencies + - func: bootstrap mongo-orchestration + - func: add aws auth variables to file + - func: setup aws env + - func: run aws auth test AssumeRoleWithWebIdentity with AWS_ROLE_SESSION_NAME unset + - name: aws-latest-auth-test-run-aws-auth-test-AssumeRoleWithWebIdentity-with-AWS_ROLE_SESSION_NAME-set + commands: + - command: expansions.update + type: setup + params: + updates: + - {key: VERSION, value: latest} + - {key: AUTH, value: auth} + - {key: ORCHESTRATION_FILE, value: auth-aws.json} + - {key: TOPOLOGY, value: server} + - {key: MONGODB_AWS_SDK, value: 'true'} + - func: install dependencies + - func: bootstrap mongo-orchestration + - func: add aws auth variables to file + - func: setup aws env + - func: run aws auth test AssumeRoleWithWebIdentity with AWS_ROLE_SESSION_NAME set + - name: aws-latest-auth-test-run-aws-auth-test-with-regular-aws-credentials-no-peer-dependencies + commands: + - command: expansions.update + type: setup + params: + updates: + - {key: VERSION, value: latest} + - {key: AUTH, value: auth} + - {key: ORCHESTRATION_FILE, value: auth-aws.json} + - {key: TOPOLOGY, value: server} + - {key: MONGODB_AWS_SDK, value: 'false'} + - func: install dependencies + - func: bootstrap mongo-orchestration + - func: add aws auth variables to file + - func: setup aws env + - func: remove aws-credential-providers + - func: run aws auth test with regular aws credentials + - name: aws-latest-auth-test-run-aws-auth-test-with-assume-role-credentials-no-peer-dependencies + commands: + - command: expansions.update + type: setup + params: + updates: + - {key: VERSION, value: latest} + - {key: AUTH, value: auth} + - {key: ORCHESTRATION_FILE, value: auth-aws.json} + - {key: TOPOLOGY, value: server} + - {key: MONGODB_AWS_SDK, value: 'false'} + - func: install dependencies + - func: bootstrap mongo-orchestration + - func: add aws auth variables to file + - func: setup aws env + - func: remove aws-credential-providers + - func: run aws auth test with assume role credentials + - name: aws-latest-auth-test-run-aws-auth-test-with-aws-credentials-as-environment-variables-no-peer-dependencies + commands: + - command: expansions.update + type: setup + params: + updates: + - {key: VERSION, value: latest} + - {key: AUTH, value: auth} + - {key: ORCHESTRATION_FILE, value: auth-aws.json} + - {key: TOPOLOGY, value: server} + - {key: MONGODB_AWS_SDK, value: 'false'} + - func: install dependencies + - func: bootstrap mongo-orchestration + - func: add aws auth variables to file + - func: setup aws env + - func: remove aws-credential-providers + - func: run aws auth test with aws credentials as environment variables + - name: >- + aws-latest-auth-test-run-aws-auth-test-with-aws-credentials-and-session-token-as-environment-variables-no-peer-dependencies + commands: + - command: expansions.update + type: setup + params: + updates: + - {key: VERSION, value: latest} + - {key: AUTH, value: auth} + - {key: ORCHESTRATION_FILE, value: auth-aws.json} + - {key: TOPOLOGY, value: server} + - {key: MONGODB_AWS_SDK, value: 'false'} + - func: install dependencies + - func: bootstrap mongo-orchestration + - func: add aws auth variables to file + - func: setup aws env + - func: remove aws-credential-providers + - func: run aws auth test with aws credentials and session token as environment variables + - name: aws-latest-auth-test-run-aws-ECS-auth-test-no-peer-dependencies + commands: + - command: expansions.update + type: setup + params: + updates: + - {key: VERSION, value: latest} + - {key: AUTH, value: auth} + - {key: ORCHESTRATION_FILE, value: auth-aws.json} + - {key: TOPOLOGY, value: server} + - {key: MONGODB_AWS_SDK, value: 'false'} + - func: install dependencies + - func: bootstrap mongo-orchestration + - func: add aws auth variables to file + - func: setup aws env + - func: remove aws-credential-providers + - func: run aws ECS auth test + - name: aws-8.0-auth-test-run-aws-auth-test-with-regular-aws-credentials + commands: + - command: expansions.update + type: setup + params: + updates: + - {key: VERSION, value: '8.0'} + - {key: AUTH, value: auth} + - {key: ORCHESTRATION_FILE, value: auth-aws.json} + - {key: TOPOLOGY, value: server} + - {key: MONGODB_AWS_SDK, value: 'true'} + - func: install dependencies + - func: bootstrap mongo-orchestration + - func: add aws auth variables to file + - func: setup aws env + - func: run aws auth test with regular aws credentials + - name: aws-8.0-auth-test-run-aws-auth-test-with-assume-role-credentials + commands: + - command: expansions.update + type: setup + params: + updates: + - {key: VERSION, value: '8.0'} + - {key: AUTH, value: auth} + - {key: ORCHESTRATION_FILE, value: auth-aws.json} + - {key: TOPOLOGY, value: server} + - {key: MONGODB_AWS_SDK, value: 'true'} + - func: install dependencies + - func: bootstrap mongo-orchestration + - func: add aws auth variables to file + - func: setup aws env + - func: run aws auth test with assume role credentials + - name: aws-8.0-auth-test-run-aws-auth-test-with-aws-EC2-credentials + commands: + - command: expansions.update + type: setup + params: + updates: + - {key: VERSION, value: '8.0'} - {key: AUTH, value: auth} - - {key: ORCHESTRATION_FILE, value: auth-oidc.json} + - {key: ORCHESTRATION_FILE, value: auth-aws.json} + - {key: TOPOLOGY, value: server} + - {key: MONGODB_AWS_SDK, value: 'true'} - func: install dependencies - - func: bootstrap oidc - func: bootstrap mongo-orchestration - - func: setup oidc roles - - func: run oidc tests aws - - name: test-socks5 - tags: [] + - func: add aws auth variables to file + - func: setup aws env + - func: run aws auth test with aws EC2 credentials + - name: aws-8.0-auth-test-run-aws-auth-test-with-aws-credentials-as-environment-variables commands: - command: expansions.update type: setup params: updates: - - {key: VERSION, value: latest} - - {key: TOPOLOGY, value: replica_set} + - {key: VERSION, value: '8.0'} + - {key: AUTH, value: auth} + - {key: ORCHESTRATION_FILE, value: auth-aws.json} + - {key: TOPOLOGY, value: server} + - {key: MONGODB_AWS_SDK, value: 'true'} - func: install dependencies - func: bootstrap mongo-orchestration - - func: bootstrap kms servers - - func: run socks5 tests - - name: test-socks5-csfle - tags: - - socks5-csfle + - func: add aws auth variables to file + - func: setup aws env + - func: run aws auth test with aws credentials as environment variables + - name: aws-8.0-auth-test-run-aws-auth-test-with-aws-credentials-and-session-token-as-environment-variables commands: - command: expansions.update type: setup params: updates: - - {key: VERSION, value: latest} - - {key: TOPOLOGY, value: replica_set} - - {key: TEST_SOCKS5_CSFLE, value: 'true'} + - {key: VERSION, value: '8.0'} + - {key: AUTH, value: auth} + - {key: ORCHESTRATION_FILE, value: auth-aws.json} + - {key: TOPOLOGY, value: server} + - {key: MONGODB_AWS_SDK, value: 'true'} - func: install dependencies - func: bootstrap mongo-orchestration - - func: bootstrap kms servers - - func: run socks5 tests - - name: test-socks5-tls - tags: [] + - func: add aws auth variables to file + - func: setup aws env + - func: run aws auth test with aws credentials and session token as environment variables + - name: aws-8.0-auth-test-run-aws-ECS-auth-test commands: - command: expansions.update type: setup params: updates: - - {key: SSL, value: ssl} - - {key: VERSION, value: latest} - - {key: TOPOLOGY, value: replica_set} + - {key: VERSION, value: '8.0'} + - {key: AUTH, value: auth} + - {key: ORCHESTRATION_FILE, value: auth-aws.json} + - {key: TOPOLOGY, value: server} + - {key: MONGODB_AWS_SDK, value: 'true'} - func: install dependencies - func: bootstrap mongo-orchestration - - func: run socks5 tests - - name: test-zstd-compression - tags: - - latest - - zstd + - func: add aws auth variables to file + - func: setup aws env + - func: run aws ECS auth test + - name: aws-8.0-auth-test-run-aws-auth-test-AssumeRoleWithWebIdentity-with-AWS_ROLE_SESSION_NAME-unset commands: - command: expansions.update type: setup params: updates: - - {key: VERSION, value: latest} - - {key: TOPOLOGY, value: replica_set} + - {key: VERSION, value: '8.0'} - {key: AUTH, value: auth} - - {key: COMPRESSOR, value: zstd} + - {key: ORCHESTRATION_FILE, value: auth-aws.json} + - {key: TOPOLOGY, value: server} + - {key: MONGODB_AWS_SDK, value: 'true'} - func: install dependencies - func: bootstrap mongo-orchestration - - func: run-compression-tests - - name: test-snappy-compression - tags: - - latest - - snappy + - func: add aws auth variables to file + - func: setup aws env + - func: run aws auth test AssumeRoleWithWebIdentity with AWS_ROLE_SESSION_NAME unset + - name: aws-8.0-auth-test-run-aws-auth-test-AssumeRoleWithWebIdentity-with-AWS_ROLE_SESSION_NAME-set commands: - command: expansions.update type: setup params: updates: - - {key: VERSION, value: latest} - - {key: TOPOLOGY, value: replica_set} + - {key: VERSION, value: '8.0'} - {key: AUTH, value: auth} - - {key: COMPRESSOR, value: snappy} + - {key: ORCHESTRATION_FILE, value: auth-aws.json} + - {key: TOPOLOGY, value: server} + - {key: MONGODB_AWS_SDK, value: 'true'} - func: install dependencies - func: bootstrap mongo-orchestration - - func: run-compression-tests - - name: test-tls-support-latest - tags: - - tls-support + - func: add aws auth variables to file + - func: setup aws env + - func: run aws auth test AssumeRoleWithWebIdentity with AWS_ROLE_SESSION_NAME set + - name: aws-8.0-auth-test-run-aws-auth-test-with-regular-aws-credentials-no-peer-dependencies commands: - command: expansions.update type: setup params: updates: - - {key: VERSION, value: latest} - - {key: SSL, value: ssl} + - {key: VERSION, value: '8.0'} + - {key: AUTH, value: auth} + - {key: ORCHESTRATION_FILE, value: auth-aws.json} - {key: TOPOLOGY, value: server} + - {key: MONGODB_AWS_SDK, value: 'false'} - func: install dependencies - func: bootstrap mongo-orchestration - - func: run tls tests - - name: test-tls-support-6.0 - tags: - - tls-support + - func: add aws auth variables to file + - func: setup aws env + - func: remove aws-credential-providers + - func: run aws auth test with regular aws credentials + - name: aws-8.0-auth-test-run-aws-auth-test-with-assume-role-credentials-no-peer-dependencies commands: - command: expansions.update type: setup params: updates: - - {key: VERSION, value: '6.0'} - - {key: SSL, value: ssl} + - {key: VERSION, value: '8.0'} + - {key: AUTH, value: auth} + - {key: ORCHESTRATION_FILE, value: auth-aws.json} - {key: TOPOLOGY, value: server} + - {key: MONGODB_AWS_SDK, value: 'false'} - func: install dependencies - func: bootstrap mongo-orchestration - - func: run tls tests - - name: test-tls-support-5.0 - tags: - - tls-support + - func: add aws auth variables to file + - func: setup aws env + - func: remove aws-credential-providers + - func: run aws auth test with assume role credentials + - name: aws-8.0-auth-test-run-aws-auth-test-with-aws-credentials-as-environment-variables-no-peer-dependencies commands: - command: expansions.update type: setup params: updates: - - {key: VERSION, value: '5.0'} - - {key: SSL, value: ssl} + - {key: VERSION, value: '8.0'} + - {key: AUTH, value: auth} + - {key: ORCHESTRATION_FILE, value: auth-aws.json} - {key: TOPOLOGY, value: server} + - {key: MONGODB_AWS_SDK, value: 'false'} - func: install dependencies - func: bootstrap mongo-orchestration - - func: run tls tests - - name: test-tls-support-4.4 - tags: - - tls-support + - func: add aws auth variables to file + - func: setup aws env + - func: remove aws-credential-providers + - func: run aws auth test with aws credentials as environment variables + - name: >- + aws-8.0-auth-test-run-aws-auth-test-with-aws-credentials-and-session-token-as-environment-variables-no-peer-dependencies commands: - command: expansions.update type: setup params: updates: - - {key: VERSION, value: '4.4'} - - {key: SSL, value: ssl} + - {key: VERSION, value: '8.0'} + - {key: AUTH, value: auth} + - {key: ORCHESTRATION_FILE, value: auth-aws.json} - {key: TOPOLOGY, value: server} + - {key: MONGODB_AWS_SDK, value: 'false'} - func: install dependencies - func: bootstrap mongo-orchestration - - func: run tls tests - - name: test-tls-support-4.2 - tags: - - tls-support + - func: add aws auth variables to file + - func: setup aws env + - func: remove aws-credential-providers + - func: run aws auth test with aws credentials and session token as environment variables + - name: aws-8.0-auth-test-run-aws-ECS-auth-test-no-peer-dependencies commands: - command: expansions.update type: setup params: updates: - - {key: VERSION, value: '4.2'} - - {key: SSL, value: ssl} + - {key: VERSION, value: '8.0'} + - {key: AUTH, value: auth} + - {key: ORCHESTRATION_FILE, value: auth-aws.json} - {key: TOPOLOGY, value: server} + - {key: MONGODB_AWS_SDK, value: 'false'} - func: install dependencies - func: bootstrap mongo-orchestration - - func: run tls tests - - name: aws-latest-auth-test-run-aws-auth-test-with-regular-aws-credentials + - func: add aws auth variables to file + - func: setup aws env + - func: remove aws-credential-providers + - func: run aws ECS auth test + - name: aws-7.0-auth-test-run-aws-auth-test-with-regular-aws-credentials commands: - command: expansions.update type: setup params: updates: - - {key: VERSION, value: latest} + - {key: VERSION, value: '7.0'} - {key: AUTH, value: auth} - {key: ORCHESTRATION_FILE, value: auth-aws.json} - {key: TOPOLOGY, value: server} @@ -2054,13 +2580,13 @@ tasks: - func: add aws auth variables to file - func: setup aws env - func: run aws auth test with regular aws credentials - - name: aws-latest-auth-test-run-aws-auth-test-with-assume-role-credentials + - name: aws-7.0-auth-test-run-aws-auth-test-with-assume-role-credentials commands: - command: expansions.update type: setup params: updates: - - {key: VERSION, value: latest} + - {key: VERSION, value: '7.0'} - {key: AUTH, value: auth} - {key: ORCHESTRATION_FILE, value: auth-aws.json} - {key: TOPOLOGY, value: server} @@ -2070,13 +2596,13 @@ tasks: - func: add aws auth variables to file - func: setup aws env - func: run aws auth test with assume role credentials - - name: aws-latest-auth-test-run-aws-auth-test-with-aws-EC2-credentials + - name: aws-7.0-auth-test-run-aws-auth-test-with-aws-EC2-credentials commands: - command: expansions.update type: setup params: updates: - - {key: VERSION, value: latest} + - {key: VERSION, value: '7.0'} - {key: AUTH, value: auth} - {key: ORCHESTRATION_FILE, value: auth-aws.json} - {key: TOPOLOGY, value: server} @@ -2086,13 +2612,13 @@ tasks: - func: add aws auth variables to file - func: setup aws env - func: run aws auth test with aws EC2 credentials - - name: aws-latest-auth-test-run-aws-auth-test-with-aws-credentials-as-environment-variables + - name: aws-7.0-auth-test-run-aws-auth-test-with-aws-credentials-as-environment-variables commands: - command: expansions.update type: setup params: updates: - - {key: VERSION, value: latest} + - {key: VERSION, value: '7.0'} - {key: AUTH, value: auth} - {key: ORCHESTRATION_FILE, value: auth-aws.json} - {key: TOPOLOGY, value: server} @@ -2102,13 +2628,13 @@ tasks: - func: add aws auth variables to file - func: setup aws env - func: run aws auth test with aws credentials as environment variables - - name: aws-latest-auth-test-run-aws-auth-test-with-aws-credentials-and-session-token-as-environment-variables + - name: aws-7.0-auth-test-run-aws-auth-test-with-aws-credentials-and-session-token-as-environment-variables commands: - command: expansions.update type: setup params: updates: - - {key: VERSION, value: latest} + - {key: VERSION, value: '7.0'} - {key: AUTH, value: auth} - {key: ORCHESTRATION_FILE, value: auth-aws.json} - {key: TOPOLOGY, value: server} @@ -2118,13 +2644,13 @@ tasks: - func: add aws auth variables to file - func: setup aws env - func: run aws auth test with aws credentials and session token as environment variables - - name: aws-latest-auth-test-run-aws-ECS-auth-test + - name: aws-7.0-auth-test-run-aws-ECS-auth-test commands: - command: expansions.update type: setup params: updates: - - {key: VERSION, value: latest} + - {key: VERSION, value: '7.0'} - {key: AUTH, value: auth} - {key: ORCHESTRATION_FILE, value: auth-aws.json} - {key: TOPOLOGY, value: server} @@ -2134,13 +2660,13 @@ tasks: - func: add aws auth variables to file - func: setup aws env - func: run aws ECS auth test - - name: aws-latest-auth-test-run-aws-auth-test-AssumeRoleWithWebIdentity-with-AWS_ROLE_SESSION_NAME-unset + - name: aws-7.0-auth-test-run-aws-auth-test-AssumeRoleWithWebIdentity-with-AWS_ROLE_SESSION_NAME-unset commands: - command: expansions.update type: setup params: updates: - - {key: VERSION, value: latest} + - {key: VERSION, value: '7.0'} - {key: AUTH, value: auth} - {key: ORCHESTRATION_FILE, value: auth-aws.json} - {key: TOPOLOGY, value: server} @@ -2150,13 +2676,13 @@ tasks: - func: add aws auth variables to file - func: setup aws env - func: run aws auth test AssumeRoleWithWebIdentity with AWS_ROLE_SESSION_NAME unset - - name: aws-latest-auth-test-run-aws-auth-test-AssumeRoleWithWebIdentity-with-AWS_ROLE_SESSION_NAME-set + - name: aws-7.0-auth-test-run-aws-auth-test-AssumeRoleWithWebIdentity-with-AWS_ROLE_SESSION_NAME-set commands: - command: expansions.update type: setup params: updates: - - {key: VERSION, value: latest} + - {key: VERSION, value: '7.0'} - {key: AUTH, value: auth} - {key: ORCHESTRATION_FILE, value: auth-aws.json} - {key: TOPOLOGY, value: server} @@ -2166,13 +2692,13 @@ tasks: - func: add aws auth variables to file - func: setup aws env - func: run aws auth test AssumeRoleWithWebIdentity with AWS_ROLE_SESSION_NAME set - - name: aws-latest-auth-test-run-aws-auth-test-with-regular-aws-credentials-no-peer-dependencies + - name: aws-7.0-auth-test-run-aws-auth-test-with-regular-aws-credentials-no-peer-dependencies commands: - command: expansions.update type: setup params: updates: - - {key: VERSION, value: latest} + - {key: VERSION, value: '7.0'} - {key: AUTH, value: auth} - {key: ORCHESTRATION_FILE, value: auth-aws.json} - {key: TOPOLOGY, value: server} @@ -2183,13 +2709,13 @@ tasks: - func: setup aws env - func: remove aws-credential-providers - func: run aws auth test with regular aws credentials - - name: aws-latest-auth-test-run-aws-auth-test-with-assume-role-credentials-no-peer-dependencies + - name: aws-7.0-auth-test-run-aws-auth-test-with-assume-role-credentials-no-peer-dependencies commands: - command: expansions.update type: setup params: updates: - - {key: VERSION, value: latest} + - {key: VERSION, value: '7.0'} - {key: AUTH, value: auth} - {key: ORCHESTRATION_FILE, value: auth-aws.json} - {key: TOPOLOGY, value: server} @@ -2200,13 +2726,13 @@ tasks: - func: setup aws env - func: remove aws-credential-providers - func: run aws auth test with assume role credentials - - name: aws-latest-auth-test-run-aws-auth-test-with-aws-credentials-as-environment-variables-no-peer-dependencies + - name: aws-7.0-auth-test-run-aws-auth-test-with-aws-credentials-as-environment-variables-no-peer-dependencies commands: - command: expansions.update type: setup params: updates: - - {key: VERSION, value: latest} + - {key: VERSION, value: '7.0'} - {key: AUTH, value: auth} - {key: ORCHESTRATION_FILE, value: auth-aws.json} - {key: TOPOLOGY, value: server} @@ -2218,13 +2744,13 @@ tasks: - func: remove aws-credential-providers - func: run aws auth test with aws credentials as environment variables - name: >- - aws-latest-auth-test-run-aws-auth-test-with-aws-credentials-and-session-token-as-environment-variables-no-peer-dependencies + aws-7.0-auth-test-run-aws-auth-test-with-aws-credentials-and-session-token-as-environment-variables-no-peer-dependencies commands: - command: expansions.update type: setup params: updates: - - {key: VERSION, value: latest} + - {key: VERSION, value: '7.0'} - {key: AUTH, value: auth} - {key: ORCHESTRATION_FILE, value: auth-aws.json} - {key: TOPOLOGY, value: server} @@ -2235,13 +2761,13 @@ tasks: - func: setup aws env - func: remove aws-credential-providers - func: run aws auth test with aws credentials and session token as environment variables - - name: aws-latest-auth-test-run-aws-ECS-auth-test-no-peer-dependencies + - name: aws-7.0-auth-test-run-aws-ECS-auth-test-no-peer-dependencies commands: - command: expansions.update type: setup params: updates: - - {key: VERSION, value: latest} + - {key: VERSION, value: '7.0'} - {key: AUTH, value: auth} - {key: ORCHESTRATION_FILE, value: auth-aws.json} - {key: TOPOLOGY, value: server} @@ -3237,6 +3763,60 @@ tasks: - func: bootstrap mongo-orchestration - func: bootstrap kms servers - func: run tests + - name: test-8.0-server-noauth + tags: + - '8.0' + - server + - noauth + commands: + - command: expansions.update + type: setup + params: + updates: + - {key: NPM_VERSION, value: '9'} + - {key: VERSION, value: '8.0'} + - {key: TOPOLOGY, value: server} + - {key: AUTH, value: noauth} + - func: install dependencies + - func: bootstrap mongo-orchestration + - func: bootstrap kms servers + - func: run tests + - name: test-8.0-replica_set-noauth + tags: + - '8.0' + - replica_set + - noauth + commands: + - command: expansions.update + type: setup + params: + updates: + - {key: NPM_VERSION, value: '9'} + - {key: VERSION, value: '8.0'} + - {key: TOPOLOGY, value: replica_set} + - {key: AUTH, value: noauth} + - func: install dependencies + - func: bootstrap mongo-orchestration + - func: bootstrap kms servers + - func: run tests + - name: test-8.0-sharded_cluster-noauth + tags: + - '8.0' + - sharded_cluster + - noauth + commands: + - command: expansions.update + type: setup + params: + updates: + - {key: NPM_VERSION, value: '9'} + - {key: VERSION, value: '8.0'} + - {key: TOPOLOGY, value: sharded_cluster} + - {key: AUTH, value: noauth} + - func: install dependencies + - func: bootstrap mongo-orchestration + - func: bootstrap kms servers + - func: run tests - name: test-7.0-server-noauth tags: - '7.0' @@ -3683,6 +4263,23 @@ tasks: - func: bootstrap mongo-orchestration - func: bootstrap kms servers - func: run tests + - name: test-8.0-csfle-mongocryptd + tags: + - '8.0' + - sharded_cluster + commands: + - command: expansions.update + type: setup + params: + updates: + - {key: VERSION, value: '8.0'} + - {key: TOPOLOGY, value: sharded_cluster} + - {key: AUTH, value: auth} + - {key: TEST_NPM_SCRIPT, value: check:csfle} + - func: install dependencies + - func: bootstrap mongo-orchestration + - func: bootstrap kms servers + - func: run tests - name: test-7.0-csfle-mongocryptd tags: - '7.0' @@ -3983,6 +4580,9 @@ buildvariants: - test-rapid-server - test-rapid-replica_set - test-rapid-sharded_cluster + - test-8.0-server + - test-8.0-replica_set + - test-8.0-sharded_cluster - test-7.0-server - test-7.0-replica_set - test-7.0-sharded_cluster @@ -4010,6 +4610,7 @@ buildvariants: - test-5.0-load-balanced - test-6.0-load-balanced - test-7.0-load-balanced + - test-8.0-load-balanced - test-rapid-load-balanced - test-latest-load-balanced - test-auth-kerberos @@ -4019,6 +4620,8 @@ buildvariants: - test-socks5-csfle - test-socks5-tls - test-tls-support-latest + - test-tls-support-8.0 + - test-tls-support-7.0 - test-tls-support-6.0 - test-tls-support-5.0 - test-tls-support-4.4 @@ -4037,6 +4640,9 @@ buildvariants: - test-rapid-server - test-rapid-replica_set - test-rapid-sharded_cluster + - test-8.0-server + - test-8.0-replica_set + - test-8.0-sharded_cluster - test-7.0-server - test-7.0-replica_set - test-7.0-sharded_cluster @@ -4064,6 +4670,7 @@ buildvariants: - test-5.0-load-balanced - test-6.0-load-balanced - test-7.0-load-balanced + - test-8.0-load-balanced - test-rapid-load-balanced - test-latest-load-balanced - test-auth-kerberos @@ -4073,6 +4680,8 @@ buildvariants: - test-socks5-csfle - test-socks5-tls - test-tls-support-latest + - test-tls-support-8.0 + - test-tls-support-7.0 - test-tls-support-6.0 - test-tls-support-5.0 - test-tls-support-4.4 @@ -4091,6 +4700,9 @@ buildvariants: - test-rapid-server - test-rapid-replica_set - test-rapid-sharded_cluster + - test-8.0-server + - test-8.0-replica_set + - test-8.0-sharded_cluster - test-7.0-server - test-7.0-replica_set - test-7.0-sharded_cluster @@ -4118,6 +4730,7 @@ buildvariants: - test-5.0-load-balanced - test-6.0-load-balanced - test-7.0-load-balanced + - test-8.0-load-balanced - test-rapid-load-balanced - test-latest-load-balanced - test-auth-kerberos @@ -4127,6 +4740,8 @@ buildvariants: - test-socks5-csfle - test-socks5-tls - test-tls-support-latest + - test-tls-support-8.0 + - test-tls-support-7.0 - test-tls-support-6.0 - test-tls-support-5.0 - test-tls-support-4.4 @@ -4144,6 +4759,9 @@ buildvariants: - test-rapid-server - test-rapid-replica_set - test-rapid-sharded_cluster + - test-8.0-server + - test-8.0-replica_set + - test-8.0-sharded_cluster - test-7.0-server - test-7.0-replica_set - test-7.0-sharded_cluster @@ -4171,6 +4789,7 @@ buildvariants: - test-5.0-load-balanced - test-6.0-load-balanced - test-7.0-load-balanced + - test-8.0-load-balanced - test-rapid-load-balanced - test-latest-load-balanced - test-auth-kerberos @@ -4180,6 +4799,8 @@ buildvariants: - test-socks5-csfle - test-socks5-tls - test-tls-support-latest + - test-tls-support-8.0 + - test-tls-support-7.0 - test-tls-support-6.0 - test-tls-support-5.0 - test-tls-support-4.4 @@ -4197,6 +4818,9 @@ buildvariants: - test-rapid-server - test-rapid-replica_set - test-rapid-sharded_cluster + - test-8.0-server + - test-8.0-replica_set + - test-8.0-sharded_cluster - test-7.0-server - test-7.0-replica_set - test-7.0-sharded_cluster @@ -4222,6 +4846,8 @@ buildvariants: - test-socks5 - test-socks5-tls - test-tls-support-latest + - test-tls-support-8.0 + - test-tls-support-7.0 - test-tls-support-6.0 - test-tls-support-5.0 - test-tls-support-4.4 @@ -4239,6 +4865,9 @@ buildvariants: - test-rapid-server - test-rapid-replica_set - test-rapid-sharded_cluster + - test-8.0-server + - test-8.0-replica_set + - test-8.0-sharded_cluster - test-7.0-server - test-7.0-replica_set - test-7.0-sharded_cluster @@ -4264,6 +4893,8 @@ buildvariants: - test-socks5 - test-socks5-tls - test-tls-support-latest + - test-tls-support-8.0 + - test-tls-support-7.0 - test-tls-support-6.0 - test-tls-support-5.0 - test-tls-support-4.4 @@ -4281,6 +4912,9 @@ buildvariants: - test-rapid-server - test-rapid-replica_set - test-rapid-sharded_cluster + - test-8.0-server + - test-8.0-replica_set + - test-8.0-sharded_cluster - test-7.0-server - test-7.0-replica_set - test-7.0-sharded_cluster @@ -4306,6 +4940,8 @@ buildvariants: - test-socks5 - test-socks5-tls - test-tls-support-latest + - test-tls-support-8.0 + - test-tls-support-7.0 - test-tls-support-6.0 - test-tls-support-5.0 - test-tls-support-4.4 @@ -4321,6 +4957,7 @@ buildvariants: tasks: - test-latest-csfle-mongocryptd - test-rapid-csfle-mongocryptd + - test-8.0-csfle-mongocryptd - test-7.0-csfle-mongocryptd - test-6.0-csfle-mongocryptd - test-5.0-csfle-mongocryptd @@ -4337,6 +4974,7 @@ buildvariants: tasks: - test-latest-csfle-mongocryptd - test-rapid-csfle-mongocryptd + - test-8.0-csfle-mongocryptd - test-7.0-csfle-mongocryptd - test-6.0-csfle-mongocryptd - test-5.0-csfle-mongocryptd @@ -4382,6 +5020,34 @@ buildvariants: - >- aws-latest-auth-test-run-aws-auth-test-with-aws-credentials-and-session-token-as-environment-variables-no-peer-dependencies - aws-latest-auth-test-run-aws-ECS-auth-test-no-peer-dependencies + - aws-8.0-auth-test-run-aws-auth-test-with-regular-aws-credentials + - aws-8.0-auth-test-run-aws-auth-test-with-assume-role-credentials + - aws-8.0-auth-test-run-aws-auth-test-with-aws-EC2-credentials + - aws-8.0-auth-test-run-aws-auth-test-with-aws-credentials-as-environment-variables + - aws-8.0-auth-test-run-aws-auth-test-with-aws-credentials-and-session-token-as-environment-variables + - aws-8.0-auth-test-run-aws-ECS-auth-test + - aws-8.0-auth-test-run-aws-auth-test-AssumeRoleWithWebIdentity-with-AWS_ROLE_SESSION_NAME-unset + - aws-8.0-auth-test-run-aws-auth-test-AssumeRoleWithWebIdentity-with-AWS_ROLE_SESSION_NAME-set + - aws-8.0-auth-test-run-aws-auth-test-with-regular-aws-credentials-no-peer-dependencies + - aws-8.0-auth-test-run-aws-auth-test-with-assume-role-credentials-no-peer-dependencies + - aws-8.0-auth-test-run-aws-auth-test-with-aws-credentials-as-environment-variables-no-peer-dependencies + - >- + aws-8.0-auth-test-run-aws-auth-test-with-aws-credentials-and-session-token-as-environment-variables-no-peer-dependencies + - aws-8.0-auth-test-run-aws-ECS-auth-test-no-peer-dependencies + - aws-7.0-auth-test-run-aws-auth-test-with-regular-aws-credentials + - aws-7.0-auth-test-run-aws-auth-test-with-assume-role-credentials + - aws-7.0-auth-test-run-aws-auth-test-with-aws-EC2-credentials + - aws-7.0-auth-test-run-aws-auth-test-with-aws-credentials-as-environment-variables + - aws-7.0-auth-test-run-aws-auth-test-with-aws-credentials-and-session-token-as-environment-variables + - aws-7.0-auth-test-run-aws-ECS-auth-test + - aws-7.0-auth-test-run-aws-auth-test-AssumeRoleWithWebIdentity-with-AWS_ROLE_SESSION_NAME-unset + - aws-7.0-auth-test-run-aws-auth-test-AssumeRoleWithWebIdentity-with-AWS_ROLE_SESSION_NAME-set + - aws-7.0-auth-test-run-aws-auth-test-with-regular-aws-credentials-no-peer-dependencies + - aws-7.0-auth-test-run-aws-auth-test-with-assume-role-credentials-no-peer-dependencies + - aws-7.0-auth-test-run-aws-auth-test-with-aws-credentials-as-environment-variables-no-peer-dependencies + - >- + aws-7.0-auth-test-run-aws-auth-test-with-aws-credentials-and-session-token-as-environment-variables-no-peer-dependencies + - aws-7.0-auth-test-run-aws-ECS-auth-test-no-peer-dependencies - aws-6.0-auth-test-run-aws-auth-test-with-regular-aws-credentials - aws-6.0-auth-test-run-aws-auth-test-with-assume-role-credentials - aws-6.0-auth-test-run-aws-auth-test-with-aws-EC2-credentials @@ -4489,6 +5155,9 @@ buildvariants: - test-rapid-server-noauth - test-rapid-replica_set-noauth - test-rapid-sharded_cluster-noauth + - test-8.0-server-noauth + - test-8.0-replica_set-noauth + - test-8.0-sharded_cluster-noauth - test-7.0-server-noauth - test-7.0-replica_set-noauth - test-7.0-sharded_cluster-noauth