canonical / craft-application

The basis for *craft applications
https://canonical-craft-application.readthedocs-hosted.com/en/latest
GNU Lesser General Public License v3.0
5 stars 7 forks source link

feat(lifecycle)!: don't build on incompatible bases #263

Closed tigarmo closed 3 months ago

tigarmo commented 3 months ago

The Lifecycle service will now check whether the build's base (as stored in the BuildInfo) matches the running environment. This doesn't affect managed runs (barring bugs), but is a change in behavior as we will no longer build, say, Ubuntu 22.04 artifacts on Fedora hosts in destructive mode.

We define "matches" here as this:

Fixes #154