tests: change all mentions of Fedora 32 to Fedora 33
Fedora 32 is EOL, let's use Fedora 33. (Fedora 34 is not yet 100% supported in composer).
This commit is contained in:
parent
ad157cc206
commit
3ceeb47333
4 changed files with 25 additions and 25 deletions
|
|
@ -8,7 +8,7 @@ import unittest
|
|||
import subprocess
|
||||
|
||||
|
||||
F32_REPO = "http://download.fedoraproject.org/pub/fedora/linux/releases/32/Everything/$arch/os"
|
||||
F33_REPO = "http://download.fedoraproject.org/pub/fedora/linux/releases/33/Everything/$arch/os"
|
||||
|
||||
RHEL_REPOS = [
|
||||
"http://download.devel.redhat.com/released/RHEL-8/8.2.0/BaseOS/x86_64/os/",
|
||||
|
|
@ -80,16 +80,16 @@ class TestIntegration(unittest.TestCase):
|
|||
@unittest.skipUnless(is_fedora(), "no cross builds")
|
||||
def test_compose_fedora(self):
|
||||
"""Successful Fedora compose"""
|
||||
# Simple test of a successful compose of F32
|
||||
# Needs the f32-candidate tag be setup properly
|
||||
# Simple test of a successful compose of F33
|
||||
# Needs the f33-candidate tag be setup properly
|
||||
|
||||
res = self.koji("Fedora-Cloud",
|
||||
"32",
|
||||
"fedora-32",
|
||||
"f32-candidate",
|
||||
"33",
|
||||
"fedora-33",
|
||||
"f33-candidate",
|
||||
"x86_64",
|
||||
"--wait",
|
||||
repo=F32_REPO)
|
||||
repo=F33_REPO)
|
||||
self.check_res(res)
|
||||
|
||||
@unittest.skipUnless(is_rhel(), "no cross builds")
|
||||
|
|
@ -104,7 +104,7 @@ class TestIntegration(unittest.TestCase):
|
|||
res = self.koji("RHEL-Cloud",
|
||||
"8",
|
||||
"rhel-8",
|
||||
"f32-candidate",
|
||||
"f33-candidate",
|
||||
"x86_64",
|
||||
"--wait",
|
||||
*repos)
|
||||
|
|
@ -114,8 +114,8 @@ class TestIntegration(unittest.TestCase):
|
|||
"""Unknown Tag check"""
|
||||
# Check building an unknown tag fails
|
||||
res = self.koji("Fedora-Cloud",
|
||||
"32",
|
||||
"fedora-32",
|
||||
"33",
|
||||
"fedora-33",
|
||||
"UNKNOWNTAG",
|
||||
"x86_64")
|
||||
self.check_fail(res)
|
||||
|
|
|
|||
|
|
@ -5,14 +5,14 @@ KOJI_SERVER=${KOJI_SERVER:-http://localhost:8080/kojihub}
|
|||
|
||||
KOJI="koji --server=${KOJI_SERVER} --user=kojiadmin --password=kojipass --authtype=password"
|
||||
|
||||
$KOJI add-tag f32
|
||||
$KOJI add-tag --parent f32 f32-candidate
|
||||
$KOJI add-tag --parent f32 --arches=x86_64 f32-build
|
||||
$KOJI add-target f32-candidate f32-build f32-candidate
|
||||
$KOJI add-tag f33
|
||||
$KOJI add-tag --parent f33 f33-candidate
|
||||
$KOJI add-tag --parent f33 --arches=x86_64 f33-build
|
||||
$KOJI add-target f33-candidate f33-build f33-candidate
|
||||
|
||||
$KOJI add-pkg --owner kojiadmin f32-candidate Fedora-Cloud
|
||||
$KOJI add-pkg --owner kojiadmin f32-candidate RHEL-Cloud
|
||||
$KOJI add-pkg --owner kojiadmin f33-candidate Fedora-Cloud
|
||||
$KOJI add-pkg --owner kojiadmin f33-candidate RHEL-Cloud
|
||||
|
||||
$KOJI add-pkg --owner kojiadmin f32-candidate Fedora-IoT
|
||||
$KOJI add-pkg --owner kojiadmin f33-candidate Fedora-IoT
|
||||
|
||||
$KOJI regen-repo f32-build
|
||||
$KOJI regen-repo f33-build
|
||||
|
|
|
|||
|
|
@ -642,9 +642,9 @@ class TestBuilderPlugin(PluginTest):
|
|||
"plugins/builder/osbuild.py",
|
||||
"compose",
|
||||
"Fedora-Cloud-Image",
|
||||
"32",
|
||||
"33",
|
||||
"20201015.0",
|
||||
"fedora-32",
|
||||
"fedora-33",
|
||||
"http://download.localhost/pub/linux/$arch",
|
||||
"x86_64",
|
||||
"--cert", ", ".join(certs),
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue