debian-forge/runners
David Rheinsberg 58d368df0d osbuild: unify libdir handling
We want to run stages and other scripts inside of the nspawn containers
we use to build pipelines. Since our pipelines are meant to be
self-contained, this should imply that the build-root must have osbuild
installed. However, this has not been the case so far for several
reasons including:

  1. OSBuild is not packaged for all the build-roots we want to support
     and thus we have the chicken-and-egg problem.

  2. During testing and development, we want to support using a local
     `libdir`.

  3. We already provide an API to the container. Importing scripts from
     the outside just makes this API bigger, but does not change the
     fact that build-roots are not self-contained. Same is true for the
     running kernel, and probably much more..

With all this in mind, our strategy probably still is to eventually
package osbuild for the build-root. This would significantly reduce our
API exposure, points-of-failure, and host-reliance. However, this switch
might still be some weeks out.

With this in mind, though, we can expect the ideal setup to have a full
osbuild available in the build-root. Hence, any script we import so far
should be able to access the entire `libdir`. This commit unifies the
libdir handling by installing the symlinks into `libdir` and providing
a single bind-mount of the module-path into `libdir`.

We can always decide to scratch that in the future when we scratch the
libdir-import from the host-root. Until then, I believe this commit
nicely unifies the way we import the module both in a local checkout as
well as in the container.
2020-04-21 13:44:43 +02:00
..
org.osbuild.arch runners: add runner for Arch Linux 2020-02-29 18:34:00 +01:00
org.osbuild.fedora30 runners: drop ca certificate handling 2020-04-15 15:29:52 +02:00
org.osbuild.fedora31 Create Fedora 31 and Fedora 32 runners 2020-01-10 18:27:55 +01:00
org.osbuild.fedora32 Create Fedora 31 and Fedora 32 runners 2020-01-10 18:27:55 +01:00
org.osbuild.fedora33 Allow osbuild to run on rawhide (f33) 2020-02-26 15:25:47 +01:00
org.osbuild.linux runners: org.osbuild.blank -> org.osbuild.linux 2020-02-29 18:34:00 +01:00
org.osbuild.rhel81 runners: drop ca certificate handling 2020-04-15 15:29:52 +02:00
org.osbuild.rhel82 runners: drop ca certificate handling 2020-04-15 15:29:52 +02:00
org.osbuild.rhel83 🐣 Add RHEL 8.3 support 2020-04-21 11:40:25 +00:00
org.osbuild.ubuntu1804 runners: drop ca certificate handling 2020-04-15 15:29:52 +02:00
osbuild osbuild: unify libdir handling 2020-04-21 13:44:43 +02:00