Skip to content
This repository has been archived by the owner on Jul 2, 2024. It is now read-only.

DEVPROD-4976: Use temporary AWS credentials from ec2.assume_role command #493

Merged
merged 2 commits into from
Feb 21, 2024

Conversation

minnakt
Copy link
Collaborator

@minnakt minnakt commented Feb 21, 2024

DEVPROD-4976

Description

Use ec2.assume_role and its associated credentials in .evergreen.yml.

Testing

  • The tests should pass and successfully upload files to S3

Copy link

cypress bot commented Feb 21, 2024

Passing run #5106 ↗︎

0 121 0 0 Flakiness 0
⚠️ You've recorded test results over your free plan limit.
Upgrade your plan to view test results.

Details:

Update .evergreen.yml
Project: Parsley Commit: 7d5f9328ea
Status: Passed Duration: 03:06 💡
Started: Feb 21, 2024 7:43 PM Ended: Feb 21, 2024 7:46 PM

Review all test suite changes for PR #493 ↗︎

@minnakt minnakt marked this pull request as ready for review February 21, 2024 18:43
@minnakt minnakt requested review from julianedwards and a team February 21, 2024 18:47
@@ -341,14 +355,16 @@ functions:
params:
working_dir: parsley
shell: bash
env:
Copy link
Contributor

Choose a reason for hiding this comment

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

Non-blocking suggestion: would it be better to use subprocess.exec instead of shell.exec throughout this config?

Copy link
Collaborator Author

Choose a reason for hiding this comment

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

for sure! I fixed one of the easy ones, but the other ones make me a bit nervous so I'll open a ticket to audit this usage!

@minnakt minnakt changed the title DEVPROD-4976: Use ec2.assume_role command DEVPROD-4976: Use temporary AWS credentials from ec2.assume_role command Feb 21, 2024
@minnakt minnakt merged commit 3fb6e18 into evergreen-ci:main Feb 21, 2024
6 checks passed
@minnakt minnakt deleted the DEVPROD-4976 branch February 21, 2024 19:50
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants