Skip to content

Conversation

@knanao
Copy link
Member

@knanao knanao commented Mar 15, 2022

What this PR does / why we need it:
Define RBAC resource model to make it easier to manage a large number of applications

Which issue(s) this PR fixes:

Fixes #

Does this PR introduce a user-facing change?:

NONE

@pipecd-bot
Copy link
Collaborator

GO_LINTER

The following files are not gofmt-ed. By commenting /golinter fmt, the formatted one will be appended to this pull request automatically.

pkg/model/project.pb.go
--- pkg/model/project.pb.go.orig
+++ pkg/model/project.pb.go
@@ -21,11 +21,12 @@
 package model
 
 import (
+	reflect "reflect"
+	sync "sync"
+
 	_ "github.com/envoyproxy/protoc-gen-validate/validate"
 	protoreflect "google.golang.org/protobuf/reflect/protoreflect"
 	protoimpl "google.golang.org/protobuf/runtime/protoimpl"
-	reflect "reflect"
-	sync "sync"
 )
 
 const (

@pipecd-bot
Copy link
Collaborator

GO_LINTER

The following files are not gofmt-ed. By commenting /golinter fmt, the formatted one will be appended to this pull request automatically.

pkg/model/project.pb.go
--- pkg/model/project.pb.go.orig
+++ pkg/model/project.pb.go
@@ -21,11 +21,12 @@
 package model
 
 import (
+	reflect "reflect"
+	sync "sync"
+
 	_ "github.com/envoyproxy/protoc-gen-validate/validate"
 	protoreflect "google.golang.org/protobuf/reflect/protoreflect"
 	protoimpl "google.golang.org/protobuf/runtime/protoimpl"
-	reflect "reflect"
-	sync "sync"
 )
 
 const (

@pipecd-bot
Copy link
Collaborator

COVERAGE

Code coverage for golang is 35.33%. This pull request increases coverage by 2.67%.

File Function Base Head Diff
pkg/datastore/datastore.go Operator.IsNumericOperator -- 100.00% +100.00%
pkg/datastore/filedb/filter.go compare -- 77.50% +77.50%
pkg/datastore/filedb/filter.go makeSliceOfInterfaces -- 100.00% +100.00%
pkg/datastore/filedb/filter.go convertCamelToSnake -- 100.00% +100.00%
pkg/datastore/filedb/filter.go filter 0.00% 70.83% +70.83%
pkg/app/piped/executor/analysis/analysis.go Register 66.67% 0.00% -66.67%
pkg/app/piped/executor/cloudrun/cloudrun.go Register 66.67% 0.00% -66.67%
pkg/app/piped/executor/kubernetes/kubernetes.go Register 81.82% 0.00% -81.82%
pkg/app/piped/executor/lambda/lambda.go Register 71.43% 0.00% -71.43%
pkg/app/piped/executor/waitapproval/waitapproval.go Register 66.67% 0.00% -66.67%
pkg/app/piped/apistore/analysisresultstore/store.go NewStore 0.00% -- +-0.00%
pkg/app/piped/apistore/analysisresultstore/store.go store.GetLatestAnalysisResult 0.00% -- +-0.00%
pkg/app/piped/apistore/analysisresultstore/store.go store.PutLatestAnalysisResult 0.00% -- +-0.00%
pkg/app/piped/apistore/applicationstore/store.go NewStore 0.00% -- +-0.00%
pkg/app/piped/apistore/applicationstore/store.go store.Run 0.00% -- +-0.00%
pkg/app/piped/apistore/applicationstore/store.go store.Lister 0.00% -- +-0.00%
pkg/app/piped/apistore/applicationstore/store.go store.sync 0.00% -- +-0.00%
pkg/app/piped/apistore/applicationstore/store.go store.List 0.00% -- +-0.00%
pkg/app/piped/apistore/applicationstore/store.go store.ListByCloudProvider 0.00% -- +-0.00%
pkg/app/piped/apistore/applicationstore/store.go store.Get 0.00% -- +-0.00%
pkg/app/piped/apistore/commandstore/store.go NewStore 0.00% -- +-0.00%
pkg/app/piped/apistore/commandstore/store.go store.Run 0.00% -- +-0.00%
pkg/app/piped/apistore/commandstore/store.go store.Lister 0.00% -- +-0.00%
pkg/app/piped/apistore/commandstore/store.go store.sync 0.00% -- +-0.00%
pkg/app/piped/apistore/commandstore/store.go store.cleanHandledCommands 0.00% -- +-0.00%
pkg/app/piped/apistore/commandstore/store.go store.ListApplicationCommands 0.00% -- +-0.00%
pkg/app/piped/apistore/commandstore/store.go store.ListDeploymentCommands 0.00% -- +-0.00%
pkg/app/piped/apistore/commandstore/store.go store.ListStageCommands 0.00% -- +-0.00%
pkg/app/piped/apistore/commandstore/store.go store.ListBuildPlanPreviewCommands 0.00% -- +-0.00%
pkg/app/piped/apistore/commandstore/store.go store.makeReportableCommand 0.00% -- +-0.00%
pkg/app/piped/apistore/commandstore/store.go store.reportCommandHandled 0.00% -- +-0.00%
pkg/app/piped/apistore/deploymentstore/store.go NewStore 0.00% -- +-0.00%
pkg/app/piped/apistore/deploymentstore/store.go store.Run 0.00% -- +-0.00%
pkg/app/piped/apistore/deploymentstore/store.go store.Lister 0.00% -- +-0.00%
pkg/app/piped/apistore/deploymentstore/store.go store.sync 0.00% -- +-0.00%
pkg/app/piped/apistore/deploymentstore/store.go store.ListPendings 0.00% -- +-0.00%
pkg/app/piped/apistore/deploymentstore/store.go store.ListPlanneds 0.00% -- +-0.00%
pkg/app/piped/apistore/deploymentstore/store.go store.ListRunnings 0.00% -- +-0.00%
pkg/app/piped/apistore/deploymentstore/store.go store.ListAppHeadDeployments 0.00% -- +-0.00%
pkg/app/piped/apistore/eventstore/store.go NewStore 0.00% -- +-0.00%
pkg/app/piped/apistore/eventstore/store.go store.Run 0.00% -- +-0.00%
pkg/app/piped/apistore/eventstore/store.go store.sync 0.00% -- +-0.00%
pkg/app/piped/apistore/eventstore/store.go store.ListNotHandled 0.00% -- +-0.00%
pkg/app/piped/apistore/eventstore/store.go store.Lister 0.00% -- +-0.00%
pkg/app/piped/cloudprovider/terraform/terraform.go WithoutColor 0.00% -- +-0.00%
pkg/app/piped/cloudprovider/terraform/terraform.go WithVars 0.00% -- +-0.00%
pkg/app/piped/cloudprovider/terraform/terraform.go WithVarFiles 0.00% -- +-0.00%
pkg/app/piped/cloudprovider/terraform/terraform.go WithAdditionalFlags 0.00% -- +-0.00%
pkg/app/piped/cloudprovider/terraform/terraform.go WithAdditionalEnvs 0.00% -- +-0.00%
pkg/app/piped/cloudprovider/terraform/terraform.go NewTerraform 0.00% -- +-0.00%
pkg/app/piped/cloudprovider/terraform/terraform.go Terraform.Version 0.00% -- +-0.00%
pkg/app/piped/cloudprovider/terraform/terraform.go Terraform.Init 0.00% -- +-0.00%
pkg/app/piped/cloudprovider/terraform/terraform.go Terraform.SelectWorkspace 0.00% -- +-0.00%
pkg/app/piped/cloudprovider/terraform/terraform.go PlanResult.NoChanges 0.00% -- +-0.00%
pkg/app/piped/cloudprovider/terraform/terraform.go GetExitCode 0.00% -- +-0.00%
pkg/app/piped/cloudprovider/terraform/terraform.go Terraform.Plan 0.00% -- +-0.00%
pkg/app/piped/cloudprovider/terraform/terraform.go Terraform.makeCommonCommandArgs 0.00% -- +-0.00%
pkg/app/piped/cloudprovider/terraform/terraform.go stripAnsiCodes 0.00% -- +-0.00%
pkg/app/piped/cloudprovider/terraform/terraform.go parsePlanResult 0.00% -- +-0.00%
pkg/app/piped/cloudprovider/terraform/terraform.go Terraform.Apply 0.00% -- +-0.00%
pkg/app/piped/controller/controller.go NewController 0.00% -- +-0.00%
pkg/app/piped/controller/controller.go controller.Run 0.00% -- +-0.00%
pkg/app/piped/controller/controller.go controller.shutdown 0.00% -- +-0.00%
pkg/app/piped/controller/controller.go controller.checkCommands 0.00% -- +-0.00%
pkg/app/piped/controller/controller.go controller.syncPlanners 0.00% -- +-0.00%
pkg/app/piped/controller/controller.go controller.startNewPlanner 0.00% -- +-0.00%
pkg/app/piped/controller/controller.go controller.syncSchedulers 0.00% -- +-0.00%
pkg/app/piped/controller/controller.go controller.startNewScheduler 0.00% -- +-0.00%
pkg/app/piped/controller/controller.go controller.getMostRecentlySuccessfulDeployment 0.00% -- +-0.00%
pkg/app/piped/controller/controller.go controller.shouldStartPlanningDeployment 0.00% -- +-0.00%
pkg/app/piped/controller/controller.go controller.cancelDeployment 0.00% -- +-0.00%
pkg/app/piped/controller/controller.go appLiveResourceLister.ListKubernetesResources 0.00% -- +-0.00%
pkg/app/piped/controller/controller.go reportApplicationDeployingStatus 0.00% -- +-0.00%
pkg/app/piped/controller/planner.go newPlanner 0.00% -- +-0.00%
pkg/app/piped/controller/planner.go planner.ID 0.00% -- +-0.00%
pkg/app/piped/controller/planner.go planner.IsDone 0.00% -- +-0.00%
pkg/app/piped/controller/planner.go planner.DoneTimestamp 0.00% -- +-0.00%
pkg/app/piped/controller/planner.go planner.DoneDeploymentStatus 0.00% -- +-0.00%
pkg/app/piped/controller/planner.go planner.Cancel 0.00% -- +-0.00%
pkg/app/piped/controller/planner.go planner.Run 0.00% -- +-0.00%
pkg/app/piped/controller/planner.go planner.reportDeploymentPlanned 0.00% -- +-0.00%
pkg/app/piped/controller/planner.go planner.reportDeploymentFailed 0.00% -- +-0.00%
pkg/app/piped/controller/planner.go planner.reportDeploymentCancelled 0.00% -- +-0.00%
pkg/app/piped/controller/planner.go planner.getMentionedAccounts 0.00% -- +-0.00%
pkg/app/piped/controller/scheduler.go newScheduler 0.00% -- +-0.00%
pkg/app/piped/controller/scheduler.go scheduler.ID 0.00% -- +-0.00%
pkg/app/piped/controller/scheduler.go scheduler.CommitHash 0.00% -- +-0.00%
pkg/app/piped/controller/scheduler.go scheduler.ConfigFilename 0.00% -- +-0.00%
pkg/app/piped/controller/scheduler.go scheduler.IsDone 0.00% -- +-0.00%
pkg/app/piped/controller/scheduler.go scheduler.DoneTimestamp 0.00% -- +-0.00%
pkg/app/piped/controller/scheduler.go scheduler.DoneDeploymentStatus 0.00% -- +-0.00%
pkg/app/piped/controller/scheduler.go scheduler.Cancel 0.00% -- +-0.00%
pkg/app/piped/controller/scheduler.go scheduler.Run 0.00% -- +-0.00%
pkg/app/piped/controller/scheduler.go scheduler.executeStage 0.00% -- +-0.00%
pkg/app/piped/controller/scheduler.go scheduler.reportStageStatus 0.00% -- +-0.00%
pkg/app/piped/controller/scheduler.go scheduler.reportDeploymentStatusChanged 0.00% -- +-0.00%
pkg/app/piped/controller/scheduler.go scheduler.reportDeploymentCompleted 0.00% -- +-0.00%
pkg/app/piped/controller/scheduler.go scheduler.getMentionedAccounts 0.00% -- +-0.00%
pkg/app/piped/controller/scheduler.go scheduler.reportMostRecentlySuccessfulDeployment 0.00% -- +-0.00%
pkg/app/piped/controller/scheduler.go stageCommandLister.ListCommands 0.00% -- +-0.00%
pkg/app/piped/controller/scheduler.go appAnalysisResultStore.GetLatestAnalysisResult 0.00% -- +-0.00%
pkg/app/piped/controller/scheduler.go appAnalysisResultStore.PutLatestAnalysisResult 0.00% -- +-0.00%
pkg/app/piped/deploysource/deploysource.go NewProvider 0.00% -- +-0.00%
pkg/app/piped/deploysource/deploysource.go provider.Revision 0.00% -- +-0.00%
pkg/app/piped/deploysource/deploysource.go provider.Get 0.00% -- +-0.00%
pkg/app/piped/deploysource/deploysource.go provider.GetReadOnly 0.00% -- +-0.00%
pkg/app/piped/deploysource/deploysource.go provider.prepare 0.00% -- +-0.00%
pkg/app/piped/deploysource/deploysource.go provider.copy 0.00% -- +-0.00%
pkg/app/piped/deploysource/sourcecloner.go NewGitSourceCloner 0.00% -- +-0.00%
pkg/app/piped/deploysource/sourcecloner.go gitSourceCloner.Revision 0.00% -- +-0.00%
pkg/app/piped/deploysource/sourcecloner.go gitSourceCloner.RevisionName 0.00% -- +-0.00%
pkg/app/piped/deploysource/sourcecloner.go gitSourceCloner.Clone 0.00% -- +-0.00%
pkg/app/piped/deploysource/sourcecloner.go NewLocalSourceCloner 0.00% -- +-0.00%
pkg/app/piped/deploysource/sourcecloner.go localSourceCloner.Revision 0.00% -- +-0.00%
pkg/app/piped/deploysource/sourcecloner.go localSourceCloner.RevisionName 0.00% -- +-0.00%
pkg/app/piped/deploysource/sourcecloner.go localSourceCloner.Clone 0.00% -- +-0.00%
pkg/app/piped/executor/terraform/deploy.go deployExecutor.Execute 0.00% -- +-0.00%
pkg/app/piped/executor/terraform/deploy.go deployExecutor.ensureSync 0.00% -- +-0.00%
pkg/app/piped/executor/terraform/deploy.go deployExecutor.ensurePlan 0.00% -- +-0.00%
pkg/app/piped/executor/terraform/deploy.go deployExecutor.ensureApply 0.00% -- +-0.00%
pkg/app/piped/executor/terraform/rollback.go rollbackExecutor.Execute 0.00% -- +-0.00%
pkg/app/piped/executor/terraform/rollback.go rollbackExecutor.ensureRollback 0.00% -- +-0.00%
pkg/app/piped/executor/terraform/terraform.go Register 71.43% -- -71.43%
pkg/app/piped/executor/terraform/terraform.go showUsingVersion 0.00% -- +-0.00%
pkg/app/piped/executor/terraform/terraform.go selectWorkspace 0.00% -- +-0.00%
pkg/app/piped/executor/terraform/terraform.go findTerraform 0.00% -- +-0.00%
pkg/app/piped/executor/terraform/terraform.go findCloudProvider 0.00% -- +-0.00%
pkg/app/piped/statsreporter/reporter.go NewReporter 0.00% -- +-0.00%
pkg/app/piped/statsreporter/reporter.go reporter.Run 0.00% -- +-0.00%
pkg/app/piped/statsreporter/reporter.go reporter.report 0.00% -- +-0.00%
pkg/app/piped/toolregistry/install.go registry.installKubectl 0.00% -- +-0.00%
pkg/app/piped/toolregistry/install.go registry.installKustomize 70.59% -- -70.59%
pkg/app/piped/toolregistry/install.go registry.installHelm 70.59% -- -70.59%
pkg/app/piped/toolregistry/install.go registry.installTerraform 0.00% -- +-0.00%
pkg/app/piped/toolregistry/registry.go DefaultRegistry 100.00% -- -100.00%
pkg/app/piped/toolregistry/registry.go InitDefaultRegistry 77.78% -- -77.78%
pkg/app/piped/toolregistry/registry.go loadPreinstalledTool 43.75% -- -43.75%
pkg/app/piped/toolregistry/registry.go registry.Kubectl 0.00% -- +-0.00%
pkg/app/piped/toolregistry/registry.go registry.Kustomize 82.35% -- -82.35%
pkg/app/piped/toolregistry/registry.go registry.Helm 88.24% -- -88.24%
pkg/app/piped/toolregistry/registry.go registry.Terraform 0.00% -- +-0.00%

@pipe-cd pipe-cd deleted a comment from pipecd-bot Mar 15, 2022
@pipe-cd pipe-cd deleted a comment from pipecd-bot Mar 15, 2022
@pipecd-bot
Copy link
Collaborator

COVERAGE

Code coverage for javascript is 78.06%. This pull request increases coverage by 0.03%.

File Base Head Diff
src/modules/commands/index.ts 90.62% 93.75% +3.12%

@knanao
Copy link
Member Author

knanao commented Mar 16, 2022

I'll fix some points. so let me hold this PR temporally.
/hold

@pipecd-bot
Copy link
Collaborator

GO_LINTER

The following files are not gofmt-ed. By commenting /golinter fmt, the formatted one will be appended to this pull request automatically.

pkg/model/project.pb.go
--- pkg/model/project.pb.go.orig
+++ pkg/model/project.pb.go
@@ -21,11 +21,12 @@
 package model
 
 import (
+	reflect "reflect"
+	sync "sync"
+
 	_ "github.com/envoyproxy/protoc-gen-validate/validate"
 	protoreflect "google.golang.org/protobuf/reflect/protoreflect"
 	protoimpl "google.golang.org/protobuf/runtime/protoimpl"
-	reflect "reflect"
-	sync "sync"
 )
 
 const (

@pipecd-bot
Copy link
Collaborator

COVERAGE

Code coverage for golang is 35.33%. This pull request increases coverage by 2.67%.

File Function Base Head Diff
pkg/datastore/datastore.go Operator.IsNumericOperator -- 100.00% +100.00%
pkg/datastore/filedb/filter.go compare -- 77.50% +77.50%
pkg/datastore/filedb/filter.go makeSliceOfInterfaces -- 100.00% +100.00%
pkg/datastore/filedb/filter.go convertCamelToSnake -- 100.00% +100.00%
pkg/datastore/filedb/filter.go filter 0.00% 70.83% +70.83%
pkg/app/piped/executor/analysis/analysis.go Register 66.67% 0.00% -66.67%
pkg/app/piped/executor/cloudrun/cloudrun.go Register 66.67% 0.00% -66.67%
pkg/app/piped/executor/kubernetes/kubernetes.go Register 81.82% 0.00% -81.82%
pkg/app/piped/executor/lambda/lambda.go Register 71.43% 0.00% -71.43%
pkg/app/piped/executor/waitapproval/waitapproval.go Register 66.67% 0.00% -66.67%
pkg/app/piped/apistore/analysisresultstore/store.go NewStore 0.00% -- +-0.00%
pkg/app/piped/apistore/analysisresultstore/store.go store.GetLatestAnalysisResult 0.00% -- +-0.00%
pkg/app/piped/apistore/analysisresultstore/store.go store.PutLatestAnalysisResult 0.00% -- +-0.00%
pkg/app/piped/apistore/applicationstore/store.go NewStore 0.00% -- +-0.00%
pkg/app/piped/apistore/applicationstore/store.go store.Run 0.00% -- +-0.00%
pkg/app/piped/apistore/applicationstore/store.go store.Lister 0.00% -- +-0.00%
pkg/app/piped/apistore/applicationstore/store.go store.sync 0.00% -- +-0.00%
pkg/app/piped/apistore/applicationstore/store.go store.List 0.00% -- +-0.00%
pkg/app/piped/apistore/applicationstore/store.go store.ListByCloudProvider 0.00% -- +-0.00%
pkg/app/piped/apistore/applicationstore/store.go store.Get 0.00% -- +-0.00%
pkg/app/piped/apistore/commandstore/store.go NewStore 0.00% -- +-0.00%
pkg/app/piped/apistore/commandstore/store.go store.Run 0.00% -- +-0.00%
pkg/app/piped/apistore/commandstore/store.go store.Lister 0.00% -- +-0.00%
pkg/app/piped/apistore/commandstore/store.go store.sync 0.00% -- +-0.00%
pkg/app/piped/apistore/commandstore/store.go store.cleanHandledCommands 0.00% -- +-0.00%
pkg/app/piped/apistore/commandstore/store.go store.ListApplicationCommands 0.00% -- +-0.00%
pkg/app/piped/apistore/commandstore/store.go store.ListDeploymentCommands 0.00% -- +-0.00%
pkg/app/piped/apistore/commandstore/store.go store.ListStageCommands 0.00% -- +-0.00%
pkg/app/piped/apistore/commandstore/store.go store.ListBuildPlanPreviewCommands 0.00% -- +-0.00%
pkg/app/piped/apistore/commandstore/store.go store.makeReportableCommand 0.00% -- +-0.00%
pkg/app/piped/apistore/commandstore/store.go store.reportCommandHandled 0.00% -- +-0.00%
pkg/app/piped/apistore/deploymentstore/store.go NewStore 0.00% -- +-0.00%
pkg/app/piped/apistore/deploymentstore/store.go store.Run 0.00% -- +-0.00%
pkg/app/piped/apistore/deploymentstore/store.go store.Lister 0.00% -- +-0.00%
pkg/app/piped/apistore/deploymentstore/store.go store.sync 0.00% -- +-0.00%
pkg/app/piped/apistore/deploymentstore/store.go store.ListPendings 0.00% -- +-0.00%
pkg/app/piped/apistore/deploymentstore/store.go store.ListPlanneds 0.00% -- +-0.00%
pkg/app/piped/apistore/deploymentstore/store.go store.ListRunnings 0.00% -- +-0.00%
pkg/app/piped/apistore/deploymentstore/store.go store.ListAppHeadDeployments 0.00% -- +-0.00%
pkg/app/piped/apistore/eventstore/store.go NewStore 0.00% -- +-0.00%
pkg/app/piped/apistore/eventstore/store.go store.Run 0.00% -- +-0.00%
pkg/app/piped/apistore/eventstore/store.go store.sync 0.00% -- +-0.00%
pkg/app/piped/apistore/eventstore/store.go store.ListNotHandled 0.00% -- +-0.00%
pkg/app/piped/apistore/eventstore/store.go store.Lister 0.00% -- +-0.00%
pkg/app/piped/cloudprovider/terraform/terraform.go WithoutColor 0.00% -- +-0.00%
pkg/app/piped/cloudprovider/terraform/terraform.go WithVars 0.00% -- +-0.00%
pkg/app/piped/cloudprovider/terraform/terraform.go WithVarFiles 0.00% -- +-0.00%
pkg/app/piped/cloudprovider/terraform/terraform.go WithAdditionalFlags 0.00% -- +-0.00%
pkg/app/piped/cloudprovider/terraform/terraform.go WithAdditionalEnvs 0.00% -- +-0.00%
pkg/app/piped/cloudprovider/terraform/terraform.go NewTerraform 0.00% -- +-0.00%
pkg/app/piped/cloudprovider/terraform/terraform.go Terraform.Version 0.00% -- +-0.00%
pkg/app/piped/cloudprovider/terraform/terraform.go Terraform.Init 0.00% -- +-0.00%
pkg/app/piped/cloudprovider/terraform/terraform.go Terraform.SelectWorkspace 0.00% -- +-0.00%
pkg/app/piped/cloudprovider/terraform/terraform.go PlanResult.NoChanges 0.00% -- +-0.00%
pkg/app/piped/cloudprovider/terraform/terraform.go GetExitCode 0.00% -- +-0.00%
pkg/app/piped/cloudprovider/terraform/terraform.go Terraform.Plan 0.00% -- +-0.00%
pkg/app/piped/cloudprovider/terraform/terraform.go Terraform.makeCommonCommandArgs 0.00% -- +-0.00%
pkg/app/piped/cloudprovider/terraform/terraform.go stripAnsiCodes 0.00% -- +-0.00%
pkg/app/piped/cloudprovider/terraform/terraform.go parsePlanResult 0.00% -- +-0.00%
pkg/app/piped/cloudprovider/terraform/terraform.go Terraform.Apply 0.00% -- +-0.00%
pkg/app/piped/controller/controller.go NewController 0.00% -- +-0.00%
pkg/app/piped/controller/controller.go controller.Run 0.00% -- +-0.00%
pkg/app/piped/controller/controller.go controller.shutdown 0.00% -- +-0.00%
pkg/app/piped/controller/controller.go controller.checkCommands 0.00% -- +-0.00%
pkg/app/piped/controller/controller.go controller.syncPlanners 0.00% -- +-0.00%
pkg/app/piped/controller/controller.go controller.startNewPlanner 0.00% -- +-0.00%
pkg/app/piped/controller/controller.go controller.syncSchedulers 0.00% -- +-0.00%
pkg/app/piped/controller/controller.go controller.startNewScheduler 0.00% -- +-0.00%
pkg/app/piped/controller/controller.go controller.getMostRecentlySuccessfulDeployment 0.00% -- +-0.00%
pkg/app/piped/controller/controller.go controller.shouldStartPlanningDeployment 0.00% -- +-0.00%
pkg/app/piped/controller/controller.go controller.cancelDeployment 0.00% -- +-0.00%
pkg/app/piped/controller/controller.go appLiveResourceLister.ListKubernetesResources 0.00% -- +-0.00%
pkg/app/piped/controller/controller.go reportApplicationDeployingStatus 0.00% -- +-0.00%
pkg/app/piped/controller/planner.go newPlanner 0.00% -- +-0.00%
pkg/app/piped/controller/planner.go planner.ID 0.00% -- +-0.00%
pkg/app/piped/controller/planner.go planner.IsDone 0.00% -- +-0.00%
pkg/app/piped/controller/planner.go planner.DoneTimestamp 0.00% -- +-0.00%
pkg/app/piped/controller/planner.go planner.DoneDeploymentStatus 0.00% -- +-0.00%
pkg/app/piped/controller/planner.go planner.Cancel 0.00% -- +-0.00%
pkg/app/piped/controller/planner.go planner.Run 0.00% -- +-0.00%
pkg/app/piped/controller/planner.go planner.reportDeploymentPlanned 0.00% -- +-0.00%
pkg/app/piped/controller/planner.go planner.reportDeploymentFailed 0.00% -- +-0.00%
pkg/app/piped/controller/planner.go planner.reportDeploymentCancelled 0.00% -- +-0.00%
pkg/app/piped/controller/planner.go planner.getMentionedAccounts 0.00% -- +-0.00%
pkg/app/piped/controller/scheduler.go newScheduler 0.00% -- +-0.00%
pkg/app/piped/controller/scheduler.go scheduler.ID 0.00% -- +-0.00%
pkg/app/piped/controller/scheduler.go scheduler.CommitHash 0.00% -- +-0.00%
pkg/app/piped/controller/scheduler.go scheduler.ConfigFilename 0.00% -- +-0.00%
pkg/app/piped/controller/scheduler.go scheduler.IsDone 0.00% -- +-0.00%
pkg/app/piped/controller/scheduler.go scheduler.DoneTimestamp 0.00% -- +-0.00%
pkg/app/piped/controller/scheduler.go scheduler.DoneDeploymentStatus 0.00% -- +-0.00%
pkg/app/piped/controller/scheduler.go scheduler.Cancel 0.00% -- +-0.00%
pkg/app/piped/controller/scheduler.go scheduler.Run 0.00% -- +-0.00%
pkg/app/piped/controller/scheduler.go scheduler.executeStage 0.00% -- +-0.00%
pkg/app/piped/controller/scheduler.go scheduler.reportStageStatus 0.00% -- +-0.00%
pkg/app/piped/controller/scheduler.go scheduler.reportDeploymentStatusChanged 0.00% -- +-0.00%
pkg/app/piped/controller/scheduler.go scheduler.reportDeploymentCompleted 0.00% -- +-0.00%
pkg/app/piped/controller/scheduler.go scheduler.getMentionedAccounts 0.00% -- +-0.00%
pkg/app/piped/controller/scheduler.go scheduler.reportMostRecentlySuccessfulDeployment 0.00% -- +-0.00%
pkg/app/piped/controller/scheduler.go stageCommandLister.ListCommands 0.00% -- +-0.00%
pkg/app/piped/controller/scheduler.go appAnalysisResultStore.GetLatestAnalysisResult 0.00% -- +-0.00%
pkg/app/piped/controller/scheduler.go appAnalysisResultStore.PutLatestAnalysisResult 0.00% -- +-0.00%
pkg/app/piped/deploysource/deploysource.go NewProvider 0.00% -- +-0.00%
pkg/app/piped/deploysource/deploysource.go provider.Revision 0.00% -- +-0.00%
pkg/app/piped/deploysource/deploysource.go provider.Get 0.00% -- +-0.00%
pkg/app/piped/deploysource/deploysource.go provider.GetReadOnly 0.00% -- +-0.00%
pkg/app/piped/deploysource/deploysource.go provider.prepare 0.00% -- +-0.00%
pkg/app/piped/deploysource/deploysource.go provider.copy 0.00% -- +-0.00%
pkg/app/piped/deploysource/sourcecloner.go NewGitSourceCloner 0.00% -- +-0.00%
pkg/app/piped/deploysource/sourcecloner.go gitSourceCloner.Revision 0.00% -- +-0.00%
pkg/app/piped/deploysource/sourcecloner.go gitSourceCloner.RevisionName 0.00% -- +-0.00%
pkg/app/piped/deploysource/sourcecloner.go gitSourceCloner.Clone 0.00% -- +-0.00%
pkg/app/piped/deploysource/sourcecloner.go NewLocalSourceCloner 0.00% -- +-0.00%
pkg/app/piped/deploysource/sourcecloner.go localSourceCloner.Revision 0.00% -- +-0.00%
pkg/app/piped/deploysource/sourcecloner.go localSourceCloner.RevisionName 0.00% -- +-0.00%
pkg/app/piped/deploysource/sourcecloner.go localSourceCloner.Clone 0.00% -- +-0.00%
pkg/app/piped/executor/terraform/deploy.go deployExecutor.Execute 0.00% -- +-0.00%
pkg/app/piped/executor/terraform/deploy.go deployExecutor.ensureSync 0.00% -- +-0.00%
pkg/app/piped/executor/terraform/deploy.go deployExecutor.ensurePlan 0.00% -- +-0.00%
pkg/app/piped/executor/terraform/deploy.go deployExecutor.ensureApply 0.00% -- +-0.00%
pkg/app/piped/executor/terraform/rollback.go rollbackExecutor.Execute 0.00% -- +-0.00%
pkg/app/piped/executor/terraform/rollback.go rollbackExecutor.ensureRollback 0.00% -- +-0.00%
pkg/app/piped/executor/terraform/terraform.go Register 71.43% -- -71.43%
pkg/app/piped/executor/terraform/terraform.go showUsingVersion 0.00% -- +-0.00%
pkg/app/piped/executor/terraform/terraform.go selectWorkspace 0.00% -- +-0.00%
pkg/app/piped/executor/terraform/terraform.go findTerraform 0.00% -- +-0.00%
pkg/app/piped/executor/terraform/terraform.go findCloudProvider 0.00% -- +-0.00%
pkg/app/piped/statsreporter/reporter.go NewReporter 0.00% -- +-0.00%
pkg/app/piped/statsreporter/reporter.go reporter.Run 0.00% -- +-0.00%
pkg/app/piped/statsreporter/reporter.go reporter.report 0.00% -- +-0.00%
pkg/app/piped/toolregistry/install.go registry.installKubectl 0.00% -- +-0.00%
pkg/app/piped/toolregistry/install.go registry.installKustomize 70.59% -- -70.59%
pkg/app/piped/toolregistry/install.go registry.installHelm 70.59% -- -70.59%
pkg/app/piped/toolregistry/install.go registry.installTerraform 0.00% -- +-0.00%
pkg/app/piped/toolregistry/registry.go DefaultRegistry 100.00% -- -100.00%
pkg/app/piped/toolregistry/registry.go InitDefaultRegistry 77.78% -- -77.78%
pkg/app/piped/toolregistry/registry.go loadPreinstalledTool 43.75% -- -43.75%
pkg/app/piped/toolregistry/registry.go registry.Kubectl 0.00% -- +-0.00%
pkg/app/piped/toolregistry/registry.go registry.Kustomize 82.35% -- -82.35%
pkg/app/piped/toolregistry/registry.go registry.Helm 88.24% -- -88.24%
pkg/app/piped/toolregistry/registry.go registry.Terraform 0.00% -- +-0.00%

@pipecd-bot
Copy link
Collaborator

COVERAGE

Code coverage for javascript is 78.03%. This pull request increases coverage by 0.05%.

File Base Head Diff
src/modules/project/index.ts 56.60% 60.38% +3.77%

@pipecd-bot
Copy link
Collaborator

GO_LINTER

The following files are not gofmt-ed. By commenting /golinter fmt, the formatted one will be appended to this pull request automatically.

pkg/model/project.pb.go
--- pkg/model/project.pb.go.orig
+++ pkg/model/project.pb.go
@@ -21,11 +21,12 @@
 package model
 
 import (
+	reflect "reflect"
+	sync "sync"
+
 	_ "github.com/envoyproxy/protoc-gen-validate/validate"
 	protoreflect "google.golang.org/protobuf/reflect/protoreflect"
 	protoimpl "google.golang.org/protobuf/runtime/protoimpl"
-	reflect "reflect"
-	sync "sync"
 )
 
 const (

@knanao
Copy link
Member Author

knanao commented Mar 16, 2022

/hold cancel

@pipecd-bot
Copy link
Collaborator

COVERAGE

Code coverage for golang is 35.49%. This pull request does not change code coverage.

@pipecd-bot
Copy link
Collaborator

GO_LINTER

The following files are not gofmt-ed. By commenting /golinter fmt, the formatted one will be appended to this pull request automatically.

pkg/model/project.pb.go
--- pkg/model/project.pb.go.orig
+++ pkg/model/project.pb.go
@@ -21,11 +21,12 @@
 package model
 
 import (
+	reflect "reflect"
+	sync "sync"
+
 	_ "github.com/envoyproxy/protoc-gen-validate/validate"
 	protoreflect "google.golang.org/protobuf/reflect/protoreflect"
 	protoimpl "google.golang.org/protobuf/runtime/protoimpl"
-	reflect "reflect"
-	sync "sync"
 )
 
 const (

@pipecd-bot
Copy link
Collaborator

COVERAGE

Code coverage for golang is 35.49%. This pull request does not change code coverage.

@pipecd-bot
Copy link
Collaborator

COVERAGE

Code coverage for javascript is 77.98%. This pull request does not change code coverage.

@nghialv
Copy link
Member

nghialv commented Mar 17, 2022

Nice. Thank you.

/lgtm

@khanhtc1202
Copy link
Member

Here you go 👍
/approve

@pipecd-bot
Copy link
Collaborator

APPROVE

This pull request is APPROVED by khanhtc1202.

Approvers can cancel the approval by writing /approve cancel in a comment. Any additional commits also will change this pull request to be not-approved.

@pipecd-bot pipecd-bot merged commit 08d5b11 into master Mar 17, 2022
@pipecd-bot pipecd-bot deleted the rbac branch March 17, 2022 02:18
@pipecd-bot
Copy link
Collaborator

TEMPLATE

failed to handle template rule manifests

Details
Error: unabled to get files: [quickstart]

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

5 participants