pipeline: support osbuild runners

osbuild has a concept of runners now: scripts that set up a build
environment. Update the osbuild submodule to latest master, change
`Pipeline` to to the new buildroot description format, and use the
`org.osbuild.fedora30` runner from the fedora30 distro.
This commit is contained in:
Lars Karlitski 2019-11-27 01:55:29 +01:00
parent 382d4e2118
commit 7b54f5cfdc
23 changed files with 460 additions and 401 deletions

View file

@ -100,10 +100,10 @@ def nspawn_extract_container(image_file):
def run_osbuild(pipeline, store):
osbuild_cmd = ["python3", "-m", "osbuild", "--json", "--libdir", ".", "--store", store, "-"]
build_pipeline = os.getenv("OSBUILD_TEST_BUILD_PIPELINE", None)
if build_pipeline:
osbuild_cmd.append("--build-pipeline")
osbuild_cmd.append(os.path.abspath(build_pipeline))
build_env = os.getenv("OSBUILD_TEST_BUILD_ENV", None)
if build_env:
osbuild_cmd.append("--build-env")
osbuild_cmd.append(os.path.abspath(build_env))
result = dict()
try: