rpm-ostree crashes when max_layers is set to <4. Work around that by bumping the max_layers argument. See https://github.com/coreos/rpm-ostree/issues/4530
29 lines
834 B
YAML
29 lines
834 B
YAML
version: '2'
|
|
pipelines:
|
|
- mpp-import-pipelines:
|
|
path: fedora-vars.ipp.yaml
|
|
- mpp-import-pipeline:
|
|
path: fedora-build-v2.ipp.yaml
|
|
id: build
|
|
runner:
|
|
mpp-format-string: org.osbuild.fedora{release}
|
|
- mpp-import-pipelines:
|
|
path: fedora-ostree-commit.mpp.yaml
|
|
ids:
|
|
- ostree-tree
|
|
- ostree-commit
|
|
- name: container
|
|
build: name:build
|
|
stages:
|
|
- type: org.osbuild.ostree.encapsulate
|
|
options:
|
|
filename: ostree-container.tar
|
|
# max_layers < 4 is currently broken (or unsupported)
|
|
# see https://github.com/coreos/rpm-ostree/issues/4530
|
|
max_layers: 4
|
|
inputs:
|
|
commit:
|
|
type: org.osbuild.ostree
|
|
origin: org.osbuild.pipeline
|
|
references:
|
|
name:ostree-commit: {}
|