manifests: use variables in ostree-commit
Instead of hard-coding the release and the snapshot, use variables, which should help updating to newer releases and snapshots.
This commit is contained in:
parent
4b11989ce3
commit
056a33041b
1 changed files with 16 additions and 5 deletions
|
|
@ -1,4 +1,10 @@
|
||||||
{
|
{
|
||||||
|
"mpp-vars": {
|
||||||
|
"arch": "x86_64",
|
||||||
|
"release": 34,
|
||||||
|
"releasever": "f$release",
|
||||||
|
"snapshot": "20210512"
|
||||||
|
},
|
||||||
"version": "2",
|
"version": "2",
|
||||||
"pipelines": [
|
"pipelines": [
|
||||||
{
|
{
|
||||||
|
|
@ -6,7 +12,9 @@
|
||||||
"path": "f34-build-v2.json",
|
"path": "f34-build-v2.json",
|
||||||
"id": "build"
|
"id": "build"
|
||||||
},
|
},
|
||||||
"runner": "org.osbuild.fedora34"
|
"runner": {
|
||||||
|
"mpp-format-string": "org.osbuild.fedora{release}"
|
||||||
|
}
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
"name": "ostree-tree",
|
"name": "ostree-tree",
|
||||||
|
|
@ -24,12 +32,13 @@
|
||||||
"type": "org.osbuild.files",
|
"type": "org.osbuild.files",
|
||||||
"origin": "org.osbuild.source",
|
"origin": "org.osbuild.source",
|
||||||
"mpp-depsolve": {
|
"mpp-depsolve": {
|
||||||
"architecture": "x86_64",
|
"architecture": "$arch",
|
||||||
"module-platform-id": "f34",
|
"module-platform-id": "$releasever",
|
||||||
|
"releasever": "$releasever",
|
||||||
"repos": [
|
"repos": [
|
||||||
{
|
{
|
||||||
"id": "default",
|
"id": "default",
|
||||||
"baseurl": "https://rpmrepo.osbuild.org/v2/mirror/public/f34/f34-x86_64-fedora-20210512/"
|
"baseurl": "https://rpmrepo.osbuild.org/v2/mirror/public/$releasever/$releasever-$arch-fedora-$snapshot/"
|
||||||
}
|
}
|
||||||
],
|
],
|
||||||
"packages": [
|
"packages": [
|
||||||
|
|
@ -104,7 +113,9 @@
|
||||||
},
|
},
|
||||||
"options": {
|
"options": {
|
||||||
"ref": "fedora/x86_64/osbuild",
|
"ref": "fedora/x86_64/osbuild",
|
||||||
"os_version": "34"
|
"os_version": {
|
||||||
|
"mpp-format-string": "{release}"
|
||||||
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
]
|
]
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue