Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

chore(ci): improve logs for test.conformance #4527

Merged
merged 1 commit into from
Aug 17, 2023
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions internal/util/test/crds.go
Original file line number Diff line number Diff line change
Expand Up @@ -27,12 +27,12 @@ func DeployCRDsForCluster(ctx context.Context, cluster clusters.Cluster) error {
return err
}

fmt.Printf("INFO: deploying Kong CRDs to cluster")
fmt.Printf("INFO: deploying Kong CRDs to cluster\n")
if err := clusters.KustomizeDeployForCluster(ctx, cluster, kongCRDsKustomize); err != nil {
return err
}

fmt.Printf("INFO: deploying Gateway CRDs to cluster")
fmt.Printf("INFO: deploying Gateway CRDs to cluster\n")
if err := clusters.KustomizeDeployForCluster(ctx, cluster, consts.GatewayExperimentalCRDsKustomizeURL); err != nil {
return err
}
Expand Down
8 changes: 4 additions & 4 deletions internal/util/test/rbacs.go
Original file line number Diff line number Diff line change
Expand Up @@ -17,21 +17,21 @@ const (
)

func DeployRBACsForCluster(ctx context.Context, cluster clusters.Cluster) error {
fmt.Printf("INFO: deploying Kong RBACs to cluster")
fmt.Printf("INFO: deploying Kong RBACs to cluster\n")
if err := clusters.KustomizeDeployForCluster(ctx, cluster, kongRBACsKustomize, "-n", consts.ControllerNamespace); err != nil {
return err
}

fmt.Printf("INFO: deploying Kong knative RBACs to cluster")
fmt.Printf("INFO: deploying Kong knative RBACs to cluster\n")
if err := clusters.KustomizeDeployForCluster(ctx, cluster, kongKnativeRBACsKustomize, "-n", consts.ControllerNamespace); err != nil {
return err
}

fmt.Printf("INFO: deploying Kong gateway RBACs to cluster")
fmt.Printf("INFO: deploying Kong gateway RBACs to cluster\n")
if err := clusters.KustomizeDeployForCluster(ctx, cluster, kongGatewayRBACsKustomize, "-n", consts.ControllerNamespace); err != nil {
return err
}

fmt.Printf("INFO: deploying Kong CRDs RBACs to cluster")
fmt.Printf("INFO: deploying Kong CRDs RBACs to cluster\n")
return clusters.KustomizeDeployForCluster(ctx, cluster, kongCRDsRBACsKustomize, "-n", consts.ControllerNamespace)
}