fedora: f36 went EOL

Removes all references to Fedora 36 since it went EOL.

See: https://docs.fedoraproject.org/en-US/releases/eol/
This commit is contained in:
Simon de Vlieger 2023-05-17 18:37:39 +02:00 committed by Ondřej Budai
parent 53198bed6e
commit 5e6c0642cd
51 changed files with 19 additions and 630044 deletions

View file

@ -498,9 +498,6 @@ func (a *architecture) Distro() distro.Distro {
}
// New creates a new distro object, defining the supported architectures and image types
func NewF36() distro.Distro {
return newDistro(36)
}
func NewF37() distro.Distro {
return newDistro(37)
}

View file

@ -20,10 +20,6 @@ type fedoraFamilyDistro struct {
}
var fedoraFamilyDistros = []fedoraFamilyDistro{
{
name: "fedora",
distro: fedora.NewF36(),
},
{
name: "fedora",
distro: fedora.NewF37(),

View file

@ -16,7 +16,6 @@ import (
// When adding support for a new distribution, add it here.
// Note that this is a constant, do not write to this array.
var supportedDistros = []func() distro.Distro{
fedora.NewF36,
fedora.NewF37,
fedora.NewF38,
fedora.NewF39,

View file

@ -548,7 +548,7 @@ func TestErrorRepoInfo(t *testing.T) {
},
}
solver := NewSolver("f36", "36", "x86_64", "fedora-36", "/tmp/cache")
solver := NewSolver("f38", "38", "x86_64", "fedora-38", "/tmp/cache")
solver.SetDNFJSONPath("../../dnf-json")
for idx, tc := range testCases {
t.Run(fmt.Sprintf("%d", idx), func(t *testing.T) {
@ -578,7 +578,7 @@ func TestRepoConfigHash(t *testing.T) {
},
}
solver := NewSolver("f36", "36", "x86_64", "fedora-36", "/tmp/cache")
solver := NewSolver("f38", "38", "x86_64", "fedora-38", "/tmp/cache")
solver.SetDNFJSONPath("../../dnf-json")
rcs, err := solver.reposFromRPMMD(repos)
@ -591,7 +591,7 @@ func TestRepoConfigHash(t *testing.T) {
}
func TestRequestHash(t *testing.T) {
solver := NewSolver("f36", "36", "x86_64", "fedora-36", "/tmp/cache")
solver := NewSolver("f38", "38", "x86_64", "fedora-38", "/tmp/cache")
repos := []rpmmd.RepoConfig{
rpmmd.RepoConfig{
Name: "A test repository",

View file

@ -17,7 +17,7 @@ import (
func NewTestOS() *OS {
repos := []rpmmd.RepoConfig{}
manifest := New()
runner := &runner.Fedora{Version: 36}
runner := &runner.Fedora{Version: 37}
build := NewBuild(&manifest, runner, repos)
build.Checkpoint()