-
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
Changes from all commits
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -1,5 +1,8 @@ | ||
| variables: | ||
|
|
||
| - &go_env | ||
| XDG_CONFIG_HOME: ${go_base_path}${workdir} | ||
| GO111MODULE: "on" | ||
| GOROOT: "/opt/golang/go1.21" | ||
| functions: | ||
|
|
||
| "clone": | ||
|
|
@@ -42,24 +45,27 @@ functions: | |
| type: setup | ||
| params: | ||
| working_dir: src/github.com/mongodb/mongodb-enterprise-kubernetes/tools/multicluster | ||
| add_to_path: | ||
| - src/github.com/mongodb/tools | ||
| - src/github.com/mongodb/tools/linux_amd64 | ||
| include_expansions_in_env: | ||
| - GITHUB_TOKEN | ||
| - macos_notary_keyid | ||
| - macos_notary_secret | ||
| - workdir | ||
| - triggered_by_git_tag | ||
| env: | ||
| <<: *go_env | ||
| MACOS_NOTARY_KEY: ${macos_notary_keyid} | ||
| MACOS_NOTARY_SECRET: ${macos_notary_secret} | ||
| GORELEASER_CURRENT_TAG: ${triggered_by_git_tag} | ||
|
Collaborator
Author
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. just copy paste in what we had prior |
||
| # shell.exec EVG Task doesn't have add_to_path, so we need to explicitly add the path export below. | ||
| script: | | ||
| set -Eeu pipefail | ||
|
|
||
| ${workdir}/goreleaser release | ||
|
|
||
| export PATH=$GOROOT/bin:$PATH | ||
| ${workdir}/goreleaser release --rm-dist | ||
|
|
||
| tasks: | ||
| - name: package_goreleaser | ||
| git_tag_only: true | ||
|
Collaborator
Author
There was a problem hiding this comment. Choose a reason for hiding this commentThe 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.
|
||
| tags: ["packaging"] | ||
| commands: | ||
| - func: "clone" | ||
|
|
||
This file was deleted.
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.