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

build: reintroduce snap packaging, test, and release flows #2969

Merged
merged 1 commit into from
Aug 14, 2024

Conversation

jnsgruk
Copy link
Contributor

@jnsgruk jnsgruk commented Aug 13, 2024

This PR reintroduces the snap package, and the test/release workflow.

Unfortunately, we cannot use the plain goreleaser setup for building/releasing the snap, as the project is currently using a Goreleaser Docker image, which is unable to run snapcraft.

That said, it makes this job slightly easier, as much of what was in place before will still work. There are a couple of places where we might need to tweak artifact paths and suchlike, but otherwise this should work.

@brancz - at the moment I've tagged on the snap build, and test, and release into one workflow to avoid too much duplication, but we can adjust if you'd prefer.


- name: Release to latest/edge
env:
SNAPCRAFT_STORE_CREDENTIALS: ${{ secrets.SNAPCRAFT_STORE_CREDENTIALS }}
Copy link
Contributor Author

Choose a reason for hiding this comment

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

We need to make sure this is still set - though I'm guessing it's probably still in the secrets config for the repo

Copy link
Member

Choose a reason for hiding this comment

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

yep, it is!

@brancz
Copy link
Member

brancz commented Aug 14, 2024

Thank you very much!!

@brancz brancz merged commit d4a5bb8 into parca-dev:main Aug 14, 2024
7 checks passed
@jnsgruk jnsgruk deleted the reinstate-snap branch August 14, 2024 08:28
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