Skip to content

GODRIVER-3149: OIDC Spec Cleanup #1757

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

Merged
merged 6 commits into from
Aug 26, 2024
Merged
Show file tree
Hide file tree
Changes from 5 commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
23 changes: 12 additions & 11 deletions .evergreen/config.yml
Original file line number Diff line number Diff line change
Expand Up @@ -1963,11 +1963,11 @@ tasks:
popd
./.evergreen/run-deployed-lambda-aws-tests.sh

- name: "oidc-auth-test-latest"
- name: "oidc-auth-test"
commands:
- func: "run-oidc-auth-test-with-test-credentials"

- name: "oidc-auth-test-azure-latest"
- name: "oidc-auth-test-azure"
commands:
- command: shell.exec
params:
Expand All @@ -1992,7 +1992,7 @@ tasks:
export AZUREOIDC_TEST_CMD="PROJECT_DIRECTORY='.' OIDC_ENV=azure OIDC=oidc ./etc/run-oidc-test.sh ./test"
bash $DRIVERS_TOOLS/.evergreen/auth_oidc/azure/run-driver-test.sh

- name: "oidc-auth-test-gcp-latest"
- name: "oidc-auth-test-gcp"
commands:
- command: shell.exec
params:
Expand Down Expand Up @@ -2306,13 +2306,14 @@ task_groups:
- func: fix-absolute-paths
- func: make-files-executable
- func: assume-ec2-role
- command: shell.exec
- command: subprocess.exec
params:
shell: bash
binary: bash
include_expansions_in_env: ["AWS_ACCESS_KEY_ID", "AWS_SECRET_ACCESS_KEY", "AWS_SESSION_TOKEN"]
script: |
${PREPARE_SHELL}
${DRIVERS_TOOLS}/.evergreen/auth_oidc/setup.sh
env:
MONGODB_VERSION: "8.0"
args:
Copy link
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Note that human18 fails if we don't run with MONGODB_VERSION 8.0

Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

That is tracked by https://jira.mongodb.org/browse/PYTHON-4447, which I updated to reflect today's status.

- ${DRIVERS_TOOLS}/.evergreen/auth_oidc/setup.sh
teardown_task:
- command: subprocess.exec
params:
Expand All @@ -2322,7 +2323,7 @@ task_groups:
setup_group_can_fail_task: true
setup_group_timeout_secs: 1800
tasks:
- oidc-auth-test-latest
- oidc-auth-test

- name: testazureoidc_task_group
setup_group:
Expand All @@ -2346,7 +2347,7 @@ task_groups:
setup_group_can_fail_task: true
setup_group_timeout_secs: 1800
tasks:
- oidc-auth-test-azure-latest
- oidc-auth-test-azure

- name: testgcpoidc_task_group
setup_group:
Expand All @@ -2370,7 +2371,7 @@ task_groups:
setup_group_can_fail_task: true
setup_group_timeout_secs: 1800
tasks:
- oidc-auth-test-gcp-latest
- oidc-auth-test-gcp

- name: test-aws-lambda-task-group
setup_group:
Expand Down
Loading
Loading