Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

chore(ci): migrate to Garasign from notary MONGOSH-1655 #1876

Merged
merged 1 commit into from
Mar 15, 2024
Merged

Conversation

dylrich
Copy link
Contributor

@dylrich dylrich commented Mar 13, 2024

No description provided.

@mcasimir mcasimir changed the title MONGOSH-1655: migrate to Garasign from notary chore(ci): migrate to Garasign from notary MONGOSH-1655 Mar 13, 2024
Copy link
Contributor

@addaleax addaleax left a comment

Choose a reason for hiding this comment

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

Looks great, just one question!

authToken: config.notaryAuthToken || '',
signingComment: 'Evergreen Automatic Signing (mongosh)',
});
}
Copy link
Contributor

Choose a reason for hiding this comment

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

iirc we gave the MSI special handling because it was fairly unusable without the signing – should we keep this? should we apply all signing to the "create package" phase rather than the "draft release" phase?

Copy link
Contributor Author

Choose a reason for hiding this comment

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

I dropped this because I noticed that it was being re-signed in runDraft. We couldn't find any special reason just the MSI needed to be signed in the packaging step (e.g. for testing), and none of the Windows-specific tests seemed to fail because of this. The reason to drop it is that it'd require the whole host-create + ssh dance as things are written now because packaging happens on particular operating systems instead of just Ubuntu like runDraftdoes. I think a better solution in the future would move signing to something that happens before/after packaging as appropriate for the artifact in question, and ideally this would run on a Linux distro only. But that felt like a bigger refactor than I was prepared to do at this time!

Copy link
Contributor

Choose a reason for hiding this comment

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

Yeah, makes sense – let's leave it like this then :)

@addaleax addaleax merged commit b3359a1 into main Mar 15, 2024
59 of 62 checks passed
@addaleax addaleax deleted the MONGOSH-1655 branch March 15, 2024 15:35
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.

3 participants