-
Notifications
You must be signed in to change notification settings - Fork 129
fix notarizing code #277
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
fix notarizing code #277
Conversation
11a9c98 to
2d67be7
Compare
| tasks: | ||
| - name: package_goreleaser | ||
| git_tag_only: true |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
according to our evergreen setting page and this documentation: https://docs.devprod.prod.corp.mongodb.com/evergreen/Project-Configuration/Project-and-Distro-Settings/#triggering-versions-with-git-tags this should suffice.
mms-build-account is part of the allowed users to create tags. So we will have the following release process:
- mms-build-account creates a new release tag
- evergreen picks that up and will run this tasks/variants
- profit? 💸
| - macos_notary_keyid | ||
| - macos_notary_secret | ||
| - workdir | ||
| - triggered_by_git_tag |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
${triggered_by_git_tag} is the name of the tag that triggered this version, if applicable
| <<: *go_env | ||
| MACOS_NOTARY_KEY: ${macos_notary_keyid} | ||
| MACOS_NOTARY_SECRET: ${macos_notary_secret} | ||
| GORELEASER_CURRENT_TAG: ${triggered_by_git_tag} |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
just copy paste in what we had prior
lsierant
left a comment
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Awesome! LGTM!
All Submissions:
closes #XXXXin your comment to auto-close the issue that your PR fixes (if such).Summary
fixes notarzing code
evg: https://spruce.mongodb.com/task/mongodb_enterprise_kubernetes_release_mcli_package_goreleaser_patch_b0a80faa1870a0b6432d63897f9397130d933768_65e7ffde2fbabe21948a9640_24_03_06_05_32_14/logs?execution=0
downloading https://github.com/mongodb/mongodb-enterprise-kubernetes/releases/tag/untagged-935fdcdf7b8d6f2acf91 shows that the binary works without mac complaining.