Skip to content

CLOUDP-453199: Migrate windows generation into evergreen's host.create - #140

Merged
danielblanco96 merged 1 commit into
mongodb:mainfrom
fmenezes:CLOUDP-453199-migrate-windows-generation-to-host-create
Oct 29, 2026
Merged

danielblanco96 merged 1 commit into
mongodb:mainfrom
fmenezes:CLOUDP-453199-migrate-windows-generation-to-host-create

Conversation

@fmenezes

@fmenezes fmenezes commented Oct 28, 2026 •

Copy link
Copy Markdown
Contributor

Proposed changes

Jira ticket: https://jira.mongodb.org/browse/CLOUDP-453199

Replaces the dedicated Windows buildvariants (go_mongocli_msi_snapshot, release_mongocli_msi) with a Windows host spawned on demand via Evergreen's host.create from within the single package_goreleaser task, removing need for prebuilt settings on goreleaser.

Checklist

  • I have signed the MongoDB CLA
  • I have added tests that prove my fix is effective or that my feature works
  • I have added any necessary documentation in document requirements section listed in CONTRIBUTING.md (if appropriate)
  • I have addressed the @mongodb/docs-cloud-team comments (if appropriate)
  • I have updated test/README.md (if an e2e test has been added)
  • I have run make fmt and formatted my code

Replace the dedicated windows-vsCurrent-small buildvariants (package_msi /
go_msi_snapshot / release_mongocli_msi) with a single Windows host spawned
via evergreen's host.create from the package_goreleaser task, mirroring the
Atlas CLI release pipeline.

- package_goreleaser now creates the Windows host up-front and goreleaser
  cross-builds the windows binary (prebuilt builder dropped)
- windows_notarize.sh runs as a goreleaser post hook and signs the exe
- new windows_build_msi.sh uploads the msi payload to the spawned host,
  builds the MSI there with go-msi, and signs it with jsign
- build/package/wix/mongocli.json moves to build/package/msi/wix.json next
  to the new msi/generate-msi.sh, matching the atlas-cli layout
- download-win-binaries.sh and the unsigned S3 round-trip are removed
@fmenezes
fmenezes force-pushed the CLOUDP-453199-migrate-windows-generation-to-host-create branch from 45fc69d to 191e803 Compare October 28, 2026 10:46
fmenezes added a commit to fmenezes/mongodb-cli that referenced this pull request Oct 28, 2026
… key

Twin of CLOUDP-453186 / #4838: download the OSS goreleaser release
(v2.18.2, with retries as fixed in CLOUDP-456003) instead of the Pro
tarball, drop the goreleaser_key expansion and GORELEASER_KEY export,
bump the config to version: 2 (--clean instead of the removed --rm-dist,
drop the removed rlcp field). The remaining v2 error (prebuilt builder)
is removed by PR mongodb#140, which must merge first.
@danielblanco96
danielblanco96 merged commit bac9850 into mongodb:main Oct 29, 2026
17 checks passed
@fmenezes
fmenezes deleted the CLOUDP-453199-migrate-windows-generation-to-host-create branch October 29, 2026 15:04
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants