Skip to content

Conversation

prestonvasquez
Copy link
Member

@prestonvasquez prestonvasquez commented Jun 9, 2025

GODRIVER-3560

Summary

Extend env variables from assuming role.

Background & Motivation

Evergreen CI for FaaS isn't tearing down the resulting Atlas cluster.

@mongodb-drivers-pr-bot mongodb-drivers-pr-bot bot added the review-priority-low Low Priority PR for Review: within 3 business days label Jun 9, 2025
@mongodb-drivers-pr-bot
Copy link
Contributor

API Change Report

No changes found!

setup_group:
- func: fetch-source
- func: prepare-resources
- func: assume-test-secrets-ec2-role
Copy link
Member

@vbabanin vbabanin Jun 9, 2025

Choose a reason for hiding this comment

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

[nit] Just to clarify - is assume-test-secrets-ec2-roleremoved to bump the duration to 3600? It is possible to define a variable for a function which is treated as expansions in the commands, so the duration could be parameterized in assume-test-secrets-ec2-role. Feel free to resolve - it is [nit].

Copy link
Member Author

Choose a reason for hiding this comment

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

We have a global 3600ms exec_timeout_secs. The issue was not extending the expansion with the env variables set by assuming the role. I will re-add this step.

Copy link
Member

@vbabanin vbabanin left a comment

Choose a reason for hiding this comment

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

LGTM! Thank you for the fix!

@prestonvasquez prestonvasquez requested a review from vbabanin June 9, 2025 23:44
Variables:
MONGODB_URI: !Ref MongoDbUri

ApplicationResourceGroup:
Copy link
Member Author

Choose a reason for hiding this comment

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

Resolves GODRIVER-3557.

Copy link
Collaborator

@matthewdale matthewdale left a comment

Choose a reason for hiding this comment

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

Looks good! 👍

@prestonvasquez prestonvasquez merged commit 92c8b91 into mongodb:release/1.17 Jun 10, 2025
33 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

review-priority-low Low Priority PR for Review: within 3 business days

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants