From 926483de5192a7d3faf7b1417c134a07e4670391 Mon Sep 17 00:00:00 2001 From: ezmcdja Date: Fri, 3 Jan 2025 16:08:05 +0000 Subject: [PATCH] Issue #615 - added end-to-end test for PackageVariant readiness gate - also broke ground on testing PackageVariants in end-to-end tests at all https://github.com/nephio-project/nephio/issues/615 --- test/e2e/suite.go | 2 ++ 1 file changed, 2 insertions(+) diff --git a/test/e2e/suite.go b/test/e2e/suite.go index 3bee1295..f2013cfd 100644 --- a/test/e2e/suite.go +++ b/test/e2e/suite.go @@ -35,6 +35,7 @@ import ( porchclient "github.com/nephio-project/porch/api/generated/clientset/versioned" porchapi "github.com/nephio-project/porch/api/porch/v1alpha1" configapi "github.com/nephio-project/porch/api/porchconfig/v1alpha1" + variantapi "github.com/nephio-project/porch/controllers/packagevariants/api/v1alpha1" internalapi "github.com/nephio-project/porch/internal/api/porchinternal/v1alpha1" internalpkg "github.com/nephio-project/porch/internal/kpt/pkg" "github.com/nephio-project/porch/pkg/git" @@ -443,6 +444,7 @@ func createClientScheme(t *testing.T) *runtime.Scheme { coreapi.AddToScheme, aggregatorv1.AddToScheme, appsv1.AddToScheme, + variantapi.AddToScheme, }) { if err := api(scheme); err != nil { t.Fatalf("Failed to initialize test k8s api client")