create org.osbuild.ostree.aleph stage

Similar to the aleph file created for builds of FCOS based on ostree
commit inputs, this adds an aleph file that contains information about
the initial deployment of data when the disk image was built

A new stage is preferred here as both the org.osbuild.ostree.deploy
and org.osbuild.ostree.deploy.container stages need an aleph file and
use of the aleph file may depend on the project/product. For example,
right now CoreOS is the only project that uses an aleph file, but others
may want it in the future.
This commit is contained in:
Luke Yang 2023-10-25 13:47:56 -04:00 committed by Achilleas Koutsou
parent 96ee2e4bc8
commit 5fc3b565a2
6 changed files with 215 additions and 0 deletions

View file

@ -511,6 +511,16 @@
}
}
},
{
"type": "org.osbuild.ostree.aleph",
"options": {
"coreos_compat": true,
"deployment": {
"osname": "fedora-coreos",
"ref": "ostree/1/1/0"
}
}
},
{
"type": "org.osbuild.ostree.selinux",
"options": {

View file

@ -113,6 +113,12 @@ pipelines:
images:
- source: registry.gitlab.com/redhat/services/products/image-builder/ci/images/fedora-coreos
tag: stable
- type: org.osbuild.ostree.aleph
options:
coreos_compat: true
deployment:
osname: fedora-coreos
ref: ostree/1/1/0
- type: org.osbuild.ostree.selinux
options:
deployment:

View file

@ -1116,6 +1116,15 @@
}
}
},
{
"type": "org.osbuild.ostree.aleph",
"options": {
"deployment": {
"osname": "fedora",
"ref": "fedora/x86_64/osbuild"
}
}
},
{
"type": "org.osbuild.ostree.fillvar",
"options": {

View file

@ -78,6 +78,11 @@ pipelines:
references:
name:ostree-commit:
ref: fedora/x86_64/osbuild
- type: org.osbuild.ostree.aleph
options:
deployment:
osname: fedora
ref: fedora/x86_64/osbuild
- type: org.osbuild.ostree.fillvar
options:
deployment: