Skip to content

Commit

Permalink
Issue #615 - added end-to-end test for PackageVariant readiness gate
Browse files Browse the repository at this point in the history
 - also broke ground on testing PackageVariants in end-to-end tests at all

nephio-project/nephio#615
  • Loading branch information
JamesMcDermott committed Jan 3, 2025
1 parent f06714e commit 926483d
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions test/e2e/suite.go
Original file line number Diff line number Diff line change
Expand Up @@ -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"
Expand Down Expand Up @@ -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")
Expand Down

0 comments on commit 926483d

Please sign in to comment.