← Back to team overview

ubuntu-phone team mailing list archive

ANNOUNCEMENT: snap support in bileto

 

Hi all! Happy US election day!

Today I've rolled out the very first iteration of snap support in bileto.
It's very rudimentary at this point but it does appear to work, so I'm
opening it up for a public pre-pre-pre-alpha.

Here's how to use it:

1. Commit your snapcraft.yaml to your project trunk.

2. Create a snap recipe from your project trunk.

3. Create a ticket at bileto.ubuntu.com

4. In the snaps field, list your snap as team/recipe, eg, if your snap
recipe is at https://launchpad.net/~foo/+snap/bar then you'd enter "foo/bar"

5. Click the new "snap" button

6. Trigger the job page that opens

7. See the snap builds appear on the ticket page

8. Download your snap and enjoy!

Known issues:

A. Doesn't report build progress in the ticket like it does for debs.

B. Only works if your snap is built exclusively from debs, eg, if your
snapcraft references your source tree, the source tree used will be your
trunk instead of the branch with all your merges merged in

C. Requires you to trigger snap builds manually rather than doing it
automatically after detecting your debs finished building.

Solving those issues are all on my radar, but please do give it a shot
today and tell me how it goes!

Follow ups