Add Cosmic-Atomic

We have been building unofficial images at fedora-ostree-desktops based on the workstation-ostree-config files for cosmic-atomic. It's time to get it officially built.

Signed-off-by: Ryan Brue <ryanbrue.dev@gmail.com>
This commit is contained in:
Ryan Brue 2025-03-10 00:27:14 -05:00 committed by kevin
parent 2f67aade41
commit 2fd441aef6
2 changed files with 35 additions and 2 deletions

View file

@ -42,7 +42,10 @@ RELEASES = {'f42': {'topic': 'fedora',
'arches': ['x86_64', 'ppc64le', 'aarch64']},
{'ref': 'fedora/42/%(arch)s/updates/onyx',
'dest': OSTREEDEST,
'arches': ['x86_64', 'ppc64le', 'aarch64']}],
'arches': ['x86_64', 'ppc64le', 'aarch64']}
{'ref': 'fedora/42/%(arch)s/updates/cosmic-atomic',
'dest': OSTREEDEST,
'arches': ['x86_64', 'aarch64']}],
'to': [{'arches': ['x86_64', 'aarch64', 'source'],
'dest': os.path.join(FEDORADEST, '42', 'Everything')},
{'arches': ['ppc64le', 's390x'],
@ -61,7 +64,10 @@ RELEASES = {'f42': {'topic': 'fedora',
'arches': ['x86_64', 'ppc64le', 'aarch64']},
{'ref': 'fedora/42/%(arch)s/testing/onyx',
'dest': OSTREEDEST,
'arches': ['x86_64', 'ppc64le', 'aarch64']}],
'arches': ['x86_64', 'ppc64le', 'aarch64']}
{'ref': 'fedora/42/%(arch)s/testing/cosmic-atomic',
'dest': OSTREEDEST,
'arches': ['x86_64', 'aarch64']}],
'to': [{'arches': ['x86_64', 'aarch64', 'source'],
'dest': os.path.join(FEDORADEST, 'testing', '42', 'Everything')},
{'arches': ['ppc64le', 's390x'],

View file

@ -248,6 +248,22 @@ ostree = {
"arches": ["x86_64"],
"failable": ['*']
},
[% if release.version_int >= 42 %]
"^COSMIC-Atomic$": {
"version": "!VERSION_FROM_VERSION_DATE_RESPIN",
"unified_core": True,
"runroot_packages": ["selinux-policy-targeted"],
"treefile": "cosmic-atomic-ostree.yaml",
"config_url": "https://pagure.io/workstation-ostree-config.git",
"config_branch": "f[[ release.version ]]",
"repo": {{ repos }},
"ostree_repo": "/mnt/koji/compose/ostree/repo",
"ostree_ref": "fedora/[[ release.version ]]/${basearch}/[[ ostreeref ]]/sericea",
"tag_ref": False,
"arches": ["x86_64", "aarch64"],
"failable": ['*']
},
[% endif %]
}
ostree_container = {
"^Silverblue$": {
@ -310,6 +326,17 @@ ostree_container = {
"arches": ["x86_64"],
"failable": ['*']
},
[% if release.version_int >= 42 %]
"^COSMIC-Atomic$": {
"version": "!VERSION_FROM_VERSION_DATE_RESPIN",
"config_url": "https://pagure.io/workstation-ostree-config.git",
"config_branch": "f[[ release.version ]]",
"repo": {{ repos }},
"treefile": "cosmic-atomic.yaml",
"arches": ["x86_64", "aarch64"],
"failable": ['*']
},
[% endif %]
}
[% endif %]