On Freitag, 17. April 2020, 15:46:39 CEST wrote Pau Garcia Quiles:
Hi
I am hitting a problem when trying to build Uyuni VMs with Kiwi because I cannot add an OBS URL as a repository in OBS (only projects or distributions are allowed).
This is how the docs (https://www.uyuni-project.org/pages/stable-version.html#serversetup) tell you to install Uyuni: 1. Install Leap 15.1 2. Add the "images" package repository: https://download.opensuse.org/repositories/systemsmanagement:/Uyuni:/Stable/... 3. zypper ref & zypper in patterns-uyuni_server
When I want to build my VM images with Kiwi, I cannot add that URL in https://build.opensuse.org/projects/home:pagarcia:Uyuni:2020.04/meta
Right. We could workaround that if I (as an admin) configure you a DoD repo for that. But I doubt that this is the right way...
The workaround I have been using so far is adding two OBS projects: * Snapshot of Uyuni: systemsmanagement:Uyuni:Snapshots:2020.04 OBS project (fine, that's a snapshop and does not change) * systemsmanagement:Uyuni:Master:Other => This is a problem because this repository changes over time.
This is a problem because the VMs get rebuilt when new packages are available in systemsmanagement:Uyuni:Master:Other and therefore do not contain exactly the same as https://download.opensuse.org/repositories/systemsmanagement:/Uyuni:/Stable/...
Is there a way to solve this?
well, you could configure your images repo to trigger only on source changes or manual triggers.
Ideally, I should be able to add a URL as a repository (at least one that comes from OBS itself, so it should not require downloading anything). AFAIK this is not possible today.
IMHO ideally you should build your appliance based on the code stream what is also used for the product media instead.
Alternatively, I could also take snapshots of systemsmanagement:Uyuni:Master:Other for each release of Uyuni. This is currently possible but it will take some disk space.
That is what we do for stable releases. Yes, it costs disk space, but this is the only way if you want to keep old stable releases. However, if this is going to be something official, it should maybe anyway moved to some official space? bye adrian -- Adrian Schroeter email: adrian@suse.de SUSE Linux GmbH, GF: Felix Imendörffer, Jane Smithard, Graham Norton, HRB 21284 (AG Nürnberg) Maxfeldstraße 5 90409 Nürnberg Germany -- To unsubscribe, e-mail: opensuse-buildservice+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse-buildservice+owner@opensuse.org