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 cli snap workflow #151

Merged
merged 3 commits into from
Nov 14, 2023
Merged

Build cli snap workflow #151

merged 3 commits into from
Nov 14, 2023

Conversation

plars
Copy link
Collaborator

@plars plars commented Oct 27, 2023

Description

Use a github workflow to build and publish the cli snap

Resolved issues

Previously, I did this through the snapcraft.io builders and set them up to watch the testflinger-cli repo and build automatically. However, those do not work with a monorepo because they don't support building the snap if it's in a directory. So we need to move this to use the gh workflow instead.

Documentation

N/A

Tests

I'm testing this by temporarily adding the proposed branch to the list of ones to trigger it
update: tested here: https://github.com/canonical/testflinger/actions/runs/6670022069/job/18129054928?pr=151
I also installed the resulting snap and tested it locally, works great :)

@plars plars force-pushed the build-cli-snap-workflow branch 2 times, most recently from a7a5bac to a3dafe1 Compare October 27, 2023 17:03
@plars plars marked this pull request as ready for review October 27, 2023 17:05
@plars plars requested a review from a team October 27, 2023 17:05
mz2
mz2 previously approved these changes Oct 28, 2023
Copy link
Collaborator

@mz2 mz2 left a comment

Choose a reason for hiding this comment

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

Nice! I have filled a follow-up issue for introducing stable builds.

@plars plars requested a review from mz2 November 9, 2023 12:51
@mz2 mz2 merged commit 0be502e into main Nov 14, 2023
2 checks passed
@mz2 mz2 deleted the build-cli-snap-workflow branch November 14, 2023 17:16
tang-mm pushed a commit that referenced this pull request Nov 27, 2023
* Add a github workflow to publish the cli snap

* Update the README.rst with more information about snap publication

* Also enable manual triggering of snap and server charm builds
nancyc12 pushed a commit that referenced this pull request Dec 29, 2023
* Add a github workflow to publish the cli snap

* Update the README.rst with more information about snap publication

* Also enable manual triggering of snap and server charm builds
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