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

fix(snap): ensure arm64 build can be performed from an amd64 machine #2987

Merged
merged 3 commits into from
Sep 19, 2024

Conversation

jnsgruk
Copy link
Contributor

@jnsgruk jnsgruk commented Sep 19, 2024

The primary reason for this PR is to address the failing snap release job.

This job fails because there is no arm64 build to upload, despite the build artifacts being fetched from the previous steps in the process.

Further investigation showed that the snapcraft pack for the arm64 snap finished abruptly having not actually generated an artefact. This turns out to be a known bug, which should be addressed in the next snapcraft release. In the mean time, we can work around by just explicitly stating that the arm64 snap can be built-on an amd64 machine.

As a drive-by, a3fefff ensures that when there is a tag present in the goreleaser metadata.json, it's used to set the version of the snap accordingly.

@jnsgruk
Copy link
Contributor Author

jnsgruk commented Sep 19, 2024

This line is the indicator that the build fix has worked :)

@thorfour thorfour merged commit 93f2294 into parca-dev:main Sep 19, 2024
7 checks passed
@jnsgruk jnsgruk deleted the fix-snap-release branch September 19, 2024 16:57
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