A manifest (mpp and json) that uses the new source and input with the skopeo stage. This depends on the image we store at ./test/data/stages/skopeo/hello.img The plan is to test this by pulling the hello.img into the host root storage, build the manifest, delete the image from storage, and check the tree.
28 lines
865 B
YAML
28 lines
865 B
YAML
version: '2'
|
|
pipelines:
|
|
- mpp-import-pipelines:
|
|
path: ../manifests/fedora-vars.ipp.yaml
|
|
- mpp-import-pipeline:
|
|
path: ../manifests/fedora-build-v2.ipp.yaml
|
|
id: build
|
|
runner:
|
|
mpp-format-string: org.osbuild.fedora{release}
|
|
- name: tree
|
|
build: name:build
|
|
stages:
|
|
- type: org.osbuild.skopeo
|
|
inputs:
|
|
images:
|
|
type: org.osbuild.containers-storage
|
|
origin: org.osbuild.source
|
|
references:
|
|
sha256:805e972fbc4dfa74a616dcaafe0d9e9b4c548b8909b14ffb032aa20fa23d9ad6:
|
|
name: localhost/osbuild/hello:latest
|
|
options:
|
|
destination:
|
|
type: containers-storage
|
|
storage-driver: vfs
|
|
sources:
|
|
org.osbuild.containers-storage:
|
|
items:
|
|
sha256:805e972fbc4dfa74a616dcaafe0d9e9b4c548b8909b14ffb032aa20fa23d9ad6: {}
|