diff --git a/.evergreen/config.in.yml b/.evergreen/config.in.yml index 00f401c4f0..e02f1bbf40 100644 --- a/.evergreen/config.in.yml +++ b/.evergreen/config.in.yml @@ -375,6 +375,10 @@ functions: params: binary: bash working_dir: src + include_expansions_in_env: + - AWS_SECRET_ACCESS_KEY + - AWS_ACCESS_KEY_ID + - AWS_SESSION_TOKEN env: DRIVERS_TOOLS: ${DRIVERS_TOOLS} args: @@ -387,6 +391,10 @@ functions: params: working_dir: src binary: bash + include_expansions_in_env: + - AWS_SECRET_ACCESS_KEY + - AWS_ACCESS_KEY_ID + - AWS_SESSION_TOKEN env: DRIVERS_TOOLS: ${DRIVERS_TOOLS} NODE_LTS_VERSION: ${NODE_LTS_VERSION} diff --git a/.evergreen/config.yml b/.evergreen/config.yml index c0e1e0b2d2..ef74d7d5c7 100644 --- a/.evergreen/config.yml +++ b/.evergreen/config.yml @@ -331,6 +331,10 @@ functions: params: binary: bash working_dir: src + include_expansions_in_env: + - AWS_SECRET_ACCESS_KEY + - AWS_ACCESS_KEY_ID + - AWS_SESSION_TOKEN env: DRIVERS_TOOLS: ${DRIVERS_TOOLS} args: @@ -344,6 +348,10 @@ functions: params: working_dir: src binary: bash + include_expansions_in_env: + - AWS_SECRET_ACCESS_KEY + - AWS_ACCESS_KEY_ID + - AWS_SESSION_TOKEN env: DRIVERS_TOOLS: ${DRIVERS_TOOLS} NODE_LTS_VERSION: ${NODE_LTS_VERSION} @@ -1681,6 +1689,27 @@ tasks: - func: start-load-balancer - func: run-lb-tests - func: stop-load-balancer + - name: test-auth-kerberos + tags: + - auth + - kerberos + commands: + - command: expansions.update + type: setup + params: + updates: + - {key: NATIVE, value: 'true'} + - func: install dependencies + - func: assume secrets manager role + - func: run kerberos tests + - name: test-auth-ldap + tags: + - auth + - ldap + commands: + - func: install dependencies + - func: assume secrets manager role + - func: run ldap tests - name: test-socks5 tags: [] commands: @@ -3058,6 +3087,8 @@ buildvariants: - test-8.0-load-balanced - test-rapid-load-balanced - test-latest-load-balanced + - test-auth-kerberos + - test-auth-ldap - test-socks5 - test-socks5-csfle - test-socks5-tls @@ -3113,6 +3144,8 @@ buildvariants: - test-8.0-load-balanced - test-rapid-load-balanced - test-latest-load-balanced + - test-auth-kerberos + - test-auth-ldap - test-socks5 - test-socks5-csfle - test-socks5-tls @@ -3168,6 +3201,8 @@ buildvariants: - test-8.0-load-balanced - test-rapid-load-balanced - test-latest-load-balanced + - test-auth-kerberos + - test-auth-ldap - test-socks5 - test-socks5-csfle - test-socks5-tls @@ -3223,6 +3258,8 @@ buildvariants: - test-8.0-load-balanced - test-rapid-load-balanced - test-latest-load-balanced + - test-auth-kerberos + - test-auth-ldap - test-socks5 - test-socks5-csfle - test-socks5-tls @@ -3276,6 +3313,8 @@ buildvariants: - test-8.0-load-balanced - test-rapid-load-balanced - test-latest-load-balanced + - test-auth-kerberos + - test-auth-ldap - test-socks5-csfle - test-socks5-tls - test-snappy-compression diff --git a/.evergreen/generate_evergreen_tasks.js b/.evergreen/generate_evergreen_tasks.js index 51d895d054..c5e902f7b8 100644 --- a/.evergreen/generate_evergreen_tasks.js +++ b/.evergreen/generate_evergreen_tasks.js @@ -151,23 +151,27 @@ TASKS.push( { func: 'stop-load-balancer' } ] })), - // TODO(NODE-6944): Unskip when devprod updates ldaptest servers. - // { - // name: 'test-auth-kerberos', - // tags: ['auth', 'kerberos'], - // commands: [ - // updateExpansions({ - // NATIVE: 'true' - // }), - // { func: 'install dependencies' }, - // { func: 'run kerberos tests' } - // ] - // }, - // { - // name: 'test-auth-ldap', - // tags: ['auth', 'ldap'], - // commands: [{ func: 'install dependencies' }, { func: 'run ldap tests' }] - // }, + { + name: 'test-auth-kerberos', + tags: ['auth', 'kerberos'], + commands: [ + updateExpansions({ + NATIVE: 'true' + }), + { func: 'install dependencies' }, + { func: 'assume secrets manager role' }, + { func: 'run kerberos tests' } + ] + }, + { + name: 'test-auth-ldap', + tags: ['auth', 'ldap'], + commands: [ + { func: 'install dependencies' }, + { func: 'assume secrets manager role' }, + { func: 'run ldap tests' } + ] + }, { name: 'test-socks5', tags: [],