Skip to content

Commit

Permalink
chore(ci): improve logs for test.conformance (#4527)
Browse files Browse the repository at this point in the history
  • Loading branch information
programmer04 authored Aug 17, 2023
1 parent 13c8d70 commit e95fde0
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 6 deletions.
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)
}

0 comments on commit e95fde0

Please sign in to comment.