diff --git a/roles/bodhi2/backend/files/new-updates-sync b/roles/bodhi2/backend/files/new-updates-sync index ddb1dea03f..743a9b83bd 100755 --- a/roles/bodhi2/backend/files/new-updates-sync +++ b/roles/bodhi2/backend/files/new-updates-sync @@ -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'], diff --git a/roles/bodhi2/backend/templates/pungi.rpm.conf.j2 b/roles/bodhi2/backend/templates/pungi.rpm.conf.j2 index bd66dce08b..f8fb0a462b 100644 --- a/roles/bodhi2/backend/templates/pungi.rpm.conf.j2 +++ b/roles/bodhi2/backend/templates/pungi.rpm.conf.j2 @@ -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 %]