From 9fb62a1498c5ce629bbe1079a921bfcecfda787c Mon Sep 17 00:00:00 2001 From: Feny Mehta Date: Fri, 5 Jul 2024 15:26:09 +0530 Subject: [PATCH 1/5] KUBESAW-100: Refactoring toolchaincluster controller Signed-off-by: Feny Mehta --- go.mod | 4 +++- go.sum | 8 ++++---- test/e2e/toolchaincluster_test.go | 6 +++--- testsupport/wait/awaitility.go | 9 +++++++++ 4 files changed, 19 insertions(+), 8 deletions(-) diff --git a/go.mod b/go.mod index 85d847d7a..20f8cecc2 100644 --- a/go.mod +++ b/go.mod @@ -1,7 +1,9 @@ module github.com/codeready-toolchain/toolchain-e2e +replace github.com/codeready-toolchain/toolchain-common => github.com/fbm3307/toolchain-common v0.0.0-20240704115306-a61b21af97e5 + require ( - github.com/codeready-toolchain/api v0.0.0-20240530120602-c11598ccffb7 + github.com/codeready-toolchain/api v0.0.0-20240620205422-a29b6c658d03 github.com/codeready-toolchain/toolchain-common v0.0.0-20240530121312-98aad712838f github.com/davecgh/go-spew v1.1.1 github.com/fatih/color v1.12.0 diff --git a/go.sum b/go.sum index 0f60b233f..48cb7f003 100644 --- a/go.sum +++ b/go.sum @@ -123,10 +123,8 @@ github.com/cockroachdb/datadriven v0.0.0-20190809214429-80d97fb3cbaa/go.mod h1:z github.com/cockroachdb/datadriven v0.0.0-20200714090401-bf6692d28da5/go.mod h1:h6jFvWxBdQXxjopDMZyH2UVceIRfR84bdzbkoKrsWNo= github.com/cockroachdb/errors v1.2.4/go.mod h1:rQD95gz6FARkaKkQXUksEje/d9a6wBJoCr5oaCLELYA= github.com/cockroachdb/logtags v0.0.0-20190617123548-eb05cc24525f/go.mod h1:i/u985jwjWRlyHXQbwatDASoW0RMlZ/3i9yJHE2xLkI= -github.com/codeready-toolchain/api v0.0.0-20240530120602-c11598ccffb7 h1:o5JLcHCVS1BlZevw2mh1mH+iKwn9fLUrT1Ek8NFjvPY= -github.com/codeready-toolchain/api v0.0.0-20240530120602-c11598ccffb7/go.mod h1:ie9p4LenCCS0LsnbWp6/xwpFDdCWYE0KWzUO6Sk1g0E= -github.com/codeready-toolchain/toolchain-common v0.0.0-20240530121312-98aad712838f h1:2qfRfyh7wfEnnfxrUtQeQrvhzWlkBCN0B/UXv1YUMiA= -github.com/codeready-toolchain/toolchain-common v0.0.0-20240530121312-98aad712838f/go.mod h1:cyHrUfvBYEtsf+FbqQYmR9y0AQi9QAVtM3SUWLA5bd4= +github.com/codeready-toolchain/api v0.0.0-20240620205422-a29b6c658d03 h1:uqApdceOkNQI1wy2gwA6pEUzhLlqqbbc+ChTvEshIW0= +github.com/codeready-toolchain/api v0.0.0-20240620205422-a29b6c658d03/go.mod h1:ie9p4LenCCS0LsnbWp6/xwpFDdCWYE0KWzUO6Sk1g0E= github.com/coreos/bbolt v1.3.2/go.mod h1:iRUV2dpdMOn7Bo10OQBFzIJO9kkE559Wcmn+qkEiiKk= github.com/coreos/etcd v3.3.10+incompatible/go.mod h1:uF7uidLiAD3TWHmW31ZFd/JWoc32PjwdhPthX9715RE= github.com/coreos/etcd v3.3.13+incompatible/go.mod h1:uF7uidLiAD3TWHmW31ZFd/JWoc32PjwdhPthX9715RE= @@ -183,6 +181,8 @@ github.com/fatih/color v1.9.0/go.mod h1:eQcE1qtQxscV5RaZvpXrrb8Drkc3/DdQ+uUYCNjL github.com/fatih/color v1.12.0 h1:mRhaKNwANqRgUBGKmnI5ZxEk7QXmjQeCcuYFMX2bfcc= github.com/fatih/color v1.12.0/go.mod h1:ELkj/draVOlAH/xkhN6mQ50Qd0MPOk5AAr3maGEBuJM= github.com/fatih/set v0.2.1/go.mod h1:+RKtMCH+favT2+3YecHGxcc0b4KyVWA1QWWJUs4E0CI= +github.com/fbm3307/toolchain-common v0.0.0-20240704115306-a61b21af97e5 h1:erbjKqdms+lLCsLhDT0i5au3I7QAaTFfdL5PPNgAzlA= +github.com/fbm3307/toolchain-common v0.0.0-20240704115306-a61b21af97e5/go.mod h1:ZwfGkrTArynbvIPOJwQQCwFVW7Dj0XOgi5XzkNG1ov8= github.com/felixge/httpsnoop v1.0.1/go.mod h1:m8KPJKqk1gH5J9DgRY2ASl2lWCfGKXixSwevea8zH2U= github.com/form3tech-oss/jwt-go v3.2.2+incompatible/go.mod h1:pbq4aXjuKjdthFRnoDwaVPLA+WlJuPGy+QneDUgJi2k= github.com/form3tech-oss/jwt-go v3.2.3+incompatible/go.mod h1:pbq4aXjuKjdthFRnoDwaVPLA+WlJuPGy+QneDUgJi2k= diff --git a/test/e2e/toolchaincluster_test.go b/test/e2e/toolchaincluster_test.go index 6b77905a4..0055dbe87 100644 --- a/test/e2e/toolchaincluster_test.go +++ b/test/e2e/toolchaincluster_test.go @@ -103,7 +103,7 @@ func verifyToolchainCluster(t *testing.T, await *wait.Awaitility, otherAwait *wa require.NoError(t, err) }) - t.Run(fmt.Sprintf("create new ToolchainCluster based on '%s' with incorrect data and expect to be offline", current.Name), func(t *testing.T) { + t.Run(fmt.Sprintf("create new ToolchainCluster based on '%s' with incorrect data and expect to be Not Ready", current.Name), func(t *testing.T) { // given name := generateNewName("new-offline-", current.Name) secretCopy := &corev1.Secret{} @@ -126,11 +126,11 @@ func verifyToolchainCluster(t *testing.T, await *wait.Awaitility, otherAwait *wa // wait for toolchaincontroller to reconcile time.Sleep(1 * time.Second) - // then the ToolchainCluster should be offline + // then the ToolchainCluster should be Not Ready require.NoError(t, err) _, err = await.WaitForToolchainCluster(t, wait.UntilToolchainClusterHasName(toolchainCluster.Name), - wait.UntilToolchainClusterHasCondition(toolchainv1alpha1.ToolchainClusterOffline), + wait.UntilToolchainClusterHasConditionAndFlaseStatus(toolchainv1alpha1.ConditionReady), ) require.NoError(t, err) // other ToolchainCluster should be ready, too diff --git a/testsupport/wait/awaitility.go b/testsupport/wait/awaitility.go index e209bbfb3..6b4e76657 100644 --- a/testsupport/wait/awaitility.go +++ b/testsupport/wait/awaitility.go @@ -539,6 +539,15 @@ func UntilToolchainClusterHasCondition(expected toolchainv1alpha1.ConditionType) } } +// UntilToolchainClusterHasCondition checks if ToolchainCluster has the given condition and False Status +func UntilToolchainClusterHasConditionAndFlaseStatus(expected toolchainv1alpha1.ConditionType) ToolchainClusterWaitCriterion { + return ToolchainClusterWaitCriterion{ + Match: func(actual *toolchainv1alpha1.ToolchainCluster) bool { + return cd.IsFalse(actual.Status.Conditions, expected) + }, + } +} + // UntilToolchainClusterHasLabels checks if ToolchainCluster has the given labels func UntilToolchainClusterHasLabels(expected client.MatchingLabels) ToolchainClusterWaitCriterion { return ToolchainClusterWaitCriterion{ From ab61500a2e563dd704c6b1cb4179b50439d228ba Mon Sep 17 00:00:00 2001 From: Feny Mehta Date: Tue, 9 Jul 2024 15:48:24 +0530 Subject: [PATCH 2/5] updateaftercleanup Signed-off-by: Feny Mehta --- go.mod | 2 +- go.sum | 4 ++-- test/e2e/toolchaincluster_test.go | 26 ++++++++++++++++++-------- testsupport/wait/awaitility.go | 2 +- 4 files changed, 22 insertions(+), 12 deletions(-) diff --git a/go.mod b/go.mod index 20f8cecc2..f9d72c310 100644 --- a/go.mod +++ b/go.mod @@ -1,6 +1,6 @@ module github.com/codeready-toolchain/toolchain-e2e -replace github.com/codeready-toolchain/toolchain-common => github.com/fbm3307/toolchain-common v0.0.0-20240704115306-a61b21af97e5 +replace github.com/codeready-toolchain/toolchain-common => github.com/fbm3307/toolchain-common v0.0.0-20240708105947-4161cd43570e require ( github.com/codeready-toolchain/api v0.0.0-20240620205422-a29b6c658d03 diff --git a/go.sum b/go.sum index 48cb7f003..fe96cef94 100644 --- a/go.sum +++ b/go.sum @@ -181,8 +181,8 @@ github.com/fatih/color v1.9.0/go.mod h1:eQcE1qtQxscV5RaZvpXrrb8Drkc3/DdQ+uUYCNjL github.com/fatih/color v1.12.0 h1:mRhaKNwANqRgUBGKmnI5ZxEk7QXmjQeCcuYFMX2bfcc= github.com/fatih/color v1.12.0/go.mod h1:ELkj/draVOlAH/xkhN6mQ50Qd0MPOk5AAr3maGEBuJM= github.com/fatih/set v0.2.1/go.mod h1:+RKtMCH+favT2+3YecHGxcc0b4KyVWA1QWWJUs4E0CI= -github.com/fbm3307/toolchain-common v0.0.0-20240704115306-a61b21af97e5 h1:erbjKqdms+lLCsLhDT0i5au3I7QAaTFfdL5PPNgAzlA= -github.com/fbm3307/toolchain-common v0.0.0-20240704115306-a61b21af97e5/go.mod h1:ZwfGkrTArynbvIPOJwQQCwFVW7Dj0XOgi5XzkNG1ov8= +github.com/fbm3307/toolchain-common v0.0.0-20240708105947-4161cd43570e h1:5BJ+FUsL41yN61YV1EERBzKY2UrX+EedIw8gmJb3W2E= +github.com/fbm3307/toolchain-common v0.0.0-20240708105947-4161cd43570e/go.mod h1:ZwfGkrTArynbvIPOJwQQCwFVW7Dj0XOgi5XzkNG1ov8= github.com/felixge/httpsnoop v1.0.1/go.mod h1:m8KPJKqk1gH5J9DgRY2ASl2lWCfGKXixSwevea8zH2U= github.com/form3tech-oss/jwt-go v3.2.2+incompatible/go.mod h1:pbq4aXjuKjdthFRnoDwaVPLA+WlJuPGy+QneDUgJi2k= github.com/form3tech-oss/jwt-go v3.2.3+incompatible/go.mod h1:pbq4aXjuKjdthFRnoDwaVPLA+WlJuPGy+QneDUgJi2k= diff --git a/test/e2e/toolchaincluster_test.go b/test/e2e/toolchaincluster_test.go index 0055dbe87..78a53c194 100644 --- a/test/e2e/toolchaincluster_test.go +++ b/test/e2e/toolchaincluster_test.go @@ -24,13 +24,13 @@ func TestToolchainClusterE2E(t *testing.T) { memberAwait := awaitilities.Member1() memberAwait.WaitForToolchainClusterResources(t) - verifyToolchainCluster(t, hostAwait.Awaitility, memberAwait.Awaitility) - verifyToolchainCluster(t, memberAwait.Awaitility, hostAwait.Awaitility) + verifyToolchainCluster(t, hostAwait.Awaitility, memberAwait.Awaitility, true) + verifyToolchainCluster(t, memberAwait.Awaitility, hostAwait.Awaitility, false) } // verifyToolchainCluster verifies existence and correct conditions of ToolchainCluster CRD // in the target cluster type operator -func verifyToolchainCluster(t *testing.T, await *wait.Awaitility, otherAwait *wait.Awaitility) { +func verifyToolchainCluster(t *testing.T, await *wait.Awaitility, otherAwait *wait.Awaitility, hostoperator bool) { // given current, ok, err := await.GetToolchainCluster(t, otherAwait.Namespace, toolchainv1alpha1.ConditionReady) require.NoError(t, err) @@ -128,11 +128,20 @@ func verifyToolchainCluster(t *testing.T, await *wait.Awaitility, otherAwait *wa // then the ToolchainCluster should be Not Ready require.NoError(t, err) - _, err = await.WaitForToolchainCluster(t, - wait.UntilToolchainClusterHasName(toolchainCluster.Name), - wait.UntilToolchainClusterHasConditionAndFlaseStatus(toolchainv1alpha1.ConditionReady), - ) - require.NoError(t, err) + if hostoperator { + _, err = await.WaitForToolchainCluster(t, + wait.UntilToolchainClusterHasName(toolchainCluster.Name), + wait.UntilToolchainClusterHasConditionAndFalseStatus(toolchainv1alpha1.ConditionReady), + ) + require.NoError(t, err) + } else { + // then the ToolchainCluster should be offline + _, err = await.WaitForToolchainCluster(t, + wait.UntilToolchainClusterHasName(toolchainCluster.Name), + wait.UntilToolchainClusterHasCondition(toolchainv1alpha1.ToolchainClusterOffline), + ) + require.NoError(t, err) + } // other ToolchainCluster should be ready, too _, err = await.WaitForToolchainCluster(t, wait.UntilToolchainClusterHasLabels( @@ -148,6 +157,7 @@ func verifyToolchainCluster(t *testing.T, await *wait.Awaitility, otherAwait *wa }), wait.UntilToolchainClusterHasCondition(toolchainv1alpha1.ConditionReady), ) require.NoError(t, err) + }) } diff --git a/testsupport/wait/awaitility.go b/testsupport/wait/awaitility.go index 6b4e76657..1a5934b9d 100644 --- a/testsupport/wait/awaitility.go +++ b/testsupport/wait/awaitility.go @@ -540,7 +540,7 @@ func UntilToolchainClusterHasCondition(expected toolchainv1alpha1.ConditionType) } // UntilToolchainClusterHasCondition checks if ToolchainCluster has the given condition and False Status -func UntilToolchainClusterHasConditionAndFlaseStatus(expected toolchainv1alpha1.ConditionType) ToolchainClusterWaitCriterion { +func UntilToolchainClusterHasConditionAndFalseStatus(expected toolchainv1alpha1.ConditionType) ToolchainClusterWaitCriterion { return ToolchainClusterWaitCriterion{ Match: func(actual *toolchainv1alpha1.ToolchainCluster) bool { return cd.IsFalse(actual.Status.Conditions, expected) From 0d23ff3795fde57bd7310e9e83bacc14869e93be Mon Sep 17 00:00:00 2001 From: Feny Mehta Date: Thu, 11 Jul 2024 21:47:51 +0530 Subject: [PATCH 3/5] 1 Signed-off-by: Feny Mehta --- go.mod | 4 ++-- go.sum | 8 ++++---- 2 files changed, 6 insertions(+), 6 deletions(-) diff --git a/go.mod b/go.mod index f9d72c310..9e27d71fb 100644 --- a/go.mod +++ b/go.mod @@ -1,9 +1,9 @@ module github.com/codeready-toolchain/toolchain-e2e -replace github.com/codeready-toolchain/toolchain-common => github.com/fbm3307/toolchain-common v0.0.0-20240708105947-4161cd43570e +replace github.com/codeready-toolchain/toolchain-common => github.com/fbm3307/toolchain-common v0.0.0-20240711160323-7b00b3208eb1 require ( - github.com/codeready-toolchain/api v0.0.0-20240620205422-a29b6c658d03 + github.com/codeready-toolchain/api v0.0.0-20240708122235-0af5a9a178bb github.com/codeready-toolchain/toolchain-common v0.0.0-20240530121312-98aad712838f github.com/davecgh/go-spew v1.1.1 github.com/fatih/color v1.12.0 diff --git a/go.sum b/go.sum index fe96cef94..c26b21b47 100644 --- a/go.sum +++ b/go.sum @@ -123,8 +123,8 @@ github.com/cockroachdb/datadriven v0.0.0-20190809214429-80d97fb3cbaa/go.mod h1:z github.com/cockroachdb/datadriven v0.0.0-20200714090401-bf6692d28da5/go.mod h1:h6jFvWxBdQXxjopDMZyH2UVceIRfR84bdzbkoKrsWNo= github.com/cockroachdb/errors v1.2.4/go.mod h1:rQD95gz6FARkaKkQXUksEje/d9a6wBJoCr5oaCLELYA= github.com/cockroachdb/logtags v0.0.0-20190617123548-eb05cc24525f/go.mod h1:i/u985jwjWRlyHXQbwatDASoW0RMlZ/3i9yJHE2xLkI= -github.com/codeready-toolchain/api v0.0.0-20240620205422-a29b6c658d03 h1:uqApdceOkNQI1wy2gwA6pEUzhLlqqbbc+ChTvEshIW0= -github.com/codeready-toolchain/api v0.0.0-20240620205422-a29b6c658d03/go.mod h1:ie9p4LenCCS0LsnbWp6/xwpFDdCWYE0KWzUO6Sk1g0E= +github.com/codeready-toolchain/api v0.0.0-20240708122235-0af5a9a178bb h1:Wc9CMsv0ODZv9dM5qF3OI0mFDO95YNIXV/8oRvoz8aE= +github.com/codeready-toolchain/api v0.0.0-20240708122235-0af5a9a178bb/go.mod h1:ie9p4LenCCS0LsnbWp6/xwpFDdCWYE0KWzUO6Sk1g0E= github.com/coreos/bbolt v1.3.2/go.mod h1:iRUV2dpdMOn7Bo10OQBFzIJO9kkE559Wcmn+qkEiiKk= github.com/coreos/etcd v3.3.10+incompatible/go.mod h1:uF7uidLiAD3TWHmW31ZFd/JWoc32PjwdhPthX9715RE= github.com/coreos/etcd v3.3.13+incompatible/go.mod h1:uF7uidLiAD3TWHmW31ZFd/JWoc32PjwdhPthX9715RE= @@ -181,8 +181,8 @@ github.com/fatih/color v1.9.0/go.mod h1:eQcE1qtQxscV5RaZvpXrrb8Drkc3/DdQ+uUYCNjL github.com/fatih/color v1.12.0 h1:mRhaKNwANqRgUBGKmnI5ZxEk7QXmjQeCcuYFMX2bfcc= github.com/fatih/color v1.12.0/go.mod h1:ELkj/draVOlAH/xkhN6mQ50Qd0MPOk5AAr3maGEBuJM= github.com/fatih/set v0.2.1/go.mod h1:+RKtMCH+favT2+3YecHGxcc0b4KyVWA1QWWJUs4E0CI= -github.com/fbm3307/toolchain-common v0.0.0-20240708105947-4161cd43570e h1:5BJ+FUsL41yN61YV1EERBzKY2UrX+EedIw8gmJb3W2E= -github.com/fbm3307/toolchain-common v0.0.0-20240708105947-4161cd43570e/go.mod h1:ZwfGkrTArynbvIPOJwQQCwFVW7Dj0XOgi5XzkNG1ov8= +github.com/fbm3307/toolchain-common v0.0.0-20240711160323-7b00b3208eb1 h1:ZGBbL3NTI9dNANXy+mk2y8sBHJ2LTBVNAif1pIaOx3A= +github.com/fbm3307/toolchain-common v0.0.0-20240711160323-7b00b3208eb1/go.mod h1:8M9k7w2VSyRKSK6P08Jo2ddW3uyGgxCcSitnYa3HK9o= github.com/felixge/httpsnoop v1.0.1/go.mod h1:m8KPJKqk1gH5J9DgRY2ASl2lWCfGKXixSwevea8zH2U= github.com/form3tech-oss/jwt-go v3.2.2+incompatible/go.mod h1:pbq4aXjuKjdthFRnoDwaVPLA+WlJuPGy+QneDUgJi2k= github.com/form3tech-oss/jwt-go v3.2.3+incompatible/go.mod h1:pbq4aXjuKjdthFRnoDwaVPLA+WlJuPGy+QneDUgJi2k= From 7af0bc7861f76b1ecefc23af4bf20a9cf6319d25 Mon Sep 17 00:00:00 2001 From: Feny Mehta Date: Fri, 12 Jul 2024 12:52:55 +0530 Subject: [PATCH 4/5] adding reason check Signed-off-by: Feny Mehta --- test/e2e/toolchaincluster_test.go | 6 +++--- testsupport/wait/awaitility.go | 4 ++-- 2 files changed, 5 insertions(+), 5 deletions(-) diff --git a/test/e2e/toolchaincluster_test.go b/test/e2e/toolchaincluster_test.go index 78a53c194..907f91410 100644 --- a/test/e2e/toolchaincluster_test.go +++ b/test/e2e/toolchaincluster_test.go @@ -30,7 +30,7 @@ func TestToolchainClusterE2E(t *testing.T) { // verifyToolchainCluster verifies existence and correct conditions of ToolchainCluster CRD // in the target cluster type operator -func verifyToolchainCluster(t *testing.T, await *wait.Awaitility, otherAwait *wait.Awaitility, hostoperator bool) { +func verifyToolchainCluster(t *testing.T, await *wait.Awaitility, otherAwait *wait.Awaitility, singleCondition bool) { // given current, ok, err := await.GetToolchainCluster(t, otherAwait.Namespace, toolchainv1alpha1.ConditionReady) require.NoError(t, err) @@ -128,10 +128,10 @@ func verifyToolchainCluster(t *testing.T, await *wait.Awaitility, otherAwait *wa // then the ToolchainCluster should be Not Ready require.NoError(t, err) - if hostoperator { + if singleCondition { _, err = await.WaitForToolchainCluster(t, wait.UntilToolchainClusterHasName(toolchainCluster.Name), - wait.UntilToolchainClusterHasConditionAndFalseStatus(toolchainv1alpha1.ConditionReady), + wait.UntilToolchainClusterHasConditionFalseStatusAndReason(toolchainv1alpha1.ConditionReady, toolchainv1alpha1.ToolchainClusterClusterNotReachableReason), ) require.NoError(t, err) } else { diff --git a/testsupport/wait/awaitility.go b/testsupport/wait/awaitility.go index 1a5934b9d..2c3d80b9a 100644 --- a/testsupport/wait/awaitility.go +++ b/testsupport/wait/awaitility.go @@ -540,10 +540,10 @@ func UntilToolchainClusterHasCondition(expected toolchainv1alpha1.ConditionType) } // UntilToolchainClusterHasCondition checks if ToolchainCluster has the given condition and False Status -func UntilToolchainClusterHasConditionAndFalseStatus(expected toolchainv1alpha1.ConditionType) ToolchainClusterWaitCriterion { +func UntilToolchainClusterHasConditionFalseStatusAndReason(expected toolchainv1alpha1.ConditionType, reason string) ToolchainClusterWaitCriterion { return ToolchainClusterWaitCriterion{ Match: func(actual *toolchainv1alpha1.ToolchainCluster) bool { - return cd.IsFalse(actual.Status.Conditions, expected) + return cd.IsFalseWithReason(actual.Status.Conditions, expected, reason) }, } } From e2daff2e7850a9b31f824b80efcc4a6bad4439f5 Mon Sep 17 00:00:00 2001 From: Feny Mehta Date: Tue, 16 Jul 2024 12:29:30 +0530 Subject: [PATCH 5/5] removing replace Signed-off-by: Feny Mehta --- go.mod | 4 +--- go.sum | 4 ++-- 2 files changed, 3 insertions(+), 5 deletions(-) diff --git a/go.mod b/go.mod index 9e27d71fb..e14ef938c 100644 --- a/go.mod +++ b/go.mod @@ -1,10 +1,8 @@ module github.com/codeready-toolchain/toolchain-e2e -replace github.com/codeready-toolchain/toolchain-common => github.com/fbm3307/toolchain-common v0.0.0-20240711160323-7b00b3208eb1 - require ( github.com/codeready-toolchain/api v0.0.0-20240708122235-0af5a9a178bb - github.com/codeready-toolchain/toolchain-common v0.0.0-20240530121312-98aad712838f + github.com/codeready-toolchain/toolchain-common v0.0.0-20240716065433-8604fe46b96a github.com/davecgh/go-spew v1.1.1 github.com/fatih/color v1.12.0 github.com/ghodss/yaml v1.0.0 diff --git a/go.sum b/go.sum index c26b21b47..309b78791 100644 --- a/go.sum +++ b/go.sum @@ -125,6 +125,8 @@ github.com/cockroachdb/errors v1.2.4/go.mod h1:rQD95gz6FARkaKkQXUksEje/d9a6wBJoC github.com/cockroachdb/logtags v0.0.0-20190617123548-eb05cc24525f/go.mod h1:i/u985jwjWRlyHXQbwatDASoW0RMlZ/3i9yJHE2xLkI= github.com/codeready-toolchain/api v0.0.0-20240708122235-0af5a9a178bb h1:Wc9CMsv0ODZv9dM5qF3OI0mFDO95YNIXV/8oRvoz8aE= github.com/codeready-toolchain/api v0.0.0-20240708122235-0af5a9a178bb/go.mod h1:ie9p4LenCCS0LsnbWp6/xwpFDdCWYE0KWzUO6Sk1g0E= +github.com/codeready-toolchain/toolchain-common v0.0.0-20240716065433-8604fe46b96a h1:HcaJtZCLfYkWZCxIa3iTvq3zgn711JGqPLkunBTfGSc= +github.com/codeready-toolchain/toolchain-common v0.0.0-20240716065433-8604fe46b96a/go.mod h1:8M9k7w2VSyRKSK6P08Jo2ddW3uyGgxCcSitnYa3HK9o= github.com/coreos/bbolt v1.3.2/go.mod h1:iRUV2dpdMOn7Bo10OQBFzIJO9kkE559Wcmn+qkEiiKk= github.com/coreos/etcd v3.3.10+incompatible/go.mod h1:uF7uidLiAD3TWHmW31ZFd/JWoc32PjwdhPthX9715RE= github.com/coreos/etcd v3.3.13+incompatible/go.mod h1:uF7uidLiAD3TWHmW31ZFd/JWoc32PjwdhPthX9715RE= @@ -181,8 +183,6 @@ github.com/fatih/color v1.9.0/go.mod h1:eQcE1qtQxscV5RaZvpXrrb8Drkc3/DdQ+uUYCNjL github.com/fatih/color v1.12.0 h1:mRhaKNwANqRgUBGKmnI5ZxEk7QXmjQeCcuYFMX2bfcc= github.com/fatih/color v1.12.0/go.mod h1:ELkj/draVOlAH/xkhN6mQ50Qd0MPOk5AAr3maGEBuJM= github.com/fatih/set v0.2.1/go.mod h1:+RKtMCH+favT2+3YecHGxcc0b4KyVWA1QWWJUs4E0CI= -github.com/fbm3307/toolchain-common v0.0.0-20240711160323-7b00b3208eb1 h1:ZGBbL3NTI9dNANXy+mk2y8sBHJ2LTBVNAif1pIaOx3A= -github.com/fbm3307/toolchain-common v0.0.0-20240711160323-7b00b3208eb1/go.mod h1:8M9k7w2VSyRKSK6P08Jo2ddW3uyGgxCcSitnYa3HK9o= github.com/felixge/httpsnoop v1.0.1/go.mod h1:m8KPJKqk1gH5J9DgRY2ASl2lWCfGKXixSwevea8zH2U= github.com/form3tech-oss/jwt-go v3.2.2+incompatible/go.mod h1:pbq4aXjuKjdthFRnoDwaVPLA+WlJuPGy+QneDUgJi2k= github.com/form3tech-oss/jwt-go v3.2.3+incompatible/go.mod h1:pbq4aXjuKjdthFRnoDwaVPLA+WlJuPGy+QneDUgJi2k=