From d479234058c301b744030fd5421a34ecd06f0eac Mon Sep 17 00:00:00 2001 From: Kristoffer Dalby Date: Mon, 14 Nov 2022 09:45:01 +0100 Subject: [PATCH] Split ts versions into 2019/2021 for dedicated tests later Signed-off-by: Kristoffer Dalby --- integration/scenario.go | 24 +++++++++++++++++------- 1 file changed, 17 insertions(+), 7 deletions(-) diff --git a/integration/scenario.go b/integration/scenario.go index 62ad7223..29203309 100644 --- a/integration/scenario.go +++ b/integration/scenario.go @@ -26,25 +26,35 @@ const ( var ( errNoHeadscaleAvailable = errors.New("no headscale available") errNoNamespaceAvailable = errors.New("no namespace available") - TailscaleVersions = []string{ + tailscaleVersions2021 = []string{ "head", "unstable", "1.32.1", "1.30.2", "1.28.0", "1.26.2", + } + + tailscaleVersions2019 = []string{ "1.24.2", "1.22.2", "1.20.4", "1.18.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 {