chore(ci): use ECR for DevProd container images DEVPROD-34208 - #2801
Merged
mabaasit merged 4 commits intoJul 31, 2026
Merged
Conversation
Merged
13 tasks
…08/use-devprod-platforms-ecr
mabaasit
marked this pull request as ready for review
July 31, 2026 16:16
Contributor
There was a problem hiding this comment.
Pull request overview
This PR migrates Evergreen/CI usage of DevProd container images away from MongoDB Artifactory and toward AWS ECR, aligning the build/signing and SBOM-generation steps with the upcoming Artifactory deprecation.
Changes:
- Bumps
@mongodb-js/signing-utilsinpackages/buildto a newer version likely supporting ECR-backed signing flows. - Updates Evergreen functions to assume an IAM role for pulling from DevProd Platforms ECR and to pass AWS credentials into relevant subprocesses.
- Switches SBOM generation (
silkbomb) image pulls/logins from Artifactory to ECR, and adds an ECR login password export for the non-Darwin signing path.
Reviewed changes
Copilot reviewed 5 out of 6 changed files in this pull request and generated 2 comments.
Show a summary per file
| File | Description |
|---|---|
| packages/build/package.json | Updates @mongodb-js/signing-utils dependency version. |
| package-lock.json | Locks updated @mongodb-js/signing-utils dependency resolution under the build workspace. |
| .evergreen/sign-packaged-artifact.sh | Adds ECR login password retrieval/export for the non-Darwin signing path. |
| .evergreen/evergreen.yml.in | Assumes ECR-readonly role and passes AWS creds into SBOM/signing subprocesses (template). |
| .evergreen/download-crypt-shared-and-generate-sbom.sh | Moves silkbomb pull/login from Artifactory to ECR. |
| .evergreen.yml | Generated Evergreen config reflecting the same ECR role + env var changes. |
💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.
Comment on lines
+47
to
49
| ECR_LOGIN_PASSWORD="$(aws ecr get-login-password --region us-east-1)" | ||
| export ECR_LOGIN_PASSWORD | ||
| npm run evergreen-release sign |
Collaborator
There was a problem hiding this comment.
this is probably not a terrible idea
Comment on lines
15
to
17
| set +x | ||
| echo "${ARTIFACTORY_PASSWORD}" | docker login artifactory.corp.mongodb.com --username "${ARTIFACTORY_USERNAME}" --password-stdin | ||
| aws ecr get-login-password --region us-east-1 | docker login --username AWS --password-stdin "${ECR_HOST}" | ||
| set -x |
|
Assigned |
johnjackweir
approved these changes
Jul 31, 2026
Comment on lines
+47
to
49
| ECR_LOGIN_PASSWORD="$(aws ecr get-login-password --region us-east-1)" | ||
| export ECR_LOGIN_PASSWORD | ||
| npm run evergreen-release sign |
Collaborator
There was a problem hiding this comment.
this is probably not a terrible idea
nbbeeken
approved these changes
Jul 31, 2026
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
MongoDB Artifactory will be deprecated soon. This migrates from Artifactory to ECR for pulling the DevProd container images.