Skip to content

Commit

Permalink
remove sles
Browse files Browse the repository at this point in the history
  • Loading branch information
leehinman committed Apr 3, 2024
1 parent e6fdd09 commit 1682be0
Show file tree
Hide file tree
Showing 4 changed files with 7 additions and 144 deletions.
13 changes: 0 additions & 13 deletions pkg/testing/ogc/supported.go
Original file line number Diff line number Diff line change
Expand Up @@ -72,19 +72,6 @@ var ogcSupported = []LayoutOS{
Username: "ubuntu",
RemotePath: "/home/ubuntu/agent",
},
{
OS: define.OS{
Type: define.Linux,
Arch: define.AMD64,
Distro: runner.Sles,
Version: "15",
},
Provider: Google,
InstanceSize: "e2-standard-2", // 2 amd64 cpus
RunsOn: "sles-15",
Username: "sles",
RemotePath: "/home/sles/agent",
},
{
OS: define.OS{
Type: define.Linux,
Expand Down
112 changes: 0 additions & 112 deletions pkg/testing/runner/sles.go

This file was deleted.

12 changes: 0 additions & 12 deletions pkg/testing/runner/supported.go
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,6 @@ import (

const (
Rhel = "rhel"
Sles = "sles"
// Ubuntu is a Linux distro.
Ubuntu = "ubuntu"
)
Expand Down Expand Up @@ -82,16 +81,6 @@ var (
},
Runner: RhelRunner{},
}
// SlesAMD64_15 - SUSE Linux Enterprise Server (amd64) 15
SlesAMD64_15 = SupportedOS{
OS: define.OS{
Type: define.Linux,
Arch: define.AMD64,
Distro: Sles,
Version: "15",
},
Runner: SlesRunner{},
}
// WindowsAMD64_2022 - Windows (amd64) Server 2022
WindowsAMD64_2022 = SupportedOS{
OS: define.OS{
Expand Down Expand Up @@ -162,7 +151,6 @@ var supported = []SupportedOS{
UbuntuARM64_2204,
UbuntuARM64_2004,
RhelAMD64_8,
SlesAMD64_15,
WindowsAMD64_2022,
WindowsAMD64_2022_Core,
WindowsAMD64_2019,
Expand Down
14 changes: 7 additions & 7 deletions pkg/testing/runner/supported_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -79,26 +79,26 @@ func TestGetSupported(t *testing.T) {
},
},
{
Name: "sles/not specific",
Name: "rhel/not specific",
OS: define.OS{
Type: define.Linux,
Arch: define.AMD64,
Distro: Sles,
Distro: Rhel,
},
Results: []SupportedOS{
SlesAMD64_15,
RhelAMD64_8,
},
},
{
Name: "sles/specific",
Name: "rhel/specific",
OS: define.OS{
Type: define.Linux,
Arch: define.AMD64,
Distro: Sles,
Version: "15",
Distro: Rhel,
Version: "8",
},
Results: []SupportedOS{
SlesAMD64_15,
RhelAMD64_8,
},
},
}
Expand Down

0 comments on commit 1682be0

Please sign in to comment.