Suggestion: include Gitlab into build.snapcraft.io


#1

Hi there

It would be great if build.snapcraft.io could build from public repositories on Gitlab, just like it does with Github.

Thanks for considering.


#2

Somewhat related: Build.snapcraft.io: Support webhook build trigger? - snapcraft - snapcraft.io

If it is implemented you can set up a stub repo in GitHub to automate build from GitLab.


#3

One interim option you could try is to have Launchpad mirror your project’s Git repository. You can then configure a recipe to build a snap from the mirror.

This isn’t quite the same user experience as build.snapcraft.io, since it will only trigger when new changes are mirrored to Launchpad rather than when they are pushed to Gitlab. But it might be good enough if you’re just after daily builds for the edge channel.


#4

Yes, thanks, that is possible. Other possibility is to create a mirrored repo on Github itself. Actually I already configured a script on Gitlab-CI (+docker) to snap and push the repo, but I just think that it would be better to have it integrated on build.snapcraft.io.


#5

Just found it now: https://github.com/canonical-websites/build.snapcraft.io/issues/950
Sorry if I am duplicating topics… :sweat_smile: