Bodhi compose config: build ostrees and containers in variants
Our compose attempt with the containers being built under Everything didn't go as planned because the filenames of the container images turn out to be determined by the variant, so they conflicted and only the last one built survived. So, we really need to build them under unique variants for now. A previous commit added the variant definitions. We don't *need* to build the ostrees under the variants, but it feels more consistent this way, both with the containers and with how it works in the Rawhide/Branched composes. Signed-off-by: Adam Williamson <awilliam@redhat.com>
This commit is contained in:
parent
4aed740463
commit
5f2d78a83c
1 changed files with 98 additions and 110 deletions
|
@ -137,9 +137,7 @@ createiso_skip = [
|
|||
{% if env != "staging" %}
|
||||
[% if release.id_prefix == 'FEDORA' %]
|
||||
ostree = {
|
||||
"^Everything$": [
|
||||
# Fedora Silverblue
|
||||
{
|
||||
"^Silverblue$": {
|
||||
"version": "!VERSION_FROM_VERSION_DATE_RESPIN",
|
||||
[% if release.version_int >= 39 %]
|
||||
"unified_core": True,
|
||||
|
@ -155,8 +153,7 @@ ostree = {
|
|||
"arches": ["x86_64", "ppc64le", "aarch64" ],
|
||||
"failable": ["x86_64", "ppc64le", "aarch64" ]
|
||||
},
|
||||
# Fedora Kinoite
|
||||
{
|
||||
"^Kinoite$": {
|
||||
"version": "!VERSION_FROM_VERSION_DATE_RESPIN",
|
||||
[% if release.version_int >= 39 %]
|
||||
"unified_core": True,
|
||||
|
@ -172,8 +169,7 @@ ostree = {
|
|||
"arches": ["x86_64", "ppc64le", "aarch64" ],
|
||||
"failable": ["x86_64", "ppc64le", "aarch64" ]
|
||||
},
|
||||
# Fedora Sway Atomic (formerly Sericea)
|
||||
{
|
||||
"^Sericea$": {
|
||||
"version": "!VERSION_FROM_VERSION_DATE_RESPIN",
|
||||
[% if release.version_int >= 39 %]
|
||||
"unified_core": True,
|
||||
|
@ -189,9 +185,8 @@ ostree = {
|
|||
"arches": ["x86_64", "aarch64"],
|
||||
"failable": ["x86_64", "aarch64"]
|
||||
},
|
||||
# Fedora Budgie Atomic (formerly Onyx)
|
||||
[% if release.version_int >= 39 %]
|
||||
{
|
||||
"^Onyx$": {
|
||||
"version": "!VERSION_FROM_VERSION_DATE_RESPIN",
|
||||
"unified_core": True,
|
||||
"runroot_packages": ["selinux-policy-targeted"],
|
||||
|
@ -206,13 +201,10 @@ ostree = {
|
|||
"failable": ["x86_64"]
|
||||
},
|
||||
[% endif %]
|
||||
]
|
||||
}
|
||||
[% if release.version_int >= 40 %]
|
||||
ostree_container = {
|
||||
"^Everything$": [
|
||||
# Fedora Silverblue
|
||||
{
|
||||
"^Silverblue$": {
|
||||
"version": "!VERSION_FROM_VERSION_DATE_RESPIN",
|
||||
"config_url": "https://pagure.io/workstation-ostree-config.git",
|
||||
"config_branch": "f[[ release.version ]]",
|
||||
|
@ -221,8 +213,7 @@ ostree_container = {
|
|||
"arches": ["x86_64", "ppc64le", "aarch64"],
|
||||
"failable": ['*'],
|
||||
},
|
||||
# Fedora Kinoite
|
||||
{
|
||||
"^Kinoite$": {
|
||||
"version": "!VERSION_FROM_VERSION_DATE_RESPIN",
|
||||
"config_url": "https://pagure.io/workstation-ostree-config.git",
|
||||
"config_branch": "f[[ release.version ]]",
|
||||
|
@ -231,8 +222,7 @@ ostree_container = {
|
|||
"arches": ["x86_64", "ppc64le", "aarch64"],
|
||||
"failable": ['*'],
|
||||
},
|
||||
# Fedora Sway Atomic (formerly Sericea)
|
||||
{
|
||||
"^Sericea$": {
|
||||
"version": "!VERSION_FROM_VERSION_DATE_RESPIN",
|
||||
"config_url": "https://pagure.io/workstation-ostree-config.git",
|
||||
"config_branch": "f[[ release.version ]]",
|
||||
|
@ -241,8 +231,7 @@ ostree_container = {
|
|||
"arches": ["x86_64", "aarch64"],
|
||||
"failable": ['*'],
|
||||
},
|
||||
{
|
||||
# Fedora Budgie Atomic (formerly Onyx)
|
||||
"^Onyx$": {
|
||||
"version": "!VERSION_FROM_VERSION_DATE_RESPIN",
|
||||
"config_url": "https://pagure.io/workstation-ostree-config.git",
|
||||
"config_branch": "f[[ release.version ]]",
|
||||
|
@ -251,7 +240,6 @@ ostree_container = {
|
|||
"arches": ["x86_64"],
|
||||
"failable": ['*'],
|
||||
},
|
||||
],
|
||||
}
|
||||
[% endif %]
|
||||
[% endif %]
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue