From 240df67827af758517e1f0c7916a5a2fa327a6a6 Mon Sep 17 00:00:00 2001 From: Salah Aldeen Al Saleh Date: Thu, 14 Dec 2023 21:39:40 +0000 Subject: [PATCH] fix imagedeps tests --- cmd/imagedeps/main_test.go | 12 ++++++------ cmd/imagedeps/testdata/dex/.image.env | 2 +- cmd/imagedeps/testdata/dex/constants.go | 2 +- cmd/imagedeps/testdata/minio/.image.env | 2 +- cmd/imagedeps/testdata/minio/constants.go | 2 +- cmd/imagedeps/testdata/rqlite/.image.env | 2 +- cmd/imagedeps/testdata/rqlite/constants.go | 2 +- 7 files changed, 12 insertions(+), 12 deletions(-) diff --git a/cmd/imagedeps/main_test.go b/cmd/imagedeps/main_test.go index 71b9dfaca7..d421083ca7 100644 --- a/cmd/imagedeps/main_test.go +++ b/cmd/imagedeps/main_test.go @@ -14,9 +14,9 @@ import ( var ( minioTags = []string{ - "0.20231101.183725-2", - "0.20231101.183725-1", - "0.20231101.183725-0", + "0.20231101.183725-r2", + "0.20231101.183725-r1", + "0.20231101.183725-r0", "0.20231101.183725", "0.20231100.183724", "0.20231031.183723", @@ -24,8 +24,8 @@ var ( } rqliteTags = []string{ - "7.21.4-1", - "7.21.4-0", + "7.21.4-r1", + "7.21.4-r0", "7.21.4", "7.20.3", "7.19.2", @@ -33,7 +33,7 @@ var ( } dexTags = []string{ - "2.37.0-0", + "2.37.0-r0", "2.37.0", "2.36.0", "2.35.0", diff --git a/cmd/imagedeps/testdata/dex/.image.env b/cmd/imagedeps/testdata/dex/.image.env index e017ba16d3..c99f3e97bd 100644 --- a/cmd/imagedeps/testdata/dex/.image.env +++ b/cmd/imagedeps/testdata/dex/.image.env @@ -1,4 +1,4 @@ # Generated file, do not modify. This file is generated from a text file containing a list of images. The # most recent tag is interpolated from the source repository and used to generate a fully qualified image # name. -DEX_TAG='2.37.0-0' \ No newline at end of file +DEX_TAG='2.37.0-r0' \ No newline at end of file diff --git a/cmd/imagedeps/testdata/dex/constants.go b/cmd/imagedeps/testdata/dex/constants.go index 66da32d43e..f16ed4c267 100644 --- a/cmd/imagedeps/testdata/dex/constants.go +++ b/cmd/imagedeps/testdata/dex/constants.go @@ -5,5 +5,5 @@ package image // image name. const ( - Dex = "kotsadm/dex:2.37.0-0" + Dex = "kotsadm/dex:2.37.0-r0" ) diff --git a/cmd/imagedeps/testdata/minio/.image.env b/cmd/imagedeps/testdata/minio/.image.env index 42885dee48..4b59761c5b 100644 --- a/cmd/imagedeps/testdata/minio/.image.env +++ b/cmd/imagedeps/testdata/minio/.image.env @@ -1,4 +1,4 @@ # Generated file, do not modify. This file is generated from a text file containing a list of images. The # most recent tag is interpolated from the source repository and used to generate a fully qualified image # name. -MINIO_TAG='0.20231101.183725-2' \ No newline at end of file +MINIO_TAG='0.20231101.183725-r2' \ No newline at end of file diff --git a/cmd/imagedeps/testdata/minio/constants.go b/cmd/imagedeps/testdata/minio/constants.go index 0253a92aad..cf1f1fadf7 100644 --- a/cmd/imagedeps/testdata/minio/constants.go +++ b/cmd/imagedeps/testdata/minio/constants.go @@ -5,5 +5,5 @@ package image // image name. const ( - Minio = "kotsadm/minio:0.20231101.183725-2" + Minio = "kotsadm/minio:0.20231101.183725-r2" ) diff --git a/cmd/imagedeps/testdata/rqlite/.image.env b/cmd/imagedeps/testdata/rqlite/.image.env index 33ee59c27c..87938276c8 100644 --- a/cmd/imagedeps/testdata/rqlite/.image.env +++ b/cmd/imagedeps/testdata/rqlite/.image.env @@ -1,4 +1,4 @@ # Generated file, do not modify. This file is generated from a text file containing a list of images. The # most recent tag is interpolated from the source repository and used to generate a fully qualified image # name. -RQLITE_TAG='7.21.4-1' \ No newline at end of file +RQLITE_TAG='7.21.4-r1' \ No newline at end of file diff --git a/cmd/imagedeps/testdata/rqlite/constants.go b/cmd/imagedeps/testdata/rqlite/constants.go index 390384a462..f5ad3beb49 100644 --- a/cmd/imagedeps/testdata/rqlite/constants.go +++ b/cmd/imagedeps/testdata/rqlite/constants.go @@ -5,5 +5,5 @@ package image // image name. const ( - Rqlite = "kotsadm/rqlite:7.21.4-1" + Rqlite = "kotsadm/rqlite:7.21.4-r1" )