Skip to content

Conversation

@nammn
Copy link
Collaborator

@nammn nammn commented Mar 6, 2024

All Submissions:

  • Have you opened an Issue before filing this PR?
  • Have you signed our CLA?
  • Have you checked to ensure there aren't other open Pull Requests for the same update/change?
  • Put closes #XXXX in your comment to auto-close the issue that your PR fixes (if such).

Summary

fixes notarzing code

  • use correct go version
  • fix wrongly used paths for notarizing for goreleaser

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.

@nammn nammn force-pushed the other-missing-things-2 branch from 11a9c98 to 2d67be7 Compare March 6, 2024 05:44
tasks:
- name: package_goreleaser
git_tag_only: true
Copy link
Collaborator Author

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
Copy link
Collaborator Author

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}
Copy link
Collaborator Author

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

Copy link
Collaborator

@lsierant lsierant left a comment

Choose a reason for hiding this comment

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

Awesome! LGTM!

@nammn nammn merged commit 0babae6 into master Mar 7, 2024
@nammn nammn deleted the other-missing-things-2 branch April 29, 2024 08:30
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.

4 participants