Skip to content

Conversation

@ddelnano
Copy link
Member

@ddelnano ddelnano commented Aug 26, 2024

Summary: Replace gon macos signing with notarytool

Relevant Issues: #1993

Type of change: /kind bugfix

Test Plan: Read a few examples of migrated cli invocations, however, seeing a successful cli release is necessary to fully test this

@ddelnano ddelnano requested review from a team as code owners August 26, 2024 18:11
@ddelnano ddelnano force-pushed the ddelnano/replace-gon-with-notarytool branch from 43591bd to 7fcc761 Compare August 26, 2024 18:27
Signed-off-by: Dom Del Nano <ddelnano@gmail.com>
@ddelnano ddelnano force-pushed the ddelnano/replace-gon-with-notarytool branch from 7fcc761 to 82a7944 Compare August 26, 2024 18:28
gon ci/gon.hcl
export TEAM_ID="SZCNTABEXY"
export APP_IDENTITY="Developer ID Application: Pixie Labs Inc. (${TEAM_ID})"
codesign -f -v --timestamp --options runtime -s "${APP_IDENTITY}" cli_darwin_universal cli_darwin_arm64 cli_darwin_amd64
Copy link
Member Author

Choose a reason for hiding this comment

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

This was modeled off how gon runs codesign (source)

…nt variables

Signed-off-by: Dom Del Nano <ddelnano@gmail.com>
Signed-off-by: Dom Del Nano <ddelnano@gmail.com>
…ommand

Signed-off-by: Dom Del Nano <ddelnano@gmail.com>
Signed-off-by: Dom Del Nano <ddelnano@gmail.com>
@vihangm
Copy link
Member

vihangm commented Aug 28, 2024

I'm wondering if we should switch to https://github.com/Bearer/gon which seems to be a maintained fork of the original and switches over to notarytool

@ddelnano
Copy link
Member Author

Using that fork is fine with me. I'll update this PR to take that approach. Unfortunately the developer account we use has expired and is blocking finishing off the testing of this.

@ddelnano
Copy link
Member Author

Closing since we will be proceeding with #1997.

@ddelnano ddelnano closed this Aug 29, 2024
ddelnano added a commit that referenced this pull request Sep 5, 2024
Summary: Use maintained gon fork to address Apple signing deprecation

This is a continuation of #1994. Rather than using the macos tools
directly, we can continue using gon by switching to the maintained fork
([github.com/Bearer/gon](https://github.com/Bearer/gon))

Relevant Issues: Closes #1993

Type of change: /kind bugfix

Test Plan: cli-release GitHub workflow
[succeeds](https://github.com/pixie-io/pixie/actions/runs/10724342153/job/29740236170)
when built from this branch

Changelog Message: Fix macos signing for px cli releases

---------

Signed-off-by: Dom Del Nano <ddelnano@gmail.com>
ddelnano added a commit to ddelnano/pixie that referenced this pull request Sep 23, 2024
…o#1997)

Summary: Use maintained gon fork to address Apple signing deprecation

This is a continuation of pixie-io#1994. Rather than using the macos tools
directly, we can continue using gon by switching to the maintained fork
([github.com/Bearer/gon](https://github.com/Bearer/gon))

Relevant Issues: Closes pixie-io#1993

Type of change: /kind bugfix

Test Plan: cli-release GitHub workflow
[succeeds](https://github.com/pixie-io/pixie/actions/runs/10724342153/job/29740236170)
when built from this branch

Changelog Message: Fix macos signing for px cli releases

---------

Signed-off-by: Dom Del Nano <ddelnano@gmail.com>
GitOrigin-RevId: 3a76a27
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.

2 participants