[build.snapcraft.io] Allow multiple variants of a source


#1

We have a snap which gets a new build whenever anything it committed to that project’s GitHub, its based on CPython. We want a variant of that snap based on PyPy that also gets built whenever something is committed to project’s master.

How can we use build.snapcraft.io to use two different snapcraft.yaml files when something is committed to our project’s master ?

This is the first build yaml https://github.com/crossbario/crossbar/blob/master/snap/snapcraft.yaml
and here is the second https://github.com/crossbario/crossbar-pypy-snap/blob/master/snap/snapcraft.yaml (which currently lives out of tree)


#2

Is there another place to put feature requests for build.snapcraft.io or is this the correct forum for that ?


#3

You don’t have to use build.snapcraft.io for these more complex use cases. Typically using launchpad directly is a better bet. You could sync the source from your repo to a project in lp and the build and publish from there. As you could create multiple projects there, syncing from different places, would that service your requirement?


#4

I haven’t tried to build a snap using Launchpad, so that’s a new territory for me. Is there a “guide” of some sort or is it mostly “jump and try yourself” in this case :wink:


#5

Sounds like something I should do a Snapcraft Live session on :slight_smile:


#6

yes please :smiley: