Skip to content
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

Use maintained gon fork to address Apple signing deprecation #1997

Conversation

ddelnano
Copy link
Member

@ddelnano ddelnano commented Aug 28, 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)

Relevant Issues: Closes #1993

Type of change: /kind bugfix

Test Plan: cli-release GitHub workflow succeeds when built from this branch

Changelog Message: Fix macos signing for px cli releases

ddelnano added a commit that referenced this pull request Sep 4, 2024
… to parse (#2005)

Summary: Fix bug where cli manifests with `AT_DARWIN_ARM64`
ArtifactTypes fail to parse

This was an error I ran into when testing #1997. You can see the failure
output from the [following
build](https://github.com/pixie-io/pixie/actions/runs/10705210930/job/29681122220?pr=1997)
(also copied below).

```
INFO: Running command line: bazel-bin/src/utils/artifacts/manifest_updater/manifest_updater_/manifest_updater '--manifest_updates=/__w/pixie/pixie/manifest_updates.json' '--manifest_path=/__w/pixie/pixie/gh-pages/artifacts/manifest.json'
time="2024-09-04T16:17:53Z" level=fatal msg="failed to read manifest updates" error="unknown value \"AT_DARWIN_ARM64\" for enum px.versions.ArtifactType"
```

Relevant Issues: #1993

Type of change: /kind bugfix

Test Plan: Built the manifest_updater binary and verified it no longer
fails with a parse error
```
$ ./manifest_updater --manifest_updates manifest_updates.json  --manifest_path=manifest.json
$
```

---------

Signed-off-by: Dom Del Nano <[email protected]>
@ddelnano ddelnano force-pushed the ddelnano/fix-cli-builds-with-maintained-gon-fork branch from 4e374a3 to ff89e27 Compare September 5, 2024 14:46
@ddelnano
Copy link
Member Author

ddelnano commented Sep 5, 2024

@pixie-io/core-maintainers this is ready for review now that I've gotten a successful build.

Copy link
Member

@aimichelle aimichelle left a comment

Choose a reason for hiding this comment

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

We were just using a personal Apple developer account to do signing before. Thanks to Cosmic for offering to provide the signed macOS binaries!

ci/cli_upload_signed.sh Outdated Show resolved Hide resolved
@ddelnano ddelnano merged commit 3a76a27 into pixie-io:main Sep 5, 2024
30 checks passed
@ddelnano ddelnano deleted the ddelnano/fix-cli-builds-with-maintained-gon-fork branch September 5, 2024 21:45
ddelnano added a commit to ddelnano/pixie that referenced this pull request Sep 23, 2024
… to parse (pixie-io#2005)

Summary: Fix bug where cli manifests with `AT_DARWIN_ARM64`
ArtifactTypes fail to parse

This was an error I ran into when testing pixie-io#1997. You can see the failure
output from the [following
build](https://github.com/pixie-io/pixie/actions/runs/10705210930/job/29681122220?pr=1997)
(also copied below).

```
INFO: Running command line: bazel-bin/src/utils/artifacts/manifest_updater/manifest_updater_/manifest_updater '--manifest_updates=/__w/pixie/pixie/manifest_updates.json' '--manifest_path=/__w/pixie/pixie/gh-pages/artifacts/manifest.json'
time="2024-09-04T16:17:53Z" level=fatal msg="failed to read manifest updates" error="unknown value \"AT_DARWIN_ARM64\" for enum px.versions.ArtifactType"
```

Relevant Issues: pixie-io#1993

Type of change: /kind bugfix

Test Plan: Built the manifest_updater binary and verified it no longer
fails with a parse error
```
$ ./manifest_updater --manifest_updates manifest_updates.json  --manifest_path=manifest.json
$
```

---------

Signed-off-by: Dom Del Nano <[email protected]>
GitOrigin-RevId: afffb8e
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 <[email protected]>
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.

Macos signing in cli release build broken
3 participants