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:
parent
382d4e2118
commit
7b54f5cfdc
23 changed files with 460 additions and 401 deletions
8
test/run
8
test/run
|
|
@ -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:
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue