On Donnerstag, 31. August 2023, 17:59:16 CEST Henne Vogelsang wrote:
Hey,
On 31.08.23 15:23, Oliver Smith wrote:
for the Osmocom project we are hosting our own OBS instance. The projects in our instance depend on build.opensuse.org's instance for the base distributions. ... So I'm wondering, is there a way to cache/sync the base distribution information so our builds keep working even if build.opensuse.org is currently not reachable / we have a network outage etc?
Host the repos you need to build against yourself?
Especially for the distribution (Download on Demand) repos (like Debian:12 or any other of the non openSUSE distros) it doesn't make much sense to go through build.o.o
The prjconf changes are also infrequently, I'm sure you can mirror these with a simple cronjob.
erm, that is only true when you build against the GA repos. The moving repos like update and backports are require changes from time to time. Also we just modified the setup for arm builds atm in case you are interessted in these.
There is no magic to it. Just copy and adapt the Debian:12 repository setup to your local instance and build against Debian:12 instead of the interconnect.
That does not work atm, you need to replace the short keys for the gpg keys in the config. A remote instance does not know these (and 2.10 can not handle these at all). -- Adrian Schroeter <adrian@suse.de> Build Infrastructure Project Manager SUSE Software Solutions Germany GmbH, Frankenstraße 146, 90461 Nürnberg, Germany (HRB 36809, AG Nürnberg) Geschäftsführer: Ivo Totev