Skip to content

Conversation

@drichmdb
Copy link
Contributor

@drichmdb drichmdb commented Mar 17, 2025

This commit adjusts Compass to write release artifacts to a new S3 bucket.
Eventually the old bucket will be removed after we have confirmed that we
can serve artifacts from the new bucket. We also use assume role to access
this bucket instead of static credentials.

@drichmdb drichmdb force-pushed the new-downloads-bucket branch 2 times, most recently from d9b140c to 3935446 Compare March 25, 2025 16:33
@drichmdb drichmdb changed the title testing COMPASS-9160: dual write release artifacts to new bucket Mar 25, 2025
@drichmdb drichmdb requested review from addaleax and nirinchev March 25, 2025 16:34
@drichmdb drichmdb marked this pull request as ready for review March 25, 2025 16:35
@drichmdb drichmdb changed the title COMPASS-9160: dual write release artifacts to new bucket feat(release) dual write release artifacts to new bucket Mar 25, 2025
@drichmdb drichmdb changed the title feat(release) dual write release artifacts to new bucket feat(release): dual write release artifacts to new bucket Mar 25, 2025
@drichmdb drichmdb changed the title feat(release): dual write release artifacts to new bucket feat(release): dual write release artifacts to new bucket COMPASS-9160 Mar 25, 2025
@nirinchev nirinchev added the feat label Mar 25, 2025
@nirinchev nirinchev requested a review from lerouxb March 25, 2025 17:25
This commit adjusts Compass to write release artifacts to a new S3 bucket.
Eventually the old bucket will be removed after we have confirmed that we
can serve artifacts from the new bucket. We also use assume role to access
this bucket instead of static credentials.
@drichmdb drichmdb force-pushed the new-downloads-bucket branch from 3935446 to 782b4b3 Compare March 25, 2025 17:44
@lerouxb
Copy link
Contributor

lerouxb commented Mar 26, 2025

Just in case you're not aware (before any buckets go away) these assets are also used by things like the auto update server: https://github.com/10gen/compass-mongodb-com/blob/master/src/utils.js

@lerouxb
Copy link
Contributor

lerouxb commented Mar 26, 2025

Oh and I believe the publish step in CI is skipped on PRs, so we'd likely only be able to test this when doing a beta.

@lerouxb lerouxb added the no release notes Fix or feature not for release notes label Mar 26, 2025
@drichmdb
Copy link
Contributor Author

@lerouxb I was definitely not aware of the auto-updater, thank you for pointing that out! I see it's using a direct S3 URL, so we'll have to update that and coordinate on when cutting over makes sense.

Copy link
Contributor

@lerouxb lerouxb 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. Like I mentioned this code might only run when doing a beta/stable release, though. But if a beta fails we should have enough context to fix it.

@drichmdb drichmdb merged commit 6037fe6 into mongodb-js:main Mar 26, 2025
26 of 32 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

feat no release notes Fix or feature not for release notes

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants