Snap builder does not detect base series properly for repositories hosted on gitlab.com

Bug #1968904 reported by Zygmunt Krynicki
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Launchpad itself
Fix Released
High
Colin Watson

Bug Description

I'm working on a project hosted on gitlab.com. I've created snap packaging and merged it into the repository [1]. The project builds locally using snapcraft with base: core20. Since the project is hosted outside of github.com I did not use snapcraft.io/build and created a snap packaging recipe on launchpad.net directly [2]. Attempts to build the project on Launchpad fail as the actual build is scheduled to run with a xenial (core/16.04) base [3]. I took this issue to twitter where it was deemed to be a missing feature [4] that should be reported and fixed.

[1] https://gitlab.com/zygoon/go-hawkbit/-/blob/master/snap/snapcraft.yaml
[2] https://launchpad.net/~zyga/hawkbitctl/+snap/hawkbitctl
[3] https://launchpad.net/~zyga/hawkbitctl/+snap/hawkbitctl/+build/1731723
[4] https://twitter.com/colmmacuait/status/1514282266641547266

Related branches

Zygmunt Krynicki (zyga)
description: updated
Colin Watson (cjwatson)
tags: added: git lp-code trivial
Changed in launchpad:
assignee: nobody → Colin Watson (cjwatson)
importance: Undecided → High
status: New → In Progress
summary: Snap builder does not detect base series properly for repositories
- hosted outside of github.com
+ hosted on gitlab.com
Zygmunt Krynicki (zyga)
description: updated
Revision history for this message
Colin Watson (cjwatson) wrote :

This also requires an update to our corporate Squid configuration. I've proposed a merge for that.

Colin Watson (cjwatson)
Changed in launchpad:
status: In Progress → Fix Released
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.