Skip to content

Conversation

@baileympearson
Copy link
Collaborator

@baileympearson baileympearson commented Dec 9, 2024

#64 updated the Node team's signing action to account for npm scopes. For some reason, the expansion works with npm scopes but fails for packages without (all packages except for zstd).

This step looks for all built artifacts before signing them. I decided to rewrite this logic into a small node script instead.

passing in zstd: https://github.com/mongodb-js/zstd/actions/runs/12240392950
passing in mongodb-client-encryption: https://github.com/mongodb-js/mongodb-client-encryption/actions/runs/12240610213/job/34151543294

@baileympearson baileympearson changed the title use js instead of bash expansions build(NODE-6598): fix node signing action for all node team packages Dec 9, 2024
Copy link
Collaborator

@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.

I'd probably have kept this as a bash script (the find command in particular should be able to handle this very well) but either way, as long as it solves a problem, the code here looks good

@nbbeeken nbbeeken added the Primary Review In Review with primary reviewer, not yet ready for team's eyes label Dec 9, 2024
@nbbeeken nbbeeken self-assigned this Dec 9, 2024
@nbbeeken nbbeeken merged commit 9f6497b into mongodb-labs:main Dec 9, 2024
5 checks passed
Copy link
Collaborator

@nbbeeken nbbeeken left a comment

Choose a reason for hiding this comment

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

lgtm (oops)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Primary Review In Review with primary reviewer, not yet ready for team's eyes

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants