Split ts versions into 2019/2021 for dedicated tests later

Signed-off-by: Kristoffer Dalby <kristoffer@tailscale.com>
This commit is contained in:
Kristoffer Dalby 2022-11-14 09:45:01 +01:00 committed by Juan Font
parent 3fc5866de0
commit d479234058

View File

@ -26,25 +26,35 @@ const (
var ( var (
errNoHeadscaleAvailable = errors.New("no headscale available") errNoHeadscaleAvailable = errors.New("no headscale available")
errNoNamespaceAvailable = errors.New("no namespace available") errNoNamespaceAvailable = errors.New("no namespace available")
TailscaleVersions = []string{ tailscaleVersions2021 = []string{
"head", "head",
"unstable", "unstable",
"1.32.1", "1.32.1",
"1.30.2", "1.30.2",
"1.28.0", "1.28.0",
"1.26.2", "1.26.2",
}
tailscaleVersions2019 = []string{
"1.24.2", "1.24.2",
"1.22.2", "1.22.2",
"1.20.4", "1.20.4",
"1.18.2", "1.18.2",
"1.16.2", "1.16.2",
// These versions seem to fail when fetching from apt.
// "1.14.6",
// "1.12.4",
// "1.10.2",
// "1.8.7",
} }
// tailscaleVersionsUnavailable = []string{
// // These versions seem to fail when fetching from apt.
// "1.14.6",
// "1.12.4",
// "1.10.2",
// "1.8.7",
// }
TailscaleVersions = append(
tailscaleVersions2021,
tailscaleVersions2019...,
)
) )
type Namespace struct { type Namespace struct {