diff --git a/backend/core/models/domainlayer/devops/cicd_deployment.go b/backend/core/models/domainlayer/devops/cicd_deployment.go index fb63d1dba9f..c5581fdf410 100644 --- a/backend/core/models/domainlayer/devops/cicd_deployment.go +++ b/backend/core/models/domainlayer/devops/cicd_deployment.go @@ -24,15 +24,17 @@ import ( type CICDDeployment struct { domainlayer.DomainEntity - CicdScopeId string `gorm:"index;type:varchar(255)"` - Name string `gorm:"type:varchar(255)"` - Result string `gorm:"type:varchar(100)"` - Status string `gorm:"type:varchar(100)"` - Environment string `gorm:"type:varchar(255)"` - CreatedDate time.Time - StartedDate *time.Time - FinishedDate *time.Time - DurationSec *float64 + CicdScopeId string `gorm:"index;type:varchar(255)"` + Name string `gorm:"type:varchar(255)"` + Result string `gorm:"type:varchar(100)"` + Status string `gorm:"type:varchar(100)"` + OriginalStatus string `gorm:"type:varchar(100)"` + OriginalResult string `gorm:"type:varchar(100)"` + Environment string `gorm:"type:varchar(255)"` + CreatedDate time.Time + StartedDate *time.Time + FinishedDate *time.Time + DurationSec *float64 } func (CICDDeployment) TableName() string { diff --git a/backend/core/models/domainlayer/devops/cicd_deployment_commit.go b/backend/core/models/domainlayer/devops/cicd_deployment_commit.go index 5d37448ad23..398dfe96aa1 100644 --- a/backend/core/models/domainlayer/devops/cicd_deployment_commit.go +++ b/backend/core/models/domainlayer/devops/cicd_deployment_commit.go @@ -30,6 +30,8 @@ type CicdDeploymentCommit struct { Name string `gorm:"type:varchar(255)"` Result string `gorm:"type:varchar(100)"` Status string `gorm:"type:varchar(100)"` + OriginalStatus string `gorm:"type:varchar(100)"` + OriginalResult string `gorm:"type:varchar(100)"` Environment string `gorm:"type:varchar(255)"` CreatedDate time.Time StartedDate *time.Time @@ -52,14 +54,16 @@ func (cicdDeploymentCommit CicdDeploymentCommit) ToDeployment() *CICDDeployment Id: cicdDeploymentCommit.CicdDeploymentId, NoPKModel: cicdDeploymentCommit.DomainEntity.NoPKModel, }, - CicdScopeId: cicdDeploymentCommit.CicdScopeId, - Name: cicdDeploymentCommit.Name, - Result: cicdDeploymentCommit.Result, - Status: cicdDeploymentCommit.Status, - Environment: cicdDeploymentCommit.Environment, - CreatedDate: cicdDeploymentCommit.CreatedDate, - StartedDate: cicdDeploymentCommit.StartedDate, - FinishedDate: cicdDeploymentCommit.FinishedDate, - DurationSec: cicdDeploymentCommit.DurationSec, + CicdScopeId: cicdDeploymentCommit.CicdScopeId, + Name: cicdDeploymentCommit.Name, + Result: cicdDeploymentCommit.Result, + Status: cicdDeploymentCommit.Status, + OriginalStatus: cicdDeploymentCommit.OriginalStatus, + OriginalResult: cicdDeploymentCommit.OriginalResult, + Environment: cicdDeploymentCommit.Environment, + CreatedDate: cicdDeploymentCommit.CreatedDate, + StartedDate: cicdDeploymentCommit.StartedDate, + FinishedDate: cicdDeploymentCommit.FinishedDate, + DurationSec: cicdDeploymentCommit.DurationSec, } } diff --git a/backend/core/models/domainlayer/devops/cicd_pipeline.go b/backend/core/models/domainlayer/devops/cicd_pipeline.go index 5bc4f3250f8..c402469fc1d 100644 --- a/backend/core/models/domainlayer/devops/cicd_pipeline.go +++ b/backend/core/models/domainlayer/devops/cicd_pipeline.go @@ -28,15 +28,17 @@ import ( type CICDPipeline struct { domainlayer.DomainEntity - Name string `gorm:"type:varchar(255)"` - Result string `gorm:"type:varchar(100)"` - Status string `gorm:"type:varchar(100)"` - Type string `gorm:"type:varchar(100);comment: to indicate this is CI or CD"` - DurationSec float64 - Environment string `gorm:"type:varchar(255)"` - CreatedDate time.Time - FinishedDate *time.Time - CicdScopeId string `gorm:"index;type:varchar(255)"` + Name string `gorm:"type:varchar(255)"` + Result string `gorm:"type:varchar(100)"` + Status string `gorm:"type:varchar(100)"` + OriginalStatus string `gorm:"type:varchar(100)"` + OriginalResult string `gorm:"type:varchar(100)"` + Type string `gorm:"type:varchar(100);comment: to indicate this is CI or CD"` + DurationSec float64 + Environment string `gorm:"type:varchar(255)"` + CreatedDate time.Time + FinishedDate *time.Time + CicdScopeId string `gorm:"index;type:varchar(255)"` } func (CICDPipeline) TableName() string { diff --git a/backend/core/models/domainlayer/devops/cicd_task.go b/backend/core/models/domainlayer/devops/cicd_task.go index 8314d4ccebb..159f3ad9764 100644 --- a/backend/core/models/domainlayer/devops/cicd_task.go +++ b/backend/core/models/domainlayer/devops/cicd_task.go @@ -39,16 +39,18 @@ const ENV_NAME_PATTERN = "ENV_NAME_PATTERN" type CICDTask struct { domainlayer.DomainEntity - Name string `gorm:"type:varchar(255)"` - PipelineId string `gorm:"index;type:varchar(255)"` - Result string `gorm:"type:varchar(100)"` - Status string `gorm:"type:varchar(100)"` - Type string `gorm:"type:varchar(100);comment: to indicate this is CI or CD"` - Environment string `gorm:"type:varchar(255)"` - DurationSec float64 - StartedDate time.Time - FinishedDate *time.Time - CicdScopeId string `gorm:"index;type:varchar(255)"` + Name string `gorm:"type:varchar(255)"` + PipelineId string `gorm:"index;type:varchar(255)"` + Result string `gorm:"type:varchar(100)"` + Status string `gorm:"type:varchar(100)"` + OriginalStatus string `gorm:"type:varchar(100)"` + OriginalResult string `gorm:"type:varchar(100)"` + Type string `gorm:"type:varchar(100);comment: to indicate this is CI or CD"` + Environment string `gorm:"type:varchar(255)"` + DurationSec float64 + StartedDate time.Time + FinishedDate *time.Time + CicdScopeId string `gorm:"index;type:varchar(255)"` } func (CICDTask) TableName() string { diff --git a/backend/core/models/migrationscripts/20231116_add_original_status_and_result_to_devops_tables.go b/backend/core/models/migrationscripts/20231116_add_original_status_and_result_to_devops_tables.go new file mode 100644 index 00000000000..77cc500c7e5 --- /dev/null +++ b/backend/core/models/migrationscripts/20231116_add_original_status_and_result_to_devops_tables.go @@ -0,0 +1,89 @@ +/* +Licensed to the Apache Software Foundation (ASF) under one or more +contributor license agreements. See the NOTICE file distributed with +this work for additional information regarding copyright ownership. +The ASF licenses this file to You under the Apache License, Version 2.0 +(the "License"); you may not use this file except in compliance with +the License. You may obtain a copy of the License at + + http://www.apache.org/licenses/LICENSE-2.0 + +Unless required by applicable law or agreed to in writing, software +distributed under the License is distributed on an "AS IS" BASIS, +WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +See the License for the specific language governing permissions and +limitations under the License. +*/ + +package migrationscripts + +import ( + "github.com/apache/incubator-devlake/core/context" + "github.com/apache/incubator-devlake/core/errors" + "github.com/apache/incubator-devlake/core/plugin" +) + +var _ plugin.MigrationScript = (*addOriginalStatusAndResultToDevOpsTables)(nil) + +type cicdDeployment20231116 struct { + OriginalStatus string `gorm:"type:varchar(100)"` + OriginalResult string `gorm:"type:varchar(100)"` +} + +func (cicdDeployment20231116) TableName() string { + return "cicd_deployments" +} + +type cicdDeploymentCommit20231116 struct { + OriginalStatus string `gorm:"type:varchar(100)"` + OriginalResult string `gorm:"type:varchar(100)"` +} + +func (cicdDeploymentCommit20231116) TableName() string { + return "cicd_deployment_commits" +} + +type cicdPipeline20231116 struct { + OriginalStatus string `gorm:"type:varchar(100)"` + OriginalResult string `gorm:"type:varchar(100)"` +} + +func (cicdPipeline20231116) TableName() string { + return "cicd_pipelines" +} + +type cicdTask20231116 struct { + OriginalStatus string `gorm:"type:varchar(100)"` + OriginalResult string `gorm:"type:varchar(100)"` +} + +func (cicdTask20231116) TableName() string { + return "cicd_tasks" +} + +type addOriginalStatusAndResultToDevOpsTables struct{} + +func (u *addOriginalStatusAndResultToDevOpsTables) Up(basicRes context.BasicRes) errors.Error { + db := basicRes.GetDal() + if err := db.AutoMigrate(&cicdTask20231116{}); err != nil { + return err + } + if err := db.AutoMigrate(&cicdPipeline20231116{}); err != nil { + return err + } + if err := db.AutoMigrate(&cicdDeploymentCommit20231116{}); err != nil { + return err + } + if err := db.AutoMigrate(&cicdDeployment20231116{}); err != nil { + return err + } + return nil +} + +func (*addOriginalStatusAndResultToDevOpsTables) Version() uint64 { + return 20231116142100 +} + +func (*addOriginalStatusAndResultToDevOpsTables) Name() string { + return "add original status and original result to all related devops tables" +} diff --git a/backend/core/models/migrationscripts/register.go b/backend/core/models/migrationscripts/register.go index 241b6af1976..440125bb6a2 100644 --- a/backend/core/models/migrationscripts/register.go +++ b/backend/core/models/migrationscripts/register.go @@ -97,5 +97,6 @@ func All() []plugin.MigrationScript { new(addIssueCustomArrayField), new(removePositionFromPullRequestComments), new(changeDurationSecToFloat64), + new(addOriginalStatusAndResultToDevOpsTables), } } diff --git a/backend/plugins/bamboo/e2e/snapshot_tables/cicd_deployment_commits.csv b/backend/plugins/bamboo/e2e/snapshot_tables/cicd_deployment_commits.csv index 3f919df1e1f..3ba4333b652 100644 --- a/backend/plugins/bamboo/e2e/snapshot_tables/cicd_deployment_commits.csv +++ b/backend/plugins/bamboo/e2e/snapshot_tables/cicd_deployment_commits.csv @@ -1,15 +1,15 @@ -id,commit_sha,cicd_scope_id,cicd_deployment_id,name,result,status,environment,created_date,started_date,finished_date,duration_sec,ref_name,repo_id,repo_url,prev_success_deployment_commit_id -bamboo:deployBuildWithVcsRevision:1:130001:622595,79b062bd53af15c701193c90b543386557cb7a3a,bamboo:BambooPlan:1:TEST-PLA2,bamboo:deployBuildWithVcsRevision:1:130001:622595,test_project2 - test_plan/release-1,SUCCESS,DONE,dev,2023-07-31T10:16:41.000+00:00,2023-07-31T10:16:41.000+00:00,2023-07-31T10:16:41.000+00:00,0,,622595,fake://127.0.0.1:8080/repos/622595, -bamboo:deployBuildWithVcsRevision:1:130002:622595,79b062bd53af15c701193c90b543386557cb7a3a,bamboo:BambooPlan:1:TEST-PLA2,bamboo:deployBuildWithVcsRevision:1:130002:622595,test_project2 - test_plan/release-1,FAILURE,IN_PROGRESS,dev,2023-07-31T10:16:41.000+00:00,2023-07-31T10:16:41.000+00:00,2023-07-31T10:16:41.000+00:00,0,,622595,fake://127.0.0.1:8080/repos/622595, -bamboo:deployBuildWithVcsRevision:1:130003:622595,79b062bd53af15c701193c90b543386557cb7a3a,bamboo:BambooPlan:1:TEST-PLA2,bamboo:deployBuildWithVcsRevision:1:130003:622595,test_project2 - test_plan/release-1,,IN_PROGRESS,dev,2023-07-31T10:16:41.000+00:00,2023-07-31T10:16:41.000+00:00,2023-07-31T10:16:41.000+00:00,0,,622595,fake://127.0.0.1:8080/repos/622595, -bamboo:deployBuildWithVcsRevision:1:130004:622595,79b062bd53af15c701193c90b543386557cb7a3a,bamboo:BambooPlan:1:TEST-PLA2,bamboo:deployBuildWithVcsRevision:1:130004:622595,test_project2 - test_plan/release-1,,IN_PROGRESS,dev,2023-07-31T10:16:41.000+00:00,2023-07-31T10:16:41.000+00:00,2023-07-31T10:16:41.000+00:00,0,,622595,fake://127.0.0.1:8080/repos/622595, -bamboo:deployBuildWithVcsRevision:1:130005:622595,79b062bd53af15c701193c90b543386557cb7a3a,bamboo:BambooPlan:1:TEST-PLA2,bamboo:deployBuildWithVcsRevision:1:130005:622595,test_project2 - test_plan/release-1,,OTHER,dev,2023-07-31T10:16:41.000+00:00,2023-07-31T10:16:41.000+00:00,2023-07-31T10:16:41.000+00:00,0,,622595,fake://127.0.0.1:8080/repos/622595, -bamboo:deployBuildWithVcsRevision:1:130006:622595,79b062bd53af15c701193c90b543386557cb7a3a,bamboo:BambooPlan:1:TEST-PLA2,bamboo:deployBuildWithVcsRevision:1:130006:622595,test_project2 - test_plan/release-1,,OTHER,dev,2023-07-31T10:16:41.000+00:00,2023-07-31T10:16:41.000+00:00,2023-07-31T10:16:41.000+00:00,0,,622595,fake://127.0.0.1:8080/repos/622595, -bamboo:deployBuildWithVcsRevision:1:130007:622595,79b062bd53af15c701193c90b543386557cb7a3a,bamboo:BambooPlan:1:TEST-PLA2,bamboo:deployBuildWithVcsRevision:1:130007:622595,test_project2 - test_plan/release-1,,OTHER,dev,2023-07-31T10:16:41.000+00:00,2023-07-31T10:16:41.000+00:00,2023-07-31T10:16:41.000+00:00,0,,622595,fake://127.0.0.1:8080/repos/622595, -bamboo:deployBuildWithVcsRevision:1:130008:622595,79b062bd53af15c701193c90b543386557cb7a3a,bamboo:BambooPlan:1:TEST-PLA2,bamboo:deployBuildWithVcsRevision:1:130008:622595,test_project2 - test_plan/release-1,,OTHER,dev,2023-07-31T10:16:41.000+00:00,2023-07-31T10:16:41.000+00:00,2023-07-31T10:16:41.000+00:00,0,,622595,fake://127.0.0.1:8080/repos/622595, -bamboo:deployBuildWithVcsRevision:1:1540100:622595,79b062bd53af15c701193c90b543386557cb7a3a,bamboo:BambooPlan:1:TEST-PLA2,bamboo:deployBuildWithVcsRevision:1:1540100:622595,test_project2 - test_plan/release-1,FAILURE,DONE,dev,2023-07-31T11:50:10.000+00:00,2023-07-31T11:50:10.000+00:00,2023-07-31T11:50:10.000+00:00,0,,622595,fake://127.0.0.1:8080/repos/622595, -bamboo:deployBuildWithVcsRevision:1:1540101:622595,79b062bd53af15c701193c90b543386557cb7a3a,bamboo:BambooPlan:1:TEST-PLA2,bamboo:deployBuildWithVcsRevision:1:1540101:622595,test_project2 - test_plan/release-2,FAILURE,DONE,dev,2023-07-31T11:51:14.000+00:00,2023-07-31T11:51:14.000+00:00,2023-07-31T11:51:14.000+00:00,0,,622595,fake://127.0.0.1:8080/repos/622595, -bamboo:deployBuildWithVcsRevision:1:1540102:622595,79b062bd53af15c701193c90b543386557cb7a3a,bamboo:BambooPlan:1:TEST-PLA2,bamboo:deployBuildWithVcsRevision:1:1540102:622595,test_project2 - test_plan/release-2,SUCCESS,DONE,dev,2023-07-31T11:52:32.000+00:00,2023-07-31T11:52:32.000+00:00,2023-07-31T11:52:32.000+00:00,0,,622595,fake://127.0.0.1:8080/repos/622595, -bamboo:deployBuildWithVcsRevision:1:1540105:622595,79b062bd53af15c701193c90b543386557cb7a3a,bamboo:BambooPlan:1:TEST-PLA2,bamboo:deployBuildWithVcsRevision:1:1540105:622595,test_project2 - test_plan/release-2,SUCCESS,DONE,dev,2023-08-01T09:31:53.000+00:00,2023-08-01T09:31:53.000+00:00,2023-08-01T09:31:53.000+00:00,0,,622595,fake://127.0.0.1:8080/repos/622595, -bamboo:deployBuildWithVcsRevision:1:1540106:622595,79b062bd53af15c701193c90b543386557cb7a3a,bamboo:BambooPlan:1:TEST-PLA2,bamboo:deployBuildWithVcsRevision:1:1540106:622595,test_project2 - test_plan/release-2,SUCCESS,DONE,dev,2023-08-01T09:32:00.000+00:00,2023-08-01T09:32:00.000+00:00,2023-08-01T09:32:00.000+00:00,0,,622595,fake://127.0.0.1:8080/repos/622595, -bamboo:deployBuildWithVcsRevision:1:1540117:622595,79b062bd53af15c701193c90b543386557cb7a3a,bamboo:BambooPlan:1:TEST-PLA2,bamboo:deployBuildWithVcsRevision:1:1540117:622595,test_project2 - test_plan/release-3,SUCCESS,DONE,dev,2023-08-03T09:49:07.000+00:00,2023-08-03T09:49:07.000+00:00,2023-08-03T09:49:07.000+00:00,0,,622595,fake://127.0.0.1:8080/repos/622595, +id,commit_sha,cicd_scope_id,cicd_deployment_id,name,result,status,original_status,original_result,environment,created_date,started_date,finished_date,duration_sec,ref_name,repo_id,repo_url,prev_success_deployment_commit_id +bamboo:deployBuildWithVcsRevision:1:130001:622595,79b062bd53af15c701193c90b543386557cb7a3a,bamboo:BambooPlan:1:TEST-PLA2,bamboo:deployBuildWithVcsRevision:1:130001:622595,test_project2 - test_plan/release-1,SUCCESS,DONE,FINISHED,SUCCESS,dev,2023-07-31T10:16:41.000+00:00,2023-07-31T10:16:41.000+00:00,2023-07-31T10:16:41.000+00:00,0,,622595,fake://127.0.0.1:8080/repos/622595, +bamboo:deployBuildWithVcsRevision:1:130002:622595,79b062bd53af15c701193c90b543386557cb7a3a,bamboo:BambooPlan:1:TEST-PLA2,bamboo:deployBuildWithVcsRevision:1:130002:622595,test_project2 - test_plan/release-1,FAILURE,IN_PROGRESS,IN_PROGRESS,FAILED,dev,2023-07-31T10:16:41.000+00:00,2023-07-31T10:16:41.000+00:00,2023-07-31T10:16:41.000+00:00,0,,622595,fake://127.0.0.1:8080/repos/622595, +bamboo:deployBuildWithVcsRevision:1:130003:622595,79b062bd53af15c701193c90b543386557cb7a3a,bamboo:BambooPlan:1:TEST-PLA2,bamboo:deployBuildWithVcsRevision:1:130003:622595,test_project2 - test_plan/release-1,,IN_PROGRESS,PENDING,REPLACED,dev,2023-07-31T10:16:41.000+00:00,2023-07-31T10:16:41.000+00:00,2023-07-31T10:16:41.000+00:00,0,,622595,fake://127.0.0.1:8080/repos/622595, +bamboo:deployBuildWithVcsRevision:1:130004:622595,79b062bd53af15c701193c90b543386557cb7a3a,bamboo:BambooPlan:1:TEST-PLA2,bamboo:deployBuildWithVcsRevision:1:130004:622595,test_project2 - test_plan/release-1,,IN_PROGRESS,QUEUED,SKIPPED,dev,2023-07-31T10:16:41.000+00:00,2023-07-31T10:16:41.000+00:00,2023-07-31T10:16:41.000+00:00,0,,622595,fake://127.0.0.1:8080/repos/622595, +bamboo:deployBuildWithVcsRevision:1:130005:622595,79b062bd53af15c701193c90b543386557cb7a3a,bamboo:BambooPlan:1:TEST-PLA2,bamboo:deployBuildWithVcsRevision:1:130005:622595,test_project2 - test_plan/release-1,,OTHER,NOT_BUILT,NEVER,dev,2023-07-31T10:16:41.000+00:00,2023-07-31T10:16:41.000+00:00,2023-07-31T10:16:41.000+00:00,0,,622595,fake://127.0.0.1:8080/repos/622595, +bamboo:deployBuildWithVcsRevision:1:130006:622595,79b062bd53af15c701193c90b543386557cb7a3a,bamboo:BambooPlan:1:TEST-PLA2,bamboo:deployBuildWithVcsRevision:1:130006:622595,test_project2 - test_plan/release-1,,OTHER,NOT_BUILT,QUEUED,dev,2023-07-31T10:16:41.000+00:00,2023-07-31T10:16:41.000+00:00,2023-07-31T10:16:41.000+00:00,0,,622595,fake://127.0.0.1:8080/repos/622595, +bamboo:deployBuildWithVcsRevision:1:130007:622595,79b062bd53af15c701193c90b543386557cb7a3a,bamboo:BambooPlan:1:TEST-PLA2,bamboo:deployBuildWithVcsRevision:1:130007:622595,test_project2 - test_plan/release-1,,OTHER,NOT_BUILT,IN PROGRESS,dev,2023-07-31T10:16:41.000+00:00,2023-07-31T10:16:41.000+00:00,2023-07-31T10:16:41.000+00:00,0,,622595,fake://127.0.0.1:8080/repos/622595, +bamboo:deployBuildWithVcsRevision:1:130008:622595,79b062bd53af15c701193c90b543386557cb7a3a,bamboo:BambooPlan:1:TEST-PLA2,bamboo:deployBuildWithVcsRevision:1:130008:622595,test_project2 - test_plan/release-1,,OTHER,NOT_BUILT,NOT BUILT,dev,2023-07-31T10:16:41.000+00:00,2023-07-31T10:16:41.000+00:00,2023-07-31T10:16:41.000+00:00,0,,622595,fake://127.0.0.1:8080/repos/622595, +bamboo:deployBuildWithVcsRevision:1:1540100:622595,79b062bd53af15c701193c90b543386557cb7a3a,bamboo:BambooPlan:1:TEST-PLA2,bamboo:deployBuildWithVcsRevision:1:1540100:622595,test_project2 - test_plan/release-1,FAILURE,DONE,FINISHED,FAILED,dev,2023-07-31T11:50:10.000+00:00,2023-07-31T11:50:10.000+00:00,2023-07-31T11:50:10.000+00:00,0,,622595,fake://127.0.0.1:8080/repos/622595, +bamboo:deployBuildWithVcsRevision:1:1540101:622595,79b062bd53af15c701193c90b543386557cb7a3a,bamboo:BambooPlan:1:TEST-PLA2,bamboo:deployBuildWithVcsRevision:1:1540101:622595,test_project2 - test_plan/release-2,FAILURE,DONE,FINISHED,FAILED,dev,2023-07-31T11:51:14.000+00:00,2023-07-31T11:51:14.000+00:00,2023-07-31T11:51:14.000+00:00,0,,622595,fake://127.0.0.1:8080/repos/622595, +bamboo:deployBuildWithVcsRevision:1:1540102:622595,79b062bd53af15c701193c90b543386557cb7a3a,bamboo:BambooPlan:1:TEST-PLA2,bamboo:deployBuildWithVcsRevision:1:1540102:622595,test_project2 - test_plan/release-2,SUCCESS,DONE,FINISHED,SUCCESS,dev,2023-07-31T11:52:32.000+00:00,2023-07-31T11:52:32.000+00:00,2023-07-31T11:52:32.000+00:00,0,,622595,fake://127.0.0.1:8080/repos/622595, +bamboo:deployBuildWithVcsRevision:1:1540105:622595,79b062bd53af15c701193c90b543386557cb7a3a,bamboo:BambooPlan:1:TEST-PLA2,bamboo:deployBuildWithVcsRevision:1:1540105:622595,test_project2 - test_plan/release-2,SUCCESS,DONE,FINISHED,SUCCESS,dev,2023-08-01T09:31:53.000+00:00,2023-08-01T09:31:53.000+00:00,2023-08-01T09:31:53.000+00:00,0,,622595,fake://127.0.0.1:8080/repos/622595, +bamboo:deployBuildWithVcsRevision:1:1540106:622595,79b062bd53af15c701193c90b543386557cb7a3a,bamboo:BambooPlan:1:TEST-PLA2,bamboo:deployBuildWithVcsRevision:1:1540106:622595,test_project2 - test_plan/release-2,SUCCESS,DONE,FINISHED,SUCCESS,dev,2023-08-01T09:32:00.000+00:00,2023-08-01T09:32:00.000+00:00,2023-08-01T09:32:00.000+00:00,0,,622595,fake://127.0.0.1:8080/repos/622595, +bamboo:deployBuildWithVcsRevision:1:1540117:622595,79b062bd53af15c701193c90b543386557cb7a3a,bamboo:BambooPlan:1:TEST-PLA2,bamboo:deployBuildWithVcsRevision:1:1540117:622595,test_project2 - test_plan/release-3,SUCCESS,DONE,FINISHED,SUCCESS,dev,2023-08-03T09:49:07.000+00:00,2023-08-03T09:49:07.000+00:00,2023-08-03T09:49:07.000+00:00,0,,622595,fake://127.0.0.1:8080/repos/622595, diff --git a/backend/plugins/bamboo/e2e/snapshot_tables/cicd_deployments.csv b/backend/plugins/bamboo/e2e/snapshot_tables/cicd_deployments.csv index 3f919df1e1f..3ba4333b652 100644 --- a/backend/plugins/bamboo/e2e/snapshot_tables/cicd_deployments.csv +++ b/backend/plugins/bamboo/e2e/snapshot_tables/cicd_deployments.csv @@ -1,15 +1,15 @@ -id,commit_sha,cicd_scope_id,cicd_deployment_id,name,result,status,environment,created_date,started_date,finished_date,duration_sec,ref_name,repo_id,repo_url,prev_success_deployment_commit_id -bamboo:deployBuildWithVcsRevision:1:130001:622595,79b062bd53af15c701193c90b543386557cb7a3a,bamboo:BambooPlan:1:TEST-PLA2,bamboo:deployBuildWithVcsRevision:1:130001:622595,test_project2 - test_plan/release-1,SUCCESS,DONE,dev,2023-07-31T10:16:41.000+00:00,2023-07-31T10:16:41.000+00:00,2023-07-31T10:16:41.000+00:00,0,,622595,fake://127.0.0.1:8080/repos/622595, -bamboo:deployBuildWithVcsRevision:1:130002:622595,79b062bd53af15c701193c90b543386557cb7a3a,bamboo:BambooPlan:1:TEST-PLA2,bamboo:deployBuildWithVcsRevision:1:130002:622595,test_project2 - test_plan/release-1,FAILURE,IN_PROGRESS,dev,2023-07-31T10:16:41.000+00:00,2023-07-31T10:16:41.000+00:00,2023-07-31T10:16:41.000+00:00,0,,622595,fake://127.0.0.1:8080/repos/622595, -bamboo:deployBuildWithVcsRevision:1:130003:622595,79b062bd53af15c701193c90b543386557cb7a3a,bamboo:BambooPlan:1:TEST-PLA2,bamboo:deployBuildWithVcsRevision:1:130003:622595,test_project2 - test_plan/release-1,,IN_PROGRESS,dev,2023-07-31T10:16:41.000+00:00,2023-07-31T10:16:41.000+00:00,2023-07-31T10:16:41.000+00:00,0,,622595,fake://127.0.0.1:8080/repos/622595, -bamboo:deployBuildWithVcsRevision:1:130004:622595,79b062bd53af15c701193c90b543386557cb7a3a,bamboo:BambooPlan:1:TEST-PLA2,bamboo:deployBuildWithVcsRevision:1:130004:622595,test_project2 - test_plan/release-1,,IN_PROGRESS,dev,2023-07-31T10:16:41.000+00:00,2023-07-31T10:16:41.000+00:00,2023-07-31T10:16:41.000+00:00,0,,622595,fake://127.0.0.1:8080/repos/622595, -bamboo:deployBuildWithVcsRevision:1:130005:622595,79b062bd53af15c701193c90b543386557cb7a3a,bamboo:BambooPlan:1:TEST-PLA2,bamboo:deployBuildWithVcsRevision:1:130005:622595,test_project2 - test_plan/release-1,,OTHER,dev,2023-07-31T10:16:41.000+00:00,2023-07-31T10:16:41.000+00:00,2023-07-31T10:16:41.000+00:00,0,,622595,fake://127.0.0.1:8080/repos/622595, -bamboo:deployBuildWithVcsRevision:1:130006:622595,79b062bd53af15c701193c90b543386557cb7a3a,bamboo:BambooPlan:1:TEST-PLA2,bamboo:deployBuildWithVcsRevision:1:130006:622595,test_project2 - test_plan/release-1,,OTHER,dev,2023-07-31T10:16:41.000+00:00,2023-07-31T10:16:41.000+00:00,2023-07-31T10:16:41.000+00:00,0,,622595,fake://127.0.0.1:8080/repos/622595, -bamboo:deployBuildWithVcsRevision:1:130007:622595,79b062bd53af15c701193c90b543386557cb7a3a,bamboo:BambooPlan:1:TEST-PLA2,bamboo:deployBuildWithVcsRevision:1:130007:622595,test_project2 - test_plan/release-1,,OTHER,dev,2023-07-31T10:16:41.000+00:00,2023-07-31T10:16:41.000+00:00,2023-07-31T10:16:41.000+00:00,0,,622595,fake://127.0.0.1:8080/repos/622595, -bamboo:deployBuildWithVcsRevision:1:130008:622595,79b062bd53af15c701193c90b543386557cb7a3a,bamboo:BambooPlan:1:TEST-PLA2,bamboo:deployBuildWithVcsRevision:1:130008:622595,test_project2 - test_plan/release-1,,OTHER,dev,2023-07-31T10:16:41.000+00:00,2023-07-31T10:16:41.000+00:00,2023-07-31T10:16:41.000+00:00,0,,622595,fake://127.0.0.1:8080/repos/622595, -bamboo:deployBuildWithVcsRevision:1:1540100:622595,79b062bd53af15c701193c90b543386557cb7a3a,bamboo:BambooPlan:1:TEST-PLA2,bamboo:deployBuildWithVcsRevision:1:1540100:622595,test_project2 - test_plan/release-1,FAILURE,DONE,dev,2023-07-31T11:50:10.000+00:00,2023-07-31T11:50:10.000+00:00,2023-07-31T11:50:10.000+00:00,0,,622595,fake://127.0.0.1:8080/repos/622595, -bamboo:deployBuildWithVcsRevision:1:1540101:622595,79b062bd53af15c701193c90b543386557cb7a3a,bamboo:BambooPlan:1:TEST-PLA2,bamboo:deployBuildWithVcsRevision:1:1540101:622595,test_project2 - test_plan/release-2,FAILURE,DONE,dev,2023-07-31T11:51:14.000+00:00,2023-07-31T11:51:14.000+00:00,2023-07-31T11:51:14.000+00:00,0,,622595,fake://127.0.0.1:8080/repos/622595, -bamboo:deployBuildWithVcsRevision:1:1540102:622595,79b062bd53af15c701193c90b543386557cb7a3a,bamboo:BambooPlan:1:TEST-PLA2,bamboo:deployBuildWithVcsRevision:1:1540102:622595,test_project2 - test_plan/release-2,SUCCESS,DONE,dev,2023-07-31T11:52:32.000+00:00,2023-07-31T11:52:32.000+00:00,2023-07-31T11:52:32.000+00:00,0,,622595,fake://127.0.0.1:8080/repos/622595, -bamboo:deployBuildWithVcsRevision:1:1540105:622595,79b062bd53af15c701193c90b543386557cb7a3a,bamboo:BambooPlan:1:TEST-PLA2,bamboo:deployBuildWithVcsRevision:1:1540105:622595,test_project2 - test_plan/release-2,SUCCESS,DONE,dev,2023-08-01T09:31:53.000+00:00,2023-08-01T09:31:53.000+00:00,2023-08-01T09:31:53.000+00:00,0,,622595,fake://127.0.0.1:8080/repos/622595, -bamboo:deployBuildWithVcsRevision:1:1540106:622595,79b062bd53af15c701193c90b543386557cb7a3a,bamboo:BambooPlan:1:TEST-PLA2,bamboo:deployBuildWithVcsRevision:1:1540106:622595,test_project2 - test_plan/release-2,SUCCESS,DONE,dev,2023-08-01T09:32:00.000+00:00,2023-08-01T09:32:00.000+00:00,2023-08-01T09:32:00.000+00:00,0,,622595,fake://127.0.0.1:8080/repos/622595, -bamboo:deployBuildWithVcsRevision:1:1540117:622595,79b062bd53af15c701193c90b543386557cb7a3a,bamboo:BambooPlan:1:TEST-PLA2,bamboo:deployBuildWithVcsRevision:1:1540117:622595,test_project2 - test_plan/release-3,SUCCESS,DONE,dev,2023-08-03T09:49:07.000+00:00,2023-08-03T09:49:07.000+00:00,2023-08-03T09:49:07.000+00:00,0,,622595,fake://127.0.0.1:8080/repos/622595, +id,commit_sha,cicd_scope_id,cicd_deployment_id,name,result,status,original_status,original_result,environment,created_date,started_date,finished_date,duration_sec,ref_name,repo_id,repo_url,prev_success_deployment_commit_id +bamboo:deployBuildWithVcsRevision:1:130001:622595,79b062bd53af15c701193c90b543386557cb7a3a,bamboo:BambooPlan:1:TEST-PLA2,bamboo:deployBuildWithVcsRevision:1:130001:622595,test_project2 - test_plan/release-1,SUCCESS,DONE,FINISHED,SUCCESS,dev,2023-07-31T10:16:41.000+00:00,2023-07-31T10:16:41.000+00:00,2023-07-31T10:16:41.000+00:00,0,,622595,fake://127.0.0.1:8080/repos/622595, +bamboo:deployBuildWithVcsRevision:1:130002:622595,79b062bd53af15c701193c90b543386557cb7a3a,bamboo:BambooPlan:1:TEST-PLA2,bamboo:deployBuildWithVcsRevision:1:130002:622595,test_project2 - test_plan/release-1,FAILURE,IN_PROGRESS,IN_PROGRESS,FAILED,dev,2023-07-31T10:16:41.000+00:00,2023-07-31T10:16:41.000+00:00,2023-07-31T10:16:41.000+00:00,0,,622595,fake://127.0.0.1:8080/repos/622595, +bamboo:deployBuildWithVcsRevision:1:130003:622595,79b062bd53af15c701193c90b543386557cb7a3a,bamboo:BambooPlan:1:TEST-PLA2,bamboo:deployBuildWithVcsRevision:1:130003:622595,test_project2 - test_plan/release-1,,IN_PROGRESS,PENDING,REPLACED,dev,2023-07-31T10:16:41.000+00:00,2023-07-31T10:16:41.000+00:00,2023-07-31T10:16:41.000+00:00,0,,622595,fake://127.0.0.1:8080/repos/622595, +bamboo:deployBuildWithVcsRevision:1:130004:622595,79b062bd53af15c701193c90b543386557cb7a3a,bamboo:BambooPlan:1:TEST-PLA2,bamboo:deployBuildWithVcsRevision:1:130004:622595,test_project2 - test_plan/release-1,,IN_PROGRESS,QUEUED,SKIPPED,dev,2023-07-31T10:16:41.000+00:00,2023-07-31T10:16:41.000+00:00,2023-07-31T10:16:41.000+00:00,0,,622595,fake://127.0.0.1:8080/repos/622595, +bamboo:deployBuildWithVcsRevision:1:130005:622595,79b062bd53af15c701193c90b543386557cb7a3a,bamboo:BambooPlan:1:TEST-PLA2,bamboo:deployBuildWithVcsRevision:1:130005:622595,test_project2 - test_plan/release-1,,OTHER,NOT_BUILT,NEVER,dev,2023-07-31T10:16:41.000+00:00,2023-07-31T10:16:41.000+00:00,2023-07-31T10:16:41.000+00:00,0,,622595,fake://127.0.0.1:8080/repos/622595, +bamboo:deployBuildWithVcsRevision:1:130006:622595,79b062bd53af15c701193c90b543386557cb7a3a,bamboo:BambooPlan:1:TEST-PLA2,bamboo:deployBuildWithVcsRevision:1:130006:622595,test_project2 - test_plan/release-1,,OTHER,NOT_BUILT,QUEUED,dev,2023-07-31T10:16:41.000+00:00,2023-07-31T10:16:41.000+00:00,2023-07-31T10:16:41.000+00:00,0,,622595,fake://127.0.0.1:8080/repos/622595, +bamboo:deployBuildWithVcsRevision:1:130007:622595,79b062bd53af15c701193c90b543386557cb7a3a,bamboo:BambooPlan:1:TEST-PLA2,bamboo:deployBuildWithVcsRevision:1:130007:622595,test_project2 - test_plan/release-1,,OTHER,NOT_BUILT,IN PROGRESS,dev,2023-07-31T10:16:41.000+00:00,2023-07-31T10:16:41.000+00:00,2023-07-31T10:16:41.000+00:00,0,,622595,fake://127.0.0.1:8080/repos/622595, +bamboo:deployBuildWithVcsRevision:1:130008:622595,79b062bd53af15c701193c90b543386557cb7a3a,bamboo:BambooPlan:1:TEST-PLA2,bamboo:deployBuildWithVcsRevision:1:130008:622595,test_project2 - test_plan/release-1,,OTHER,NOT_BUILT,NOT BUILT,dev,2023-07-31T10:16:41.000+00:00,2023-07-31T10:16:41.000+00:00,2023-07-31T10:16:41.000+00:00,0,,622595,fake://127.0.0.1:8080/repos/622595, +bamboo:deployBuildWithVcsRevision:1:1540100:622595,79b062bd53af15c701193c90b543386557cb7a3a,bamboo:BambooPlan:1:TEST-PLA2,bamboo:deployBuildWithVcsRevision:1:1540100:622595,test_project2 - test_plan/release-1,FAILURE,DONE,FINISHED,FAILED,dev,2023-07-31T11:50:10.000+00:00,2023-07-31T11:50:10.000+00:00,2023-07-31T11:50:10.000+00:00,0,,622595,fake://127.0.0.1:8080/repos/622595, +bamboo:deployBuildWithVcsRevision:1:1540101:622595,79b062bd53af15c701193c90b543386557cb7a3a,bamboo:BambooPlan:1:TEST-PLA2,bamboo:deployBuildWithVcsRevision:1:1540101:622595,test_project2 - test_plan/release-2,FAILURE,DONE,FINISHED,FAILED,dev,2023-07-31T11:51:14.000+00:00,2023-07-31T11:51:14.000+00:00,2023-07-31T11:51:14.000+00:00,0,,622595,fake://127.0.0.1:8080/repos/622595, +bamboo:deployBuildWithVcsRevision:1:1540102:622595,79b062bd53af15c701193c90b543386557cb7a3a,bamboo:BambooPlan:1:TEST-PLA2,bamboo:deployBuildWithVcsRevision:1:1540102:622595,test_project2 - test_plan/release-2,SUCCESS,DONE,FINISHED,SUCCESS,dev,2023-07-31T11:52:32.000+00:00,2023-07-31T11:52:32.000+00:00,2023-07-31T11:52:32.000+00:00,0,,622595,fake://127.0.0.1:8080/repos/622595, +bamboo:deployBuildWithVcsRevision:1:1540105:622595,79b062bd53af15c701193c90b543386557cb7a3a,bamboo:BambooPlan:1:TEST-PLA2,bamboo:deployBuildWithVcsRevision:1:1540105:622595,test_project2 - test_plan/release-2,SUCCESS,DONE,FINISHED,SUCCESS,dev,2023-08-01T09:31:53.000+00:00,2023-08-01T09:31:53.000+00:00,2023-08-01T09:31:53.000+00:00,0,,622595,fake://127.0.0.1:8080/repos/622595, +bamboo:deployBuildWithVcsRevision:1:1540106:622595,79b062bd53af15c701193c90b543386557cb7a3a,bamboo:BambooPlan:1:TEST-PLA2,bamboo:deployBuildWithVcsRevision:1:1540106:622595,test_project2 - test_plan/release-2,SUCCESS,DONE,FINISHED,SUCCESS,dev,2023-08-01T09:32:00.000+00:00,2023-08-01T09:32:00.000+00:00,2023-08-01T09:32:00.000+00:00,0,,622595,fake://127.0.0.1:8080/repos/622595, +bamboo:deployBuildWithVcsRevision:1:1540117:622595,79b062bd53af15c701193c90b543386557cb7a3a,bamboo:BambooPlan:1:TEST-PLA2,bamboo:deployBuildWithVcsRevision:1:1540117:622595,test_project2 - test_plan/release-3,SUCCESS,DONE,FINISHED,SUCCESS,dev,2023-08-03T09:49:07.000+00:00,2023-08-03T09:49:07.000+00:00,2023-08-03T09:49:07.000+00:00,0,,622595,fake://127.0.0.1:8080/repos/622595, diff --git a/backend/plugins/bamboo/e2e/snapshot_tables/cicd_pipelines.csv b/backend/plugins/bamboo/e2e/snapshot_tables/cicd_pipelines.csv index 98dc428097e..35e982a62fd 100644 --- a/backend/plugins/bamboo/e2e/snapshot_tables/cicd_pipelines.csv +++ b/backend/plugins/bamboo/e2e/snapshot_tables/cicd_pipelines.csv @@ -1,17 +1,17 @@ -id,name,result,status,type,duration_sec,environment,created_date,finished_date,cicd_scope_id -bamboo:BambooPlanBuild:1:TEST-PLA2-10,test - pla-2/10,FAILURE,DONE,,0,,2023-07-31T10:15:45.104+00:00,2023-07-31T10:15:45.380+00:00,bamboo:BambooPlan:1:TEST-PLA2 -bamboo:BambooPlanBuild:1:TEST-PLA2-11,test - pla-2/11,SUCCESS,DONE,,0,,2023-07-31T10:16:40.585+00:00,2023-07-31T10:16:40.853+00:00,bamboo:BambooPlan:1:TEST-PLA2 -bamboo:BambooPlanBuild:1:TEST-PLA2-12,test - pla-2/12,SUCCESS,DONE,,0,,2023-08-03T09:49:07.432+00:00,2023-08-03T09:49:07.652+00:00,bamboo:BambooPlan:1:TEST-PLA2 -bamboo:BambooPlanBuild:1:TEST-PLA2-2,test - pla-2/2,FAILURE,DONE,,0,,2023-07-31T08:18:53.453+00:00,2023-07-31T08:18:53.871+00:00,bamboo:BambooPlan:1:TEST-PLA2 -bamboo:BambooPlanBuild:1:TEST-PLA2-3,test - pla-2/3,FAILURE,DONE,,0,,2023-07-31T08:20:37.400+00:00,2023-07-31T08:20:37.729+00:00,bamboo:BambooPlan:1:TEST-PLA2 -bamboo:BambooPlanBuild:1:TEST-PLA2-4,test - pla-2/4,FAILURE,DONE,,0,,2023-07-31T09:12:07.564+00:00,2023-07-31T09:12:07.890+00:00,bamboo:BambooPlan:1:TEST-PLA2 -bamboo:BambooPlanBuild:1:TEST-PLA2-5,test - pla-2/5,FAILURE,DONE,,0,,2023-07-31T09:16:00.785+00:00,2023-07-31T09:16:01.094+00:00,bamboo:BambooPlan:1:TEST-PLA2 -bamboo:BambooPlanBuild:1:TEST-PLA2-6,test - pla-2/6,FAILURE,DONE,,0,,2023-07-31T09:16:33.024+00:00,2023-07-31T09:16:33.312+00:00,bamboo:BambooPlan:1:TEST-PLA2 -bamboo:BambooPlanBuild:1:TEST-PLA2-7,test - pla-2/7,FAILURE,DONE,,0,,2023-07-31T09:17:05.252+00:00,2023-07-31T09:17:05.507+00:00,bamboo:BambooPlan:1:TEST-PLA2 -bamboo:BambooPlanBuild:1:TEST-PLA2-8,test - pla-2/8,FAILURE,DONE,,0,,2023-07-31T09:17:35.396+00:00,2023-07-31T09:17:35.654+00:00,bamboo:BambooPlan:1:TEST-PLA2 -bamboo:BambooPlanBuild:1:TEST-PLA2-9,test - pla-2/9,FAILURE,DONE,,0,,2023-07-31T09:20:13.276+00:00,2023-07-31T09:20:13.609+00:00,bamboo:BambooPlan:1:TEST-PLA2 -bamboo:BambooPlanBuild:1:TEST-PLA3-10001,test - pla-3/1,SUCCESS,DONE,,1,,2023-07-27T03:47:12.941+00:00,2023-07-27T03:47:14.079+00:00,bamboo:BambooPlan:1:TEST-PLA2 -bamboo:BambooPlanBuild:1:TEST-PLA3-10002,test - pla-3/1,SUCCESS,IN_PROGRESS,,1,,2023-07-27T03:47:12.941+00:00,2023-07-27T03:47:14.079+00:00,bamboo:BambooPlan:1:TEST-PLA2 -bamboo:BambooPlanBuild:1:TEST-PLA3-10003,test - pla-3/1,FAILURE,IN_PROGRESS,,1,,2023-07-27T03:47:12.941+00:00,2023-07-27T03:47:14.079+00:00,bamboo:BambooPlan:1:TEST-PLA2 -bamboo:BambooPlanBuild:1:TEST-PLA3-10004,test - pla-3/1,FAILURE,IN_PROGRESS,,1,,2023-07-27T03:47:12.941+00:00,2023-07-27T03:47:14.079+00:00,bamboo:BambooPlan:1:TEST-PLA2 -bamboo:BambooPlanBuild:1:TEST-PLA3-10005,test - pla-3/1,,OTHER,,1,,2023-07-27T03:47:12.941+00:00,2023-07-27T03:47:14.079+00:00,bamboo:BambooPlan:1:TEST-PLA2 +id,name,result,status,original_status,original_result,type,duration_sec,environment,created_date,finished_date,cicd_scope_id +bamboo:BambooPlanBuild:1:TEST-PLA2-10,test - pla-2/10,FAILURE,DONE,Finished,Failed,,0,,2023-07-31T10:15:45.104+00:00,2023-07-31T10:15:45.380+00:00,bamboo:BambooPlan:1:TEST-PLA2 +bamboo:BambooPlanBuild:1:TEST-PLA2-11,test - pla-2/11,SUCCESS,DONE,Finished,Successful,,0,,2023-07-31T10:16:40.585+00:00,2023-07-31T10:16:40.853+00:00,bamboo:BambooPlan:1:TEST-PLA2 +bamboo:BambooPlanBuild:1:TEST-PLA2-12,test - pla-2/12,SUCCESS,DONE,Finished,Successful,,0,,2023-08-03T09:49:07.432+00:00,2023-08-03T09:49:07.652+00:00,bamboo:BambooPlan:1:TEST-PLA2 +bamboo:BambooPlanBuild:1:TEST-PLA2-2,test - pla-2/2,FAILURE,DONE,Finished,Failed,,0,,2023-07-31T08:18:53.453+00:00,2023-07-31T08:18:53.871+00:00,bamboo:BambooPlan:1:TEST-PLA2 +bamboo:BambooPlanBuild:1:TEST-PLA2-3,test - pla-2/3,FAILURE,DONE,Finished,Failed,,0,,2023-07-31T08:20:37.400+00:00,2023-07-31T08:20:37.729+00:00,bamboo:BambooPlan:1:TEST-PLA2 +bamboo:BambooPlanBuild:1:TEST-PLA2-4,test - pla-2/4,FAILURE,DONE,Finished,Failed,,0,,2023-07-31T09:12:07.564+00:00,2023-07-31T09:12:07.890+00:00,bamboo:BambooPlan:1:TEST-PLA2 +bamboo:BambooPlanBuild:1:TEST-PLA2-5,test - pla-2/5,FAILURE,DONE,Finished,Failed,,0,,2023-07-31T09:16:00.785+00:00,2023-07-31T09:16:01.094+00:00,bamboo:BambooPlan:1:TEST-PLA2 +bamboo:BambooPlanBuild:1:TEST-PLA2-6,test - pla-2/6,FAILURE,DONE,Finished,Failed,,0,,2023-07-31T09:16:33.024+00:00,2023-07-31T09:16:33.312+00:00,bamboo:BambooPlan:1:TEST-PLA2 +bamboo:BambooPlanBuild:1:TEST-PLA2-7,test - pla-2/7,FAILURE,DONE,Finished,Failed,,0,,2023-07-31T09:17:05.252+00:00,2023-07-31T09:17:05.507+00:00,bamboo:BambooPlan:1:TEST-PLA2 +bamboo:BambooPlanBuild:1:TEST-PLA2-8,test - pla-2/8,FAILURE,DONE,Finished,Failed,,0,,2023-07-31T09:17:35.396+00:00,2023-07-31T09:17:35.654+00:00,bamboo:BambooPlan:1:TEST-PLA2 +bamboo:BambooPlanBuild:1:TEST-PLA2-9,test - pla-2/9,FAILURE,DONE,Finished,Failed,,0,,2023-07-31T09:20:13.276+00:00,2023-07-31T09:20:13.609+00:00,bamboo:BambooPlan:1:TEST-PLA2 +bamboo:BambooPlanBuild:1:TEST-PLA3-10001,test - pla-3/1,SUCCESS,DONE,Finished,SUCCESS,,1,,2023-07-27T03:47:12.941+00:00,2023-07-27T03:47:14.079+00:00,bamboo:BambooPlan:1:TEST-PLA2 +bamboo:BambooPlanBuild:1:TEST-PLA3-10002,test - pla-3/1,SUCCESS,IN_PROGRESS,IN_PROGRESS,Successful,,1,,2023-07-27T03:47:12.941+00:00,2023-07-27T03:47:14.079+00:00,bamboo:BambooPlan:1:TEST-PLA2 +bamboo:BambooPlanBuild:1:TEST-PLA3-10003,test - pla-3/1,FAILURE,IN_PROGRESS,PENDING,FAILED,,1,,2023-07-27T03:47:12.941+00:00,2023-07-27T03:47:14.079+00:00,bamboo:BambooPlan:1:TEST-PLA2 +bamboo:BambooPlanBuild:1:TEST-PLA3-10004,test - pla-3/1,FAILURE,IN_PROGRESS,QUEUED,FAILED,,1,,2023-07-27T03:47:12.941+00:00,2023-07-27T03:47:14.079+00:00,bamboo:BambooPlan:1:TEST-PLA2 +bamboo:BambooPlanBuild:1:TEST-PLA3-10005,test - pla-3/1,,OTHER,NOT_BUILT,UNKNOWN,,1,,2023-07-27T03:47:12.941+00:00,2023-07-27T03:47:14.079+00:00,bamboo:BambooPlan:1:TEST-PLA2 diff --git a/backend/plugins/bamboo/e2e/snapshot_tables/cicd_tasks.csv b/backend/plugins/bamboo/e2e/snapshot_tables/cicd_tasks.csv index 2d194bba806..e81612aece3 100644 --- a/backend/plugins/bamboo/e2e/snapshot_tables/cicd_tasks.csv +++ b/backend/plugins/bamboo/e2e/snapshot_tables/cicd_tasks.csv @@ -1,8 +1,8 @@ -id,name,pipeline_id,result,status,type,environment,duration_sec,started_date,finished_date,cicd_scope_id -bamboo:BambooJobBuild:1:TEST-PLA3-JOB1-1,Default Job,bamboo:BambooPlanBuild:1:TEST-PLA3-1,SUCCESS,DONE,,,0,2023-07-27T03:47:13.626+00:00,2023-07-27T03:47:13.750+00:00,bamboo:BambooPlan:1:TEST-PLA3 -bamboo:BambooJobBuild:1:TEST-PLA3-JOB1-2,Default Job,bamboo:BambooPlanBuild:1:TEST-PLA3-2,SUCCESS,DONE,,,0,2023-07-27T03:56:15.783+00:00,2023-07-27T03:56:15.789+00:00,bamboo:BambooPlan:1:TEST-PLA3 -bamboo:BambooJobBuild:1:TEST-PLA3-JOB1-20001,Default Job,bamboo:BambooPlanBuild:1:TEST-PLA3-1,SUCCESS,DONE,,,0,2023-07-27T03:47:13.626+00:00,2023-07-27T03:47:13.750+00:00,bamboo:BambooPlan:1:TEST-PLA3 -bamboo:BambooJobBuild:1:TEST-PLA3-JOB1-20002,Default Job,bamboo:BambooPlanBuild:1:TEST-PLA3-1,SUCCESS,IN_PROGRESS,,,0,2023-07-27T03:47:13.626+00:00,2023-07-27T03:47:13.750+00:00,bamboo:BambooPlan:1:TEST-PLA3 -bamboo:BambooJobBuild:1:TEST-PLA3-JOB1-20003,Default Job,bamboo:BambooPlanBuild:1:TEST-PLA3-1,SUCCESS,IN_PROGRESS,,,0,2023-07-27T03:47:13.626+00:00,2023-07-27T03:47:13.750+00:00,bamboo:BambooPlan:1:TEST-PLA3 -bamboo:BambooJobBuild:1:TEST-PLA3-JOB1-20004,Default Job,bamboo:BambooPlanBuild:1:TEST-PLA3-1,FAILURE,IN_PROGRESS,,,0,2023-07-27T03:47:13.626+00:00,2023-07-27T03:47:13.750+00:00,bamboo:BambooPlan:1:TEST-PLA3 -bamboo:BambooJobBuild:1:TEST-PLA3-JOB1-20005,Default Job,bamboo:BambooPlanBuild:1:TEST-PLA3-1,,OTHER,,,0,2023-07-27T03:47:13.626+00:00,2023-07-27T03:47:13.750+00:00,bamboo:BambooPlan:1:TEST-PLA3 +id,name,pipeline_id,result,status,original_status,original_result,type,environment,duration_sec,started_date,finished_date,cicd_scope_id +bamboo:BambooJobBuild:1:TEST-PLA3-JOB1-1,Default Job,bamboo:BambooPlanBuild:1:TEST-PLA3-1,SUCCESS,DONE,Finished,Successful,,,0,2023-07-27T03:47:13.626+00:00,2023-07-27T03:47:13.750+00:00,bamboo:BambooPlan:1:TEST-PLA3 +bamboo:BambooJobBuild:1:TEST-PLA3-JOB1-2,Default Job,bamboo:BambooPlanBuild:1:TEST-PLA3-2,SUCCESS,DONE,Finished,Successful,,,0,2023-07-27T03:56:15.783+00:00,2023-07-27T03:56:15.789+00:00,bamboo:BambooPlan:1:TEST-PLA3 +bamboo:BambooJobBuild:1:TEST-PLA3-JOB1-20001,Default Job,bamboo:BambooPlanBuild:1:TEST-PLA3-1,SUCCESS,DONE,Finished,SUCCESS,,,0,2023-07-27T03:47:13.626+00:00,2023-07-27T03:47:13.750+00:00,bamboo:BambooPlan:1:TEST-PLA3 +bamboo:BambooJobBuild:1:TEST-PLA3-JOB1-20002,Default Job,bamboo:BambooPlanBuild:1:TEST-PLA3-1,SUCCESS,IN_PROGRESS,IN_PROGRESS,SUCCESS,,,0,2023-07-27T03:47:13.626+00:00,2023-07-27T03:47:13.750+00:00,bamboo:BambooPlan:1:TEST-PLA3 +bamboo:BambooJobBuild:1:TEST-PLA3-JOB1-20003,Default Job,bamboo:BambooPlanBuild:1:TEST-PLA3-1,SUCCESS,IN_PROGRESS,PENDING,SUCCESS,,,0,2023-07-27T03:47:13.626+00:00,2023-07-27T03:47:13.750+00:00,bamboo:BambooPlan:1:TEST-PLA3 +bamboo:BambooJobBuild:1:TEST-PLA3-JOB1-20004,Default Job,bamboo:BambooPlanBuild:1:TEST-PLA3-1,FAILURE,IN_PROGRESS,QUEUED,FAILED,,,0,2023-07-27T03:47:13.626+00:00,2023-07-27T03:47:13.750+00:00,bamboo:BambooPlan:1:TEST-PLA3 +bamboo:BambooJobBuild:1:TEST-PLA3-JOB1-20005,Default Job,bamboo:BambooPlanBuild:1:TEST-PLA3-1,,OTHER,NOT_BUILT,UNKNOWN,,,0,2023-07-27T03:47:13.626+00:00,2023-07-27T03:47:13.750+00:00,bamboo:BambooPlan:1:TEST-PLA3 diff --git a/backend/plugins/bamboo/tasks/deploy_build_convertor.go b/backend/plugins/bamboo/tasks/deploy_build_convertor.go index 40b8adad04f..9ad15fe8f0e 100644 --- a/backend/plugins/bamboo/tasks/deploy_build_convertor.go +++ b/backend/plugins/bamboo/tasks/deploy_build_convertor.go @@ -117,17 +117,19 @@ func ConvertDeployBuilds(taskCtx plugin.SubTaskContext) errors.Error { Failure: []string{ResultFailed}, Default: devops.RESULT_DEFAULT, }, input.DeploymentState), + OriginalResult: input.DeploymentState, Status: devops.GetStatus(&devops.StatusRule{ Done: []string{StatusFinished}, InProgress: []string{StatusInProgress, StatusPending, StatusQueued}, Default: devops.STATUS_OTHER, }, input.LifeCycleState), - Environment: input.Environment, - StartedDate: input.StartedDate, - FinishedDate: input.FinishedDate, - CommitSha: input.VcsRevisionKey, - RefName: input.PlanBranchName, - RepoId: strconv.Itoa(input.RepositoryId), + OriginalStatus: input.LifeCycleState, + Environment: input.Environment, + StartedDate: input.StartedDate, + FinishedDate: input.FinishedDate, + CommitSha: input.VcsRevisionKey, + RefName: input.PlanBranchName, + RepoId: strconv.Itoa(input.RepositoryId), } deploymentCommit.CreatedDate = time.Now() if input.StartedDate != nil { diff --git a/backend/plugins/bamboo/tasks/job_build_convertor.go b/backend/plugins/bamboo/tasks/job_build_convertor.go index 89784a5d7f9..9b1a348db17 100644 --- a/backend/plugins/bamboo/tasks/job_build_convertor.go +++ b/backend/plugins/bamboo/tasks/job_build_convertor.go @@ -70,18 +70,18 @@ func ConvertJobBuilds(taskCtx plugin.SubTaskContext) errors.Error { FinishedDate: line.BuildCompletedDate, PipelineId: planBuildIdGen.Generate(data.Options.ConnectionId, line.PlanBuildKey), CicdScopeId: planIdGen.Generate(data.Options.ConnectionId, data.Options.PlanKey), - Result: devops.GetResult(&devops.ResultRule{ Success: []string{ResultSuccess, ResultSuccessful}, Failure: []string{ResultFailed}, Default: devops.RESULT_DEFAULT, }, line.BuildState), - + OriginalResult: line.BuildState, Status: devops.GetStatus(&devops.StatusRule{ Done: []string{StatusFinished}, InProgress: []string{StatusInProgress, StatusPending, StatusQueued}, Default: devops.STATUS_OTHER, }, line.LifeCycleState), + OriginalStatus: line.LifeCycleState, } domainJobBuild.Type = line.Type diff --git a/backend/plugins/bamboo/tasks/plan_build_convertor.go b/backend/plugins/bamboo/tasks/plan_build_convertor.go index 40e797d5c80..7c565752807 100644 --- a/backend/plugins/bamboo/tasks/plan_build_convertor.go +++ b/backend/plugins/bamboo/tasks/plan_build_convertor.go @@ -74,12 +74,13 @@ func ConvertPlanBuilds(taskCtx plugin.SubTaskContext) errors.Error { Failure: []string{ResultFailed}, Default: devops.RESULT_DEFAULT, }, line.BuildState), - + OriginalResult: line.BuildState, Status: devops.GetStatus(&devops.StatusRule{ Done: []string{StatusFinished}, InProgress: []string{StatusInProgress, StatusPending, StatusQueued}, Default: devops.STATUS_OTHER, }, line.LifeCycleState), + OriginalStatus: line.LifeCycleState, } domainPlanBuild.Type = line.Type diff --git a/backend/plugins/bitbucket/e2e/deployments_test.go b/backend/plugins/bitbucket/e2e/deployments_test.go index 70795f0195c..66f0a015d52 100644 --- a/backend/plugins/bitbucket/e2e/deployments_test.go +++ b/backend/plugins/bitbucket/e2e/deployments_test.go @@ -89,6 +89,8 @@ func TestDeloymentsDataFlow(t *testing.T) { "name", "result", "status", + "original_result", + "original_status", "environment", }, ) @@ -100,6 +102,8 @@ func TestDeloymentsDataFlow(t *testing.T) { "name", "result", "status", + "original_result", + "original_status", "environment", }, ) diff --git a/backend/plugins/bitbucket/e2e/pipeline_steps_test.go b/backend/plugins/bitbucket/e2e/pipeline_steps_test.go index 0f9bdf73b97..85fa31db898 100644 --- a/backend/plugins/bitbucket/e2e/pipeline_steps_test.go +++ b/backend/plugins/bitbucket/e2e/pipeline_steps_test.go @@ -85,6 +85,8 @@ func TestBitbucketPipelineStepsDataFlow(t *testing.T) { "pipeline_id", "result", "status", + "original_result", + "original_status", "type", "duration_sec", "started_date", diff --git a/backend/plugins/bitbucket/e2e/pipelines_test.go b/backend/plugins/bitbucket/e2e/pipelines_test.go index 05b984be48d..c2eb9c71465 100644 --- a/backend/plugins/bitbucket/e2e/pipelines_test.go +++ b/backend/plugins/bitbucket/e2e/pipelines_test.go @@ -84,6 +84,8 @@ func TestBitbucketPipelineDataFlow(t *testing.T) { "name", "result", "status", + "original_result", + "original_status", "type", "duration_sec", "environment", diff --git a/backend/plugins/bitbucket/e2e/snapshot_tables/cicd_deployment_commits_for_deployment.csv b/backend/plugins/bitbucket/e2e/snapshot_tables/cicd_deployment_commits_for_deployment.csv index 0e6ab37fff2..7c2e60ec066 100644 --- a/backend/plugins/bitbucket/e2e/snapshot_tables/cicd_deployment_commits_for_deployment.csv +++ b/backend/plugins/bitbucket/e2e/snapshot_tables/cicd_deployment_commits_for_deployment.csv @@ -1,28 +1,28 @@ -id,commit_sha,name,result,status,environment -bitbucket:BitbucketDeployment:1:{05a3cd4a-19ed-55fd-9eb4-aed34804dd04},ca4302e0e56c89332711e1b1051ab2f0110d4412,#159,,OTHER,TESTING -bitbucket:BitbucketDeployment:1:{07d9246c-d007-5a4e-ad67-539881a7324d},ca4302e0e56c89332711e1b1051ab2f0110d4412,#10,SUCCESS,DONE,STAGING -bitbucket:BitbucketDeployment:1:{10b54621-1ead-5a74-9e2a-4425eaf0351a},83ed48081d1fad9dbd60948cfe9661f67aac2694,#7,SUCCESS,DONE,STAGING -bitbucket:BitbucketDeployment:1:{3014535b-b9f9-5501-a493-39f0457f02df},2b1cd7db35f3cf67d6d124e08b13272a1901707a,#1,SUCCESS,DONE,TESTING -bitbucket:BitbucketDeployment:1:{33e112b0-ff24-559c-a7b6-3ff24e7f49c4},ca4302e0e56c89332711e1b1051ab2f0110d4412,#14,SUCCESS,DONE,TESTING -bitbucket:BitbucketDeployment:1:{3ded5ffb-d61b-509d-bbdc-788806431302},ca4302e0e56c89332711e1b1051ab2f0110d4412,#186,SUCCESS,DONE,TESTING -bitbucket:BitbucketDeployment:1:{5c6b00c4-a848-5db6-b9e1-3912631d4101},83ed48081d1fad9dbd60948cfe9661f67aac2694,#7,SUCCESS,DONE,PRODUCTION -bitbucket:BitbucketDeployment:1:{5c6b00c4-a848-5db6-b9e1-3912631d4102},83ed48081d1fad9dbd60948cfe9661f67aac2694,#7,SUCCESS,DONE,PRODUCTION -bitbucket:BitbucketDeployment:1:{5c6b00c4-a848-5db6-b9e1-3912631d4103},83ed48081d1fad9dbd60948cfe9661f67aac2694,#7,FAILURE,DONE,PRODUCTION -bitbucket:BitbucketDeployment:1:{5c6b00c4-a848-5db6-b9e1-3912631d4104},83ed48081d1fad9dbd60948cfe9661f67aac2694,#7,FAILURE,DONE,PRODUCTION -bitbucket:BitbucketDeployment:1:{5c6b00c4-a848-5db6-b9e1-3912631d4105},83ed48081d1fad9dbd60948cfe9661f67aac2694,#7,FAILURE,DONE,PRODUCTION -bitbucket:BitbucketDeployment:1:{5c6b00c4-a848-5db6-b9e1-3912631d4106},83ed48081d1fad9dbd60948cfe9661f67aac2694,#7,,IN_PROGRESS,PRODUCTION -bitbucket:BitbucketDeployment:1:{5c6b00c4-a848-5db6-b9e1-3912631d4107},83ed48081d1fad9dbd60948cfe9661f67aac2694,#7,,OTHER,PRODUCTION -bitbucket:BitbucketDeployment:1:{5c6b00c4-a848-5db6-b9e1-3912631d4108},83ed48081d1fad9dbd60948cfe9661f67aac2694,#7,,OTHER,PRODUCTION -bitbucket:BitbucketDeployment:1:{5c6b00c4-a848-5db6-b9e1-3912631d4109},83ed48081d1fad9dbd60948cfe9661f67aac2694,#7,,OTHER,PRODUCTION -bitbucket:BitbucketDeployment:1:{5c6b00c4-a848-5db6-b9e1-3912631d4110},83ed48081d1fad9dbd60948cfe9661f67aac2694,#7,,OTHER,PRODUCTION -bitbucket:BitbucketDeployment:1:{5c6b00c4-a848-5db6-b9e1-3912631d4b58},83ed48081d1fad9dbd60948cfe9661f67aac2694,#7,SUCCESS,DONE,PRODUCTION -bitbucket:BitbucketDeployment:1:{6b258aea-b249-5b1e-bab9-0bb02d0147bc},83ed48081d1fad9dbd60948cfe9661f67aac2694,#7,SUCCESS,DONE,TESTING -bitbucket:BitbucketDeployment:1:{6dca96ac-bd01-56a9-b681-919804eb8e18},ca4302e0e56c89332711e1b1051ab2f0110d4412,#186,SUCCESS,DONE,PRODUCTION -bitbucket:BitbucketDeployment:1:{7a0bacf1-5549-54f2-9145-4cdc04ae13a7},ca4302e0e56c89332711e1b1051ab2f0110d4412,#11,SUCCESS,DONE,TESTING -bitbucket:BitbucketDeployment:1:{905984df-e8ce-55bb-96c6-bc46dcb534b5},ca4302e0e56c89332711e1b1051ab2f0110d4412,#11,SUCCESS,DONE,PRODUCTION -bitbucket:BitbucketDeployment:1:{94bea09b-3516-5c76-bad5-dec47e9a4bd7},ca4302e0e56c89332711e1b1051ab2f0110d4412,#11,SUCCESS,DONE,STAGING -bitbucket:BitbucketDeployment:1:{af164a42-447c-5a7b-87fd-17f183075e60},ca4302e0e56c89332711e1b1051ab2f0110d4412,#12,,OTHER,TESTING -bitbucket:BitbucketDeployment:1:{bcfe3b1b-71d6-5fb2-81d6-64e44d6c7b38},ca4302e0e56c89332711e1b1051ab2f0110d4412,#82,,OTHER,TESTING -bitbucket:BitbucketDeployment:1:{c2958023-2f97-578a-b90c-236d453656e0},ca4302e0e56c89332711e1b1051ab2f0110d4412,#10,SUCCESS,DONE,TESTING -bitbucket:BitbucketDeployment:1:{e31cee73-dc73-5c75-a60a-c286fa629691},ca4302e0e56c89332711e1b1051ab2f0110d4412,#10,SUCCESS,DONE,PRODUCTION -bitbucket:BitbucketDeployment:1:{fcb46cbc-8733-5264-b362-c05a8f9eb2f8},ca4302e0e56c89332711e1b1051ab2f0110d4412,#186,SUCCESS,DONE,STAGING +id,commit_sha,name,result,status,original_result,original_status,environment +bitbucket:BitbucketDeployment:1:{05a3cd4a-19ed-55fd-9eb4-aed34804dd04},ca4302e0e56c89332711e1b1051ab2f0110d4412,#159,,OTHER,,UNDEPLOYED,TESTING +bitbucket:BitbucketDeployment:1:{07d9246c-d007-5a4e-ad67-539881a7324d},ca4302e0e56c89332711e1b1051ab2f0110d4412,#10,SUCCESS,DONE,,COMPLETED,STAGING +bitbucket:BitbucketDeployment:1:{10b54621-1ead-5a74-9e2a-4425eaf0351a},83ed48081d1fad9dbd60948cfe9661f67aac2694,#7,SUCCESS,DONE,,COMPLETED,STAGING +bitbucket:BitbucketDeployment:1:{3014535b-b9f9-5501-a493-39f0457f02df},2b1cd7db35f3cf67d6d124e08b13272a1901707a,#1,SUCCESS,DONE,,COMPLETED,TESTING +bitbucket:BitbucketDeployment:1:{33e112b0-ff24-559c-a7b6-3ff24e7f49c4},ca4302e0e56c89332711e1b1051ab2f0110d4412,#14,SUCCESS,DONE,,COMPLETED,TESTING +bitbucket:BitbucketDeployment:1:{3ded5ffb-d61b-509d-bbdc-788806431302},ca4302e0e56c89332711e1b1051ab2f0110d4412,#186,SUCCESS,DONE,,COMPLETED,TESTING +bitbucket:BitbucketDeployment:1:{5c6b00c4-a848-5db6-b9e1-3912631d4101},83ed48081d1fad9dbd60948cfe9661f67aac2694,#7,SUCCESS,DONE,,COMPLETED,PRODUCTION +bitbucket:BitbucketDeployment:1:{5c6b00c4-a848-5db6-b9e1-3912631d4102},83ed48081d1fad9dbd60948cfe9661f67aac2694,#7,SUCCESS,DONE,,SUCCESSFUL,PRODUCTION +bitbucket:BitbucketDeployment:1:{5c6b00c4-a848-5db6-b9e1-3912631d4103},83ed48081d1fad9dbd60948cfe9661f67aac2694,#7,FAILURE,DONE,,FAILED,PRODUCTION +bitbucket:BitbucketDeployment:1:{5c6b00c4-a848-5db6-b9e1-3912631d4104},83ed48081d1fad9dbd60948cfe9661f67aac2694,#7,FAILURE,DONE,,STOPPED,PRODUCTION +bitbucket:BitbucketDeployment:1:{5c6b00c4-a848-5db6-b9e1-3912631d4105},83ed48081d1fad9dbd60948cfe9661f67aac2694,#7,FAILURE,DONE,,CANCELLED,PRODUCTION +bitbucket:BitbucketDeployment:1:{5c6b00c4-a848-5db6-b9e1-3912631d4106},83ed48081d1fad9dbd60948cfe9661f67aac2694,#7,,IN_PROGRESS,,IN_PROGRESS,PRODUCTION +bitbucket:BitbucketDeployment:1:{5c6b00c4-a848-5db6-b9e1-3912631d4107},83ed48081d1fad9dbd60948cfe9661f67aac2694,#7,,OTHER,,UNDEPLOYED,PRODUCTION +bitbucket:BitbucketDeployment:1:{5c6b00c4-a848-5db6-b9e1-3912631d4108},83ed48081d1fad9dbd60948cfe9661f67aac2694,#7,,OTHER,,PENDING,PRODUCTION +bitbucket:BitbucketDeployment:1:{5c6b00c4-a848-5db6-b9e1-3912631d4109},83ed48081d1fad9dbd60948cfe9661f67aac2694,#7,,OTHER,,ROLLED_BACK,PRODUCTION +bitbucket:BitbucketDeployment:1:{5c6b00c4-a848-5db6-b9e1-3912631d4110},83ed48081d1fad9dbd60948cfe9661f67aac2694,#7,,OTHER,,UNKNOWN,PRODUCTION +bitbucket:BitbucketDeployment:1:{5c6b00c4-a848-5db6-b9e1-3912631d4b58},83ed48081d1fad9dbd60948cfe9661f67aac2694,#7,SUCCESS,DONE,,COMPLETED,PRODUCTION +bitbucket:BitbucketDeployment:1:{6b258aea-b249-5b1e-bab9-0bb02d0147bc},83ed48081d1fad9dbd60948cfe9661f67aac2694,#7,SUCCESS,DONE,,COMPLETED,TESTING +bitbucket:BitbucketDeployment:1:{6dca96ac-bd01-56a9-b681-919804eb8e18},ca4302e0e56c89332711e1b1051ab2f0110d4412,#186,SUCCESS,DONE,,COMPLETED,PRODUCTION +bitbucket:BitbucketDeployment:1:{7a0bacf1-5549-54f2-9145-4cdc04ae13a7},ca4302e0e56c89332711e1b1051ab2f0110d4412,#11,SUCCESS,DONE,,COMPLETED,TESTING +bitbucket:BitbucketDeployment:1:{905984df-e8ce-55bb-96c6-bc46dcb534b5},ca4302e0e56c89332711e1b1051ab2f0110d4412,#11,SUCCESS,DONE,,COMPLETED,PRODUCTION +bitbucket:BitbucketDeployment:1:{94bea09b-3516-5c76-bad5-dec47e9a4bd7},ca4302e0e56c89332711e1b1051ab2f0110d4412,#11,SUCCESS,DONE,,COMPLETED,STAGING +bitbucket:BitbucketDeployment:1:{af164a42-447c-5a7b-87fd-17f183075e60},ca4302e0e56c89332711e1b1051ab2f0110d4412,#12,,OTHER,,UNDEPLOYED,TESTING +bitbucket:BitbucketDeployment:1:{bcfe3b1b-71d6-5fb2-81d6-64e44d6c7b38},ca4302e0e56c89332711e1b1051ab2f0110d4412,#82,,OTHER,,UNDEPLOYED,TESTING +bitbucket:BitbucketDeployment:1:{c2958023-2f97-578a-b90c-236d453656e0},ca4302e0e56c89332711e1b1051ab2f0110d4412,#10,SUCCESS,DONE,,COMPLETED,TESTING +bitbucket:BitbucketDeployment:1:{e31cee73-dc73-5c75-a60a-c286fa629691},ca4302e0e56c89332711e1b1051ab2f0110d4412,#10,SUCCESS,DONE,,COMPLETED,PRODUCTION +bitbucket:BitbucketDeployment:1:{fcb46cbc-8733-5264-b362-c05a8f9eb2f8},ca4302e0e56c89332711e1b1051ab2f0110d4412,#186,SUCCESS,DONE,,COMPLETED,STAGING diff --git a/backend/plugins/bitbucket/e2e/snapshot_tables/cicd_deployments_for_deployment.csv b/backend/plugins/bitbucket/e2e/snapshot_tables/cicd_deployments_for_deployment.csv index c0a3bafb7f4..19483b139df 100644 --- a/backend/plugins/bitbucket/e2e/snapshot_tables/cicd_deployments_for_deployment.csv +++ b/backend/plugins/bitbucket/e2e/snapshot_tables/cicd_deployments_for_deployment.csv @@ -1,28 +1,28 @@ -id,name,result,status,environment -bitbucket:BitbucketDeployment:1:{05a3cd4a-19ed-55fd-9eb4-aed34804dd04},#159,,OTHER,TESTING -bitbucket:BitbucketDeployment:1:{07d9246c-d007-5a4e-ad67-539881a7324d},#10,SUCCESS,DONE,STAGING -bitbucket:BitbucketDeployment:1:{10b54621-1ead-5a74-9e2a-4425eaf0351a},#7,SUCCESS,DONE,STAGING -bitbucket:BitbucketDeployment:1:{3014535b-b9f9-5501-a493-39f0457f02df},#1,SUCCESS,DONE,TESTING -bitbucket:BitbucketDeployment:1:{33e112b0-ff24-559c-a7b6-3ff24e7f49c4},#14,SUCCESS,DONE,TESTING -bitbucket:BitbucketDeployment:1:{3ded5ffb-d61b-509d-bbdc-788806431302},#186,SUCCESS,DONE,TESTING -bitbucket:BitbucketDeployment:1:{5c6b00c4-a848-5db6-b9e1-3912631d4101},#7,SUCCESS,DONE,PRODUCTION -bitbucket:BitbucketDeployment:1:{5c6b00c4-a848-5db6-b9e1-3912631d4102},#7,SUCCESS,DONE,PRODUCTION -bitbucket:BitbucketDeployment:1:{5c6b00c4-a848-5db6-b9e1-3912631d4103},#7,FAILURE,DONE,PRODUCTION -bitbucket:BitbucketDeployment:1:{5c6b00c4-a848-5db6-b9e1-3912631d4104},#7,FAILURE,DONE,PRODUCTION -bitbucket:BitbucketDeployment:1:{5c6b00c4-a848-5db6-b9e1-3912631d4105},#7,FAILURE,DONE,PRODUCTION -bitbucket:BitbucketDeployment:1:{5c6b00c4-a848-5db6-b9e1-3912631d4106},#7,,IN_PROGRESS,PRODUCTION -bitbucket:BitbucketDeployment:1:{5c6b00c4-a848-5db6-b9e1-3912631d4107},#7,,OTHER,PRODUCTION -bitbucket:BitbucketDeployment:1:{5c6b00c4-a848-5db6-b9e1-3912631d4108},#7,,OTHER,PRODUCTION -bitbucket:BitbucketDeployment:1:{5c6b00c4-a848-5db6-b9e1-3912631d4109},#7,,OTHER,PRODUCTION -bitbucket:BitbucketDeployment:1:{5c6b00c4-a848-5db6-b9e1-3912631d4110},#7,,OTHER,PRODUCTION -bitbucket:BitbucketDeployment:1:{5c6b00c4-a848-5db6-b9e1-3912631d4b58},#7,SUCCESS,DONE,PRODUCTION -bitbucket:BitbucketDeployment:1:{6b258aea-b249-5b1e-bab9-0bb02d0147bc},#7,SUCCESS,DONE,TESTING -bitbucket:BitbucketDeployment:1:{6dca96ac-bd01-56a9-b681-919804eb8e18},#186,SUCCESS,DONE,PRODUCTION -bitbucket:BitbucketDeployment:1:{7a0bacf1-5549-54f2-9145-4cdc04ae13a7},#11,SUCCESS,DONE,TESTING -bitbucket:BitbucketDeployment:1:{905984df-e8ce-55bb-96c6-bc46dcb534b5},#11,SUCCESS,DONE,PRODUCTION -bitbucket:BitbucketDeployment:1:{94bea09b-3516-5c76-bad5-dec47e9a4bd7},#11,SUCCESS,DONE,STAGING -bitbucket:BitbucketDeployment:1:{af164a42-447c-5a7b-87fd-17f183075e60},#12,,OTHER,TESTING -bitbucket:BitbucketDeployment:1:{bcfe3b1b-71d6-5fb2-81d6-64e44d6c7b38},#82,,OTHER,TESTING -bitbucket:BitbucketDeployment:1:{c2958023-2f97-578a-b90c-236d453656e0},#10,SUCCESS,DONE,TESTING -bitbucket:BitbucketDeployment:1:{e31cee73-dc73-5c75-a60a-c286fa629691},#10,SUCCESS,DONE,PRODUCTION -bitbucket:BitbucketDeployment:1:{fcb46cbc-8733-5264-b362-c05a8f9eb2f8},#186,SUCCESS,DONE,STAGING +id,name,result,status,original_result,original_status,environment +bitbucket:BitbucketDeployment:1:{05a3cd4a-19ed-55fd-9eb4-aed34804dd04},#159,,OTHER,,UNDEPLOYED,TESTING +bitbucket:BitbucketDeployment:1:{07d9246c-d007-5a4e-ad67-539881a7324d},#10,SUCCESS,DONE,,COMPLETED,STAGING +bitbucket:BitbucketDeployment:1:{10b54621-1ead-5a74-9e2a-4425eaf0351a},#7,SUCCESS,DONE,,COMPLETED,STAGING +bitbucket:BitbucketDeployment:1:{3014535b-b9f9-5501-a493-39f0457f02df},#1,SUCCESS,DONE,,COMPLETED,TESTING +bitbucket:BitbucketDeployment:1:{33e112b0-ff24-559c-a7b6-3ff24e7f49c4},#14,SUCCESS,DONE,,COMPLETED,TESTING +bitbucket:BitbucketDeployment:1:{3ded5ffb-d61b-509d-bbdc-788806431302},#186,SUCCESS,DONE,,COMPLETED,TESTING +bitbucket:BitbucketDeployment:1:{5c6b00c4-a848-5db6-b9e1-3912631d4101},#7,SUCCESS,DONE,,COMPLETED,PRODUCTION +bitbucket:BitbucketDeployment:1:{5c6b00c4-a848-5db6-b9e1-3912631d4102},#7,SUCCESS,DONE,,SUCCESSFUL,PRODUCTION +bitbucket:BitbucketDeployment:1:{5c6b00c4-a848-5db6-b9e1-3912631d4103},#7,FAILURE,DONE,,FAILED,PRODUCTION +bitbucket:BitbucketDeployment:1:{5c6b00c4-a848-5db6-b9e1-3912631d4104},#7,FAILURE,DONE,,STOPPED,PRODUCTION +bitbucket:BitbucketDeployment:1:{5c6b00c4-a848-5db6-b9e1-3912631d4105},#7,FAILURE,DONE,,CANCELLED,PRODUCTION +bitbucket:BitbucketDeployment:1:{5c6b00c4-a848-5db6-b9e1-3912631d4106},#7,,IN_PROGRESS,,IN_PROGRESS,PRODUCTION +bitbucket:BitbucketDeployment:1:{5c6b00c4-a848-5db6-b9e1-3912631d4107},#7,,OTHER,,UNDEPLOYED,PRODUCTION +bitbucket:BitbucketDeployment:1:{5c6b00c4-a848-5db6-b9e1-3912631d4108},#7,,OTHER,,PENDING,PRODUCTION +bitbucket:BitbucketDeployment:1:{5c6b00c4-a848-5db6-b9e1-3912631d4109},#7,,OTHER,,ROLLED_BACK,PRODUCTION +bitbucket:BitbucketDeployment:1:{5c6b00c4-a848-5db6-b9e1-3912631d4110},#7,,OTHER,,UNKNOWN,PRODUCTION +bitbucket:BitbucketDeployment:1:{5c6b00c4-a848-5db6-b9e1-3912631d4b58},#7,SUCCESS,DONE,,COMPLETED,PRODUCTION +bitbucket:BitbucketDeployment:1:{6b258aea-b249-5b1e-bab9-0bb02d0147bc},#7,SUCCESS,DONE,,COMPLETED,TESTING +bitbucket:BitbucketDeployment:1:{6dca96ac-bd01-56a9-b681-919804eb8e18},#186,SUCCESS,DONE,,COMPLETED,PRODUCTION +bitbucket:BitbucketDeployment:1:{7a0bacf1-5549-54f2-9145-4cdc04ae13a7},#11,SUCCESS,DONE,,COMPLETED,TESTING +bitbucket:BitbucketDeployment:1:{905984df-e8ce-55bb-96c6-bc46dcb534b5},#11,SUCCESS,DONE,,COMPLETED,PRODUCTION +bitbucket:BitbucketDeployment:1:{94bea09b-3516-5c76-bad5-dec47e9a4bd7},#11,SUCCESS,DONE,,COMPLETED,STAGING +bitbucket:BitbucketDeployment:1:{af164a42-447c-5a7b-87fd-17f183075e60},#12,,OTHER,,UNDEPLOYED,TESTING +bitbucket:BitbucketDeployment:1:{bcfe3b1b-71d6-5fb2-81d6-64e44d6c7b38},#82,,OTHER,,UNDEPLOYED,TESTING +bitbucket:BitbucketDeployment:1:{c2958023-2f97-578a-b90c-236d453656e0},#10,SUCCESS,DONE,,COMPLETED,TESTING +bitbucket:BitbucketDeployment:1:{e31cee73-dc73-5c75-a60a-c286fa629691},#10,SUCCESS,DONE,,COMPLETED,PRODUCTION +bitbucket:BitbucketDeployment:1:{fcb46cbc-8733-5264-b362-c05a8f9eb2f8},#186,SUCCESS,DONE,,COMPLETED,STAGING diff --git a/backend/plugins/bitbucket/e2e/snapshot_tables/cicd_pipelines.csv b/backend/plugins/bitbucket/e2e/snapshot_tables/cicd_pipelines.csv index 1fe9516ea66..b3b6d3ab797 100644 --- a/backend/plugins/bitbucket/e2e/snapshot_tables/cicd_pipelines.csv +++ b/backend/plugins/bitbucket/e2e/snapshot_tables/cicd_pipelines.csv @@ -1,23 +1,23 @@ -id,name,result,status,type,duration_sec,environment -bitbucket:BitbucketPipeline:1:{01fad871-cd21-4a80-bd59-74148dd5be8e},bitbucket:BitbucketPipeline:1:{01fad871-cd21-4a80-bd59-74148dd5be8e}/0,FAILURE,DONE,DEPLOYMENT,14, -bitbucket:BitbucketPipeline:1:{02c4dfe8-70a6-442c-8bd8-19061979c2cf},bitbucket:BitbucketPipeline:1:{02c4dfe8-70a6-442c-8bd8-19061979c2cf}/0,,IN_PROGRESS,,0, -bitbucket:BitbucketPipeline:1:{1e20072e-b22a-443f-ad92-3d9435393d5b},bitbucket:BitbucketPipeline:1:{1e20072e-b22a-443f-ad92-3d9435393d5b}/0,SUCCESS,DONE,,21, -bitbucket:BitbucketPipeline:1:{2d91d69f-d84b-423d-ae4d-c1d3f2c27166},bitbucket:BitbucketPipeline:1:{2d91d69f-d84b-423d-ae4d-c1d3f2c27166}/0,SUCCESS,DONE,DEPLOYMENT,16, -bitbucket:BitbucketPipeline:1:{5decbbb2-f4e6-4f3a-aab0-f74c40497c50},bitbucket:BitbucketPipeline:1:{5decbbb2-f4e6-4f3a-aab0-f74c40497c50}/0,SUCCESS,DONE,,15, -bitbucket:BitbucketPipeline:1:{5decbbb2-f4e6-4f3a-aab0-f74c40497c51},bitbucket:BitbucketPipeline:1:{5decbbb2-f4e6-4f3a-aab0-f74c40497c51}/0,SUCCESS,DONE,,15, -bitbucket:BitbucketPipeline:1:{5decbbb2-f4e6-4f3a-aab0-f74c40497c52},bitbucket:BitbucketPipeline:1:{5decbbb2-f4e6-4f3a-aab0-f74c40497c52}/0,SUCCESS,DONE,,15, -bitbucket:BitbucketPipeline:1:{5decbbb2-f4e6-4f3a-aab0-f74c40497c53},bitbucket:BitbucketPipeline:1:{5decbbb2-f4e6-4f3a-aab0-f74c40497c53}/0,SUCCESS,DONE,,15, -bitbucket:BitbucketPipeline:1:{5decbbb2-f4e6-4f3a-aab0-f74c40497c54},bitbucket:BitbucketPipeline:1:{5decbbb2-f4e6-4f3a-aab0-f74c40497c54}/0,FAILURE,DONE,,15, -bitbucket:BitbucketPipeline:1:{5decbbb2-f4e6-4f3a-aab0-f74c40497c55},bitbucket:BitbucketPipeline:1:{5decbbb2-f4e6-4f3a-aab0-f74c40497c55}/0,FAILURE,DONE,,15, -bitbucket:BitbucketPipeline:1:{5decbbb2-f4e6-4f3a-aab0-f74c40497c56},bitbucket:BitbucketPipeline:1:{5decbbb2-f4e6-4f3a-aab0-f74c40497c56}/0,FAILURE,DONE,,15, -bitbucket:BitbucketPipeline:1:{5decbbb2-f4e6-4f3a-aab0-f74c40497c57},bitbucket:BitbucketPipeline:1:{5decbbb2-f4e6-4f3a-aab0-f74c40497c57}/0,,DONE,,15, -bitbucket:BitbucketPipeline:1:{5decbbb2-f4e6-4f3a-aab0-f74c40497c58},bitbucket:BitbucketPipeline:1:{5decbbb2-f4e6-4f3a-aab0-f74c40497c58}/0,,IN_PROGRESS,,15, -bitbucket:BitbucketPipeline:1:{5decbbb2-f4e6-4f3a-aab0-f74c40497c59},bitbucket:BitbucketPipeline:1:{5decbbb2-f4e6-4f3a-aab0-f74c40497c59}/0,,IN_PROGRESS,,15, -bitbucket:BitbucketPipeline:1:{5decbbb2-f4e6-4f3a-aab0-f74c40497c60},bitbucket:BitbucketPipeline:1:{5decbbb2-f4e6-4f3a-aab0-f74c40497c60}/0,,IN_PROGRESS,,15, -bitbucket:BitbucketPipeline:1:{5decbbb2-f4e6-4f3a-aab0-f74c40497c61},bitbucket:BitbucketPipeline:1:{5decbbb2-f4e6-4f3a-aab0-f74c40497c61}/0,,IN_PROGRESS,,15, -bitbucket:BitbucketPipeline:1:{5decbbb2-f4e6-4f3a-aab0-f74c40497c62},bitbucket:BitbucketPipeline:1:{5decbbb2-f4e6-4f3a-aab0-f74c40497c62}/0,,OTHER,,15, -bitbucket:BitbucketPipeline:1:{5fb099c8-ebdd-4d3e-97d8-a12ebfca5446},bitbucket:BitbucketPipeline:1:{5fb099c8-ebdd-4d3e-97d8-a12ebfca5446}/0,,IN_PROGRESS,,0, -bitbucket:BitbucketPipeline:1:{8b417a17-72e6-4e16-ae4a-97f6e279f68e},bitbucket:BitbucketPipeline:1:{8b417a17-72e6-4e16-ae4a-97f6e279f68e}/0,,IN_PROGRESS,,0, -bitbucket:BitbucketPipeline:1:{b5d2ab02-2013-415e-b146-61ff3bf19502},bitbucket:BitbucketPipeline:1:{b5d2ab02-2013-415e-b146-61ff3bf19502}/0,FAILURE,DONE,,0,PRODUCTION -bitbucket:BitbucketPipeline:1:{d7bf8394-6e18-42c4-b3a3-70514fc4079f},bitbucket:BitbucketPipeline:1:{d7bf8394-6e18-42c4-b3a3-70514fc4079f}/0,SUCCESS,DONE,,18,PRODUCTION -bitbucket:BitbucketPipeline:1:{ee91b6d3-7736-482c-892f-ad1e923d145e},bitbucket:BitbucketPipeline:1:{ee91b6d3-7736-482c-892f-ad1e923d145e}/0,FAILURE,DONE,,0, +id,name,result,status,original_result,original_status,type,duration_sec,environment +bitbucket:BitbucketPipeline:1:{01fad871-cd21-4a80-bd59-74148dd5be8e},bitbucket:BitbucketPipeline:1:{01fad871-cd21-4a80-bd59-74148dd5be8e}/0,FAILURE,DONE,FAILED,COMPLETED,DEPLOYMENT,14, +bitbucket:BitbucketPipeline:1:{02c4dfe8-70a6-442c-8bd8-19061979c2cf},bitbucket:BitbucketPipeline:1:{02c4dfe8-70a6-442c-8bd8-19061979c2cf}/0,,IN_PROGRESS,HALTED,IN_PROGRESS,,0, +bitbucket:BitbucketPipeline:1:{1e20072e-b22a-443f-ad92-3d9435393d5b},bitbucket:BitbucketPipeline:1:{1e20072e-b22a-443f-ad92-3d9435393d5b}/0,SUCCESS,DONE,SUCCESSFUL,COMPLETED,,21, +bitbucket:BitbucketPipeline:1:{2d91d69f-d84b-423d-ae4d-c1d3f2c27166},bitbucket:BitbucketPipeline:1:{2d91d69f-d84b-423d-ae4d-c1d3f2c27166}/0,SUCCESS,DONE,SUCCESSFUL,COMPLETED,DEPLOYMENT,16, +bitbucket:BitbucketPipeline:1:{5decbbb2-f4e6-4f3a-aab0-f74c40497c50},bitbucket:BitbucketPipeline:1:{5decbbb2-f4e6-4f3a-aab0-f74c40497c50}/0,SUCCESS,DONE,SUCCESSFUL,COMPLETED,,15, +bitbucket:BitbucketPipeline:1:{5decbbb2-f4e6-4f3a-aab0-f74c40497c51},bitbucket:BitbucketPipeline:1:{5decbbb2-f4e6-4f3a-aab0-f74c40497c51}/0,SUCCESS,DONE,COMPLETED,COMPLETED,,15, +bitbucket:BitbucketPipeline:1:{5decbbb2-f4e6-4f3a-aab0-f74c40497c52},bitbucket:BitbucketPipeline:1:{5decbbb2-f4e6-4f3a-aab0-f74c40497c52}/0,SUCCESS,DONE,SUCCESSFUL,SUCCESSFUL,,15, +bitbucket:BitbucketPipeline:1:{5decbbb2-f4e6-4f3a-aab0-f74c40497c53},bitbucket:BitbucketPipeline:1:{5decbbb2-f4e6-4f3a-aab0-f74c40497c53}/0,SUCCESS,DONE,PASSED,PASSED,,15, +bitbucket:BitbucketPipeline:1:{5decbbb2-f4e6-4f3a-aab0-f74c40497c54},bitbucket:BitbucketPipeline:1:{5decbbb2-f4e6-4f3a-aab0-f74c40497c54}/0,FAILURE,DONE,FAILED,FAILED,,15, +bitbucket:BitbucketPipeline:1:{5decbbb2-f4e6-4f3a-aab0-f74c40497c55},bitbucket:BitbucketPipeline:1:{5decbbb2-f4e6-4f3a-aab0-f74c40497c55}/0,FAILURE,DONE,ERROR,ERROR,,15, +bitbucket:BitbucketPipeline:1:{5decbbb2-f4e6-4f3a-aab0-f74c40497c56},bitbucket:BitbucketPipeline:1:{5decbbb2-f4e6-4f3a-aab0-f74c40497c56}/0,FAILURE,DONE,STOPPED,STOPPED,,15, +bitbucket:BitbucketPipeline:1:{5decbbb2-f4e6-4f3a-aab0-f74c40497c57},bitbucket:BitbucketPipeline:1:{5decbbb2-f4e6-4f3a-aab0-f74c40497c57}/0,,DONE,HALTED,HALTED,,15, +bitbucket:BitbucketPipeline:1:{5decbbb2-f4e6-4f3a-aab0-f74c40497c58},bitbucket:BitbucketPipeline:1:{5decbbb2-f4e6-4f3a-aab0-f74c40497c58}/0,,IN_PROGRESS,IN_PROGRESS,IN_PROGRESS,,15, +bitbucket:BitbucketPipeline:1:{5decbbb2-f4e6-4f3a-aab0-f74c40497c59},bitbucket:BitbucketPipeline:1:{5decbbb2-f4e6-4f3a-aab0-f74c40497c59}/0,,IN_PROGRESS,PAUSED,PAUSED,,15, +bitbucket:BitbucketPipeline:1:{5decbbb2-f4e6-4f3a-aab0-f74c40497c60},bitbucket:BitbucketPipeline:1:{5decbbb2-f4e6-4f3a-aab0-f74c40497c60}/0,,IN_PROGRESS,RUNNING,RUNNING,,15, +bitbucket:BitbucketPipeline:1:{5decbbb2-f4e6-4f3a-aab0-f74c40497c61},bitbucket:BitbucketPipeline:1:{5decbbb2-f4e6-4f3a-aab0-f74c40497c61}/0,,IN_PROGRESS,PENDING,PENDING,,15, +bitbucket:BitbucketPipeline:1:{5decbbb2-f4e6-4f3a-aab0-f74c40497c62},bitbucket:BitbucketPipeline:1:{5decbbb2-f4e6-4f3a-aab0-f74c40497c62}/0,,OTHER,EXPIRED,EXPIRED,,15, +bitbucket:BitbucketPipeline:1:{5fb099c8-ebdd-4d3e-97d8-a12ebfca5446},bitbucket:BitbucketPipeline:1:{5fb099c8-ebdd-4d3e-97d8-a12ebfca5446}/0,,IN_PROGRESS,HALTED,IN_PROGRESS,,0, +bitbucket:BitbucketPipeline:1:{8b417a17-72e6-4e16-ae4a-97f6e279f68e},bitbucket:BitbucketPipeline:1:{8b417a17-72e6-4e16-ae4a-97f6e279f68e}/0,,IN_PROGRESS,HALTED,IN_PROGRESS,,0, +bitbucket:BitbucketPipeline:1:{b5d2ab02-2013-415e-b146-61ff3bf19502},bitbucket:BitbucketPipeline:1:{b5d2ab02-2013-415e-b146-61ff3bf19502}/0,FAILURE,DONE,STOPPED,COMPLETED,,0,PRODUCTION +bitbucket:BitbucketPipeline:1:{d7bf8394-6e18-42c4-b3a3-70514fc4079f},bitbucket:BitbucketPipeline:1:{d7bf8394-6e18-42c4-b3a3-70514fc4079f}/0,SUCCESS,DONE,SUCCESSFUL,COMPLETED,,18,PRODUCTION +bitbucket:BitbucketPipeline:1:{ee91b6d3-7736-482c-892f-ad1e923d145e},bitbucket:BitbucketPipeline:1:{ee91b6d3-7736-482c-892f-ad1e923d145e}/0,FAILURE,DONE,FAILED,COMPLETED,,0, diff --git a/backend/plugins/bitbucket/e2e/snapshot_tables/cicd_tasks.csv b/backend/plugins/bitbucket/e2e/snapshot_tables/cicd_tasks.csv index dfd21f7ed70..cd4f7e09776 100644 --- a/backend/plugins/bitbucket/e2e/snapshot_tables/cicd_tasks.csv +++ b/backend/plugins/bitbucket/e2e/snapshot_tables/cicd_tasks.csv @@ -1,27 +1,27 @@ -id,name,pipeline_id,result,status,type,duration_sec,started_date,finished_date,environment,cicd_scope_id,_raw_data_params,_raw_data_table,_raw_data_id,_raw_data_remark -bitbucket:BitbucketPipelineStep:1:{009577b4-99a8-4498-99bf-a00ef7254ca3},staging,bitbucket:BitbucketPipeline:1:{5decbbb2-f4e6-4f3a-aab0-f74c40497c51},SUCCESS,DONE,,5,2023-02-20T09:38:47.203+00:00,2023-02-20T09:38:52.307+00:00,,bitbucket:BitbucketRepo:1:likyh/likyhphp,"{""ConnectionId"":1,""FullName"":""likyh/likyhphp""}",_raw_bitbucket_api_pipeline_steps,285, -bitbucket:BitbucketPipelineStep:1:{0706054d-bde3-4d27-af26-8ff9bc675e6c},production,bitbucket:BitbucketPipeline:1:{5decbbb2-f4e6-4f3a-aab0-f74c40497c51},SUCCESS,DONE,,5,2023-02-20T09:39:04.211+00:00,2023-02-20T09:39:09.267+00:00,,bitbucket:BitbucketRepo:1:likyh/likyhphp,"{""ConnectionId"":1,""FullName"":""likyh/likyhphp""}",_raw_bitbucket_api_pipeline_steps,286, -bitbucket:BitbucketPipelineStep:1:{0fa0137f-e029-459e-8760-289ed9e6b57d},Test,bitbucket:BitbucketPipeline:1:{5decbbb2-f4e6-4f3a-aab0-f74c40497c51},SUCCESS,DONE,,4,2023-02-20T09:38:30.581+00:00,2023-02-20T09:38:35.012+00:00,,bitbucket:BitbucketRepo:1:likyh/likyhphp,"{""ConnectionId"":1,""FullName"":""likyh/likyhphp""}",_raw_bitbucket_api_pipeline_steps,284, -bitbucket:BitbucketPipelineStep:1:{1218e6e3-f34e-4ebc-a767-2a69285681ca},staging,bitbucket:BitbucketPipeline:1:{2d91d69f-d84b-423d-ae4d-c1d3f2c27166},SUCCESS,DONE,,5,2023-02-20T09:23:50.415+00:00,2023-02-20T09:23:55.180+00:00,,bitbucket:BitbucketRepo:1:likyh/likyhphp,"{""ConnectionId"":1,""FullName"":""likyh/likyhphp""}",_raw_bitbucket_api_pipeline_steps,144, -bitbucket:BitbucketPipelineStep:1:{148bfd03-8b7f-4483-982c-18b020124350},production,bitbucket:BitbucketPipeline:1:{b5d2ab02-2013-415e-b146-61ff3bf19502},,DONE,,0,2023-02-20T09:23:40.970+00:00,2023-02-20T09:23:40.970+00:00,,bitbucket:BitbucketRepo:1:likyh/likyhphp,"{""ConnectionId"":1,""FullName"":""likyh/likyhphp""}",_raw_bitbucket_api_pipeline_steps,533, -bitbucket:BitbucketPipelineStep:1:{263500ac-4242-4996-95bd-739b5cafd3ef},Test,bitbucket:BitbucketPipeline:1:{1e20072e-b22a-443f-ad92-3d9435393d5b},SUCCESS,DONE,,5,2023-02-20T09:12:34.572+00:00,2023-02-20T09:12:39.614+00:00,,bitbucket:BitbucketRepo:1:likyh/likyhphp,"{""ConnectionId"":1,""FullName"":""likyh/likyhphp""}",_raw_bitbucket_api_pipeline_steps,91, -bitbucket:BitbucketPipelineStep:1:{2915edc8-9a5a-4a76-831b-f7ce30938d4e},staging,bitbucket:BitbucketPipeline:1:{b5d2ab02-2013-415e-b146-61ff3bf19502},,DONE,,0,2023-02-20T09:23:40.928+00:00,2023-02-20T09:23:40.928+00:00,,bitbucket:BitbucketRepo:1:likyh/likyhphp,"{""ConnectionId"":1,""FullName"":""likyh/likyhphp""}",_raw_bitbucket_api_pipeline_steps,532, -bitbucket:BitbucketPipelineStep:1:{61e34fbf-87a2-4271-827e-b336ff4c4396},staging,bitbucket:BitbucketPipeline:1:{d7bf8394-6e18-42c4-b3a3-70514fc4079f},SUCCESS,DONE,,5,2023-02-20T09:15:45.450+00:00,2023-02-20T09:15:50.609+00:00,,bitbucket:BitbucketRepo:1:likyh/likyhphp,"{""ConnectionId"":1,""FullName"":""likyh/likyhphp""}",_raw_bitbucket_api_pipeline_steps,632, -bitbucket:BitbucketPipelineStep:1:{74ceee44-533a-489b-8d9b-3c9c0ef57ff3},production,bitbucket:BitbucketPipeline:1:{2d91d69f-d84b-423d-ae4d-c1d3f2c27166},SUCCESS,DONE,,6,2023-02-20T09:24:05.997+00:00,2023-02-20T09:24:12.269+00:00,,bitbucket:BitbucketRepo:1:likyh/likyhphp,"{""ConnectionId"":1,""FullName"":""likyh/likyhphp""}",_raw_bitbucket_api_pipeline_steps,145, -bitbucket:BitbucketPipelineStep:1:{9b079475-6fed-40bb-b591-711351c12f71},Test,bitbucket:BitbucketPipeline:1:{2d91d69f-d84b-423d-ae4d-c1d3f2c27166},SUCCESS,DONE,,5,2023-02-20T09:23:31.978+00:00,2023-02-20T09:23:36.923+00:00,,bitbucket:BitbucketRepo:1:likyh/likyhphp,"{""ConnectionId"":1,""FullName"":""likyh/likyhphp""}",_raw_bitbucket_api_pipeline_steps,143, -bitbucket:BitbucketPipelineStep:1:{a72dea81-cd04-45db-8af9-958ed814d050},Test,bitbucket:BitbucketPipeline:1:{1e20072e-b22a-443f-ad92-3d9435393d5b},SUCCESS,DONE,,6,2023-02-20T09:12:04.411+00:00,2023-02-20T09:12:10.347+00:00,,bitbucket:BitbucketRepo:1:likyh/likyhphp,"{""ConnectionId"":1,""FullName"":""likyh/likyhphp""}",_raw_bitbucket_api_pipeline_steps,90, -bitbucket:BitbucketPipelineStep:1:{ac0a2d0b-d67d-47c6-8e23-ee33ccdfe2d8},Test,bitbucket:BitbucketPipeline:1:{b5d2ab02-2013-415e-b146-61ff3bf19502},FAILURE,DONE,,0,2023-02-20T09:23:40.750+00:00,2023-02-20T09:23:40.750+00:00,,bitbucket:BitbucketRepo:1:likyh/likyhphp,"{""ConnectionId"":1,""FullName"":""likyh/likyhphp""}",_raw_bitbucket_api_pipeline_steps,531, -bitbucket:BitbucketPipelineStep:1:{c2da4b2d-f971-4c5f-90b7-1c55ea801101},production,bitbucket:BitbucketPipeline:1:{d7bf8394-6e18-42c4-b3a3-70514fc4079f},SUCCESS,DONE,,8,2023-02-20T09:16:01.886+00:00,2023-02-20T09:16:09.885+00:00,,bitbucket:BitbucketRepo:1:likyh/likyhphp,"{""ConnectionId"":1,""FullName"":""likyh/likyhphp""}",_raw_bitbucket_api_pipeline_steps,10001, -bitbucket:BitbucketPipelineStep:1:{c2da4b2d-f971-4c5f-90b7-1c55ea801102},production,bitbucket:BitbucketPipeline:1:{d7bf8394-6e18-42c4-b3a3-70514fc4079f},SUCCESS,DONE,,8,2023-02-20T09:16:01.886+00:00,2023-02-20T09:16:09.885+00:00,,bitbucket:BitbucketRepo:1:likyh/likyhphp,"{""ConnectionId"":1,""FullName"":""likyh/likyhphp""}",_raw_bitbucket_api_pipeline_steps,10002, -bitbucket:BitbucketPipelineStep:1:{c2da4b2d-f971-4c5f-90b7-1c55ea801103},production,bitbucket:BitbucketPipeline:1:{d7bf8394-6e18-42c4-b3a3-70514fc4079f},FAILURE,DONE,,8,2023-02-20T09:16:01.886+00:00,2023-02-20T09:16:09.885+00:00,,bitbucket:BitbucketRepo:1:likyh/likyhphp,"{""ConnectionId"":1,""FullName"":""likyh/likyhphp""}",_raw_bitbucket_api_pipeline_steps,10003, -bitbucket:BitbucketPipelineStep:1:{c2da4b2d-f971-4c5f-90b7-1c55ea801104},production,bitbucket:BitbucketPipeline:1:{d7bf8394-6e18-42c4-b3a3-70514fc4079f},FAILURE,DONE,,8,2023-02-20T09:16:01.886+00:00,2023-02-20T09:16:09.885+00:00,,bitbucket:BitbucketRepo:1:likyh/likyhphp,"{""ConnectionId"":1,""FullName"":""likyh/likyhphp""}",_raw_bitbucket_api_pipeline_steps,10004, -bitbucket:BitbucketPipelineStep:1:{c2da4b2d-f971-4c5f-90b7-1c55ea801105},production,bitbucket:BitbucketPipeline:1:{d7bf8394-6e18-42c4-b3a3-70514fc4079f},FAILURE,DONE,,8,2023-02-20T09:16:01.886+00:00,2023-02-20T09:16:09.885+00:00,,bitbucket:BitbucketRepo:1:likyh/likyhphp,"{""ConnectionId"":1,""FullName"":""likyh/likyhphp""}",_raw_bitbucket_api_pipeline_steps,10005, -bitbucket:BitbucketPipelineStep:1:{c2da4b2d-f971-4c5f-90b7-1c55ea801106},production,bitbucket:BitbucketPipeline:1:{d7bf8394-6e18-42c4-b3a3-70514fc4079f},,IN_PROGRESS,,0,2023-02-20T09:16:01.886+00:00,,,bitbucket:BitbucketRepo:1:likyh/likyhphp,"{""ConnectionId"":1,""FullName"":""likyh/likyhphp""}",_raw_bitbucket_api_pipeline_steps,10006, -bitbucket:BitbucketPipelineStep:1:{c2da4b2d-f971-4c5f-90b7-1c55ea801107},production,bitbucket:BitbucketPipeline:1:{d7bf8394-6e18-42c4-b3a3-70514fc4079f},,IN_PROGRESS,,0,2023-02-20T09:16:01.886+00:00,,,bitbucket:BitbucketRepo:1:likyh/likyhphp,"{""ConnectionId"":1,""FullName"":""likyh/likyhphp""}",_raw_bitbucket_api_pipeline_steps,10007, -bitbucket:BitbucketPipelineStep:1:{c2da4b2d-f971-4c5f-90b7-1c55ea801108},production,bitbucket:BitbucketPipeline:1:{d7bf8394-6e18-42c4-b3a3-70514fc4079f},,IN_PROGRESS,,0,2023-02-20T09:16:01.886+00:00,,,bitbucket:BitbucketRepo:1:likyh/likyhphp,"{""ConnectionId"":1,""FullName"":""likyh/likyhphp""}",_raw_bitbucket_api_pipeline_steps,10008, -bitbucket:BitbucketPipelineStep:1:{c2da4b2d-f971-4c5f-90b7-1c55ea801109},production,bitbucket:BitbucketPipeline:1:{d7bf8394-6e18-42c4-b3a3-70514fc4079f},,OTHER,,0,2023-02-20T09:16:01.886+00:00,,,bitbucket:BitbucketRepo:1:likyh/likyhphp,"{""ConnectionId"":1,""FullName"":""likyh/likyhphp""}",_raw_bitbucket_api_pipeline_steps,10009, -bitbucket:BitbucketPipelineStep:1:{c2da4b2d-f971-4c5f-90b7-1c55ea801110},production,bitbucket:BitbucketPipeline:1:{d7bf8394-6e18-42c4-b3a3-70514fc4079f},,OTHER,,0,2023-02-20T09:16:01.886+00:00,,,bitbucket:BitbucketRepo:1:likyh/likyhphp,"{""ConnectionId"":1,""FullName"":""likyh/likyhphp""}",_raw_bitbucket_api_pipeline_steps,10010, -bitbucket:BitbucketPipelineStep:1:{c2da4b2d-f971-4c5f-90b7-1c55ea80121c},production,bitbucket:BitbucketPipeline:1:{d7bf8394-6e18-42c4-b3a3-70514fc4079f},SUCCESS,DONE,,8,2023-02-20T09:16:01.886+00:00,2023-02-20T09:16:09.885+00:00,,bitbucket:BitbucketRepo:1:likyh/likyhphp,"{""ConnectionId"":1,""FullName"":""likyh/likyhphp""}",_raw_bitbucket_api_pipeline_steps,633, -bitbucket:BitbucketPipelineStep:1:{caf86c6c-c60a-4e62-b838-6480ad110182},Test,bitbucket:BitbucketPipeline:1:{1e20072e-b22a-443f-ad92-3d9435393d5b},SUCCESS,DONE,,10,2023-02-20T09:11:43.393+00:00,2023-02-20T09:11:53.145+00:00,,bitbucket:BitbucketRepo:1:likyh/likyhphp,"{""ConnectionId"":1,""FullName"":""likyh/likyhphp""}",_raw_bitbucket_api_pipeline_steps,89, -bitbucket:BitbucketPipelineStep:1:{d464ab91-8b50-4ad5-8c22-d2a6d1ca5d22},Test,bitbucket:BitbucketPipeline:1:{01fad871-cd21-4a80-bd59-74148dd5be8e},FAILURE,DONE,,14,2023-02-20T08:58:31.520+00:00,2023-02-20T08:58:45.945+00:00,,bitbucket:BitbucketRepo:1:likyh/likyhphp,"{""ConnectionId"":1,""FullName"":""likyh/likyhphp""}",_raw_bitbucket_api_pipeline_steps,1, -bitbucket:BitbucketPipelineStep:1:{e4753fd7-469e-4d15-a689-0fd882fee2d4},Test,bitbucket:BitbucketPipeline:1:{d7bf8394-6e18-42c4-b3a3-70514fc4079f},SUCCESS,DONE,,5,2023-02-20T09:17:33.116+00:00,2023-02-20T09:17:37.835+00:00,,bitbucket:BitbucketRepo:1:likyh/likyhphp,"{""ConnectionId"":1,""FullName"":""likyh/likyhphp""}",_raw_bitbucket_api_pipeline_steps,631, +id,name,pipeline_id,result,status,original_result,original_status,type,duration_sec,started_date,finished_date,environment,cicd_scope_id,_raw_data_params,_raw_data_table,_raw_data_id,_raw_data_remark +bitbucket:BitbucketPipelineStep:1:{009577b4-99a8-4498-99bf-a00ef7254ca3},staging,bitbucket:BitbucketPipeline:1:{5decbbb2-f4e6-4f3a-aab0-f74c40497c51},SUCCESS,DONE,SUCCESSFUL,COMPLETED,,5,2023-02-20T09:38:47.203+00:00,2023-02-20T09:38:52.307+00:00,,bitbucket:BitbucketRepo:1:likyh/likyhphp,"{""ConnectionId"":1,""FullName"":""likyh/likyhphp""}",_raw_bitbucket_api_pipeline_steps,285, +bitbucket:BitbucketPipelineStep:1:{0706054d-bde3-4d27-af26-8ff9bc675e6c},production,bitbucket:BitbucketPipeline:1:{5decbbb2-f4e6-4f3a-aab0-f74c40497c51},SUCCESS,DONE,SUCCESSFUL,COMPLETED,,5,2023-02-20T09:39:04.211+00:00,2023-02-20T09:39:09.267+00:00,,bitbucket:BitbucketRepo:1:likyh/likyhphp,"{""ConnectionId"":1,""FullName"":""likyh/likyhphp""}",_raw_bitbucket_api_pipeline_steps,286, +bitbucket:BitbucketPipelineStep:1:{0fa0137f-e029-459e-8760-289ed9e6b57d},Test,bitbucket:BitbucketPipeline:1:{5decbbb2-f4e6-4f3a-aab0-f74c40497c51},SUCCESS,DONE,SUCCESSFUL,COMPLETED,,4,2023-02-20T09:38:30.581+00:00,2023-02-20T09:38:35.012+00:00,,bitbucket:BitbucketRepo:1:likyh/likyhphp,"{""ConnectionId"":1,""FullName"":""likyh/likyhphp""}",_raw_bitbucket_api_pipeline_steps,284, +bitbucket:BitbucketPipelineStep:1:{1218e6e3-f34e-4ebc-a767-2a69285681ca},staging,bitbucket:BitbucketPipeline:1:{2d91d69f-d84b-423d-ae4d-c1d3f2c27166},SUCCESS,DONE,SUCCESSFUL,COMPLETED,,5,2023-02-20T09:23:50.415+00:00,2023-02-20T09:23:55.180+00:00,,bitbucket:BitbucketRepo:1:likyh/likyhphp,"{""ConnectionId"":1,""FullName"":""likyh/likyhphp""}",_raw_bitbucket_api_pipeline_steps,144, +bitbucket:BitbucketPipelineStep:1:{148bfd03-8b7f-4483-982c-18b020124350},production,bitbucket:BitbucketPipeline:1:{b5d2ab02-2013-415e-b146-61ff3bf19502},,DONE,NOT_RUN,COMPLETED,,0,2023-02-20T09:23:40.970+00:00,2023-02-20T09:23:40.970+00:00,,bitbucket:BitbucketRepo:1:likyh/likyhphp,"{""ConnectionId"":1,""FullName"":""likyh/likyhphp""}",_raw_bitbucket_api_pipeline_steps,533, +bitbucket:BitbucketPipelineStep:1:{263500ac-4242-4996-95bd-739b5cafd3ef},Test,bitbucket:BitbucketPipeline:1:{1e20072e-b22a-443f-ad92-3d9435393d5b},SUCCESS,DONE,SUCCESSFUL,COMPLETED,,5,2023-02-20T09:12:34.572+00:00,2023-02-20T09:12:39.614+00:00,,bitbucket:BitbucketRepo:1:likyh/likyhphp,"{""ConnectionId"":1,""FullName"":""likyh/likyhphp""}",_raw_bitbucket_api_pipeline_steps,91, +bitbucket:BitbucketPipelineStep:1:{2915edc8-9a5a-4a76-831b-f7ce30938d4e},staging,bitbucket:BitbucketPipeline:1:{b5d2ab02-2013-415e-b146-61ff3bf19502},,DONE,NOT_RUN,COMPLETED,,0,2023-02-20T09:23:40.928+00:00,2023-02-20T09:23:40.928+00:00,,bitbucket:BitbucketRepo:1:likyh/likyhphp,"{""ConnectionId"":1,""FullName"":""likyh/likyhphp""}",_raw_bitbucket_api_pipeline_steps,532, +bitbucket:BitbucketPipelineStep:1:{61e34fbf-87a2-4271-827e-b336ff4c4396},staging,bitbucket:BitbucketPipeline:1:{d7bf8394-6e18-42c4-b3a3-70514fc4079f},SUCCESS,DONE,SUCCESSFUL,COMPLETED,,5,2023-02-20T09:15:45.450+00:00,2023-02-20T09:15:50.609+00:00,,bitbucket:BitbucketRepo:1:likyh/likyhphp,"{""ConnectionId"":1,""FullName"":""likyh/likyhphp""}",_raw_bitbucket_api_pipeline_steps,632, +bitbucket:BitbucketPipelineStep:1:{74ceee44-533a-489b-8d9b-3c9c0ef57ff3},production,bitbucket:BitbucketPipeline:1:{2d91d69f-d84b-423d-ae4d-c1d3f2c27166},SUCCESS,DONE,SUCCESSFUL,COMPLETED,,6,2023-02-20T09:24:05.997+00:00,2023-02-20T09:24:12.269+00:00,,bitbucket:BitbucketRepo:1:likyh/likyhphp,"{""ConnectionId"":1,""FullName"":""likyh/likyhphp""}",_raw_bitbucket_api_pipeline_steps,145, +bitbucket:BitbucketPipelineStep:1:{9b079475-6fed-40bb-b591-711351c12f71},Test,bitbucket:BitbucketPipeline:1:{2d91d69f-d84b-423d-ae4d-c1d3f2c27166},SUCCESS,DONE,SUCCESSFUL,COMPLETED,,5,2023-02-20T09:23:31.978+00:00,2023-02-20T09:23:36.923+00:00,,bitbucket:BitbucketRepo:1:likyh/likyhphp,"{""ConnectionId"":1,""FullName"":""likyh/likyhphp""}",_raw_bitbucket_api_pipeline_steps,143, +bitbucket:BitbucketPipelineStep:1:{a72dea81-cd04-45db-8af9-958ed814d050},Test,bitbucket:BitbucketPipeline:1:{1e20072e-b22a-443f-ad92-3d9435393d5b},SUCCESS,DONE,SUCCESSFUL,COMPLETED,,6,2023-02-20T09:12:04.411+00:00,2023-02-20T09:12:10.347+00:00,,bitbucket:BitbucketRepo:1:likyh/likyhphp,"{""ConnectionId"":1,""FullName"":""likyh/likyhphp""}",_raw_bitbucket_api_pipeline_steps,90, +bitbucket:BitbucketPipelineStep:1:{ac0a2d0b-d67d-47c6-8e23-ee33ccdfe2d8},Test,bitbucket:BitbucketPipeline:1:{b5d2ab02-2013-415e-b146-61ff3bf19502},FAILURE,DONE,STOPPED,COMPLETED,,0,2023-02-20T09:23:40.750+00:00,2023-02-20T09:23:40.750+00:00,,bitbucket:BitbucketRepo:1:likyh/likyhphp,"{""ConnectionId"":1,""FullName"":""likyh/likyhphp""}",_raw_bitbucket_api_pipeline_steps,531, +bitbucket:BitbucketPipelineStep:1:{c2da4b2d-f971-4c5f-90b7-1c55ea801101},production,bitbucket:BitbucketPipeline:1:{d7bf8394-6e18-42c4-b3a3-70514fc4079f},SUCCESS,DONE,COMPLETED,COMPLETED,,8,2023-02-20T09:16:01.886+00:00,2023-02-20T09:16:09.885+00:00,,bitbucket:BitbucketRepo:1:likyh/likyhphp,"{""ConnectionId"":1,""FullName"":""likyh/likyhphp""}",_raw_bitbucket_api_pipeline_steps,10001, +bitbucket:BitbucketPipelineStep:1:{c2da4b2d-f971-4c5f-90b7-1c55ea801102},production,bitbucket:BitbucketPipeline:1:{d7bf8394-6e18-42c4-b3a3-70514fc4079f},SUCCESS,DONE,SUCCESSFUL,SUCCESSFUL,,8,2023-02-20T09:16:01.886+00:00,2023-02-20T09:16:09.885+00:00,,bitbucket:BitbucketRepo:1:likyh/likyhphp,"{""ConnectionId"":1,""FullName"":""likyh/likyhphp""}",_raw_bitbucket_api_pipeline_steps,10002, +bitbucket:BitbucketPipelineStep:1:{c2da4b2d-f971-4c5f-90b7-1c55ea801103},production,bitbucket:BitbucketPipeline:1:{d7bf8394-6e18-42c4-b3a3-70514fc4079f},FAILURE,DONE,FAILED,FAILED,,8,2023-02-20T09:16:01.886+00:00,2023-02-20T09:16:09.885+00:00,,bitbucket:BitbucketRepo:1:likyh/likyhphp,"{""ConnectionId"":1,""FullName"":""likyh/likyhphp""}",_raw_bitbucket_api_pipeline_steps,10003, +bitbucket:BitbucketPipelineStep:1:{c2da4b2d-f971-4c5f-90b7-1c55ea801104},production,bitbucket:BitbucketPipeline:1:{d7bf8394-6e18-42c4-b3a3-70514fc4079f},FAILURE,DONE,ERROR,ERROR,,8,2023-02-20T09:16:01.886+00:00,2023-02-20T09:16:09.885+00:00,,bitbucket:BitbucketRepo:1:likyh/likyhphp,"{""ConnectionId"":1,""FullName"":""likyh/likyhphp""}",_raw_bitbucket_api_pipeline_steps,10004, +bitbucket:BitbucketPipelineStep:1:{c2da4b2d-f971-4c5f-90b7-1c55ea801105},production,bitbucket:BitbucketPipeline:1:{d7bf8394-6e18-42c4-b3a3-70514fc4079f},FAILURE,DONE,STOPPED,STOPPED,,8,2023-02-20T09:16:01.886+00:00,2023-02-20T09:16:09.885+00:00,,bitbucket:BitbucketRepo:1:likyh/likyhphp,"{""ConnectionId"":1,""FullName"":""likyh/likyhphp""}",_raw_bitbucket_api_pipeline_steps,10005, +bitbucket:BitbucketPipelineStep:1:{c2da4b2d-f971-4c5f-90b7-1c55ea801106},production,bitbucket:BitbucketPipeline:1:{d7bf8394-6e18-42c4-b3a3-70514fc4079f},,IN_PROGRESS,IN_PROGRESS,IN_PROGRESS,,0,2023-02-20T09:16:01.886+00:00,,,bitbucket:BitbucketRepo:1:likyh/likyhphp,"{""ConnectionId"":1,""FullName"":""likyh/likyhphp""}",_raw_bitbucket_api_pipeline_steps,10006, +bitbucket:BitbucketPipelineStep:1:{c2da4b2d-f971-4c5f-90b7-1c55ea801107},production,bitbucket:BitbucketPipeline:1:{d7bf8394-6e18-42c4-b3a3-70514fc4079f},,IN_PROGRESS,PENDING,PENDING,,0,2023-02-20T09:16:01.886+00:00,,,bitbucket:BitbucketRepo:1:likyh/likyhphp,"{""ConnectionId"":1,""FullName"":""likyh/likyhphp""}",_raw_bitbucket_api_pipeline_steps,10007, +bitbucket:BitbucketPipelineStep:1:{c2da4b2d-f971-4c5f-90b7-1c55ea801108},production,bitbucket:BitbucketPipeline:1:{d7bf8394-6e18-42c4-b3a3-70514fc4079f},,IN_PROGRESS,READY,READY,,0,2023-02-20T09:16:01.886+00:00,,,bitbucket:BitbucketRepo:1:likyh/likyhphp,"{""ConnectionId"":1,""FullName"":""likyh/likyhphp""}",_raw_bitbucket_api_pipeline_steps,10008, +bitbucket:BitbucketPipelineStep:1:{c2da4b2d-f971-4c5f-90b7-1c55ea801109},production,bitbucket:BitbucketPipeline:1:{d7bf8394-6e18-42c4-b3a3-70514fc4079f},,OTHER,NOT_RUN,NOT_RUN,,0,2023-02-20T09:16:01.886+00:00,,,bitbucket:BitbucketRepo:1:likyh/likyhphp,"{""ConnectionId"":1,""FullName"":""likyh/likyhphp""}",_raw_bitbucket_api_pipeline_steps,10009, +bitbucket:BitbucketPipelineStep:1:{c2da4b2d-f971-4c5f-90b7-1c55ea801110},production,bitbucket:BitbucketPipeline:1:{d7bf8394-6e18-42c4-b3a3-70514fc4079f},,OTHER,EXPIRED,EXPIRED,,0,2023-02-20T09:16:01.886+00:00,,,bitbucket:BitbucketRepo:1:likyh/likyhphp,"{""ConnectionId"":1,""FullName"":""likyh/likyhphp""}",_raw_bitbucket_api_pipeline_steps,10010, +bitbucket:BitbucketPipelineStep:1:{c2da4b2d-f971-4c5f-90b7-1c55ea80121c},production,bitbucket:BitbucketPipeline:1:{d7bf8394-6e18-42c4-b3a3-70514fc4079f},SUCCESS,DONE,SUCCESSFUL,COMPLETED,,8,2023-02-20T09:16:01.886+00:00,2023-02-20T09:16:09.885+00:00,,bitbucket:BitbucketRepo:1:likyh/likyhphp,"{""ConnectionId"":1,""FullName"":""likyh/likyhphp""}",_raw_bitbucket_api_pipeline_steps,633, +bitbucket:BitbucketPipelineStep:1:{caf86c6c-c60a-4e62-b838-6480ad110182},Test,bitbucket:BitbucketPipeline:1:{1e20072e-b22a-443f-ad92-3d9435393d5b},SUCCESS,DONE,SUCCESSFUL,COMPLETED,,10,2023-02-20T09:11:43.393+00:00,2023-02-20T09:11:53.145+00:00,,bitbucket:BitbucketRepo:1:likyh/likyhphp,"{""ConnectionId"":1,""FullName"":""likyh/likyhphp""}",_raw_bitbucket_api_pipeline_steps,89, +bitbucket:BitbucketPipelineStep:1:{d464ab91-8b50-4ad5-8c22-d2a6d1ca5d22},Test,bitbucket:BitbucketPipeline:1:{01fad871-cd21-4a80-bd59-74148dd5be8e},FAILURE,DONE,FAILED,COMPLETED,,14,2023-02-20T08:58:31.520+00:00,2023-02-20T08:58:45.945+00:00,,bitbucket:BitbucketRepo:1:likyh/likyhphp,"{""ConnectionId"":1,""FullName"":""likyh/likyhphp""}",_raw_bitbucket_api_pipeline_steps,1, +bitbucket:BitbucketPipelineStep:1:{e4753fd7-469e-4d15-a689-0fd882fee2d4},Test,bitbucket:BitbucketPipeline:1:{d7bf8394-6e18-42c4-b3a3-70514fc4079f},SUCCESS,DONE,SUCCESSFUL,COMPLETED,,5,2023-02-20T09:17:33.116+00:00,2023-02-20T09:17:37.835+00:00,,bitbucket:BitbucketRepo:1:likyh/likyhphp,"{""ConnectionId"":1,""FullName"":""likyh/likyhphp""}",_raw_bitbucket_api_pipeline_steps,631, diff --git a/backend/plugins/bitbucket/tasks/deployment_convertor.go b/backend/plugins/bitbucket/tasks/deployment_convertor.go index b19512d93e3..51d5ecad36b 100644 --- a/backend/plugins/bitbucket/tasks/deployment_convertor.go +++ b/backend/plugins/bitbucket/tasks/deployment_convertor.go @@ -96,15 +96,16 @@ func ConvertDeployments(taskCtx plugin.SubTaskContext) errors.Error { InProgress: []string{models.IN_PROGRESS}, Default: devops.STATUS_OTHER, }, bitbucketDeployment.Status), - Environment: strings.ToUpper(bitbucketDeployment.Environment), // or bitbucketDeployment.EnvironmentType, they are same so far. - CreatedDate: *bitbucketDeployment.CreatedOn, - StartedDate: bitbucketDeployment.StartedOn, - FinishedDate: bitbucketDeployment.CompletedOn, - DurationSec: duration, - CommitSha: bitbucketDeployment.CommitSha, - RefName: bitbucketDeployment.RefName, - RepoId: repoId, - RepoUrl: repo.HTMLUrl, + OriginalStatus: bitbucketDeployment.Status, + Environment: strings.ToUpper(bitbucketDeployment.Environment), // or bitbucketDeployment.EnvironmentType, they are same so far. + CreatedDate: *bitbucketDeployment.CreatedOn, + StartedDate: bitbucketDeployment.StartedOn, + FinishedDate: bitbucketDeployment.CompletedOn, + DurationSec: duration, + CommitSha: bitbucketDeployment.CommitSha, + RefName: bitbucketDeployment.RefName, + RepoId: repoId, + RepoUrl: repo.HTMLUrl, } if domainDeployCommit.Environment == devops.TEST { // Theoretically, environment cannot be "Test" according to diff --git a/backend/plugins/bitbucket/tasks/pipeline_convertor.go b/backend/plugins/bitbucket/tasks/pipeline_convertor.go index 7132e753be8..5d576d15dc5 100644 --- a/backend/plugins/bitbucket/tasks/pipeline_convertor.go +++ b/backend/plugins/bitbucket/tasks/pipeline_convertor.go @@ -92,17 +92,19 @@ func ConvertPipelines(taskCtx plugin.SubTaskContext) errors.Error { Failure: []string{models.FAILED, models.ERROR, models.STOPPED, models.ERROR}, Default: devops.RESULT_DEFAULT, }, bitbucketPipeline.Result), + OriginalResult: bitbucketPipeline.Result, Status: devops.GetStatus(&devops.StatusRule{ Done: []string{models.COMPLETED, models.SUCCESSFUL, models.PASSED, models.FAILED, models.ERROR, models.STOPPED, models.HALTED}, InProgress: []string{models.IN_PROGRESS, models.PENDING, models.RUNNING, models.PAUSED, models.BUILDING}, Default: devops.STATUS_OTHER, }, bitbucketPipeline.Status), - Type: bitbucketPipeline.Type, - Environment: bitbucketPipeline.Environment, - CreatedDate: createdAt, - DurationSec: float64(bitbucketPipeline.DurationInSeconds), - FinishedDate: bitbucketPipeline.BitbucketCompleteOn, - CicdScopeId: repoId, + OriginalStatus: bitbucketPipeline.Status, + Type: bitbucketPipeline.Type, + Environment: bitbucketPipeline.Environment, + CreatedDate: createdAt, + DurationSec: float64(bitbucketPipeline.DurationInSeconds), + FinishedDate: bitbucketPipeline.BitbucketCompleteOn, + CicdScopeId: repoId, } results = append(results, domainPipelineCommit, domainPipeline) return results, nil diff --git a/backend/plugins/bitbucket/tasks/pipeline_steps_convertor.go b/backend/plugins/bitbucket/tasks/pipeline_steps_convertor.go index 0eb10bb00fd..09d500c6205 100644 --- a/backend/plugins/bitbucket/tasks/pipeline_steps_convertor.go +++ b/backend/plugins/bitbucket/tasks/pipeline_steps_convertor.go @@ -73,12 +73,14 @@ func ConvertPipelineSteps(taskCtx plugin.SubTaskContext) errors.Error { Failure: []string{models.FAILED, models.ERROR, models.STOPPED}, Default: devops.RESULT_DEFAULT, }, bitbucketPipelineStep.Result), + OriginalResult: bitbucketPipelineStep.Result, Status: devops.GetStatus(&devops.StatusRule{ Done: []string{models.COMPLETED, models.SUCCESSFUL, models.FAILED, models.ERROR, models.STOPPED}, InProgress: []string{models.IN_PROGRESS, models.PENDING, models.BUILDING, models.READY}, Default: devops.STATUS_OTHER, }, bitbucketPipelineStep.State), - CicdScopeId: repoIdGen.Generate(data.Options.ConnectionId, data.Options.FullName), + OriginalStatus: bitbucketPipelineStep.State, + CicdScopeId: repoIdGen.Generate(data.Options.ConnectionId, data.Options.FullName), } // not save to domain layer if StartedOn is empty if bitbucketPipelineStep.StartedOn == nil { diff --git a/backend/plugins/circleci/e2e/snapshot_tables/cicd_pipelines.csv b/backend/plugins/circleci/e2e/snapshot_tables/cicd_pipelines.csv index feb5ea2e63d..0fb6e0a762c 100644 --- a/backend/plugins/circleci/e2e/snapshot_tables/cicd_pipelines.csv +++ b/backend/plugins/circleci/e2e/snapshot_tables/cicd_pipelines.csv @@ -1,10 +1,10 @@ -id,name,result,status,type,duration_sec,environment,cicd_scope_id -circleci:CircleciWorkflow:1:6731159f-5275-4bfa-ba70-39d343d63814,workflow,FAILURE,DONE,,8,PRODUCTION,circleci:CircleciProject:1:github/coldgust/coldgust.github.io -circleci:CircleciWorkflow:1:7370985a-9de3-4a47-acbc-e6a1fe8e5812,workflow,FAILURE,DONE,,19,PRODUCTION,circleci:CircleciProject:1:github/coldgust/coldgust.github.io -circleci:CircleciWorkflow:1:89054eb2-8e85-4f5c-9a93-66d753a0e970,say-hello-workflow,SUCCESS,DONE,,5,PRODUCTION,circleci:CircleciProject:1:github/coldgust/coldgust.github.io -circleci:CircleciWorkflow:1:8971a56b-5547-4824-94dd-07bb467524c5,say-hello-workflow,SUCCESS,DONE,,5,PRODUCTION,circleci:CircleciProject:1:github/coldgust/coldgust.github.io -circleci:CircleciWorkflow:1:8fe60291-68f7-40e2-acec-d99bff4da713,say-hello-workflow,SUCCESS,DONE,,4,PRODUCTION,circleci:CircleciProject:1:github/coldgust/coldgust.github.io -circleci:CircleciWorkflow:1:b9ab7bbe-2f30-4c59-b4e2-eb2005bffb14,workflow,FAILURE,DONE,,14,PRODUCTION,circleci:CircleciProject:1:github/coldgust/coldgust.github.io -circleci:CircleciWorkflow:1:c7df82a6-0d2b-4e19-a36a-3f3aa9fd3943,workflow,FAILURE,DONE,,5,PRODUCTION,circleci:CircleciProject:1:github/coldgust/coldgust.github.io -circleci:CircleciWorkflow:1:fc76deef-bcdd-4856-8e96-a8e2d1c5a85f,workflow,FAILURE,DONE,,15,PRODUCTION,circleci:CircleciProject:1:github/coldgust/coldgust.github.io -circleci:CircleciWorkflow:1:fd0bd4f5-264f-4e3c-a151-06153c018f78,workflow,SUCCESS,DONE,,17,PRODUCTION,circleci:CircleciProject:1:github/coldgust/coldgust.github.io +id,name,result,status,original_status,original_result,type,duration_sec,environment,cicd_scope_id +circleci:CircleciWorkflow:1:6731159f-5275-4bfa-ba70-39d343d63814,workflow,FAILURE,DONE,failed,,,8,PRODUCTION,circleci:CircleciProject:1:github/coldgust/coldgust.github.io +circleci:CircleciWorkflow:1:7370985a-9de3-4a47-acbc-e6a1fe8e5812,workflow,FAILURE,DONE,failed,,,19,PRODUCTION,circleci:CircleciProject:1:github/coldgust/coldgust.github.io +circleci:CircleciWorkflow:1:89054eb2-8e85-4f5c-9a93-66d753a0e970,say-hello-workflow,SUCCESS,DONE,success,,,5,PRODUCTION,circleci:CircleciProject:1:github/coldgust/coldgust.github.io +circleci:CircleciWorkflow:1:8971a56b-5547-4824-94dd-07bb467524c5,say-hello-workflow,SUCCESS,DONE,success,,,5,PRODUCTION,circleci:CircleciProject:1:github/coldgust/coldgust.github.io +circleci:CircleciWorkflow:1:8fe60291-68f7-40e2-acec-d99bff4da713,say-hello-workflow,SUCCESS,DONE,success,,,4,PRODUCTION,circleci:CircleciProject:1:github/coldgust/coldgust.github.io +circleci:CircleciWorkflow:1:b9ab7bbe-2f30-4c59-b4e2-eb2005bffb14,workflow,FAILURE,DONE,failed,,,14,PRODUCTION,circleci:CircleciProject:1:github/coldgust/coldgust.github.io +circleci:CircleciWorkflow:1:c7df82a6-0d2b-4e19-a36a-3f3aa9fd3943,workflow,FAILURE,DONE,failed,,,5,PRODUCTION,circleci:CircleciProject:1:github/coldgust/coldgust.github.io +circleci:CircleciWorkflow:1:fc76deef-bcdd-4856-8e96-a8e2d1c5a85f,workflow,FAILURE,DONE,failed,,,15,PRODUCTION,circleci:CircleciProject:1:github/coldgust/coldgust.github.io +circleci:CircleciWorkflow:1:fd0bd4f5-264f-4e3c-a151-06153c018f78,workflow,SUCCESS,DONE,success,,,17,PRODUCTION,circleci:CircleciProject:1:github/coldgust/coldgust.github.io diff --git a/backend/plugins/circleci/e2e/snapshot_tables/cicd_tasks.csv b/backend/plugins/circleci/e2e/snapshot_tables/cicd_tasks.csv index 976c53eb65e..ec121d3c394 100644 --- a/backend/plugins/circleci/e2e/snapshot_tables/cicd_tasks.csv +++ b/backend/plugins/circleci/e2e/snapshot_tables/cicd_tasks.csv @@ -1,10 +1,10 @@ -id,name,pipeline_id,result,status,type,environment,duration_sec,cicd_scope_id -circleci:CircleciJob:1:6731159f-5275-4bfa-ba70-39d343d63814:ab8c3282-0e74-4a41-834e-152a71280bed,build,23622ee4-e150-4920-9d66-81533fa765a4,FAILURE,DONE,,PRODUCTION,3,circleci:CircleciProject:1:abcd -circleci:CircleciJob:1:7370985a-9de3-4a47-acbc-e6a1fe8e5812:a00f80bc-f759-4900-97a5-2d121d80bde8,build,866e967d-f826-4470-aed6-fc0c92e98703,FAILURE,DONE,,PRODUCTION,16,circleci:CircleciProject:1:abcd -circleci:CircleciJob:1:89054eb2-8e85-4f5c-9a93-66d753a0e970:c46092f9-6f82-4a52-8d8b-bd70d365dfc2,say-hello,625ca634-68fe-4515-91f0-7ba8af51dc99,SUCCESS,DONE,,PRODUCTION,3,circleci:CircleciProject:1:abcd -circleci:CircleciJob:1:8971a56b-5547-4824-94dd-07bb467524c5:7b96e45b-b10e-47a0-95d0-96580b88bdda,say-hello,87aad008-1ad5-486a-8174-fdeed846561a,SUCCESS,DONE,,PRODUCTION,3,circleci:CircleciProject:1:abcd -circleci:CircleciJob:1:8fe60291-68f7-40e2-acec-d99bff4da713:afde48dd-7319-4973-b3c8-e00308ff7667,say-hello,afef32b3-5ffe-48d2-8d9e-46dcedd82554,SUCCESS,DONE,,PRODUCTION,2,circleci:CircleciProject:1:abcd -circleci:CircleciJob:1:b9ab7bbe-2f30-4c59-b4e2-eb2005bffb14:76c1f2cc-27ea-47aa-8167-48d2633abdba,build,70f3eb15-3b94-4f80-b65e-f23f4b74c33a,FAILURE,DONE,,PRODUCTION,12,circleci:CircleciProject:1:abcd -circleci:CircleciJob:1:c7df82a6-0d2b-4e19-a36a-3f3aa9fd3943:a4af3dd5-a3ae-48e8-b634-e2d63aafbb5b,build,2c45280f-7fb3-4025-b703-a547c4a94916,FAILURE,DONE,,PRODUCTION,3,circleci:CircleciProject:1:abcd -circleci:CircleciJob:1:fc76deef-bcdd-4856-8e96-a8e2d1c5a85f:004e3e27-17d7-4ccb-9b21-a7f55bcf2b3e,build,afe0cabe-e7ee-4eb7-bf13-bb6170d139f0,FAILURE,DONE,,PRODUCTION,13,circleci:CircleciProject:1:abcd -circleci:CircleciJob:1:fd0bd4f5-264f-4e3c-a151-06153c018f78:2ff3594e-9da1-4306-aefa-77b72a97971e,build,7fcc1623-edcc-4a76-ad20-cd81aa83519f,SUCCESS,DONE,,PRODUCTION,13,circleci:CircleciProject:1:abcd +id,name,pipeline_id,result,status,original_status,original_result,type,environment,duration_sec,cicd_scope_id +circleci:CircleciJob:1:6731159f-5275-4bfa-ba70-39d343d63814:ab8c3282-0e74-4a41-834e-152a71280bed,build,23622ee4-e150-4920-9d66-81533fa765a4,FAILURE,DONE,failed,,,PRODUCTION,3,circleci:CircleciProject:1:abcd +circleci:CircleciJob:1:7370985a-9de3-4a47-acbc-e6a1fe8e5812:a00f80bc-f759-4900-97a5-2d121d80bde8,build,866e967d-f826-4470-aed6-fc0c92e98703,FAILURE,DONE,failed,,,PRODUCTION,16,circleci:CircleciProject:1:abcd +circleci:CircleciJob:1:89054eb2-8e85-4f5c-9a93-66d753a0e970:c46092f9-6f82-4a52-8d8b-bd70d365dfc2,say-hello,625ca634-68fe-4515-91f0-7ba8af51dc99,SUCCESS,DONE,success,,,PRODUCTION,3,circleci:CircleciProject:1:abcd +circleci:CircleciJob:1:8971a56b-5547-4824-94dd-07bb467524c5:7b96e45b-b10e-47a0-95d0-96580b88bdda,say-hello,87aad008-1ad5-486a-8174-fdeed846561a,SUCCESS,DONE,success,,,PRODUCTION,3,circleci:CircleciProject:1:abcd +circleci:CircleciJob:1:8fe60291-68f7-40e2-acec-d99bff4da713:afde48dd-7319-4973-b3c8-e00308ff7667,say-hello,afef32b3-5ffe-48d2-8d9e-46dcedd82554,SUCCESS,DONE,success,,,PRODUCTION,2,circleci:CircleciProject:1:abcd +circleci:CircleciJob:1:b9ab7bbe-2f30-4c59-b4e2-eb2005bffb14:76c1f2cc-27ea-47aa-8167-48d2633abdba,build,70f3eb15-3b94-4f80-b65e-f23f4b74c33a,FAILURE,DONE,failed,,,PRODUCTION,12,circleci:CircleciProject:1:abcd +circleci:CircleciJob:1:c7df82a6-0d2b-4e19-a36a-3f3aa9fd3943:a4af3dd5-a3ae-48e8-b634-e2d63aafbb5b,build,2c45280f-7fb3-4025-b703-a547c4a94916,FAILURE,DONE,failed,,,PRODUCTION,3,circleci:CircleciProject:1:abcd +circleci:CircleciJob:1:fc76deef-bcdd-4856-8e96-a8e2d1c5a85f:004e3e27-17d7-4ccb-9b21-a7f55bcf2b3e,build,afe0cabe-e7ee-4eb7-bf13-bb6170d139f0,FAILURE,DONE,failed,,,PRODUCTION,13,circleci:CircleciProject:1:abcd +circleci:CircleciJob:1:fd0bd4f5-264f-4e3c-a151-06153c018f78:2ff3594e-9da1-4306-aefa-77b72a97971e,build,7fcc1623-edcc-4a76-ad20-cd81aa83519f,SUCCESS,DONE,success,,,PRODUCTION,13,circleci:CircleciProject:1:abcd diff --git a/backend/plugins/circleci/tasks/job_converter.go b/backend/plugins/circleci/tasks/job_converter.go index 9fbfc40f17d..a73b5f84bf7 100644 --- a/backend/plugins/circleci/tasks/job_converter.go +++ b/backend/plugins/circleci/tasks/job_converter.go @@ -71,6 +71,7 @@ func ConvertJobs(taskCtx plugin.SubTaskContext) errors.Error { Done: []string{"canceled", "failed", "failing", "success", "not_run", "error", "infrastructure_fail", "timedout", "terminated-unknown"}, // on_hold,blocked Default: devops.STATUS_OTHER, }, userTool.Status), + OriginalStatus: userTool.Status, Result: devops.GetResult(&devops.ResultRule{ Success: []string{"success"}, Failure: []string{"failed", "failing", "error"}, // not_run,canceled diff --git a/backend/plugins/circleci/tasks/workflow_converter.go b/backend/plugins/circleci/tasks/workflow_converter.go index b7c6c2eca4f..56869234ae9 100644 --- a/backend/plugins/circleci/tasks/workflow_converter.go +++ b/backend/plugins/circleci/tasks/workflow_converter.go @@ -70,6 +70,7 @@ func ConvertWorkflows(taskCtx plugin.SubTaskContext) errors.Error { Done: []string{"canceled", "failed", "failing", "success", "not_run", "error"}, // on_hold Default: devops.STATUS_OTHER, }, userTool.Status), + OriginalStatus: userTool.Status, Result: devops.GetResult(&devops.ResultRule{ Success: []string{"success"}, Failure: []string{"failed", "failing", "error"}, // not_run,canceled diff --git a/backend/plugins/dora/tasks/deployment_commits_generator.go b/backend/plugins/dora/tasks/deployment_commits_generator.go index 7061313b3fb..1334e9e176b 100644 --- a/backend/plugins/dora/tasks/deployment_commits_generator.go +++ b/backend/plugins/dora/tasks/deployment_commits_generator.go @@ -43,6 +43,8 @@ type pipelineCommitEx struct { PipelineName string Result string Status string + OriginalStatus string + OriginalResult string DurationSec *float64 CreatedDate *time.Time FinishedDate *time.Time @@ -70,6 +72,8 @@ func GenerateDeploymentCommits(taskCtx plugin.SubTaskContext) errors.Error { p.finished_date, p.environment, p.cicd_scope_id, + p.original_status, + p.original_result, EXISTS(SELECT 1 FROM cicd_tasks t WHERE t.pipeline_id = p.id AND t.environment = ? AND t.result IN ?) as has_testing_tasks, EXISTS(SELECT 1 FROM cicd_tasks t WHERE t.pipeline_id = p.id AND t.environment = ? AND t.result IN ?) @@ -125,6 +129,8 @@ func GenerateDeploymentCommits(taskCtx plugin.SubTaskContext) errors.Error { CicdDeploymentId: pipelineCommit.PipelineId, Name: pipelineCommit.PipelineName, Result: pipelineCommit.Result, + OriginalStatus: pipelineCommit.OriginalStatus, + OriginalResult: pipelineCommit.OriginalResult, Status: pipelineCommit.Status, Environment: pipelineCommit.Environment, CreatedDate: *pipelineCommit.CreatedDate, diff --git a/backend/plugins/github/e2e/snapshot_tables/cicd_deployment_commits.csv b/backend/plugins/github/e2e/snapshot_tables/cicd_deployment_commits.csv index ea9c5846551..0e17230b4d0 100644 --- a/backend/plugins/github/e2e/snapshot_tables/cicd_deployment_commits.csv +++ b/backend/plugins/github/e2e/snapshot_tables/cicd_deployment_commits.csv @@ -1,12 +1,12 @@ -id,commit_sha,cicd_scope_id,cicd_deployment_id,name,result,status,environment,created_date,started_date,finished_date,duration_sec,ref_name,repo_id,repo_url,prev_success_deployment_commit_id -github:GithubDeployment:1:MDEwOkRlcGxveW1lbnQ0MDcyNjE5N5==,f3f308ffaf23b98d2cf0ea34d7065a690a6560da,github:GithubRepo:1:134018330,github:GithubDeployment:1:MDEwOkRlcGxveW1lbnQ0MDcyNjE5N5==,f3f308ffaf23b98d2cf0ea34d7065a690a6560da,,IN_PROGRESS,github-pages,2017-06-14T23:19:10.000+00:00,2017-06-14T23:19:10.000+00:00,2017-06-14T23:19:10.000+00:00,0,,github:GithubRepo:1:134018330,https://github.com/panjf2000/ants, -github:GithubDeployment:1:MDEwOkRlcGxveW1lbnQ0MDE4NjU5N1==,c22c398cec3f6a0e75a806c369dc6cc92addf598,github:GithubRepo:1:134018330,github:GithubDeployment:1:MDEwOkRlcGxveW1lbnQ0MDE4NjU5N1==,c22c398cec3f6a0e75a806c369dc6cc92addf598,SUCCESS,DONE,github-pages,2017-06-09T23:06:33.000+00:00,2017-06-09T23:06:33.000+00:00,2017-06-09T23:06:33.000+00:00,0,,github:GithubRepo:1:134018330,https://github.com/panjf2000/ants, -github:GithubDeployment:1:MDEwOkRlcGxveW1lbnQ0MDgwMzcwN6==,b1e6227e675aae6e62b40803f06be690031cb145,github:GithubRepo:1:134018330,github:GithubDeployment:1:MDEwOkRlcGxveW1lbnQ0MDgwMzcwN6==,b1e6227e675aae6e62b40803f06be690031cb145,,IN_PROGRESS,github-pages,2017-06-15T14:56:14.000+00:00,2017-06-15T14:56:14.000+00:00,2017-06-15T14:56:14.000+00:00,0,,github:GithubRepo:1:134018330,https://github.com/panjf2000/ants, -github:GithubDeployment:1:MDEwOkRlcGxveW1lbnQ0MDU0Mzg3N2==,e4a9af594f75c1077f8c0e7ff99b1841f5fcae65,github:GithubRepo:1:134018330,github:GithubDeployment:1:MDEwOkRlcGxveW1lbnQ0MDU0Mzg3N2==,e4a9af594f75c1077f8c0e7ff99b1841f5fcae65,FAILURE,DONE,github-pages,2017-06-13T14:42:26.000+00:00,2017-06-13T14:42:26.000+00:00,2017-06-13T14:42:26.000+00:00,0,,github:GithubRepo:1:134018330,https://github.com/panjf2000/ants, -github:GithubDeployment:1:MDEwOkRlcGxveW1lbnQ0MDU2Mjg4M3==,dc204718f0e4596b6c13fe3de7cfdeaf3905a50d,github:GithubRepo:1:134018330,github:GithubDeployment:1:MDEwOkRlcGxveW1lbnQ0MDU2Mjg4M3==,dc204718f0e4596b6c13fe3de7cfdeaf3905a50d,FAILURE,DONE,github-pages,2017-06-13T17:19:09.000+00:00,2017-06-13T17:19:09.000+00:00,2017-06-13T17:19:09.000+00:00,0,,github:GithubRepo:1:134018330,https://github.com/panjf2000/ants, -github:GithubDeployment:1:MDEwOkRlcGxveW1lbnQ0MDU5NTY0N4==,e7020c61065fb95b591bd06a3f79bf95d505e0d1,github:GithubRepo:1:134018330,github:GithubDeployment:1:MDEwOkRlcGxveW1lbnQ0MDU5NTY0N4==,e7020c61065fb95b591bd06a3f79bf95d505e0d1,,IN_PROGRESS,github-pages,2017-06-13T23:05:35.000+00:00,2017-06-13T23:05:35.000+00:00,2017-06-13T23:05:35.000+00:00,0,,github:GithubRepo:1:134018330,https://github.com/panjf2000/ants, -github:GithubDeployment:1:MDEwOkRlcGxveW1lbnQ0MjAwMzE5M7==,7bc32d9148e612b54c1909ecf56a62a08cb7b0e7,github:GithubRepo:1:134018330,github:GithubDeployment:1:MDEwOkRlcGxveW1lbnQ0MjAwMzE5M7==,7bc32d9148e612b54c1909ecf56a62a08cb7b0e7,,IN_PROGRESS,github-pages,2017-06-26T18:03:49.000+00:00,2017-06-26T18:03:49.000+00:00,2017-06-26T18:03:49.000+00:00,0,,github:GithubRepo:1:134018330,https://github.com/panjf2000/ants, -github:GithubDeployment:1:MDEwOkRlcGxveW1lbnQ0MjM3NTU0M8==,6941c84de27d8a306510af3a03812b26ec421725,github:GithubRepo:1:134018330,github:GithubDeployment:1:MDEwOkRlcGxveW1lbnQ0MjM3NTU0M8==,6941c84de27d8a306510af3a03812b26ec421725,,OTHER,github-pages,2017-06-29T15:13:53.000+00:00,2017-06-29T15:13:53.000+00:00,2017-06-29T15:13:53.000+00:00,0,,github:GithubRepo:1:134018330,https://github.com/panjf2000/ants, -github:GithubDeployment:1:MDEwOkRlcGxveW1lbnQ0MzY0MzQ1N9==,5f0258bc04265e1f46e5eb7f685d91a0a7075031,github:GithubRepo:1:134018330,github:GithubDeployment:1:MDEwOkRlcGxveW1lbnQ0MzY0MzQ1N9==,5f0258bc04265e1f46e5eb7f685d91a0a7075031,,OTHER,github-pages,2017-07-11T13:09:32.000+00:00,2017-07-11T13:09:32.000+00:00,2017-07-11T13:09:32.000+00:00,0,,github:GithubRepo:1:134018330,https://github.com/panjf2000/ants, -github:GithubDeployment:1:MDEwOkRlcGxveW1lbnQ0NTQ3OTQ4O0==,0be0c9ca727d106f85f126cf8beb10a6843af352,github:GithubRepo:1:134018330,github:GithubDeployment:1:MDEwOkRlcGxveW1lbnQ0NTQ3OTQ4O0==,0be0c9ca727d106f85f126cf8beb10a6843af352,,OTHER,github-pages,2017-07-26T19:43:48.000+00:00,2017-07-26T19:43:48.000+00:00,2017-07-26T19:43:48.000+00:00,0,,github:GithubRepo:1:134018330,https://github.com/panjf2000/ants, -github:GithubDeployment:1:MDEwOkRlcGxveW1lbnQ0NTQ4MDI010==,8faba4cb2f03fa56ab6671d58f46d44622f36561,github:GithubRepo:1:134018330,github:GithubDeployment:1:MDEwOkRlcGxveW1lbnQ0NTQ4MDI010==,8faba4cb2f03fa56ab6671d58f46d44622f36561,,OTHER,github-pages,2017-07-26T19:50:31.000+00:00,2017-07-26T19:50:31.000+00:00,2017-07-26T19:50:31.000+00:00,0,,github:GithubRepo:1:134018330,https://github.com/panjf2000/ants, +id,commit_sha,cicd_scope_id,cicd_deployment_id,name,result,status,original_status,original_result,environment,created_date,started_date,finished_date,duration_sec,ref_name,repo_id,repo_url,prev_success_deployment_commit_id +github:GithubDeployment:1:MDEwOkRlcGxveW1lbnQ0MDE4NjU5N1==,c22c398cec3f6a0e75a806c369dc6cc92addf598,github:GithubRepo:1:134018330,github:GithubDeployment:1:MDEwOkRlcGxveW1lbnQ0MDE4NjU5N1==,c22c398cec3f6a0e75a806c369dc6cc92addf598,SUCCESS,DONE,SUCCESS,,github-pages,2017-06-09T23:06:33.000+00:00,2017-06-09T23:06:33.000+00:00,2017-06-09T23:06:33.000+00:00,0,,github:GithubRepo:1:134018330,https://github.com/panjf2000/ants, +github:GithubDeployment:1:MDEwOkRlcGxveW1lbnQ0MDU0Mzg3N2==,e4a9af594f75c1077f8c0e7ff99b1841f5fcae65,github:GithubRepo:1:134018330,github:GithubDeployment:1:MDEwOkRlcGxveW1lbnQ0MDU0Mzg3N2==,e4a9af594f75c1077f8c0e7ff99b1841f5fcae65,FAILURE,DONE,FAILURE,,github-pages,2017-06-13T14:42:26.000+00:00,2017-06-13T14:42:26.000+00:00,2017-06-13T14:42:26.000+00:00,0,,github:GithubRepo:1:134018330,https://github.com/panjf2000/ants, +github:GithubDeployment:1:MDEwOkRlcGxveW1lbnQ0MDU2Mjg4M3==,dc204718f0e4596b6c13fe3de7cfdeaf3905a50d,github:GithubRepo:1:134018330,github:GithubDeployment:1:MDEwOkRlcGxveW1lbnQ0MDU2Mjg4M3==,dc204718f0e4596b6c13fe3de7cfdeaf3905a50d,FAILURE,DONE,ERROR,,github-pages,2017-06-13T17:19:09.000+00:00,2017-06-13T17:19:09.000+00:00,2017-06-13T17:19:09.000+00:00,0,,github:GithubRepo:1:134018330,https://github.com/panjf2000/ants, +github:GithubDeployment:1:MDEwOkRlcGxveW1lbnQ0MDU5NTY0N4==,e7020c61065fb95b591bd06a3f79bf95d505e0d1,github:GithubRepo:1:134018330,github:GithubDeployment:1:MDEwOkRlcGxveW1lbnQ0MDU5NTY0N4==,e7020c61065fb95b591bd06a3f79bf95d505e0d1,,IN_PROGRESS,IN_PROGRESS,,github-pages,2017-06-13T23:05:35.000+00:00,2017-06-13T23:05:35.000+00:00,2017-06-13T23:05:35.000+00:00,0,,github:GithubRepo:1:134018330,https://github.com/panjf2000/ants, +github:GithubDeployment:1:MDEwOkRlcGxveW1lbnQ0MDcyNjE5N5==,f3f308ffaf23b98d2cf0ea34d7065a690a6560da,github:GithubRepo:1:134018330,github:GithubDeployment:1:MDEwOkRlcGxveW1lbnQ0MDcyNjE5N5==,f3f308ffaf23b98d2cf0ea34d7065a690a6560da,,IN_PROGRESS,QUEUED,,github-pages,2017-06-14T23:19:10.000+00:00,2017-06-14T23:19:10.000+00:00,2017-06-14T23:19:10.000+00:00,0,,github:GithubRepo:1:134018330,https://github.com/panjf2000/ants, +github:GithubDeployment:1:MDEwOkRlcGxveW1lbnQ0MDgwMzcwN6==,b1e6227e675aae6e62b40803f06be690031cb145,github:GithubRepo:1:134018330,github:GithubDeployment:1:MDEwOkRlcGxveW1lbnQ0MDgwMzcwN6==,b1e6227e675aae6e62b40803f06be690031cb145,,IN_PROGRESS,PENDING,,github-pages,2017-06-15T14:56:14.000+00:00,2017-06-15T14:56:14.000+00:00,2017-06-15T14:56:14.000+00:00,0,,github:GithubRepo:1:134018330,https://github.com/panjf2000/ants, +github:GithubDeployment:1:MDEwOkRlcGxveW1lbnQ0MjAwMzE5M7==,7bc32d9148e612b54c1909ecf56a62a08cb7b0e7,github:GithubRepo:1:134018330,github:GithubDeployment:1:MDEwOkRlcGxveW1lbnQ0MjAwMzE5M7==,7bc32d9148e612b54c1909ecf56a62a08cb7b0e7,,IN_PROGRESS,WAITING,,github-pages,2017-06-26T18:03:49.000+00:00,2017-06-26T18:03:49.000+00:00,2017-06-26T18:03:49.000+00:00,0,,github:GithubRepo:1:134018330,https://github.com/panjf2000/ants, +github:GithubDeployment:1:MDEwOkRlcGxveW1lbnQ0MjM3NTU0M8==,6941c84de27d8a306510af3a03812b26ec421725,github:GithubRepo:1:134018330,github:GithubDeployment:1:MDEwOkRlcGxveW1lbnQ0MjM3NTU0M8==,6941c84de27d8a306510af3a03812b26ec421725,,OTHER,ABANDONED,,github-pages,2017-06-29T15:13:53.000+00:00,2017-06-29T15:13:53.000+00:00,2017-06-29T15:13:53.000+00:00,0,,github:GithubRepo:1:134018330,https://github.com/panjf2000/ants, +github:GithubDeployment:1:MDEwOkRlcGxveW1lbnQ0MzY0MzQ1N9==,5f0258bc04265e1f46e5eb7f685d91a0a7075031,github:GithubRepo:1:134018330,github:GithubDeployment:1:MDEwOkRlcGxveW1lbnQ0MzY0MzQ1N9==,5f0258bc04265e1f46e5eb7f685d91a0a7075031,,OTHER,ACTIVE,,github-pages,2017-07-11T13:09:32.000+00:00,2017-07-11T13:09:32.000+00:00,2017-07-11T13:09:32.000+00:00,0,,github:GithubRepo:1:134018330,https://github.com/panjf2000/ants, +github:GithubDeployment:1:MDEwOkRlcGxveW1lbnQ0NTQ3OTQ4O0==,0be0c9ca727d106f85f126cf8beb10a6843af352,github:GithubRepo:1:134018330,github:GithubDeployment:1:MDEwOkRlcGxveW1lbnQ0NTQ3OTQ4O0==,0be0c9ca727d106f85f126cf8beb10a6843af352,,OTHER,INACTIVE,,github-pages,2017-07-26T19:43:48.000+00:00,2017-07-26T19:43:48.000+00:00,2017-07-26T19:43:48.000+00:00,0,,github:GithubRepo:1:134018330,https://github.com/panjf2000/ants, +github:GithubDeployment:1:MDEwOkRlcGxveW1lbnQ0NTQ4MDI010==,8faba4cb2f03fa56ab6671d58f46d44622f36561,github:GithubRepo:1:134018330,github:GithubDeployment:1:MDEwOkRlcGxveW1lbnQ0NTQ4MDI010==,8faba4cb2f03fa56ab6671d58f46d44622f36561,,OTHER,DESTROYED,,github-pages,2017-07-26T19:50:31.000+00:00,2017-07-26T19:50:31.000+00:00,2017-07-26T19:50:31.000+00:00,0,,github:GithubRepo:1:134018330,https://github.com/panjf2000/ants, diff --git a/backend/plugins/github/e2e/snapshot_tables/cicd_deployments.csv b/backend/plugins/github/e2e/snapshot_tables/cicd_deployments.csv index 3b9d5ad30d2..190460eb405 100644 --- a/backend/plugins/github/e2e/snapshot_tables/cicd_deployments.csv +++ b/backend/plugins/github/e2e/snapshot_tables/cicd_deployments.csv @@ -1,12 +1,12 @@ -id,cicd_scope_id,name,result,status,environment,created_date,started_date,finished_date,duration_sec -github:GithubDeployment:1:MDEwOkRlcGxveW1lbnQ0MDcyNjE5N5==,github:GithubRepo:1:134018330,f3f308ffaf23b98d2cf0ea34d7065a690a6560da,,IN_PROGRESS,github-pages,2017-06-14T23:19:10.000+00:00,2017-06-14T23:19:10.000+00:00,2017-06-14T23:19:10.000+00:00,0 -github:GithubDeployment:1:MDEwOkRlcGxveW1lbnQ0MDE4NjU5N1==,github:GithubRepo:1:134018330,c22c398cec3f6a0e75a806c369dc6cc92addf598,SUCCESS,DONE,github-pages,2017-06-09T23:06:33.000+00:00,2017-06-09T23:06:33.000+00:00,2017-06-09T23:06:33.000+00:00,0 -github:GithubDeployment:1:MDEwOkRlcGxveW1lbnQ0MDgwMzcwN6==,github:GithubRepo:1:134018330,b1e6227e675aae6e62b40803f06be690031cb145,,IN_PROGRESS,github-pages,2017-06-15T14:56:14.000+00:00,2017-06-15T14:56:14.000+00:00,2017-06-15T14:56:14.000+00:00,0 -github:GithubDeployment:1:MDEwOkRlcGxveW1lbnQ0MDU0Mzg3N2==,github:GithubRepo:1:134018330,e4a9af594f75c1077f8c0e7ff99b1841f5fcae65,FAILURE,DONE,github-pages,2017-06-13T14:42:26.000+00:00,2017-06-13T14:42:26.000+00:00,2017-06-13T14:42:26.000+00:00,0 -github:GithubDeployment:1:MDEwOkRlcGxveW1lbnQ0MDU2Mjg4M3==,github:GithubRepo:1:134018330,dc204718f0e4596b6c13fe3de7cfdeaf3905a50d,FAILURE,DONE,github-pages,2017-06-13T17:19:09.000+00:00,2017-06-13T17:19:09.000+00:00,2017-06-13T17:19:09.000+00:00,0 -github:GithubDeployment:1:MDEwOkRlcGxveW1lbnQ0MDU5NTY0N4==,github:GithubRepo:1:134018330,e7020c61065fb95b591bd06a3f79bf95d505e0d1,,IN_PROGRESS,github-pages,2017-06-13T23:05:35.000+00:00,2017-06-13T23:05:35.000+00:00,2017-06-13T23:05:35.000+00:00,0 -github:GithubDeployment:1:MDEwOkRlcGxveW1lbnQ0MjAwMzE5M7==,github:GithubRepo:1:134018330,7bc32d9148e612b54c1909ecf56a62a08cb7b0e7,,IN_PROGRESS,github-pages,2017-06-26T18:03:49.000+00:00,2017-06-26T18:03:49.000+00:00,2017-06-26T18:03:49.000+00:00,0 -github:GithubDeployment:1:MDEwOkRlcGxveW1lbnQ0MjM3NTU0M8==,github:GithubRepo:1:134018330,6941c84de27d8a306510af3a03812b26ec421725,,OTHER,github-pages,2017-06-29T15:13:53.000+00:00,2017-06-29T15:13:53.000+00:00,2017-06-29T15:13:53.000+00:00,0 -github:GithubDeployment:1:MDEwOkRlcGxveW1lbnQ0MzY0MzQ1N9==,github:GithubRepo:1:134018330,5f0258bc04265e1f46e5eb7f685d91a0a7075031,,OTHER,github-pages,2017-07-11T13:09:32.000+00:00,2017-07-11T13:09:32.000+00:00,2017-07-11T13:09:32.000+00:00,0 -github:GithubDeployment:1:MDEwOkRlcGxveW1lbnQ0NTQ3OTQ4O0==,github:GithubRepo:1:134018330,0be0c9ca727d106f85f126cf8beb10a6843af352,,OTHER,github-pages,2017-07-26T19:43:48.000+00:00,2017-07-26T19:43:48.000+00:00,2017-07-26T19:43:48.000+00:00,0 -github:GithubDeployment:1:MDEwOkRlcGxveW1lbnQ0NTQ4MDI010==,github:GithubRepo:1:134018330,8faba4cb2f03fa56ab6671d58f46d44622f36561,,OTHER,github-pages,2017-07-26T19:50:31.000+00:00,2017-07-26T19:50:31.000+00:00,2017-07-26T19:50:31.000+00:00,0 +id,cicd_scope_id,name,result,status,original_status,original_result,environment,created_date,started_date,finished_date,duration_sec +github:GithubDeployment:1:MDEwOkRlcGxveW1lbnQ0MDE4NjU5N1==,github:GithubRepo:1:134018330,c22c398cec3f6a0e75a806c369dc6cc92addf598,SUCCESS,DONE,SUCCESS,,github-pages,2017-06-09T23:06:33.000+00:00,2017-06-09T23:06:33.000+00:00,2017-06-09T23:06:33.000+00:00,0 +github:GithubDeployment:1:MDEwOkRlcGxveW1lbnQ0MDU0Mzg3N2==,github:GithubRepo:1:134018330,e4a9af594f75c1077f8c0e7ff99b1841f5fcae65,FAILURE,DONE,FAILURE,,github-pages,2017-06-13T14:42:26.000+00:00,2017-06-13T14:42:26.000+00:00,2017-06-13T14:42:26.000+00:00,0 +github:GithubDeployment:1:MDEwOkRlcGxveW1lbnQ0MDU2Mjg4M3==,github:GithubRepo:1:134018330,dc204718f0e4596b6c13fe3de7cfdeaf3905a50d,FAILURE,DONE,ERROR,,github-pages,2017-06-13T17:19:09.000+00:00,2017-06-13T17:19:09.000+00:00,2017-06-13T17:19:09.000+00:00,0 +github:GithubDeployment:1:MDEwOkRlcGxveW1lbnQ0MDU5NTY0N4==,github:GithubRepo:1:134018330,e7020c61065fb95b591bd06a3f79bf95d505e0d1,,IN_PROGRESS,IN_PROGRESS,,github-pages,2017-06-13T23:05:35.000+00:00,2017-06-13T23:05:35.000+00:00,2017-06-13T23:05:35.000+00:00,0 +github:GithubDeployment:1:MDEwOkRlcGxveW1lbnQ0MDcyNjE5N5==,github:GithubRepo:1:134018330,f3f308ffaf23b98d2cf0ea34d7065a690a6560da,,IN_PROGRESS,QUEUED,,github-pages,2017-06-14T23:19:10.000+00:00,2017-06-14T23:19:10.000+00:00,2017-06-14T23:19:10.000+00:00,0 +github:GithubDeployment:1:MDEwOkRlcGxveW1lbnQ0MDgwMzcwN6==,github:GithubRepo:1:134018330,b1e6227e675aae6e62b40803f06be690031cb145,,IN_PROGRESS,PENDING,,github-pages,2017-06-15T14:56:14.000+00:00,2017-06-15T14:56:14.000+00:00,2017-06-15T14:56:14.000+00:00,0 +github:GithubDeployment:1:MDEwOkRlcGxveW1lbnQ0MjAwMzE5M7==,github:GithubRepo:1:134018330,7bc32d9148e612b54c1909ecf56a62a08cb7b0e7,,IN_PROGRESS,WAITING,,github-pages,2017-06-26T18:03:49.000+00:00,2017-06-26T18:03:49.000+00:00,2017-06-26T18:03:49.000+00:00,0 +github:GithubDeployment:1:MDEwOkRlcGxveW1lbnQ0MjM3NTU0M8==,github:GithubRepo:1:134018330,6941c84de27d8a306510af3a03812b26ec421725,,OTHER,ABANDONED,,github-pages,2017-06-29T15:13:53.000+00:00,2017-06-29T15:13:53.000+00:00,2017-06-29T15:13:53.000+00:00,0 +github:GithubDeployment:1:MDEwOkRlcGxveW1lbnQ0MzY0MzQ1N9==,github:GithubRepo:1:134018330,5f0258bc04265e1f46e5eb7f685d91a0a7075031,,OTHER,ACTIVE,,github-pages,2017-07-11T13:09:32.000+00:00,2017-07-11T13:09:32.000+00:00,2017-07-11T13:09:32.000+00:00,0 +github:GithubDeployment:1:MDEwOkRlcGxveW1lbnQ0NTQ3OTQ4O0==,github:GithubRepo:1:134018330,0be0c9ca727d106f85f126cf8beb10a6843af352,,OTHER,INACTIVE,,github-pages,2017-07-26T19:43:48.000+00:00,2017-07-26T19:43:48.000+00:00,2017-07-26T19:43:48.000+00:00,0 +github:GithubDeployment:1:MDEwOkRlcGxveW1lbnQ0NTQ4MDI010==,github:GithubRepo:1:134018330,8faba4cb2f03fa56ab6671d58f46d44622f36561,,OTHER,DESTROYED,,github-pages,2017-07-26T19:50:31.000+00:00,2017-07-26T19:50:31.000+00:00,2017-07-26T19:50:31.000+00:00,0 diff --git a/backend/plugins/github/e2e/snapshot_tables/cicd_pipelines.csv b/backend/plugins/github/e2e/snapshot_tables/cicd_pipelines.csv index 8d19d85d12c..cba170b51f5 100644 --- a/backend/plugins/github/e2e/snapshot_tables/cicd_pipelines.csv +++ b/backend/plugins/github/e2e/snapshot_tables/cicd_pipelines.csv @@ -1,36 +1,36 @@ -id,name,result,status,type,duration_sec,environment,created_date,finished_date,cicd_scope_id -github:GithubRun:1:134018330:2559400712,CodeQL,SUCCESS,DONE,DEPLOYMENT,116353,PRODUCTION,2022-06-25T04:17:45.000+00:00,2022-06-26T12:36:58.000+00:00,github:GithubRepo:1:134018330 -github:GithubRun:1:134018330:2559400713,Lint,SUCCESS,DONE,,116317,PRODUCTION,2022-06-25T04:17:45.000+00:00,2022-06-26T12:36:22.000+00:00,github:GithubRepo:1:134018330 -github:GithubRun:1:134018330:2559400714,Tests,SUCCESS,DONE,,116619,,2022-06-25T04:17:45.000+00:00,2022-06-26T12:41:24.000+00:00,github:GithubRepo:1:134018330 -github:GithubRun:1:134018330:2559400722,CodeQL,SUCCESS,DONE,DEPLOYMENT,116353,PRODUCTION,2022-06-25T04:17:45.000+00:00,2022-06-26T12:36:58.000+00:00,github:GithubRepo:1:134018330 -github:GithubRun:1:134018330:2559400723,CodeQL,SUCCESS,DONE,DEPLOYMENT,116353,PRODUCTION,2022-06-25T04:17:45.000+00:00,2022-06-26T12:36:58.000+00:00,github:GithubRepo:1:134018330 -github:GithubRun:1:134018330:2559400724,CodeQL,FAILURE,DONE,DEPLOYMENT,116353,PRODUCTION,2022-06-25T04:17:45.000+00:00,2022-06-26T12:36:58.000+00:00,github:GithubRepo:1:134018330 -github:GithubRun:1:134018330:2559400725,CodeQL,FAILURE,DONE,DEPLOYMENT,116353,PRODUCTION,2022-06-25T04:17:45.000+00:00,2022-06-26T12:36:58.000+00:00,github:GithubRepo:1:134018330 -github:GithubRun:1:134018330:2559400726,CodeQL,FAILURE,DONE,DEPLOYMENT,116353,PRODUCTION,2022-06-25T04:17:45.000+00:00,2022-06-26T12:36:58.000+00:00,github:GithubRepo:1:134018330 -github:GithubRun:1:134018330:2559400727,CodeQL,FAILURE,DONE,DEPLOYMENT,116353,PRODUCTION,2022-06-25T04:17:45.000+00:00,2022-06-26T12:36:58.000+00:00,github:GithubRepo:1:134018330 -github:GithubRun:1:134018330:2559400728,CodeQL,,IN_PROGRESS,DEPLOYMENT,0,PRODUCTION,2022-06-25T04:17:45.000+00:00,2022-06-26T12:36:58.000+00:00,github:GithubRepo:1:134018330 -github:GithubRun:1:134018330:2559400729,CodeQL,,IN_PROGRESS,DEPLOYMENT,0,PRODUCTION,2022-06-25T04:17:45.000+00:00,2022-06-26T12:36:58.000+00:00,github:GithubRepo:1:134018330 -github:GithubRun:1:134018330:2559400730,CodeQL,,IN_PROGRESS,DEPLOYMENT,0,PRODUCTION,2022-06-25T04:17:45.000+00:00,2022-06-26T12:36:58.000+00:00,github:GithubRepo:1:134018330 -github:GithubRun:1:134018330:2559400731,CodeQL,,IN_PROGRESS,DEPLOYMENT,0,PRODUCTION,2022-06-25T04:17:45.000+00:00,2022-06-26T12:36:58.000+00:00,github:GithubRepo:1:134018330 -github:GithubRun:1:134018330:2559400732,CodeQL,,OTHER,DEPLOYMENT,0,PRODUCTION,2022-06-25T04:17:45.000+00:00,2022-06-26T12:36:58.000+00:00,github:GithubRepo:1:134018330 -github:GithubRun:1:134018330:2559400733,CodeQL,,OTHER,DEPLOYMENT,0,PRODUCTION,2022-06-25T04:17:45.000+00:00,2022-06-26T12:36:58.000+00:00,github:GithubRepo:1:134018330 -github:GithubRun:1:134018330:2559400734,CodeQL,,OTHER,DEPLOYMENT,0,PRODUCTION,2022-06-25T04:17:45.000+00:00,2022-06-26T12:36:58.000+00:00,github:GithubRepo:1:134018330 -github:GithubRun:1:134018330:2559400735,CodeQL,,OTHER,DEPLOYMENT,0,PRODUCTION,2022-06-25T04:17:45.000+00:00,2022-06-26T12:36:58.000+00:00,github:GithubRepo:1:134018330 -github:GithubRun:1:134018330:2559400736,CodeQL,,OTHER,DEPLOYMENT,0,PRODUCTION,2022-06-25T04:17:45.000+00:00,2022-06-26T12:36:58.000+00:00,github:GithubRepo:1:134018330 -github:GithubRun:1:134018330:2559507315,CodeQL,,IN_PROGRESS,DEPLOYMENT,0,PRODUCTION,2022-06-25T05:02:56.000+00:00,2022-06-25T05:03:53.000+00:00,github:GithubRepo:1:134018330 -github:GithubRun:1:134018330:2566218975,Tests,,IN_PROGRESS,,0,,2022-06-27T01:29:54.000+00:00,2022-06-27T01:37:33.000+00:00,github:GithubRepo:1:134018330 -github:GithubRun:1:134018330:2566218976,CodeQL,SUCCESS,DONE,DEPLOYMENT,61,PRODUCTION,2022-06-27T01:29:54.000+00:00,2022-06-27T01:30:55.000+00:00,github:GithubRepo:1:134018330 -github:GithubRun:1:134018330:2566218977,Lint,FAILURE,DONE,,34,,2022-06-27T01:29:54.000+00:00,2022-06-27T01:30:28.000+00:00,github:GithubRepo:1:134018330 -github:GithubRun:1:134018330:2589885628,Tests,SUCCESS,DONE,,91030,,2022-06-30T12:23:37.000+00:00,2022-07-01T13:40:47.000+00:00,github:GithubRepo:1:134018330 -github:GithubRun:1:134018330:2589885635,CodeQL,FAILURE,DONE,DEPLOYMENT,90702,PRODUCTION,2022-06-30T12:23:37.000+00:00,2022-07-01T13:35:19.000+00:00,github:GithubRepo:1:134018330 -github:GithubRun:1:134018330:2589885639,Lint,SUCCESS,DONE,,90666,,2022-06-30T12:23:37.000+00:00,2022-07-01T13:34:43.000+00:00,github:GithubRepo:1:134018330 -github:GithubRun:1:134018330:2600408985,CodeQL,SUCCESS,DONE,DEPLOYMENT,57,PRODUCTION,2022-07-02T05:05:26.000+00:00,2022-07-02T05:06:23.000+00:00,github:GithubRepo:1:134018330 -github:GithubRun:1:134018330:2639945362,CodeQL,SUCCESS,DONE,DEPLOYMENT,64,PRODUCTION,2022-07-09T05:02:44.000+00:00,2022-07-09T05:03:48.000+00:00,github:GithubRepo:1:134018330 -github:GithubRun:1:134018330:2680721264,CodeQL,SUCCESS,DONE,DEPLOYMENT,73,PRODUCTION,2022-07-16T05:03:38.000+00:00,2022-07-16T05:04:51.000+00:00,github:GithubRepo:1:134018330 -github:GithubRun:1:134018330:2722539966,CodeQL,SUCCESS,DONE,DEPLOYMENT,59,PRODUCTION,2022-07-23T05:04:59.000+00:00,2022-07-23T05:05:58.000+00:00,github:GithubRepo:1:134018330 -github:GithubRun:1:134018330:2764660507,CodeQL,SUCCESS,DONE,DEPLOYMENT,58,PRODUCTION,2022-07-30T05:06:06.000+00:00,2022-07-30T05:07:04.000+00:00,github:GithubRepo:1:134018330 -github:GithubRun:1:134018330:2807709308,CodeQL,SUCCESS,DONE,DEPLOYMENT,75,PRODUCTION,2022-08-06T05:02:43.000+00:00,2022-08-06T05:03:58.000+00:00,github:GithubRepo:1:134018330 -github:GithubRun:1:134018330:2850801364,CodeQL,SUCCESS,DONE,DEPLOYMENT,54,PRODUCTION,2022-08-13T05:02:51.000+00:00,2022-08-13T05:03:45.000+00:00,github:GithubRepo:1:134018330 -github:GithubRun:1:134018330:2893573709,CodeQL,SUCCESS,DONE,DEPLOYMENT,77,PRODUCTION,2022-08-20T05:04:53.000+00:00,2022-08-20T05:06:10.000+00:00,github:GithubRepo:1:134018330 -github:GithubRun:1:134018330:2938072864,CodeQL,SUCCESS,DONE,DEPLOYMENT,76,PRODUCTION,2022-08-27T05:13:50.000+00:00,2022-08-27T05:15:06.000+00:00,github:GithubRepo:1:134018330 -github:GithubRun:1:134018330:2983238245,CodeQL,SUCCESS,DONE,DEPLOYMENT,67,PRODUCTION,2022-09-03T05:15:09.000+00:00,2022-09-03T05:16:16.000+00:00,github:GithubRepo:1:134018330 +id,name,result,status,original_status,original_result,type,duration_sec,environment,created_date,finished_date,cicd_scope_id +github:GithubRun:1:134018330:2559400712,CodeQL,SUCCESS,DONE,completed,success,DEPLOYMENT,116353,PRODUCTION,2022-06-25T04:17:45.000+00:00,2022-06-26T12:36:58.000+00:00,github:GithubRepo:1:134018330 +github:GithubRun:1:134018330:2559400713,Lint,SUCCESS,DONE,completed,success,,116317,PRODUCTION,2022-06-25T04:17:45.000+00:00,2022-06-26T12:36:22.000+00:00,github:GithubRepo:1:134018330 +github:GithubRun:1:134018330:2559400714,Tests,SUCCESS,DONE,completed,success,,116619,,2022-06-25T04:17:45.000+00:00,2022-06-26T12:41:24.000+00:00,github:GithubRepo:1:134018330 +github:GithubRun:1:134018330:2559400722,CodeQL,SUCCESS,DONE,COMPLETED,success,DEPLOYMENT,116353,PRODUCTION,2022-06-25T04:17:45.000+00:00,2022-06-26T12:36:58.000+00:00,github:GithubRepo:1:134018330 +github:GithubRun:1:134018330:2559400723,CodeQL,SUCCESS,DONE,SUCCESS,success,DEPLOYMENT,116353,PRODUCTION,2022-06-25T04:17:45.000+00:00,2022-06-26T12:36:58.000+00:00,github:GithubRepo:1:134018330 +github:GithubRun:1:134018330:2559400724,CodeQL,FAILURE,DONE,FAILURE,failure,DEPLOYMENT,116353,PRODUCTION,2022-06-25T04:17:45.000+00:00,2022-06-26T12:36:58.000+00:00,github:GithubRepo:1:134018330 +github:GithubRun:1:134018330:2559400725,CodeQL,FAILURE,DONE,CANCELLED,cancelled,DEPLOYMENT,116353,PRODUCTION,2022-06-25T04:17:45.000+00:00,2022-06-26T12:36:58.000+00:00,github:GithubRepo:1:134018330 +github:GithubRun:1:134018330:2559400726,CodeQL,FAILURE,DONE,TIMED_OUT,timed_out,DEPLOYMENT,116353,PRODUCTION,2022-06-25T04:17:45.000+00:00,2022-06-26T12:36:58.000+00:00,github:GithubRepo:1:134018330 +github:GithubRun:1:134018330:2559400727,CodeQL,FAILURE,DONE,STARTUP_FAILURE,startup_failure,DEPLOYMENT,116353,PRODUCTION,2022-06-25T04:17:45.000+00:00,2022-06-26T12:36:58.000+00:00,github:GithubRepo:1:134018330 +github:GithubRun:1:134018330:2559400728,CodeQL,,IN_PROGRESS,IN_PROGRESS,,DEPLOYMENT,0,PRODUCTION,2022-06-25T04:17:45.000+00:00,2022-06-26T12:36:58.000+00:00,github:GithubRepo:1:134018330 +github:GithubRun:1:134018330:2559400729,CodeQL,,IN_PROGRESS,QUEUED,,DEPLOYMENT,0,PRODUCTION,2022-06-25T04:17:45.000+00:00,2022-06-26T12:36:58.000+00:00,github:GithubRepo:1:134018330 +github:GithubRun:1:134018330:2559400730,CodeQL,,IN_PROGRESS,WAITING,,DEPLOYMENT,0,PRODUCTION,2022-06-25T04:17:45.000+00:00,2022-06-26T12:36:58.000+00:00,github:GithubRepo:1:134018330 +github:GithubRun:1:134018330:2559400731,CodeQL,,IN_PROGRESS,PENDING,,DEPLOYMENT,0,PRODUCTION,2022-06-25T04:17:45.000+00:00,2022-06-26T12:36:58.000+00:00,github:GithubRepo:1:134018330 +github:GithubRun:1:134018330:2559400732,CodeQL,,OTHER,NEUTRAL,neutral,DEPLOYMENT,0,PRODUCTION,2022-06-25T04:17:45.000+00:00,2022-06-26T12:36:58.000+00:00,github:GithubRepo:1:134018330 +github:GithubRun:1:134018330:2559400733,CodeQL,,OTHER,SKIPPED,skipped,DEPLOYMENT,0,PRODUCTION,2022-06-25T04:17:45.000+00:00,2022-06-26T12:36:58.000+00:00,github:GithubRepo:1:134018330 +github:GithubRun:1:134018330:2559400734,CodeQL,,OTHER,STALE,stale,DEPLOYMENT,0,PRODUCTION,2022-06-25T04:17:45.000+00:00,2022-06-26T12:36:58.000+00:00,github:GithubRepo:1:134018330 +github:GithubRun:1:134018330:2559400735,CodeQL,,OTHER,ACTION_REQUIRED,action_required,DEPLOYMENT,0,PRODUCTION,2022-06-25T04:17:45.000+00:00,2022-06-26T12:36:58.000+00:00,github:GithubRepo:1:134018330 +github:GithubRun:1:134018330:2559400736,CodeQL,,OTHER,REQUESTED,,DEPLOYMENT,0,PRODUCTION,2022-06-25T04:17:45.000+00:00,2022-06-26T12:36:58.000+00:00,github:GithubRepo:1:134018330 +github:GithubRun:1:134018330:2559507315,CodeQL,,IN_PROGRESS,in_progress,,DEPLOYMENT,0,PRODUCTION,2022-06-25T05:02:56.000+00:00,2022-06-25T05:03:53.000+00:00,github:GithubRepo:1:134018330 +github:GithubRun:1:134018330:2566218975,Tests,,IN_PROGRESS,in_progress,,,0,,2022-06-27T01:29:54.000+00:00,2022-06-27T01:37:33.000+00:00,github:GithubRepo:1:134018330 +github:GithubRun:1:134018330:2566218976,CodeQL,SUCCESS,DONE,completed,success,DEPLOYMENT,61,PRODUCTION,2022-06-27T01:29:54.000+00:00,2022-06-27T01:30:55.000+00:00,github:GithubRepo:1:134018330 +github:GithubRun:1:134018330:2566218977,Lint,FAILURE,DONE,completed,failure,,34,,2022-06-27T01:29:54.000+00:00,2022-06-27T01:30:28.000+00:00,github:GithubRepo:1:134018330 +github:GithubRun:1:134018330:2589885628,Tests,SUCCESS,DONE,completed,success,,91030,,2022-06-30T12:23:37.000+00:00,2022-07-01T13:40:47.000+00:00,github:GithubRepo:1:134018330 +github:GithubRun:1:134018330:2589885635,CodeQL,FAILURE,DONE,completed,failure,DEPLOYMENT,90702,PRODUCTION,2022-06-30T12:23:37.000+00:00,2022-07-01T13:35:19.000+00:00,github:GithubRepo:1:134018330 +github:GithubRun:1:134018330:2589885639,Lint,SUCCESS,DONE,completed,success,,90666,,2022-06-30T12:23:37.000+00:00,2022-07-01T13:34:43.000+00:00,github:GithubRepo:1:134018330 +github:GithubRun:1:134018330:2600408985,CodeQL,SUCCESS,DONE,completed,success,DEPLOYMENT,57,PRODUCTION,2022-07-02T05:05:26.000+00:00,2022-07-02T05:06:23.000+00:00,github:GithubRepo:1:134018330 +github:GithubRun:1:134018330:2639945362,CodeQL,SUCCESS,DONE,completed,success,DEPLOYMENT,64,PRODUCTION,2022-07-09T05:02:44.000+00:00,2022-07-09T05:03:48.000+00:00,github:GithubRepo:1:134018330 +github:GithubRun:1:134018330:2680721264,CodeQL,SUCCESS,DONE,completed,success,DEPLOYMENT,73,PRODUCTION,2022-07-16T05:03:38.000+00:00,2022-07-16T05:04:51.000+00:00,github:GithubRepo:1:134018330 +github:GithubRun:1:134018330:2722539966,CodeQL,SUCCESS,DONE,completed,success,DEPLOYMENT,59,PRODUCTION,2022-07-23T05:04:59.000+00:00,2022-07-23T05:05:58.000+00:00,github:GithubRepo:1:134018330 +github:GithubRun:1:134018330:2764660507,CodeQL,SUCCESS,DONE,completed,success,DEPLOYMENT,58,PRODUCTION,2022-07-30T05:06:06.000+00:00,2022-07-30T05:07:04.000+00:00,github:GithubRepo:1:134018330 +github:GithubRun:1:134018330:2807709308,CodeQL,SUCCESS,DONE,completed,success,DEPLOYMENT,75,PRODUCTION,2022-08-06T05:02:43.000+00:00,2022-08-06T05:03:58.000+00:00,github:GithubRepo:1:134018330 +github:GithubRun:1:134018330:2850801364,CodeQL,SUCCESS,DONE,completed,success,DEPLOYMENT,54,PRODUCTION,2022-08-13T05:02:51.000+00:00,2022-08-13T05:03:45.000+00:00,github:GithubRepo:1:134018330 +github:GithubRun:1:134018330:2893573709,CodeQL,SUCCESS,DONE,completed,success,DEPLOYMENT,77,PRODUCTION,2022-08-20T05:04:53.000+00:00,2022-08-20T05:06:10.000+00:00,github:GithubRepo:1:134018330 +github:GithubRun:1:134018330:2938072864,CodeQL,SUCCESS,DONE,completed,success,DEPLOYMENT,76,PRODUCTION,2022-08-27T05:13:50.000+00:00,2022-08-27T05:15:06.000+00:00,github:GithubRepo:1:134018330 +github:GithubRun:1:134018330:2983238245,CodeQL,SUCCESS,DONE,completed,success,DEPLOYMENT,67,PRODUCTION,2022-09-03T05:15:09.000+00:00,2022-09-03T05:16:16.000+00:00,github:GithubRepo:1:134018330 diff --git a/backend/plugins/github/e2e/snapshot_tables/cicd_tasks.csv b/backend/plugins/github/e2e/snapshot_tables/cicd_tasks.csv index 0646544607d..8c1da372969 100644 --- a/backend/plugins/github/e2e/snapshot_tables/cicd_tasks.csv +++ b/backend/plugins/github/e2e/snapshot_tables/cicd_tasks.csv @@ -1,36 +1,36 @@ -id,name,pipeline_id,result,status,type,environment,duration_sec,started_date,finished_date,cicd_scope_id -github:GithubJob:1:577324554:1924918171,deployubuntu,github:GithubRun:1:134018330:577324554,FAILURE,DONE,,,125,2021-02-18T06:59:13.000+00:00,2021-02-18T07:01:18.000+00:00,github:GithubRepo:1:134018330 -github:GithubJob:1:577324554:1924918191,deploymacos,github:GithubRun:1:134018330:577324554,FAILURE,DONE,,,117,2021-02-18T06:59:21.000+00:00,2021-02-18T07:01:18.000+00:00,github:GithubRepo:1:134018330 -github:GithubJob:1:577324554:1924918205,deploywindows,github:GithubRun:1:134018330:577324554,FAILURE,DONE,DEPLOYMENT,PRODUCTION,114,2021-02-18T06:59:15.000+00:00,2021-02-18T07:01:09.000+00:00,github:GithubRepo:1:134018330 -github:GithubJob:1:577324554:1924918228,deployubuntu,github:GithubRun:1:134018330:577324554,FAILURE,DONE,,,125,2021-02-18T06:59:13.000+00:00,2021-02-18T07:01:18.000+00:00,github:GithubRepo:1:134018330 -github:GithubJob:1:577324554:1924918243,deploymacos,github:GithubRun:1:134018330:577324554,FAILURE,DONE,,,119,2021-02-18T06:59:19.000+00:00,2021-02-18T07:01:18.000+00:00,github:GithubRepo:1:134018330 -github:GithubJob:1:577324554:1924918261,deploywindows,github:GithubRun:1:134018330:577324554,FAILURE,DONE,DEPLOYMENT,PRODUCTION,114,2021-02-18T06:59:15.000+00:00,2021-02-18T07:01:09.000+00:00,github:GithubRepo:1:134018330 -github:GithubJob:1:577324558:1924918168,Golangci-Lint,github:GithubRun:1:134018330:577324558,SUCCESS,DONE,,,20,2021-02-18T06:59:13.000+00:00,2021-02-18T06:59:33.000+00:00,github:GithubRepo:1:134018330 -github:GithubJob:1:577324571:1924918319,Analyze,github:GithubRun:1:134018330:577324571,SUCCESS,DONE,,,61,2021-02-18T06:59:16.000+00:00,2021-02-18T07:00:17.000+00:00,github:GithubRepo:1:134018330 -github:GithubJob:1:577330055:1924932184,Analyze,github:GithubRun:1:134018330:577330055,SUCCESS,DONE,,,54,2021-02-18T07:02:02.000+00:00,2021-02-18T07:02:56.000+00:00,github:GithubRepo:1:134018330 -github:GithubJob:1:577330056:1924932219,deployubuntu,github:GithubRun:1:134018330:577330056,SUCCESS,DONE,,,180,2021-02-18T07:02:03.000+00:00,2021-02-18T07:05:03.000+00:00,github:GithubRepo:1:134018330 -github:GithubJob:1:577330056:1924932237,deploymacos,github:GithubRun:1:134018330:577330056,,IN_PROGRESS,,,0,2021-02-18T07:02:06.000+00:00,2021-02-18T07:04:44.000+00:00,github:GithubRepo:1:134018330 -github:GithubJob:1:577330056:1924932251,deploywindows,github:GithubRun:1:134018330:577330056,,IN_PROGRESS,DEPLOYMENT,PRODUCTION,0,2021-02-18T07:02:03.000+00:00,2021-02-18T07:05:57.000+00:00,github:GithubRepo:1:134018330 -github:GithubJob:1:577330056:1924932266,deployubuntu,github:GithubRun:1:134018330:577330056,SUCCESS,DONE,,,161,2021-02-18T07:02:03.000+00:00,2021-02-18T07:04:44.000+00:00,github:GithubRepo:1:134018330 -github:GithubJob:1:577330056:1924932293,deploymacos,github:GithubRun:1:134018330:577330056,SUCCESS,DONE,,,158,2021-02-18T07:02:06.000+00:00,2021-02-18T07:04:44.000+00:00,github:GithubRepo:1:134018330 -github:GithubJob:1:577330056:1924932319,deploywindows,github:GithubRun:1:134018330:577330056,SUCCESS,DONE,DEPLOYMENT,PRODUCTION,230,2021-02-18T07:02:03.000+00:00,2021-02-18T07:05:53.000+00:00,github:GithubRepo:1:134018330 -github:GithubJob:1:577330057:1924932263,Golangci-Lint,github:GithubRun:1:134018330:577330057,FAILURE,DONE,,,14,2021-02-18T07:02:05.000+00:00,2021-02-18T07:02:19.000+00:00,github:GithubRepo:1:134018330 -github:GithubJob:1:583528173:1940449839,Analyze,github:GithubRun:1:134018330:583528173,SUCCESS,DONE,,,55,2021-02-20T05:10:17.000+00:00,2021-02-20T05:11:12.000+00:00,github:GithubRepo:1:134018330 -github:GithubJob:1:604839350:1992620044,Analyze,github:GithubRun:1:134018330:604839350,FAILURE,DONE,,,61,2021-02-27T05:10:19.000+00:00,2021-02-27T05:11:20.000+00:00,github:GithubRepo:1:134018330 -github:GithubJob:1:613518923:2011825638,Golangci-Lint,github:GithubRun:1:134018330:613518923,SUCCESS,DONE,,,22,2021-03-02T09:24:49.000+00:00,2021-03-02T09:25:11.000+00:00,github:GithubRepo:1:134018330 -github:GithubJob:1:613518923:2011825640,Golangci-Lint,github:GithubRun:1:134018330:613518923,SUCCESS,DONE,,,22,2021-03-02T09:24:49.000+00:00,2021-03-02T09:25:11.000+00:00,github:GithubRepo:1:134018330 -github:GithubJob:1:613518923:2011825641,Golangci-Lint,github:GithubRun:1:134018330:613518923,SUCCESS,DONE,,,22,2021-03-02T09:24:49.000+00:00,2021-03-02T09:25:11.000+00:00,github:GithubRepo:1:134018330 -github:GithubJob:1:613518923:2011825642,Golangci-Lint,github:GithubRun:1:134018330:613518923,FAILURE,DONE,,,22,2021-03-02T09:24:49.000+00:00,2021-03-02T09:25:11.000+00:00,github:GithubRepo:1:134018330 -github:GithubJob:1:613518923:2011825643,Golangci-Lint,github:GithubRun:1:134018330:613518923,FAILURE,DONE,,,22,2021-03-02T09:24:49.000+00:00,2021-03-02T09:25:11.000+00:00,github:GithubRepo:1:134018330 -github:GithubJob:1:613518923:2011825644,Golangci-Lint,github:GithubRun:1:134018330:613518923,FAILURE,DONE,,,22,2021-03-02T09:24:49.000+00:00,2021-03-02T09:25:11.000+00:00,github:GithubRepo:1:134018330 -github:GithubJob:1:613518923:2011825645,Golangci-Lint,github:GithubRun:1:134018330:613518923,FAILURE,DONE,,,22,2021-03-02T09:24:49.000+00:00,2021-03-02T09:25:11.000+00:00,github:GithubRepo:1:134018330 -github:GithubJob:1:613518923:2011825646,Golangci-Lint,github:GithubRun:1:134018330:613518923,,IN_PROGRESS,,,0,2021-03-02T09:24:49.000+00:00,2021-03-02T09:25:11.000+00:00,github:GithubRepo:1:134018330 -github:GithubJob:1:613518923:2011825647,Golangci-Lint,github:GithubRun:1:134018330:613518923,,IN_PROGRESS,,,0,2021-03-02T09:24:49.000+00:00,2021-03-02T09:25:11.000+00:00,github:GithubRepo:1:134018330 -github:GithubJob:1:613518923:2011825648,Golangci-Lint,github:GithubRun:1:134018330:613518923,,IN_PROGRESS,,,0,2021-03-02T09:24:49.000+00:00,2021-03-02T09:25:11.000+00:00,github:GithubRepo:1:134018330 -github:GithubJob:1:613518923:2011825649,Golangci-Lint,github:GithubRun:1:134018330:613518923,,IN_PROGRESS,,,0,2021-03-02T09:24:49.000+00:00,2021-03-02T09:25:11.000+00:00,github:GithubRepo:1:134018330 -github:GithubJob:1:613518923:2011825650,Golangci-Lint,github:GithubRun:1:134018330:613518923,,OTHER,,,0,2021-03-02T09:24:49.000+00:00,2021-03-02T09:25:11.000+00:00,github:GithubRepo:1:134018330 -github:GithubJob:1:613518923:2011825651,Golangci-Lint,github:GithubRun:1:134018330:613518923,,OTHER,,,0,2021-03-02T09:24:49.000+00:00,2021-03-02T09:25:11.000+00:00,github:GithubRepo:1:134018330 -github:GithubJob:1:613518923:2011825652,Golangci-Lint,github:GithubRun:1:134018330:613518923,,OTHER,,,0,2021-03-02T09:24:49.000+00:00,2021-03-02T09:25:11.000+00:00,github:GithubRepo:1:134018330 -github:GithubJob:1:613518923:2011825653,Golangci-Lint,github:GithubRun:1:134018330:613518923,,OTHER,,,0,2021-03-02T09:24:49.000+00:00,2021-03-02T09:25:11.000+00:00,github:GithubRepo:1:134018330 -github:GithubJob:1:613518923:2011825654,Golangci-Lint,github:GithubRun:1:134018330:613518923,,OTHER,,,0,2021-03-02T09:24:49.000+00:00,2021-03-02T09:25:11.000+00:00,github:GithubRepo:1:134018330 -github:GithubJob:1:664533609:2139659897,Analyze,github:GithubRun:1:134018330:664533609,SUCCESS,DONE,,,71,2021-03-18T12:39:24.000+00:00,2021-03-18T12:40:35.000+00:00,github:GithubRepo:1:134018330 +id,name,pipeline_id,result,status,original_status,original_result,type,environment,duration_sec,started_date,finished_date,cicd_scope_id +github:GithubJob:1:577324554:1924918171,deployubuntu,github:GithubRun:1:134018330:577324554,FAILURE,DONE,COMPLETED,CANCELLED,,,125,2021-02-18T06:59:13.000+00:00,2021-02-18T07:01:18.000+00:00,github:GithubRepo:1:134018330 +github:GithubJob:1:577324554:1924918191,deploymacos,github:GithubRun:1:134018330:577324554,FAILURE,DONE,COMPLETED,CANCELLED,,,117,2021-02-18T06:59:21.000+00:00,2021-02-18T07:01:18.000+00:00,github:GithubRepo:1:134018330 +github:GithubJob:1:577324554:1924918205,deploywindows,github:GithubRun:1:134018330:577324554,FAILURE,DONE,COMPLETED,CANCELLED,DEPLOYMENT,PRODUCTION,114,2021-02-18T06:59:15.000+00:00,2021-02-18T07:01:09.000+00:00,github:GithubRepo:1:134018330 +github:GithubJob:1:577324554:1924918228,deployubuntu,github:GithubRun:1:134018330:577324554,FAILURE,DONE,COMPLETED,CANCELLED,,,125,2021-02-18T06:59:13.000+00:00,2021-02-18T07:01:18.000+00:00,github:GithubRepo:1:134018330 +github:GithubJob:1:577324554:1924918243,deploymacos,github:GithubRun:1:134018330:577324554,FAILURE,DONE,COMPLETED,CANCELLED,,,119,2021-02-18T06:59:19.000+00:00,2021-02-18T07:01:18.000+00:00,github:GithubRepo:1:134018330 +github:GithubJob:1:577324554:1924918261,deploywindows,github:GithubRun:1:134018330:577324554,FAILURE,DONE,COMPLETED,CANCELLED,DEPLOYMENT,PRODUCTION,114,2021-02-18T06:59:15.000+00:00,2021-02-18T07:01:09.000+00:00,github:GithubRepo:1:134018330 +github:GithubJob:1:577324558:1924918168,Golangci-Lint,github:GithubRun:1:134018330:577324558,SUCCESS,DONE,COMPLETED,SUCCESS,,,20,2021-02-18T06:59:13.000+00:00,2021-02-18T06:59:33.000+00:00,github:GithubRepo:1:134018330 +github:GithubJob:1:577324571:1924918319,Analyze,github:GithubRun:1:134018330:577324571,SUCCESS,DONE,COMPLETED,SUCCESS,,,61,2021-02-18T06:59:16.000+00:00,2021-02-18T07:00:17.000+00:00,github:GithubRepo:1:134018330 +github:GithubJob:1:577330055:1924932184,Analyze,github:GithubRun:1:134018330:577330055,SUCCESS,DONE,COMPLETED,SUCCESS,,,54,2021-02-18T07:02:02.000+00:00,2021-02-18T07:02:56.000+00:00,github:GithubRepo:1:134018330 +github:GithubJob:1:577330056:1924932219,deployubuntu,github:GithubRun:1:134018330:577330056,SUCCESS,DONE,COMPLETED,SUCCESS,,,180,2021-02-18T07:02:03.000+00:00,2021-02-18T07:05:03.000+00:00,github:GithubRepo:1:134018330 +github:GithubJob:1:577330056:1924932237,deploymacos,github:GithubRun:1:134018330:577330056,,IN_PROGRESS,IN_PROGRESS,,,,0,2021-02-18T07:02:06.000+00:00,2021-02-18T07:04:44.000+00:00,github:GithubRepo:1:134018330 +github:GithubJob:1:577330056:1924932251,deploywindows,github:GithubRun:1:134018330:577330056,,IN_PROGRESS,IN_PROGRESS,,DEPLOYMENT,PRODUCTION,0,2021-02-18T07:02:03.000+00:00,2021-02-18T07:05:57.000+00:00,github:GithubRepo:1:134018330 +github:GithubJob:1:577330056:1924932266,deployubuntu,github:GithubRun:1:134018330:577330056,SUCCESS,DONE,COMPLETED,SUCCESS,,,161,2021-02-18T07:02:03.000+00:00,2021-02-18T07:04:44.000+00:00,github:GithubRepo:1:134018330 +github:GithubJob:1:577330056:1924932293,deploymacos,github:GithubRun:1:134018330:577330056,SUCCESS,DONE,COMPLETED,SUCCESS,,,158,2021-02-18T07:02:06.000+00:00,2021-02-18T07:04:44.000+00:00,github:GithubRepo:1:134018330 +github:GithubJob:1:577330056:1924932319,deploywindows,github:GithubRun:1:134018330:577330056,SUCCESS,DONE,COMPLETED,SUCCESS,DEPLOYMENT,PRODUCTION,230,2021-02-18T07:02:03.000+00:00,2021-02-18T07:05:53.000+00:00,github:GithubRepo:1:134018330 +github:GithubJob:1:577330057:1924932263,Golangci-Lint,github:GithubRun:1:134018330:577330057,FAILURE,DONE,COMPLETED,FAILURE,,,14,2021-02-18T07:02:05.000+00:00,2021-02-18T07:02:19.000+00:00,github:GithubRepo:1:134018330 +github:GithubJob:1:583528173:1940449839,Analyze,github:GithubRun:1:134018330:583528173,SUCCESS,DONE,COMPLETED,SUCCESS,,,55,2021-02-20T05:10:17.000+00:00,2021-02-20T05:11:12.000+00:00,github:GithubRepo:1:134018330 +github:GithubJob:1:604839350:1992620044,Analyze,github:GithubRun:1:134018330:604839350,FAILURE,DONE,COMPLETED,FAILURE,,,61,2021-02-27T05:10:19.000+00:00,2021-02-27T05:11:20.000+00:00,github:GithubRepo:1:134018330 +github:GithubJob:1:613518923:2011825638,Golangci-Lint,github:GithubRun:1:134018330:613518923,SUCCESS,DONE,COMPLETED,SUCCESS,,,22,2021-03-02T09:24:49.000+00:00,2021-03-02T09:25:11.000+00:00,github:GithubRepo:1:134018330 +github:GithubJob:1:613518923:2011825640,Golangci-Lint,github:GithubRun:1:134018330:613518923,SUCCESS,DONE,COMPLETED,SUCCESS,,,22,2021-03-02T09:24:49.000+00:00,2021-03-02T09:25:11.000+00:00,github:GithubRepo:1:134018330 +github:GithubJob:1:613518923:2011825641,Golangci-Lint,github:GithubRun:1:134018330:613518923,SUCCESS,DONE,SUCCESS,SUCCESS,,,22,2021-03-02T09:24:49.000+00:00,2021-03-02T09:25:11.000+00:00,github:GithubRepo:1:134018330 +github:GithubJob:1:613518923:2011825642,Golangci-Lint,github:GithubRun:1:134018330:613518923,FAILURE,DONE,FAILURE,FAILURE,,,22,2021-03-02T09:24:49.000+00:00,2021-03-02T09:25:11.000+00:00,github:GithubRepo:1:134018330 +github:GithubJob:1:613518923:2011825643,Golangci-Lint,github:GithubRun:1:134018330:613518923,FAILURE,DONE,CANCELLED,CANCELLED,,,22,2021-03-02T09:24:49.000+00:00,2021-03-02T09:25:11.000+00:00,github:GithubRepo:1:134018330 +github:GithubJob:1:613518923:2011825644,Golangci-Lint,github:GithubRun:1:134018330:613518923,FAILURE,DONE,TIMED_OUT,TIMED_OUT,,,22,2021-03-02T09:24:49.000+00:00,2021-03-02T09:25:11.000+00:00,github:GithubRepo:1:134018330 +github:GithubJob:1:613518923:2011825645,Golangci-Lint,github:GithubRun:1:134018330:613518923,FAILURE,DONE,STARTUP_FAILURE,STARTUP_FAILURE,,,22,2021-03-02T09:24:49.000+00:00,2021-03-02T09:25:11.000+00:00,github:GithubRepo:1:134018330 +github:GithubJob:1:613518923:2011825646,Golangci-Lint,github:GithubRun:1:134018330:613518923,,IN_PROGRESS,IN_PROGRESS,,,,0,2021-03-02T09:24:49.000+00:00,2021-03-02T09:25:11.000+00:00,github:GithubRepo:1:134018330 +github:GithubJob:1:613518923:2011825647,Golangci-Lint,github:GithubRun:1:134018330:613518923,,IN_PROGRESS,QUEUED,,,,0,2021-03-02T09:24:49.000+00:00,2021-03-02T09:25:11.000+00:00,github:GithubRepo:1:134018330 +github:GithubJob:1:613518923:2011825648,Golangci-Lint,github:GithubRun:1:134018330:613518923,,IN_PROGRESS,WAITING,,,,0,2021-03-02T09:24:49.000+00:00,2021-03-02T09:25:11.000+00:00,github:GithubRepo:1:134018330 +github:GithubJob:1:613518923:2011825649,Golangci-Lint,github:GithubRun:1:134018330:613518923,,IN_PROGRESS,PENDING,,,,0,2021-03-02T09:24:49.000+00:00,2021-03-02T09:25:11.000+00:00,github:GithubRepo:1:134018330 +github:GithubJob:1:613518923:2011825650,Golangci-Lint,github:GithubRun:1:134018330:613518923,,OTHER,NEUTRAL,NEUTRAL,,,0,2021-03-02T09:24:49.000+00:00,2021-03-02T09:25:11.000+00:00,github:GithubRepo:1:134018330 +github:GithubJob:1:613518923:2011825651,Golangci-Lint,github:GithubRun:1:134018330:613518923,,OTHER,SKIPPED,SKIPPED,,,0,2021-03-02T09:24:49.000+00:00,2021-03-02T09:25:11.000+00:00,github:GithubRepo:1:134018330 +github:GithubJob:1:613518923:2011825652,Golangci-Lint,github:GithubRun:1:134018330:613518923,,OTHER,STALE,STALE,,,0,2021-03-02T09:24:49.000+00:00,2021-03-02T09:25:11.000+00:00,github:GithubRepo:1:134018330 +github:GithubJob:1:613518923:2011825653,Golangci-Lint,github:GithubRun:1:134018330:613518923,,OTHER,ACTION_REQUIRED,ACTION_REQUIRED,,,0,2021-03-02T09:24:49.000+00:00,2021-03-02T09:25:11.000+00:00,github:GithubRepo:1:134018330 +github:GithubJob:1:613518923:2011825654,Golangci-Lint,github:GithubRun:1:134018330:613518923,,OTHER,REQUESTED,,,,0,2021-03-02T09:24:49.000+00:00,2021-03-02T09:25:11.000+00:00,github:GithubRepo:1:134018330 +github:GithubJob:1:664533609:2139659897,Analyze,github:GithubRun:1:134018330:664533609,SUCCESS,DONE,COMPLETED,SUCCESS,,,71,2021-03-18T12:39:24.000+00:00,2021-03-18T12:40:35.000+00:00,github:GithubRepo:1:134018330 diff --git a/backend/plugins/github/tasks/cicd_job_convertor.go b/backend/plugins/github/tasks/cicd_job_convertor.go index 7be00b0c7a3..c17071c16a3 100644 --- a/backend/plugins/github/tasks/cicd_job_convertor.go +++ b/backend/plugins/github/tasks/cicd_job_convertor.go @@ -101,11 +101,13 @@ func ConvertJobs(taskCtx plugin.SubTaskContext) (err errors.Error) { Failure: []string{StatusFailure, StatusCancelled, StatusTimedOut, StatusStartUpFailure}, Default: devops.RESULT_DEFAULT, }, line.Conclusion), + OriginalResult: line.Conclusion, Status: devops.GetStatus(&devops.StatusRule{ Done: []string{StatusCompleted, StatusSuccess, StatusFailure, StatusCancelled, StatusTimedOut, StatusStartUpFailure}, InProgress: []string{StatusInProgress, StatusQueued, StatusWaiting, StatusPending}, Default: devops.STATUS_OTHER, }, line.Status), + OriginalStatus: line.Status, } if domainJob.Status == devops.STATUS_DONE { diff --git a/backend/plugins/github/tasks/cicd_run_convertor.go b/backend/plugins/github/tasks/cicd_run_convertor.go index a6b08e5eb79..72df32df471 100644 --- a/backend/plugins/github/tasks/cicd_run_convertor.go +++ b/backend/plugins/github/tasks/cicd_run_convertor.go @@ -102,11 +102,13 @@ func ConvertRuns(taskCtx plugin.SubTaskContext) errors.Error { Failure: []string{StatusFailure, StatusCancelled, StatusTimedOut, StatusStartUpFailure}, Default: devops.RESULT_DEFAULT, }, line.Conclusion), + OriginalResult: line.Conclusion, Status: devops.GetStatus(&devops.StatusRule{ Done: []string{StatusCompleted, StatusSuccess, StatusFailure, StatusCancelled, StatusTimedOut, StatusStartUpFailure}, InProgress: []string{StatusInProgress, StatusQueued, StatusWaiting, StatusPending}, Default: devops.STATUS_OTHER, }, line.Status), + OriginalStatus: line.Status, } if domainPipeline.Status == devops.STATUS_DONE { domainPipeline.DurationSec = line.GithubUpdatedAt.Sub(*line.GithubCreatedAt).Seconds() diff --git a/backend/plugins/github/tasks/cicd_run_extractor.go b/backend/plugins/github/tasks/cicd_run_extractor.go index a852814f9f4..bc052299a96 100644 --- a/backend/plugins/github/tasks/cicd_run_extractor.go +++ b/backend/plugins/github/tasks/cicd_run_extractor.go @@ -60,42 +60,11 @@ func ExtractRuns(taskCtx plugin.SubTaskContext) errors.Error { if err != nil { return nil, err } - - results := make([]interface{}, 0, 1) - githubRunResult := &models.GithubRun{ - ConnectionId: data.Options.ConnectionId, - ID: githubRun.ID, - RepoId: repoId, - Name: githubRun.Name, - NodeID: githubRun.NodeID, - HeadBranch: githubRun.HeadBranch, - HeadSha: githubRun.HeadSha, - Path: githubRun.Path, - RunNumber: githubRun.RunNumber, - Event: githubRun.Event, - Status: githubRun.Status, - Conclusion: githubRun.Conclusion, - WorkflowID: githubRun.WorkflowID, - CheckSuiteID: githubRun.CheckSuiteID, - CheckSuiteNodeID: githubRun.CheckSuiteNodeID, - URL: githubRun.URL, - HTMLURL: githubRun.HTMLURL, - GithubCreatedAt: githubRun.GithubCreatedAt, - GithubUpdatedAt: githubRun.GithubUpdatedAt, - RunAttempt: githubRun.RunAttempt, - RunStartedAt: githubRun.RunStartedAt, - JobsURL: githubRun.JobsURL, - LogsURL: githubRun.LogsURL, - CheckSuiteURL: githubRun.CheckSuiteURL, - ArtifactsURL: githubRun.ArtifactsURL, - CancelURL: githubRun.CancelURL, - RerunURL: githubRun.RerunURL, - WorkflowURL: githubRun.WorkflowURL, - Type: data.RegexEnricher.ReturnNameIfMatched(devops.DEPLOYMENT, githubRun.Name), - Environment: data.RegexEnricher.ReturnNameIfOmittedOrMatched(devops.PRODUCTION, githubRun.Name, githubRun.HeadBranch), - } - results = append(results, githubRunResult) - return results, nil + githubRun.RepoId = repoId + githubRun.ConnectionId = data.Options.ConnectionId + githubRun.Type = data.RegexEnricher.ReturnNameIfMatched(devops.DEPLOYMENT, githubRun.Name) + githubRun.Environment = data.RegexEnricher.ReturnNameIfOmittedOrMatched(devops.PRODUCTION, githubRun.Name, githubRun.HeadBranch) + return []interface{}{githubRun}, nil }, }) diff --git a/backend/plugins/github/tasks/deployment_convertor.go b/backend/plugins/github/tasks/deployment_convertor.go index 7047b686272..ff0fdeb4e38 100644 --- a/backend/plugins/github/tasks/deployment_convertor.go +++ b/backend/plugins/github/tasks/deployment_convertor.go @@ -85,14 +85,15 @@ func ConvertDeployment(taskCtx plugin.SubTaskContext) errors.Error { InProgress: []string{StatusInProgress, StatusQueued, StatusWaiting, StatusPending}, Default: devops.STATUS_OTHER, }, githubDeployment.State), - Environment: githubDeployment.Environment, - CreatedDate: githubDeployment.CreatedDate, - StartedDate: &githubDeployment.CreatedDate, // fixme there is no such field - FinishedDate: &githubDeployment.UpdatedDate, // fixme there is no such field - CommitSha: githubDeployment.CommitOid, - RefName: githubDeployment.RefName, - RepoId: deploymentScopeIdGen.Generate(githubDeployment.ConnectionId, githubDeployment.GithubId), - RepoUrl: githubDeployment.RepositoryUrl, + OriginalStatus: githubDeployment.State, + Environment: githubDeployment.Environment, + CreatedDate: githubDeployment.CreatedDate, + StartedDate: &githubDeployment.CreatedDate, // fixme there is no such field + FinishedDate: &githubDeployment.UpdatedDate, // fixme there is no such field + CommitSha: githubDeployment.CommitOid, + RefName: githubDeployment.RefName, + RepoId: deploymentScopeIdGen.Generate(githubDeployment.ConnectionId, githubDeployment.GithubId), + RepoUrl: githubDeployment.RepositoryUrl, } durationSec := githubDeployment.UpdatedDate.Sub(githubDeployment.CreatedDate).Seconds() diff --git a/backend/plugins/gitlab/e2e/snapshot_tables/cicd_deployment_commits.csv b/backend/plugins/gitlab/e2e/snapshot_tables/cicd_deployment_commits.csv index 6939cd9e024..e7685c0c05d 100644 --- a/backend/plugins/gitlab/e2e/snapshot_tables/cicd_deployment_commits.csv +++ b/backend/plugins/gitlab/e2e/snapshot_tables/cicd_deployment_commits.csv @@ -1,9 +1,9 @@ -id,commit_sha,cicd_scope_id,cicd_deployment_id,name,result,status,environment,created_date,started_date,finished_date,duration_sec,ref_name,repo_id,repo_url,prev_success_deployment_commit_id -gitlab:GitlabDeployment:1:12345678:13426753,add237f6852e6108ee8e0246780a54ce909c6087,gitlab:GitlabProject:1:12345678,gitlab:GitlabDeployment:1:12345678:13426753,test_deploy_vdev:13426753,SUCCESS,DONE,staging,2019-03-13T14:14:24.109+00:00,2019-03-13T14:17:33.559+00:00,2019-03-13T14:17:47.640+00:00,14.080506,master,gitlab:GitlabProject:1:12345678,https://gitlab.com/gitlab-data/snowflake_spend, -gitlab:GitlabDeployment:1:12345678:13432654,8373d207f0f2cc4414c4b1ad359b5af56e979d59,gitlab:GitlabProject:1:12345678,gitlab:GitlabDeployment:1:12345678:13432654,test_deploy_vdev:13432654,SUCCESS,DONE,staging,2019-03-13T14:53:48.148+00:00,2019-03-13T14:57:46.441+00:00,2019-03-13T14:57:58.845+00:00,12.403719,master,gitlab:GitlabProject:1:12345678,https://gitlab.com/gitlab-data/snowflake_spend, -gitlab:GitlabDeployment:1:12345678:13432768,35c3a3d82586fa0bcdb2a73b812081ece4e83429,gitlab:GitlabProject:1:12345678,gitlab:GitlabDeployment:1:12345678:13432768,test_deploy_vdev:13432768,FAILURE,DONE,staging,2019-03-13T14:55:21.182+00:00,,,,master,gitlab:GitlabProject:1:12345678,https://gitlab.com/gitlab-data/snowflake_spend, -gitlab:GitlabDeployment:1:12345678:13436532,35c3a3d82586fa0bcdb2a73b812081ece4e83429,gitlab:GitlabProject:1:12345678,gitlab:GitlabDeployment:1:12345678:13436532,deploy_vdev:13436532,FAILURE,DONE,production,2019-03-13T15:21:00.302+00:00,2019-03-13T15:21:07.335+00:00,2019-03-13T15:21:27.825+00:00,20.489227,deploy,gitlab:GitlabProject:1:12345678,https://gitlab.com/gitlab-data/snowflake_spend, -gitlab:GitlabDeployment:1:12345678:13436763,fc449afa34b6732752d2c8ca117833e8cc1226dc,gitlab:GitlabProject:1:12345678,gitlab:GitlabDeployment:1:12345678:13436763,deploy_vdev:13436763,,OTHER,production,2019-03-13T15:23:35.859+00:00,2019-03-13T15:23:40.064+00:00,2019-03-13T15:23:55.970+00:00,15.905676,deploy,gitlab:GitlabProject:1:12345678,https://gitlab.com/gitlab-data/snowflake_spend, -gitlab:GitlabDeployment:1:12345678:13436778,fc449afa34b6732752d2c8ca117833e8cc1226dc,gitlab:GitlabProject:1:12345678,gitlab:GitlabDeployment:1:12345678:13436778,test_deploy_vdev:13436778,,IN_PROGRESS,staging,2019-03-13T15:23:52.979+00:00,,2019-03-13T15:25:41.412+00:00,108.526,master,gitlab:GitlabProject:1:12345678,https://gitlab.com/gitlab-data/snowflake_spend, -gitlab:GitlabDeployment:1:12345678:13436915,d8e7440fc02b62064624c788f4e4da19ca7be198,gitlab:GitlabProject:1:12345678,gitlab:GitlabDeployment:1:12345678:13436915,test_deploy_vdev:13436915,,OTHER,staging,2019-03-13T15:25:15.583+00:00,,2019-03-13T15:28:32.934+00:00,197.474,master,gitlab:GitlabProject:1:12345678,https://gitlab.com/gitlab-data/snowflake_spend, -gitlab:GitlabDeployment:1:12345678:13436986,d8e7440fc02b62064624c788f4e4da19ca7be198,gitlab:GitlabProject:1:12345678,gitlab:GitlabDeployment:1:12345678:13436986,deploy_vdev:13436986,,OTHER,production,2019-03-13T15:25:46.042+00:00,2019-03-13T15:26:19.170+00:00,2019-03-13T15:26:37.468+00:00,18.298368,deploy,gitlab:GitlabProject:1:12345678,https://gitlab.com/gitlab-data/snowflake_spend, +id,commit_sha,cicd_scope_id,cicd_deployment_id,name,result,status,original_status,original_result,environment,created_date,started_date,finished_date,duration_sec,ref_name,repo_id,repo_url,prev_success_deployment_commit_id +gitlab:GitlabDeployment:1:12345678:13426753,add237f6852e6108ee8e0246780a54ce909c6087,gitlab:GitlabProject:1:12345678,gitlab:GitlabDeployment:1:12345678:13426753,test_deploy_vdev:13426753,SUCCESS,DONE,success,,staging,2019-03-13T14:14:24.109+00:00,2019-03-13T14:17:33.559+00:00,2019-03-13T14:17:47.640+00:00,14.080506,master,gitlab:GitlabProject:1:12345678,https://gitlab.com/gitlab-data/snowflake_spend, +gitlab:GitlabDeployment:1:12345678:13432654,8373d207f0f2cc4414c4b1ad359b5af56e979d59,gitlab:GitlabProject:1:12345678,gitlab:GitlabDeployment:1:12345678:13432654,test_deploy_vdev:13432654,SUCCESS,DONE,completed,,staging,2019-03-13T14:53:48.148+00:00,2019-03-13T14:57:46.441+00:00,2019-03-13T14:57:58.845+00:00,12.403719,master,gitlab:GitlabProject:1:12345678,https://gitlab.com/gitlab-data/snowflake_spend, +gitlab:GitlabDeployment:1:12345678:13432768,35c3a3d82586fa0bcdb2a73b812081ece4e83429,gitlab:GitlabProject:1:12345678,gitlab:GitlabDeployment:1:12345678:13432768,test_deploy_vdev:13432768,FAILURE,DONE,failed,,staging,2019-03-13T14:55:21.182+00:00,,,,master,gitlab:GitlabProject:1:12345678,https://gitlab.com/gitlab-data/snowflake_spend, +gitlab:GitlabDeployment:1:12345678:13436532,35c3a3d82586fa0bcdb2a73b812081ece4e83429,gitlab:GitlabProject:1:12345678,gitlab:GitlabDeployment:1:12345678:13436532,deploy_vdev:13436532,FAILURE,DONE,canceled,,production,2019-03-13T15:21:00.302+00:00,2019-03-13T15:21:07.335+00:00,2019-03-13T15:21:27.825+00:00,20.489227,deploy,gitlab:GitlabProject:1:12345678,https://gitlab.com/gitlab-data/snowflake_spend, +gitlab:GitlabDeployment:1:12345678:13436763,fc449afa34b6732752d2c8ca117833e8cc1226dc,gitlab:GitlabProject:1:12345678,gitlab:GitlabDeployment:1:12345678:13436763,deploy_vdev:13436763,,OTHER,created,,production,2019-03-13T15:23:35.859+00:00,2019-03-13T15:23:40.064+00:00,2019-03-13T15:23:55.970+00:00,15.905676,deploy,gitlab:GitlabProject:1:12345678,https://gitlab.com/gitlab-data/snowflake_spend, +gitlab:GitlabDeployment:1:12345678:13436778,fc449afa34b6732752d2c8ca117833e8cc1226dc,gitlab:GitlabProject:1:12345678,gitlab:GitlabDeployment:1:12345678:13436778,test_deploy_vdev:13436778,,IN_PROGRESS,running,,staging,2019-03-13T15:23:52.979+00:00,,2019-03-13T15:25:41.412+00:00,108.526,master,gitlab:GitlabProject:1:12345678,https://gitlab.com/gitlab-data/snowflake_spend, +gitlab:GitlabDeployment:1:12345678:13436915,d8e7440fc02b62064624c788f4e4da19ca7be198,gitlab:GitlabProject:1:12345678,gitlab:GitlabDeployment:1:12345678:13436915,test_deploy_vdev:13436915,,OTHER,undeployed,,staging,2019-03-13T15:25:15.583+00:00,,2019-03-13T15:28:32.934+00:00,197.474,master,gitlab:GitlabProject:1:12345678,https://gitlab.com/gitlab-data/snowflake_spend, +gitlab:GitlabDeployment:1:12345678:13436986,d8e7440fc02b62064624c788f4e4da19ca7be198,gitlab:GitlabProject:1:12345678,gitlab:GitlabDeployment:1:12345678:13436986,deploy_vdev:13436986,,OTHER,blocked,,production,2019-03-13T15:25:46.042+00:00,2019-03-13T15:26:19.170+00:00,2019-03-13T15:26:37.468+00:00,18.298368,deploy,gitlab:GitlabProject:1:12345678,https://gitlab.com/gitlab-data/snowflake_spend, diff --git a/backend/plugins/gitlab/e2e/snapshot_tables/cicd_deployments.csv b/backend/plugins/gitlab/e2e/snapshot_tables/cicd_deployments.csv index f2521b095af..75ab84b0701 100644 --- a/backend/plugins/gitlab/e2e/snapshot_tables/cicd_deployments.csv +++ b/backend/plugins/gitlab/e2e/snapshot_tables/cicd_deployments.csv @@ -1,9 +1,9 @@ -id,cicd_scope_id,name,result,status,environment,created_date,started_date,finished_date,duration_sec -gitlab:GitlabDeployment:1:12345678:13426753,gitlab:GitlabProject:1:12345678,test_deploy_vdev:13426753,SUCCESS,DONE,staging,2019-03-13T14:14:24.109+00:00,2019-03-13T14:17:33.559+00:00,2019-03-13T14:17:47.640+00:00,14.080506 -gitlab:GitlabDeployment:1:12345678:13432654,gitlab:GitlabProject:1:12345678,test_deploy_vdev:13432654,SUCCESS,DONE,staging,2019-03-13T14:53:48.148+00:00,2019-03-13T14:57:46.441+00:00,2019-03-13T14:57:58.845+00:00,12.403719 -gitlab:GitlabDeployment:1:12345678:13432768,gitlab:GitlabProject:1:12345678,test_deploy_vdev:13432768,FAILURE,DONE,staging,2019-03-13T14:55:21.182+00:00,,, -gitlab:GitlabDeployment:1:12345678:13436532,gitlab:GitlabProject:1:12345678,deploy_vdev:13436532,FAILURE,DONE,production,2019-03-13T15:21:00.302+00:00,2019-03-13T15:21:07.335+00:00,2019-03-13T15:21:27.825+00:00,20.489227 -gitlab:GitlabDeployment:1:12345678:13436763,gitlab:GitlabProject:1:12345678,deploy_vdev:13436763,,OTHER,production,2019-03-13T15:23:35.859+00:00,2019-03-13T15:23:40.064+00:00,2019-03-13T15:23:55.970+00:00,15.905676 -gitlab:GitlabDeployment:1:12345678:13436778,gitlab:GitlabProject:1:12345678,test_deploy_vdev:13436778,,IN_PROGRESS,staging,2019-03-13T15:23:52.979+00:00,,2019-03-13T15:25:41.412+00:00,108.526 -gitlab:GitlabDeployment:1:12345678:13436915,gitlab:GitlabProject:1:12345678,test_deploy_vdev:13436915,,OTHER,staging,2019-03-13T15:25:15.583+00:00,,2019-03-13T15:28:32.934+00:00,197.474 -gitlab:GitlabDeployment:1:12345678:13436986,gitlab:GitlabProject:1:12345678,deploy_vdev:13436986,,OTHER,production,2019-03-13T15:25:46.042+00:00,2019-03-13T15:26:19.170+00:00,2019-03-13T15:26:37.468+00:00,18.298368 +id,cicd_scope_id,name,result,status,original_status,original_result,environment,created_date,started_date,finished_date,duration_sec +gitlab:GitlabDeployment:1:12345678:13426753,gitlab:GitlabProject:1:12345678,test_deploy_vdev:13426753,SUCCESS,DONE,success,,staging,2019-03-13T14:14:24.109+00:00,2019-03-13T14:17:33.559+00:00,2019-03-13T14:17:47.640+00:00,14.080506 +gitlab:GitlabDeployment:1:12345678:13432654,gitlab:GitlabProject:1:12345678,test_deploy_vdev:13432654,SUCCESS,DONE,completed,,staging,2019-03-13T14:53:48.148+00:00,2019-03-13T14:57:46.441+00:00,2019-03-13T14:57:58.845+00:00,12.403719 +gitlab:GitlabDeployment:1:12345678:13432768,gitlab:GitlabProject:1:12345678,test_deploy_vdev:13432768,FAILURE,DONE,failed,,staging,2019-03-13T14:55:21.182+00:00,,, +gitlab:GitlabDeployment:1:12345678:13436532,gitlab:GitlabProject:1:12345678,deploy_vdev:13436532,FAILURE,DONE,canceled,,production,2019-03-13T15:21:00.302+00:00,2019-03-13T15:21:07.335+00:00,2019-03-13T15:21:27.825+00:00,20.489227 +gitlab:GitlabDeployment:1:12345678:13436763,gitlab:GitlabProject:1:12345678,deploy_vdev:13436763,,OTHER,created,,production,2019-03-13T15:23:35.859+00:00,2019-03-13T15:23:40.064+00:00,2019-03-13T15:23:55.970+00:00,15.905676 +gitlab:GitlabDeployment:1:12345678:13436778,gitlab:GitlabProject:1:12345678,test_deploy_vdev:13436778,,IN_PROGRESS,running,,staging,2019-03-13T15:23:52.979+00:00,,2019-03-13T15:25:41.412+00:00,108.526 +gitlab:GitlabDeployment:1:12345678:13436915,gitlab:GitlabProject:1:12345678,test_deploy_vdev:13436915,,OTHER,undeployed,,staging,2019-03-13T15:25:15.583+00:00,,2019-03-13T15:28:32.934+00:00,197.474 +gitlab:GitlabDeployment:1:12345678:13436986,gitlab:GitlabProject:1:12345678,deploy_vdev:13436986,,OTHER,blocked,,production,2019-03-13T15:25:46.042+00:00,2019-03-13T15:26:19.170+00:00,2019-03-13T15:26:37.468+00:00,18.298368 diff --git a/backend/plugins/gitlab/e2e/snapshot_tables/cicd_pipelines.csv b/backend/plugins/gitlab/e2e/snapshot_tables/cicd_pipelines.csv index 29984052088..2b745c7aa89 100644 --- a/backend/plugins/gitlab/e2e/snapshot_tables/cicd_pipelines.csv +++ b/backend/plugins/gitlab/e2e/snapshot_tables/cicd_pipelines.csv @@ -1,30 +1,30 @@ -id,name,result,status,type,duration_sec,environment,created_date,finished_date,cicd_scope_id -gitlab:GitlabPipeline:1:457474837,gitlab:GitlabPipeline:1:457474837,,IN_PROGRESS,,0,,2022-01-27T10:07:09.429+00:00,,gitlab:GitlabProject:1:12345678 -gitlab:GitlabPipeline:1:457474996,gitlab:GitlabPipeline:1:457474996,FAILURE,DONE,,0.159,,2022-01-27T10:07:18.884+00:00,2022-01-27T10:07:19.043+00:00,gitlab:GitlabProject:1:12345678 -gitlab:GitlabPipeline:1:457475160,gitlab:GitlabPipeline:1:457475160,FAILURE,DONE,,0.203,,2022-01-27T10:07:26.435+00:00,2022-01-27T10:07:26.638+00:00,gitlab:GitlabProject:1:12345678 -gitlab:GitlabPipeline:1:457475337,gitlab:GitlabPipeline:1:457475337,,IN_PROGRESS,,0,,2022-01-27T10:07:36.502+00:00,,gitlab:GitlabProject:1:12345678 -gitlab:GitlabPipeline:1:485811050,gitlab:GitlabPipeline:1:485811050,FAILURE,DONE,DEPLOYMENT,0,PRODUCTION,2022-03-07T06:26:42.109+00:00,2022-03-07T06:26:42.109+00:00,gitlab:GitlabProject:1:12345678 -gitlab:GitlabPipeline:1:485811059,gitlab:GitlabPipeline:1:485811059,FAILURE,DONE,,0,,2022-03-07T06:26:43.784+00:00,2022-03-07T06:26:43.784+00:00,gitlab:GitlabProject:1:12345678 -gitlab:GitlabPipeline:1:485813816,gitlab:GitlabPipeline:1:485813816,FAILURE,DONE,DEPLOYMENT,0,PRODUCTION,2022-03-07T06:33:56.824+00:00,2022-03-07T06:33:56.824+00:00,gitlab:GitlabProject:1:12345678 -gitlab:GitlabPipeline:1:485813830,gitlab:GitlabPipeline:1:485813830,FAILURE,DONE,,0,,2022-03-07T06:33:58.889+00:00,2022-03-07T06:33:58.889+00:00,gitlab:GitlabProject:1:12345678 -gitlab:GitlabPipeline:1:485814501,gitlab:GitlabPipeline:1:485814501,FAILURE,DONE,DEPLOYMENT,0,PRODUCTION,2022-03-07T06:35:28.111+00:00,2022-03-07T06:35:28.111+00:00,gitlab:GitlabProject:1:12345678 -gitlab:GitlabPipeline:1:485814516,gitlab:GitlabPipeline:1:485814516,FAILURE,DONE,,0,,2022-03-07T06:35:31.255+00:00,2022-03-07T06:35:31.255+00:00,gitlab:GitlabProject:1:12345678 -gitlab:GitlabPipeline:1:485814871,gitlab:GitlabPipeline:1:485814871,FAILURE,DONE,,42.083,,2022-03-07T06:36:50.020+00:00,2022-03-07T06:37:32.103+00:00,gitlab:GitlabProject:1:12345678 -gitlab:GitlabPipeline:1:485817670,gitlab:GitlabPipeline:1:485817670,FAILURE,DONE,,1956.834,,2022-03-07T06:45:09.471+00:00,2022-03-07T07:17:46.305+00:00,gitlab:GitlabProject:1:12345678 -gitlab:GitlabPipeline:1:485837602,gitlab:GitlabPipeline:1:485837602,FAILURE,DONE,,434.418,,2022-03-07T07:20:45.859+00:00,2022-03-07T07:28:00.277+00:00,gitlab:GitlabProject:1:12345678 -gitlab:GitlabPipeline:1:485842553,gitlab:GitlabPipeline:1:485842553,FAILURE,DONE,,287.98,,2022-03-07T07:30:47.018+00:00,2022-03-07T07:35:34.998+00:00,gitlab:GitlabProject:1:12345678 -gitlab:GitlabPipeline:1:485845850,gitlab:GitlabPipeline:1:485845850,FAILURE,DONE,,419.801,,2022-03-07T07:38:58.611+00:00,2022-03-07T07:45:58.412+00:00,gitlab:GitlabProject:1:12345678 -gitlab:GitlabPipeline:1:485852752,gitlab:GitlabPipeline:1:485852752,FAILURE,DONE,,319.324,,2022-03-07T07:46:09.385+00:00,2022-03-07T07:51:28.709+00:00,gitlab:GitlabProject:1:12345678 -gitlab:GitlabPipeline:1:485865876,gitlab:GitlabPipeline:1:485865876,FAILURE,DONE,,480.047,,2022-03-07T08:04:56.406+00:00,2022-03-07T08:12:56.453+00:00,gitlab:GitlabProject:1:12345678 -gitlab:GitlabPipeline:1:485877118,gitlab:GitlabPipeline:1:485877118,FAILURE,DONE,,289.421,,2022-03-07T08:22:48.943+00:00,2022-03-07T08:27:38.364+00:00,gitlab:GitlabProject:1:12345678 -gitlab:GitlabPipeline:1:485905167,gitlab:GitlabPipeline:1:485905167,FAILURE,DONE,,687.019,,2022-03-07T09:02:09.994+00:00,2022-03-07T09:13:37.013+00:00,gitlab:GitlabProject:1:12345678 -gitlab:GitlabPipeline:1:485932863,gitlab:GitlabPipeline:1:485932863,SUCCESS,DONE,,398.791,,2022-03-07T09:34:57.476+00:00,2022-03-07T09:41:36.267+00:00,gitlab:GitlabProject:1:12345678 -gitlab:GitlabPipeline:1:485932864,gitlab:GitlabPipeline:1:485932864,FAILURE,DONE,,398.791,,2022-03-07T09:34:57.476+00:00,2022-03-07T09:41:36.267+00:00,gitlab:GitlabProject:1:12345678 -gitlab:GitlabPipeline:1:485932865,gitlab:GitlabPipeline:1:485932865,,OTHER,,0,,2022-03-07T09:34:57.476+00:00,,gitlab:GitlabProject:1:12345678 -gitlab:GitlabPipeline:1:485932866,gitlab:GitlabPipeline:1:485932866,,IN_PROGRESS,,0,,2022-03-07T09:34:57.476+00:00,,gitlab:GitlabProject:1:12345678 -gitlab:GitlabPipeline:1:485932867,gitlab:GitlabPipeline:1:485932867,,IN_PROGRESS,,0,,2022-03-07T09:34:57.476+00:00,,gitlab:GitlabProject:1:12345678 -gitlab:GitlabPipeline:1:485932868,gitlab:GitlabPipeline:1:485932868,,IN_PROGRESS,,0,,2022-03-07T09:34:57.476+00:00,,gitlab:GitlabProject:1:12345678 -gitlab:GitlabPipeline:1:485932869,gitlab:GitlabPipeline:1:485932869,,IN_PROGRESS,,0,,2022-03-07T09:34:57.476+00:00,,gitlab:GitlabProject:1:12345678 -gitlab:GitlabPipeline:1:485932870,gitlab:GitlabPipeline:1:485932870,,OTHER,,0,,2022-03-07T09:34:57.476+00:00,,gitlab:GitlabProject:1:12345678 -gitlab:GitlabPipeline:1:485932871,gitlab:GitlabPipeline:1:485932871,,OTHER,,0,,2022-03-07T09:34:57.476+00:00,,gitlab:GitlabProject:1:12345678 -gitlab:GitlabPipeline:1:485932872,gitlab:GitlabPipeline:1:485932872,,OTHER,,0,,2022-03-07T09:34:57.476+00:00,,gitlab:GitlabProject:1:12345678 +id,name,result,status,original_status,original_result,type,duration_sec,environment,created_date,finished_date,cicd_scope_id +gitlab:GitlabPipeline:1:457474837,gitlab:GitlabPipeline:1:457474837,,IN_PROGRESS,running,,,0,,2022-01-27T10:07:09.429+00:00,,gitlab:GitlabProject:1:12345678 +gitlab:GitlabPipeline:1:457474996,gitlab:GitlabPipeline:1:457474996,FAILURE,DONE,failed,,,0.159,,2022-01-27T10:07:18.884+00:00,2022-01-27T10:07:19.043+00:00,gitlab:GitlabProject:1:12345678 +gitlab:GitlabPipeline:1:457475160,gitlab:GitlabPipeline:1:457475160,FAILURE,DONE,failed,,,0.203,,2022-01-27T10:07:26.435+00:00,2022-01-27T10:07:26.638+00:00,gitlab:GitlabProject:1:12345678 +gitlab:GitlabPipeline:1:457475337,gitlab:GitlabPipeline:1:457475337,,IN_PROGRESS,running,,,0,,2022-01-27T10:07:36.502+00:00,,gitlab:GitlabProject:1:12345678 +gitlab:GitlabPipeline:1:485811050,gitlab:GitlabPipeline:1:485811050,FAILURE,DONE,failed,,DEPLOYMENT,0,PRODUCTION,2022-03-07T06:26:42.109+00:00,2022-03-07T06:26:42.109+00:00,gitlab:GitlabProject:1:12345678 +gitlab:GitlabPipeline:1:485811059,gitlab:GitlabPipeline:1:485811059,FAILURE,DONE,failed,,,0,,2022-03-07T06:26:43.784+00:00,2022-03-07T06:26:43.784+00:00,gitlab:GitlabProject:1:12345678 +gitlab:GitlabPipeline:1:485813816,gitlab:GitlabPipeline:1:485813816,FAILURE,DONE,failed,,DEPLOYMENT,0,PRODUCTION,2022-03-07T06:33:56.824+00:00,2022-03-07T06:33:56.824+00:00,gitlab:GitlabProject:1:12345678 +gitlab:GitlabPipeline:1:485813830,gitlab:GitlabPipeline:1:485813830,FAILURE,DONE,failed,,,0,,2022-03-07T06:33:58.889+00:00,2022-03-07T06:33:58.889+00:00,gitlab:GitlabProject:1:12345678 +gitlab:GitlabPipeline:1:485814501,gitlab:GitlabPipeline:1:485814501,FAILURE,DONE,failed,,DEPLOYMENT,0,PRODUCTION,2022-03-07T06:35:28.111+00:00,2022-03-07T06:35:28.111+00:00,gitlab:GitlabProject:1:12345678 +gitlab:GitlabPipeline:1:485814516,gitlab:GitlabPipeline:1:485814516,FAILURE,DONE,failed,,,0,,2022-03-07T06:35:31.255+00:00,2022-03-07T06:35:31.255+00:00,gitlab:GitlabProject:1:12345678 +gitlab:GitlabPipeline:1:485814871,gitlab:GitlabPipeline:1:485814871,FAILURE,DONE,failed,,,42.083,,2022-03-07T06:36:50.020+00:00,2022-03-07T06:37:32.103+00:00,gitlab:GitlabProject:1:12345678 +gitlab:GitlabPipeline:1:485817670,gitlab:GitlabPipeline:1:485817670,FAILURE,DONE,failed,,,1956.834,,2022-03-07T06:45:09.471+00:00,2022-03-07T07:17:46.305+00:00,gitlab:GitlabProject:1:12345678 +gitlab:GitlabPipeline:1:485837602,gitlab:GitlabPipeline:1:485837602,FAILURE,DONE,failed,,,434.418,,2022-03-07T07:20:45.859+00:00,2022-03-07T07:28:00.277+00:00,gitlab:GitlabProject:1:12345678 +gitlab:GitlabPipeline:1:485842553,gitlab:GitlabPipeline:1:485842553,FAILURE,DONE,failed,,,287.98,,2022-03-07T07:30:47.018+00:00,2022-03-07T07:35:34.998+00:00,gitlab:GitlabProject:1:12345678 +gitlab:GitlabPipeline:1:485845850,gitlab:GitlabPipeline:1:485845850,FAILURE,DONE,failed,,,419.801,,2022-03-07T07:38:58.611+00:00,2022-03-07T07:45:58.412+00:00,gitlab:GitlabProject:1:12345678 +gitlab:GitlabPipeline:1:485852752,gitlab:GitlabPipeline:1:485852752,FAILURE,DONE,failed,,,319.324,,2022-03-07T07:46:09.385+00:00,2022-03-07T07:51:28.709+00:00,gitlab:GitlabProject:1:12345678 +gitlab:GitlabPipeline:1:485865876,gitlab:GitlabPipeline:1:485865876,FAILURE,DONE,failed,,,480.047,,2022-03-07T08:04:56.406+00:00,2022-03-07T08:12:56.453+00:00,gitlab:GitlabProject:1:12345678 +gitlab:GitlabPipeline:1:485877118,gitlab:GitlabPipeline:1:485877118,FAILURE,DONE,failed,,,289.421,,2022-03-07T08:22:48.943+00:00,2022-03-07T08:27:38.364+00:00,gitlab:GitlabProject:1:12345678 +gitlab:GitlabPipeline:1:485905167,gitlab:GitlabPipeline:1:485905167,FAILURE,DONE,failed,,,687.019,,2022-03-07T09:02:09.994+00:00,2022-03-07T09:13:37.013+00:00,gitlab:GitlabProject:1:12345678 +gitlab:GitlabPipeline:1:485932863,gitlab:GitlabPipeline:1:485932863,SUCCESS,DONE,success,,,398.791,,2022-03-07T09:34:57.476+00:00,2022-03-07T09:41:36.267+00:00,gitlab:GitlabProject:1:12345678 +gitlab:GitlabPipeline:1:485932864,gitlab:GitlabPipeline:1:485932864,FAILURE,DONE,canceled,,,398.791,,2022-03-07T09:34:57.476+00:00,2022-03-07T09:41:36.267+00:00,gitlab:GitlabProject:1:12345678 +gitlab:GitlabPipeline:1:485932865,gitlab:GitlabPipeline:1:485932865,,OTHER,created,,,0,,2022-03-07T09:34:57.476+00:00,,gitlab:GitlabProject:1:12345678 +gitlab:GitlabPipeline:1:485932866,gitlab:GitlabPipeline:1:485932866,,IN_PROGRESS,waiting_for_resource,,,0,,2022-03-07T09:34:57.476+00:00,,gitlab:GitlabProject:1:12345678 +gitlab:GitlabPipeline:1:485932867,gitlab:GitlabPipeline:1:485932867,,IN_PROGRESS,preparing,,,0,,2022-03-07T09:34:57.476+00:00,,gitlab:GitlabProject:1:12345678 +gitlab:GitlabPipeline:1:485932868,gitlab:GitlabPipeline:1:485932868,,IN_PROGRESS,pending,,,0,,2022-03-07T09:34:57.476+00:00,,gitlab:GitlabProject:1:12345678 +gitlab:GitlabPipeline:1:485932869,gitlab:GitlabPipeline:1:485932869,,IN_PROGRESS,running,,,0,,2022-03-07T09:34:57.476+00:00,,gitlab:GitlabProject:1:12345678 +gitlab:GitlabPipeline:1:485932870,gitlab:GitlabPipeline:1:485932870,,OTHER,manual,,,0,,2022-03-07T09:34:57.476+00:00,,gitlab:GitlabProject:1:12345678 +gitlab:GitlabPipeline:1:485932871,gitlab:GitlabPipeline:1:485932871,,OTHER,scheduled,,,0,,2022-03-07T09:34:57.476+00:00,,gitlab:GitlabProject:1:12345678 +gitlab:GitlabPipeline:1:485932872,gitlab:GitlabPipeline:1:485932872,,OTHER,skipped,,,0,,2022-03-07T09:34:57.476+00:00,,gitlab:GitlabProject:1:12345678 diff --git a/backend/plugins/gitlab/e2e/snapshot_tables/cicd_tasks.csv b/backend/plugins/gitlab/e2e/snapshot_tables/cicd_tasks.csv index e3c3499e2fb..6bbe56b143a 100644 --- a/backend/plugins/gitlab/e2e/snapshot_tables/cicd_tasks.csv +++ b/backend/plugins/gitlab/e2e/snapshot_tables/cicd_tasks.csv @@ -1,76 +1,76 @@ -id,name,pipeline_id,result,status,type,environment,duration_sec,started_date,finished_date,cicd_scope_id -gitlab:GitlabJob:1:100,compile,gitlab:GitlabPipeline:1:24,SUCCESS,DONE,DEPLOYMENT,PRODUCTION,2.833629,2022-07-25T15:06:57.051+00:00,2022-07-25T15:06:59.885+00:00,gitlab:GitlabProject:1:44 -gitlab:GitlabJob:1:101,format,gitlab:GitlabPipeline:1:25,SUCCESS,DONE,,,3.039853,2022-07-25T15:13:37.206+00:00,2022-07-25T15:13:40.246+00:00,gitlab:GitlabProject:1:44 -gitlab:GitlabJob:1:102,format,gitlab:GitlabPipeline:1:26,SUCCESS,DONE,,,2.754626,2022-07-25T15:30:22.560+00:00,2022-07-25T15:30:25.315+00:00,gitlab:GitlabProject:1:44 -gitlab:GitlabJob:1:103,format,gitlab:GitlabPipeline:1:27,SUCCESS,DONE,,,2.978188,2022-07-25T15:30:55.671+00:00,2022-07-25T15:30:58.650+00:00,gitlab:GitlabProject:1:44 -gitlab:GitlabJob:1:104,format,gitlab:GitlabPipeline:1:28,SUCCESS,DONE,,,2.771923,2022-07-25T15:32:04.954+00:00,2022-07-25T15:32:07.726+00:00,gitlab:GitlabProject:1:44 -gitlab:GitlabJob:1:105,compile,gitlab:GitlabPipeline:1:28,FAILURE,DONE,DEPLOYMENT,PRODUCTION,3.124232,2022-07-25T15:32:07.953+00:00,2022-07-25T15:32:11.077+00:00,gitlab:GitlabProject:1:44 -gitlab:GitlabJob:1:106,format,gitlab:GitlabPipeline:1:29,SUCCESS,DONE,,,2.973488,2022-07-25T15:33:26.382+00:00,2022-07-25T15:33:29.356+00:00,gitlab:GitlabProject:1:44 -gitlab:GitlabJob:1:107,format,gitlab:GitlabPipeline:1:30,SUCCESS,DONE,,,2.727088,2022-07-25T15:34:23.665+00:00,2022-07-25T15:34:26.392+00:00,gitlab:GitlabProject:1:44 -gitlab:GitlabJob:1:108,format,gitlab:GitlabPipeline:1:31,SUCCESS,DONE,,,2.516951,2022-07-25T15:35:11.707+00:00,2022-07-25T15:35:14.224+00:00,gitlab:GitlabProject:1:44 -gitlab:GitlabJob:1:109,compile,gitlab:GitlabPipeline:1:31,SUCCESS,DONE,DEPLOYMENT,PRODUCTION,3.103903,2022-07-25T15:35:14.724+00:00,2022-07-25T15:35:17.828+00:00,gitlab:GitlabProject:1:44 -gitlab:GitlabJob:1:110,format,gitlab:GitlabPipeline:1:32,SUCCESS,DONE,,,2.857065,2022-07-25T15:36:18.097+00:00,2022-07-25T15:36:20.954+00:00,gitlab:GitlabProject:1:44 -gitlab:GitlabJob:1:111,format,gitlab:GitlabPipeline:1:33,SUCCESS,DONE,,,3.004112,2022-07-25T15:38:03.463+00:00,2022-07-25T15:38:06.467+00:00,gitlab:GitlabProject:1:44 -gitlab:GitlabJob:1:112,format,gitlab:GitlabPipeline:1:34,SUCCESS,DONE,,,3.302867,2022-07-25T21:19:14.509+00:00,2022-07-25T21:19:17.811+00:00,gitlab:GitlabProject:1:44 -gitlab:GitlabJob:1:113,format,gitlab:GitlabPipeline:1:35,SUCCESS,DONE,,,5.179808,2022-07-26T09:37:05.694+00:00,2022-07-26T09:37:10.873+00:00,gitlab:GitlabProject:1:44 -gitlab:GitlabJob:1:114,format,gitlab:GitlabPipeline:1:36,SUCCESS,DONE,,,2.918028,2022-07-26T09:37:38.057+00:00,2022-07-26T09:37:40.975+00:00,gitlab:GitlabProject:1:44 -gitlab:GitlabJob:1:115,format,gitlab:GitlabPipeline:1:37,SUCCESS,DONE,,,3.651621,2022-07-26T09:38:29.318+00:00,2022-07-26T09:38:32.970+00:00,gitlab:GitlabProject:1:44 -gitlab:GitlabJob:1:116,format,gitlab:GitlabPipeline:1:38,SUCCESS,DONE,,,3.13281,2022-07-26T21:19:13.888+00:00,2022-07-26T21:19:17.021+00:00,gitlab:GitlabProject:1:44 -gitlab:GitlabJob:1:117,format,gitlab:GitlabPipeline:1:39,SUCCESS,DONE,,,3.783425,2022-07-27T08:19:24.376+00:00,2022-07-27T08:19:28.159+00:00,gitlab:GitlabProject:1:44 -gitlab:GitlabJob:1:118,format,gitlab:GitlabPipeline:1:40,SUCCESS,DONE,,,4.562247,2022-07-27T21:19:32.288+00:00,2022-07-27T21:19:36.850+00:00,gitlab:GitlabProject:1:44 -gitlab:GitlabJob:1:119,format,gitlab:GitlabPipeline:1:41,FAILURE,DONE,,,0,2022-07-28T21:19:24.257+00:00,2022-07-28T23:00:17.842+00:00,gitlab:GitlabProject:1:44 -gitlab:GitlabJob:1:120,format,gitlab:GitlabPipeline:1:41,SUCCESS,DONE,,,56.799878,2022-07-29T02:10:58.370+00:00,2022-07-29T02:11:55.170+00:00,gitlab:GitlabProject:1:44 -gitlab:GitlabJob:1:121,format,gitlab:GitlabPipeline:1:42,FAILURE,DONE,,,0,2022-07-29T21:19:02.884+00:00,2022-07-29T23:00:24.840+00:00,gitlab:GitlabProject:1:44 -gitlab:GitlabJob:1:122,format,gitlab:GitlabPipeline:1:43,FAILURE,DONE,,,0,2022-07-30T21:19:26.310+00:00,2022-07-30T23:00:25.126+00:00,gitlab:GitlabProject:1:44 -gitlab:GitlabJob:1:123,format,gitlab:GitlabPipeline:1:44,FAILURE,DONE,,,0,2022-07-31T21:19:05.348+00:00,2022-07-31T23:00:29.135+00:00,gitlab:GitlabProject:1:44 -gitlab:GitlabJob:1:124,format,gitlab:GitlabPipeline:1:45,FAILURE,DONE,,,0,2022-08-01T21:19:02.489+00:00,2022-08-01T23:00:22.874+00:00,gitlab:GitlabProject:1:44 -gitlab:GitlabJob:1:125,format,gitlab:GitlabPipeline:1:46,FAILURE,DONE,,,0,2022-08-02T21:19:25.568+00:00,2022-08-02T23:00:23.221+00:00,gitlab:GitlabProject:1:44 -gitlab:GitlabJob:1:126,format,gitlab:GitlabPipeline:1:47,FAILURE,DONE,,,0,2022-08-03T08:19:06.570+00:00,2022-08-03T10:00:05.573+00:00,gitlab:GitlabProject:1:44 -gitlab:GitlabJob:1:127,format,gitlab:GitlabPipeline:1:48,FAILURE,DONE,,,0,2022-08-03T21:19:21.010+00:00,2022-08-03T23:00:06.114+00:00,gitlab:GitlabProject:1:44 -gitlab:GitlabJob:1:128,format,gitlab:GitlabPipeline:1:49,FAILURE,DONE,,,0,2022-08-04T21:19:12.398+00:00,2022-08-04T23:00:25.717+00:00,gitlab:GitlabProject:1:44 -gitlab:GitlabJob:1:129,format,gitlab:GitlabPipeline:1:50,FAILURE,DONE,,,0,2022-08-05T21:19:09.648+00:00,2022-08-05T23:00:18.441+00:00,gitlab:GitlabProject:1:44 -gitlab:GitlabJob:1:130,format,gitlab:GitlabPipeline:1:51,FAILURE,DONE,,,0,2022-08-06T21:19:29.253+00:00,2022-08-06T23:00:04.246+00:00,gitlab:GitlabProject:1:44 -gitlab:GitlabJob:1:131,format,gitlab:GitlabPipeline:1:52,FAILURE,DONE,,,0,2022-08-07T21:19:33.476+00:00,2022-08-07T23:00:01.350+00:00,gitlab:GitlabProject:1:44 -gitlab:GitlabJob:1:132,format,gitlab:GitlabPipeline:1:53,FAILURE,DONE,,,0,2022-08-08T21:19:02.531+00:00,2022-08-08T23:00:30.138+00:00,gitlab:GitlabProject:1:44 -gitlab:GitlabJob:1:133,format,gitlab:GitlabPipeline:1:54,FAILURE,DONE,,,0,2022-08-09T21:19:34.379+00:00,2022-08-09T23:00:15.331+00:00,gitlab:GitlabProject:1:44 -gitlab:GitlabJob:1:134,format,gitlab:GitlabPipeline:1:55,FAILURE,DONE,,,0,2022-08-10T08:19:08.693+00:00,2022-08-10T10:00:10.203+00:00,gitlab:GitlabProject:1:44 -gitlab:GitlabJob:1:135,format,gitlab:GitlabPipeline:1:56,FAILURE,DONE,,,0,2022-08-10T21:19:05.714+00:00,2022-08-10T23:00:41.546+00:00,gitlab:GitlabProject:1:44 -gitlab:GitlabJob:1:136,format,gitlab:GitlabPipeline:1:57,FAILURE,DONE,,,0,2022-08-11T21:19:25.605+00:00,2022-08-11T23:00:08.674+00:00,gitlab:GitlabProject:1:44 -gitlab:GitlabJob:1:137,format,gitlab:GitlabPipeline:1:58,FAILURE,DONE,,,0,2022-08-12T21:19:08.350+00:00,2022-08-12T23:00:03.492+00:00,gitlab:GitlabProject:1:44 -gitlab:GitlabJob:1:138,format,gitlab:GitlabPipeline:1:59,FAILURE,DONE,,,0,2022-08-13T21:19:06.775+00:00,2022-08-13T23:00:06.728+00:00,gitlab:GitlabProject:1:44 -gitlab:GitlabJob:1:139,format,gitlab:GitlabPipeline:1:60,FAILURE,DONE,,,0,2022-08-14T21:19:07.007+00:00,2022-08-14T23:00:22.581+00:00,gitlab:GitlabProject:1:44 -gitlab:GitlabJob:1:140,format,gitlab:GitlabPipeline:1:61,FAILURE,DONE,,,0,2022-08-15T21:19:09.087+00:00,2022-08-15T23:00:31.590+00:00,gitlab:GitlabProject:1:44 -gitlab:GitlabJob:1:141,format,gitlab:GitlabPipeline:1:62,FAILURE,DONE,,,0,2022-08-16T21:19:12.248+00:00,2022-08-16T23:00:16.800+00:00,gitlab:GitlabProject:1:44 -gitlab:GitlabJob:1:142,format,gitlab:GitlabPipeline:1:63,FAILURE,DONE,,,0,2022-08-17T08:20:06.419+00:00,2022-08-17T10:00:36.594+00:00,gitlab:GitlabProject:1:44 -gitlab:GitlabJob:1:143,format,gitlab:GitlabPipeline:1:64,FAILURE,DONE,,,0,2022-08-17T21:19:11.908+00:00,2022-08-17T23:00:23.915+00:00,gitlab:GitlabProject:1:44 -gitlab:GitlabJob:1:144,format,gitlab:GitlabPipeline:1:65,FAILURE,DONE,,,0,2022-08-18T21:19:14.072+00:00,2022-08-18T23:00:26.546+00:00,gitlab:GitlabProject:1:44 -gitlab:GitlabJob:1:145,format,gitlab:GitlabPipeline:1:66,FAILURE,DONE,,,0,2022-08-19T21:19:03.364+00:00,2022-08-19T23:00:19.772+00:00,gitlab:GitlabProject:1:44 -gitlab:GitlabJob:1:146,format,gitlab:GitlabPipeline:1:67,FAILURE,DONE,,,0,2022-08-20T21:19:37.743+00:00,2022-08-20T23:00:09.418+00:00,gitlab:GitlabProject:1:44 -gitlab:GitlabJob:1:147,format,gitlab:GitlabPipeline:1:68,FAILURE,DONE,,,0,2022-08-21T21:19:02.164+00:00,2022-08-21T23:00:18.538+00:00,gitlab:GitlabProject:1:44 -gitlab:GitlabJob:1:148,format,gitlab:GitlabPipeline:1:69,FAILURE,DONE,,,0,2022-08-22T21:19:16.175+00:00,2022-08-22T23:00:08.653+00:00,gitlab:GitlabProject:1:44 -gitlab:GitlabJob:1:149,format,gitlab:GitlabPipeline:1:70,FAILURE,DONE,,,0,2022-08-23T21:19:13.313+00:00,2022-08-23T23:00:20.712+00:00,gitlab:GitlabProject:1:44 -gitlab:GitlabJob:1:150,format,gitlab:GitlabPipeline:1:71,FAILURE,DONE,,,0,2022-08-24T08:19:19.653+00:00,2022-08-24T10:00:04.660+00:00,gitlab:GitlabProject:1:44 -gitlab:GitlabJob:1:151,format,gitlab:GitlabPipeline:1:72,FAILURE,DONE,,,0,2022-08-24T21:19:29.226+00:00,2022-08-24T23:00:14.036+00:00,gitlab:GitlabProject:1:44 -gitlab:GitlabJob:1:152,format,gitlab:GitlabPipeline:1:73,FAILURE,DONE,,,0,2022-08-25T21:19:10.938+00:00,2022-08-25T23:00:08.594+00:00,gitlab:GitlabProject:1:44 -gitlab:GitlabJob:1:60,format,gitlab:GitlabPipeline:1:16,,OTHER,,,0.871577,2022-07-25T13:40:42.020+00:00,2022-07-25T13:40:42.892+00:00,gitlab:GitlabProject:1:44 -gitlab:GitlabJob:1:61,format,gitlab:GitlabPipeline:1:16,,IN_PROGRESS,,,0.871577,2022-07-25T13:40:42.020+00:00,2022-07-25T13:40:42.892+00:00,gitlab:GitlabProject:1:44 -gitlab:GitlabJob:1:62,format,gitlab:GitlabPipeline:1:16,,IN_PROGRESS,,,0.871577,2022-07-25T13:40:42.020+00:00,2022-07-25T13:40:42.892+00:00,gitlab:GitlabProject:1:44 -gitlab:GitlabJob:1:63,format,gitlab:GitlabPipeline:1:16,,IN_PROGRESS,,,0.871577,2022-07-25T13:40:42.020+00:00,2022-07-25T13:40:42.892+00:00,gitlab:GitlabProject:1:44 -gitlab:GitlabJob:1:64,format,gitlab:GitlabPipeline:1:16,,IN_PROGRESS,,,0.871577,2022-07-25T13:40:42.020+00:00,2022-07-25T13:40:42.892+00:00,gitlab:GitlabProject:1:44 -gitlab:GitlabJob:1:65,format,gitlab:GitlabPipeline:1:16,,OTHER,,,0.871577,2022-07-25T13:40:42.020+00:00,2022-07-25T13:40:42.892+00:00,gitlab:GitlabProject:1:44 -gitlab:GitlabJob:1:66,format,gitlab:GitlabPipeline:1:16,,OTHER,,,0.871577,2022-07-25T13:40:42.020+00:00,2022-07-25T13:40:42.892+00:00,gitlab:GitlabProject:1:44 -gitlab:GitlabJob:1:67,format,gitlab:GitlabPipeline:1:16,,OTHER,,,0.871577,2022-07-25T13:40:42.020+00:00,2022-07-25T13:40:42.892+00:00,gitlab:GitlabProject:1:44 -gitlab:GitlabJob:1:86,format,gitlab:GitlabPipeline:1:16,FAILURE,DONE,,,0.871577,2022-07-25T13:40:42.020+00:00,2022-07-25T13:40:42.892+00:00,gitlab:GitlabProject:1:44 -gitlab:GitlabJob:1:87,format,gitlab:GitlabPipeline:1:16,FAILURE,DONE,,,0.331067,2022-07-25T13:41:11.601+00:00,2022-07-25T13:41:11.932+00:00,gitlab:GitlabProject:1:44 -gitlab:GitlabJob:1:88,format,gitlab:GitlabPipeline:1:17,FAILURE,DONE,,,0.324175,2022-07-25T13:42:59.674+00:00,2022-07-25T13:42:59.998+00:00,gitlab:GitlabProject:1:44 -gitlab:GitlabJob:1:89,format,gitlab:GitlabPipeline:1:17,FAILURE,OTHER,,,0,2022-07-25T13:46:15.482+00:00,2022-07-25T13:49:42.952+00:00,gitlab:GitlabProject:1:44 -gitlab:GitlabJob:1:90,format,gitlab:GitlabPipeline:1:18,FAILURE,OTHER,,,0,2022-07-25T13:50:40.680+00:00,2022-07-25T14:19:03.023+00:00,gitlab:GitlabProject:1:44 -gitlab:GitlabJob:1:91,format,gitlab:GitlabPipeline:1:18,FAILURE,DONE,,,2.864332,2022-07-25T14:26:02.616+00:00,2022-07-25T14:26:05.480+00:00,gitlab:GitlabProject:1:44 -gitlab:GitlabJob:1:92,format,gitlab:GitlabPipeline:1:18,FAILURE,DONE,,,1.419497,2022-07-25T14:47:12.876+00:00,2022-07-25T14:47:14.295+00:00,gitlab:GitlabProject:1:44 -gitlab:GitlabJob:1:93,format,gitlab:GitlabPipeline:1:19,FAILURE,DONE,,,1.682669,2022-07-25T14:53:56.227+00:00,2022-07-25T14:53:57.910+00:00,gitlab:GitlabProject:1:44 -gitlab:GitlabJob:1:94,format,gitlab:GitlabPipeline:1:20,FAILURE,DONE,,,1.837993,2022-07-25T14:55:26.493+00:00,2022-07-25T14:55:28.331+00:00,gitlab:GitlabProject:1:44 -gitlab:GitlabJob:1:95,format,gitlab:GitlabPipeline:1:21,FAILURE,DONE,,,1.68669,2022-07-25T14:56:59.811+00:00,2022-07-25T14:57:01.498+00:00,gitlab:GitlabProject:1:44 -gitlab:GitlabJob:1:96,format,gitlab:GitlabPipeline:1:21,FAILURE,DONE,,,5.006028,2022-07-25T14:59:29.276+00:00,2022-07-25T14:59:34.282+00:00,gitlab:GitlabProject:1:44 -gitlab:GitlabJob:1:97,format,gitlab:GitlabPipeline:1:22,SUCCESS,DONE,,,3.146301,2022-07-25T15:00:43.749+00:00,2022-07-25T15:00:46.895+00:00,gitlab:GitlabProject:1:44 -gitlab:GitlabJob:1:98,format,gitlab:GitlabPipeline:1:23,SUCCESS,DONE,,,2.960982,2022-07-25T15:03:23.471+00:00,2022-07-25T15:03:26.432+00:00,gitlab:GitlabProject:1:44 -gitlab:GitlabJob:1:99,format,gitlab:GitlabPipeline:1:24,SUCCESS,DONE,,,2.781517,2022-07-25T15:06:54.037+00:00,2022-07-25T15:06:56.819+00:00,gitlab:GitlabProject:1:44 +id,name,pipeline_id,result,status,original_status,original_result,type,environment,duration_sec,started_date,finished_date,cicd_scope_id +gitlab:GitlabJob:1:100,compile,gitlab:GitlabPipeline:1:24,SUCCESS,DONE,success,,DEPLOYMENT,PRODUCTION,2.833629,2022-07-25T15:06:57.051+00:00,2022-07-25T15:06:59.885+00:00,gitlab:GitlabProject:1:44 +gitlab:GitlabJob:1:101,format,gitlab:GitlabPipeline:1:25,SUCCESS,DONE,success,,,,3.039853,2022-07-25T15:13:37.206+00:00,2022-07-25T15:13:40.246+00:00,gitlab:GitlabProject:1:44 +gitlab:GitlabJob:1:102,format,gitlab:GitlabPipeline:1:26,SUCCESS,DONE,success,,,,2.754626,2022-07-25T15:30:22.560+00:00,2022-07-25T15:30:25.315+00:00,gitlab:GitlabProject:1:44 +gitlab:GitlabJob:1:103,format,gitlab:GitlabPipeline:1:27,SUCCESS,DONE,success,,,,2.978188,2022-07-25T15:30:55.671+00:00,2022-07-25T15:30:58.650+00:00,gitlab:GitlabProject:1:44 +gitlab:GitlabJob:1:104,format,gitlab:GitlabPipeline:1:28,SUCCESS,DONE,success,,,,2.771923,2022-07-25T15:32:04.954+00:00,2022-07-25T15:32:07.726+00:00,gitlab:GitlabProject:1:44 +gitlab:GitlabJob:1:105,compile,gitlab:GitlabPipeline:1:28,FAILURE,DONE,failed,,DEPLOYMENT,PRODUCTION,3.124232,2022-07-25T15:32:07.953+00:00,2022-07-25T15:32:11.077+00:00,gitlab:GitlabProject:1:44 +gitlab:GitlabJob:1:106,format,gitlab:GitlabPipeline:1:29,SUCCESS,DONE,success,,,,2.973488,2022-07-25T15:33:26.382+00:00,2022-07-25T15:33:29.356+00:00,gitlab:GitlabProject:1:44 +gitlab:GitlabJob:1:107,format,gitlab:GitlabPipeline:1:30,SUCCESS,DONE,success,,,,2.727088,2022-07-25T15:34:23.665+00:00,2022-07-25T15:34:26.392+00:00,gitlab:GitlabProject:1:44 +gitlab:GitlabJob:1:108,format,gitlab:GitlabPipeline:1:31,SUCCESS,DONE,success,,,,2.516951,2022-07-25T15:35:11.707+00:00,2022-07-25T15:35:14.224+00:00,gitlab:GitlabProject:1:44 +gitlab:GitlabJob:1:109,compile,gitlab:GitlabPipeline:1:31,SUCCESS,DONE,success,,DEPLOYMENT,PRODUCTION,3.103903,2022-07-25T15:35:14.724+00:00,2022-07-25T15:35:17.828+00:00,gitlab:GitlabProject:1:44 +gitlab:GitlabJob:1:110,format,gitlab:GitlabPipeline:1:32,SUCCESS,DONE,success,,,,2.857065,2022-07-25T15:36:18.097+00:00,2022-07-25T15:36:20.954+00:00,gitlab:GitlabProject:1:44 +gitlab:GitlabJob:1:111,format,gitlab:GitlabPipeline:1:33,SUCCESS,DONE,success,,,,3.004112,2022-07-25T15:38:03.463+00:00,2022-07-25T15:38:06.467+00:00,gitlab:GitlabProject:1:44 +gitlab:GitlabJob:1:112,format,gitlab:GitlabPipeline:1:34,SUCCESS,DONE,success,,,,3.302867,2022-07-25T21:19:14.509+00:00,2022-07-25T21:19:17.811+00:00,gitlab:GitlabProject:1:44 +gitlab:GitlabJob:1:113,format,gitlab:GitlabPipeline:1:35,SUCCESS,DONE,success,,,,5.179808,2022-07-26T09:37:05.694+00:00,2022-07-26T09:37:10.873+00:00,gitlab:GitlabProject:1:44 +gitlab:GitlabJob:1:114,format,gitlab:GitlabPipeline:1:36,SUCCESS,DONE,success,,,,2.918028,2022-07-26T09:37:38.057+00:00,2022-07-26T09:37:40.975+00:00,gitlab:GitlabProject:1:44 +gitlab:GitlabJob:1:115,format,gitlab:GitlabPipeline:1:37,SUCCESS,DONE,success,,,,3.651621,2022-07-26T09:38:29.318+00:00,2022-07-26T09:38:32.970+00:00,gitlab:GitlabProject:1:44 +gitlab:GitlabJob:1:116,format,gitlab:GitlabPipeline:1:38,SUCCESS,DONE,success,,,,3.13281,2022-07-26T21:19:13.888+00:00,2022-07-26T21:19:17.021+00:00,gitlab:GitlabProject:1:44 +gitlab:GitlabJob:1:117,format,gitlab:GitlabPipeline:1:39,SUCCESS,DONE,success,,,,3.783425,2022-07-27T08:19:24.376+00:00,2022-07-27T08:19:28.159+00:00,gitlab:GitlabProject:1:44 +gitlab:GitlabJob:1:118,format,gitlab:GitlabPipeline:1:40,SUCCESS,DONE,success,,,,4.562247,2022-07-27T21:19:32.288+00:00,2022-07-27T21:19:36.850+00:00,gitlab:GitlabProject:1:44 +gitlab:GitlabJob:1:119,format,gitlab:GitlabPipeline:1:41,FAILURE,DONE,failed,,,,0,2022-07-28T21:19:24.257+00:00,2022-07-28T23:00:17.842+00:00,gitlab:GitlabProject:1:44 +gitlab:GitlabJob:1:120,format,gitlab:GitlabPipeline:1:41,SUCCESS,DONE,success,,,,56.799878,2022-07-29T02:10:58.370+00:00,2022-07-29T02:11:55.170+00:00,gitlab:GitlabProject:1:44 +gitlab:GitlabJob:1:121,format,gitlab:GitlabPipeline:1:42,FAILURE,DONE,failed,,,,0,2022-07-29T21:19:02.884+00:00,2022-07-29T23:00:24.840+00:00,gitlab:GitlabProject:1:44 +gitlab:GitlabJob:1:122,format,gitlab:GitlabPipeline:1:43,FAILURE,DONE,failed,,,,0,2022-07-30T21:19:26.310+00:00,2022-07-30T23:00:25.126+00:00,gitlab:GitlabProject:1:44 +gitlab:GitlabJob:1:123,format,gitlab:GitlabPipeline:1:44,FAILURE,DONE,failed,,,,0,2022-07-31T21:19:05.348+00:00,2022-07-31T23:00:29.135+00:00,gitlab:GitlabProject:1:44 +gitlab:GitlabJob:1:124,format,gitlab:GitlabPipeline:1:45,FAILURE,DONE,failed,,,,0,2022-08-01T21:19:02.489+00:00,2022-08-01T23:00:22.874+00:00,gitlab:GitlabProject:1:44 +gitlab:GitlabJob:1:125,format,gitlab:GitlabPipeline:1:46,FAILURE,DONE,failed,,,,0,2022-08-02T21:19:25.568+00:00,2022-08-02T23:00:23.221+00:00,gitlab:GitlabProject:1:44 +gitlab:GitlabJob:1:126,format,gitlab:GitlabPipeline:1:47,FAILURE,DONE,failed,,,,0,2022-08-03T08:19:06.570+00:00,2022-08-03T10:00:05.573+00:00,gitlab:GitlabProject:1:44 +gitlab:GitlabJob:1:127,format,gitlab:GitlabPipeline:1:48,FAILURE,DONE,failed,,,,0,2022-08-03T21:19:21.010+00:00,2022-08-03T23:00:06.114+00:00,gitlab:GitlabProject:1:44 +gitlab:GitlabJob:1:128,format,gitlab:GitlabPipeline:1:49,FAILURE,DONE,failed,,,,0,2022-08-04T21:19:12.398+00:00,2022-08-04T23:00:25.717+00:00,gitlab:GitlabProject:1:44 +gitlab:GitlabJob:1:129,format,gitlab:GitlabPipeline:1:50,FAILURE,DONE,failed,,,,0,2022-08-05T21:19:09.648+00:00,2022-08-05T23:00:18.441+00:00,gitlab:GitlabProject:1:44 +gitlab:GitlabJob:1:130,format,gitlab:GitlabPipeline:1:51,FAILURE,DONE,failed,,,,0,2022-08-06T21:19:29.253+00:00,2022-08-06T23:00:04.246+00:00,gitlab:GitlabProject:1:44 +gitlab:GitlabJob:1:131,format,gitlab:GitlabPipeline:1:52,FAILURE,DONE,failed,,,,0,2022-08-07T21:19:33.476+00:00,2022-08-07T23:00:01.350+00:00,gitlab:GitlabProject:1:44 +gitlab:GitlabJob:1:132,format,gitlab:GitlabPipeline:1:53,FAILURE,DONE,failed,,,,0,2022-08-08T21:19:02.531+00:00,2022-08-08T23:00:30.138+00:00,gitlab:GitlabProject:1:44 +gitlab:GitlabJob:1:133,format,gitlab:GitlabPipeline:1:54,FAILURE,DONE,failed,,,,0,2022-08-09T21:19:34.379+00:00,2022-08-09T23:00:15.331+00:00,gitlab:GitlabProject:1:44 +gitlab:GitlabJob:1:134,format,gitlab:GitlabPipeline:1:55,FAILURE,DONE,failed,,,,0,2022-08-10T08:19:08.693+00:00,2022-08-10T10:00:10.203+00:00,gitlab:GitlabProject:1:44 +gitlab:GitlabJob:1:135,format,gitlab:GitlabPipeline:1:56,FAILURE,DONE,failed,,,,0,2022-08-10T21:19:05.714+00:00,2022-08-10T23:00:41.546+00:00,gitlab:GitlabProject:1:44 +gitlab:GitlabJob:1:136,format,gitlab:GitlabPipeline:1:57,FAILURE,DONE,failed,,,,0,2022-08-11T21:19:25.605+00:00,2022-08-11T23:00:08.674+00:00,gitlab:GitlabProject:1:44 +gitlab:GitlabJob:1:137,format,gitlab:GitlabPipeline:1:58,FAILURE,DONE,failed,,,,0,2022-08-12T21:19:08.350+00:00,2022-08-12T23:00:03.492+00:00,gitlab:GitlabProject:1:44 +gitlab:GitlabJob:1:138,format,gitlab:GitlabPipeline:1:59,FAILURE,DONE,failed,,,,0,2022-08-13T21:19:06.775+00:00,2022-08-13T23:00:06.728+00:00,gitlab:GitlabProject:1:44 +gitlab:GitlabJob:1:139,format,gitlab:GitlabPipeline:1:60,FAILURE,DONE,failed,,,,0,2022-08-14T21:19:07.007+00:00,2022-08-14T23:00:22.581+00:00,gitlab:GitlabProject:1:44 +gitlab:GitlabJob:1:140,format,gitlab:GitlabPipeline:1:61,FAILURE,DONE,failed,,,,0,2022-08-15T21:19:09.087+00:00,2022-08-15T23:00:31.590+00:00,gitlab:GitlabProject:1:44 +gitlab:GitlabJob:1:141,format,gitlab:GitlabPipeline:1:62,FAILURE,DONE,failed,,,,0,2022-08-16T21:19:12.248+00:00,2022-08-16T23:00:16.800+00:00,gitlab:GitlabProject:1:44 +gitlab:GitlabJob:1:142,format,gitlab:GitlabPipeline:1:63,FAILURE,DONE,failed,,,,0,2022-08-17T08:20:06.419+00:00,2022-08-17T10:00:36.594+00:00,gitlab:GitlabProject:1:44 +gitlab:GitlabJob:1:143,format,gitlab:GitlabPipeline:1:64,FAILURE,DONE,failed,,,,0,2022-08-17T21:19:11.908+00:00,2022-08-17T23:00:23.915+00:00,gitlab:GitlabProject:1:44 +gitlab:GitlabJob:1:144,format,gitlab:GitlabPipeline:1:65,FAILURE,DONE,failed,,,,0,2022-08-18T21:19:14.072+00:00,2022-08-18T23:00:26.546+00:00,gitlab:GitlabProject:1:44 +gitlab:GitlabJob:1:145,format,gitlab:GitlabPipeline:1:66,FAILURE,DONE,failed,,,,0,2022-08-19T21:19:03.364+00:00,2022-08-19T23:00:19.772+00:00,gitlab:GitlabProject:1:44 +gitlab:GitlabJob:1:146,format,gitlab:GitlabPipeline:1:67,FAILURE,DONE,failed,,,,0,2022-08-20T21:19:37.743+00:00,2022-08-20T23:00:09.418+00:00,gitlab:GitlabProject:1:44 +gitlab:GitlabJob:1:147,format,gitlab:GitlabPipeline:1:68,FAILURE,DONE,failed,,,,0,2022-08-21T21:19:02.164+00:00,2022-08-21T23:00:18.538+00:00,gitlab:GitlabProject:1:44 +gitlab:GitlabJob:1:148,format,gitlab:GitlabPipeline:1:69,FAILURE,DONE,failed,,,,0,2022-08-22T21:19:16.175+00:00,2022-08-22T23:00:08.653+00:00,gitlab:GitlabProject:1:44 +gitlab:GitlabJob:1:149,format,gitlab:GitlabPipeline:1:70,FAILURE,DONE,failed,,,,0,2022-08-23T21:19:13.313+00:00,2022-08-23T23:00:20.712+00:00,gitlab:GitlabProject:1:44 +gitlab:GitlabJob:1:150,format,gitlab:GitlabPipeline:1:71,FAILURE,DONE,failed,,,,0,2022-08-24T08:19:19.653+00:00,2022-08-24T10:00:04.660+00:00,gitlab:GitlabProject:1:44 +gitlab:GitlabJob:1:151,format,gitlab:GitlabPipeline:1:72,FAILURE,DONE,failed,,,,0,2022-08-24T21:19:29.226+00:00,2022-08-24T23:00:14.036+00:00,gitlab:GitlabProject:1:44 +gitlab:GitlabJob:1:152,format,gitlab:GitlabPipeline:1:73,FAILURE,DONE,failed,,,,0,2022-08-25T21:19:10.938+00:00,2022-08-25T23:00:08.594+00:00,gitlab:GitlabProject:1:44 +gitlab:GitlabJob:1:60,format,gitlab:GitlabPipeline:1:16,,OTHER,created,,,,0.871577,2022-07-25T13:40:42.020+00:00,2022-07-25T13:40:42.892+00:00,gitlab:GitlabProject:1:44 +gitlab:GitlabJob:1:61,format,gitlab:GitlabPipeline:1:16,,IN_PROGRESS,waiting_for_resource,,,,0.871577,2022-07-25T13:40:42.020+00:00,2022-07-25T13:40:42.892+00:00,gitlab:GitlabProject:1:44 +gitlab:GitlabJob:1:62,format,gitlab:GitlabPipeline:1:16,,IN_PROGRESS,preparing,,,,0.871577,2022-07-25T13:40:42.020+00:00,2022-07-25T13:40:42.892+00:00,gitlab:GitlabProject:1:44 +gitlab:GitlabJob:1:63,format,gitlab:GitlabPipeline:1:16,,IN_PROGRESS,pending,,,,0.871577,2022-07-25T13:40:42.020+00:00,2022-07-25T13:40:42.892+00:00,gitlab:GitlabProject:1:44 +gitlab:GitlabJob:1:64,format,gitlab:GitlabPipeline:1:16,,IN_PROGRESS,running,,,,0.871577,2022-07-25T13:40:42.020+00:00,2022-07-25T13:40:42.892+00:00,gitlab:GitlabProject:1:44 +gitlab:GitlabJob:1:65,format,gitlab:GitlabPipeline:1:16,,OTHER,manual,,,,0.871577,2022-07-25T13:40:42.020+00:00,2022-07-25T13:40:42.892+00:00,gitlab:GitlabProject:1:44 +gitlab:GitlabJob:1:66,format,gitlab:GitlabPipeline:1:16,,OTHER,scheduled,,,,0.871577,2022-07-25T13:40:42.020+00:00,2022-07-25T13:40:42.892+00:00,gitlab:GitlabProject:1:44 +gitlab:GitlabJob:1:67,format,gitlab:GitlabPipeline:1:16,,OTHER,skipped,,,,0.871577,2022-07-25T13:40:42.020+00:00,2022-07-25T13:40:42.892+00:00,gitlab:GitlabProject:1:44 +gitlab:GitlabJob:1:86,format,gitlab:GitlabPipeline:1:16,FAILURE,DONE,failed,,,,0.871577,2022-07-25T13:40:42.020+00:00,2022-07-25T13:40:42.892+00:00,gitlab:GitlabProject:1:44 +gitlab:GitlabJob:1:87,format,gitlab:GitlabPipeline:1:16,FAILURE,DONE,failed,,,,0.331067,2022-07-25T13:41:11.601+00:00,2022-07-25T13:41:11.932+00:00,gitlab:GitlabProject:1:44 +gitlab:GitlabJob:1:88,format,gitlab:GitlabPipeline:1:17,FAILURE,DONE,failed,,,,0.324175,2022-07-25T13:42:59.674+00:00,2022-07-25T13:42:59.998+00:00,gitlab:GitlabProject:1:44 +gitlab:GitlabJob:1:89,format,gitlab:GitlabPipeline:1:17,FAILURE,OTHER,canceled,,,,0,2022-07-25T13:46:15.482+00:00,2022-07-25T13:49:42.952+00:00,gitlab:GitlabProject:1:44 +gitlab:GitlabJob:1:90,format,gitlab:GitlabPipeline:1:18,FAILURE,OTHER,canceled,,,,0,2022-07-25T13:50:40.680+00:00,2022-07-25T14:19:03.023+00:00,gitlab:GitlabProject:1:44 +gitlab:GitlabJob:1:91,format,gitlab:GitlabPipeline:1:18,FAILURE,DONE,failed,,,,2.864332,2022-07-25T14:26:02.616+00:00,2022-07-25T14:26:05.480+00:00,gitlab:GitlabProject:1:44 +gitlab:GitlabJob:1:92,format,gitlab:GitlabPipeline:1:18,FAILURE,DONE,failed,,,,1.419497,2022-07-25T14:47:12.876+00:00,2022-07-25T14:47:14.295+00:00,gitlab:GitlabProject:1:44 +gitlab:GitlabJob:1:93,format,gitlab:GitlabPipeline:1:19,FAILURE,DONE,failed,,,,1.682669,2022-07-25T14:53:56.227+00:00,2022-07-25T14:53:57.910+00:00,gitlab:GitlabProject:1:44 +gitlab:GitlabJob:1:94,format,gitlab:GitlabPipeline:1:20,FAILURE,DONE,failed,,,,1.837993,2022-07-25T14:55:26.493+00:00,2022-07-25T14:55:28.331+00:00,gitlab:GitlabProject:1:44 +gitlab:GitlabJob:1:95,format,gitlab:GitlabPipeline:1:21,FAILURE,DONE,failed,,,,1.68669,2022-07-25T14:56:59.811+00:00,2022-07-25T14:57:01.498+00:00,gitlab:GitlabProject:1:44 +gitlab:GitlabJob:1:96,format,gitlab:GitlabPipeline:1:21,FAILURE,DONE,failed,,,,5.006028,2022-07-25T14:59:29.276+00:00,2022-07-25T14:59:34.282+00:00,gitlab:GitlabProject:1:44 +gitlab:GitlabJob:1:97,format,gitlab:GitlabPipeline:1:22,SUCCESS,DONE,success,,,,3.146301,2022-07-25T15:00:43.749+00:00,2022-07-25T15:00:46.895+00:00,gitlab:GitlabProject:1:44 +gitlab:GitlabJob:1:98,format,gitlab:GitlabPipeline:1:23,SUCCESS,DONE,success,,,,2.960982,2022-07-25T15:03:23.471+00:00,2022-07-25T15:03:26.432+00:00,gitlab:GitlabProject:1:44 +gitlab:GitlabJob:1:99,format,gitlab:GitlabPipeline:1:24,SUCCESS,DONE,success,,,,2.781517,2022-07-25T15:06:54.037+00:00,2022-07-25T15:06:56.819+00:00,gitlab:GitlabProject:1:44 diff --git a/backend/plugins/gitlab/e2e/snapshot_tables/cicd_tasks_no_prod_regex.csv b/backend/plugins/gitlab/e2e/snapshot_tables/cicd_tasks_no_prod_regex.csv index 2009e6d5cce..ea81458fa3e 100644 --- a/backend/plugins/gitlab/e2e/snapshot_tables/cicd_tasks_no_prod_regex.csv +++ b/backend/plugins/gitlab/e2e/snapshot_tables/cicd_tasks_no_prod_regex.csv @@ -1,76 +1,76 @@ -id,name,pipeline_id,result,status,type,environment,duration_sec,started_date,finished_date,cicd_scope_id -gitlab:GitlabJob:1:100,compile,gitlab:GitlabPipeline:1:24,SUCCESS,DONE,DEPLOYMENT,PRODUCTION,2.833629,2022-07-25T15:06:57.051+00:00,2022-07-25T15:06:59.885+00:00,gitlab:GitlabProject:1:44 -gitlab:GitlabJob:1:101,format,gitlab:GitlabPipeline:1:25,SUCCESS,DONE,,PRODUCTION,3.039853,2022-07-25T15:13:37.206+00:00,2022-07-25T15:13:40.246+00:00,gitlab:GitlabProject:1:44 -gitlab:GitlabJob:1:102,format,gitlab:GitlabPipeline:1:26,SUCCESS,DONE,,PRODUCTION,2.754626,2022-07-25T15:30:22.560+00:00,2022-07-25T15:30:25.315+00:00,gitlab:GitlabProject:1:44 -gitlab:GitlabJob:1:103,format,gitlab:GitlabPipeline:1:27,SUCCESS,DONE,,PRODUCTION,2.978188,2022-07-25T15:30:55.671+00:00,2022-07-25T15:30:58.650+00:00,gitlab:GitlabProject:1:44 -gitlab:GitlabJob:1:104,format,gitlab:GitlabPipeline:1:28,SUCCESS,DONE,,PRODUCTION,2.771923,2022-07-25T15:32:04.954+00:00,2022-07-25T15:32:07.726+00:00,gitlab:GitlabProject:1:44 -gitlab:GitlabJob:1:105,compile,gitlab:GitlabPipeline:1:28,FAILURE,DONE,DEPLOYMENT,PRODUCTION,3.124232,2022-07-25T15:32:07.953+00:00,2022-07-25T15:32:11.077+00:00,gitlab:GitlabProject:1:44 -gitlab:GitlabJob:1:106,format,gitlab:GitlabPipeline:1:29,SUCCESS,DONE,,PRODUCTION,2.973488,2022-07-25T15:33:26.382+00:00,2022-07-25T15:33:29.356+00:00,gitlab:GitlabProject:1:44 -gitlab:GitlabJob:1:107,format,gitlab:GitlabPipeline:1:30,SUCCESS,DONE,,PRODUCTION,2.727088,2022-07-25T15:34:23.665+00:00,2022-07-25T15:34:26.392+00:00,gitlab:GitlabProject:1:44 -gitlab:GitlabJob:1:108,format,gitlab:GitlabPipeline:1:31,SUCCESS,DONE,,PRODUCTION,2.516951,2022-07-25T15:35:11.707+00:00,2022-07-25T15:35:14.224+00:00,gitlab:GitlabProject:1:44 -gitlab:GitlabJob:1:109,compile,gitlab:GitlabPipeline:1:31,SUCCESS,DONE,DEPLOYMENT,PRODUCTION,3.103903,2022-07-25T15:35:14.724+00:00,2022-07-25T15:35:17.828+00:00,gitlab:GitlabProject:1:44 -gitlab:GitlabJob:1:110,format,gitlab:GitlabPipeline:1:32,SUCCESS,DONE,,PRODUCTION,2.857065,2022-07-25T15:36:18.097+00:00,2022-07-25T15:36:20.954+00:00,gitlab:GitlabProject:1:44 -gitlab:GitlabJob:1:111,format,gitlab:GitlabPipeline:1:33,SUCCESS,DONE,,PRODUCTION,3.004112,2022-07-25T15:38:03.463+00:00,2022-07-25T15:38:06.467+00:00,gitlab:GitlabProject:1:44 -gitlab:GitlabJob:1:112,format,gitlab:GitlabPipeline:1:34,SUCCESS,DONE,,PRODUCTION,3.302867,2022-07-25T21:19:14.509+00:00,2022-07-25T21:19:17.811+00:00,gitlab:GitlabProject:1:44 -gitlab:GitlabJob:1:113,format,gitlab:GitlabPipeline:1:35,SUCCESS,DONE,,PRODUCTION,5.179808,2022-07-26T09:37:05.694+00:00,2022-07-26T09:37:10.873+00:00,gitlab:GitlabProject:1:44 -gitlab:GitlabJob:1:114,format,gitlab:GitlabPipeline:1:36,SUCCESS,DONE,,PRODUCTION,2.918028,2022-07-26T09:37:38.057+00:00,2022-07-26T09:37:40.975+00:00,gitlab:GitlabProject:1:44 -gitlab:GitlabJob:1:115,format,gitlab:GitlabPipeline:1:37,SUCCESS,DONE,,PRODUCTION,3.651621,2022-07-26T09:38:29.318+00:00,2022-07-26T09:38:32.970+00:00,gitlab:GitlabProject:1:44 -gitlab:GitlabJob:1:116,format,gitlab:GitlabPipeline:1:38,SUCCESS,DONE,,PRODUCTION,3.13281,2022-07-26T21:19:13.888+00:00,2022-07-26T21:19:17.021+00:00,gitlab:GitlabProject:1:44 -gitlab:GitlabJob:1:117,format,gitlab:GitlabPipeline:1:39,SUCCESS,DONE,,PRODUCTION,3.783425,2022-07-27T08:19:24.376+00:00,2022-07-27T08:19:28.159+00:00,gitlab:GitlabProject:1:44 -gitlab:GitlabJob:1:118,format,gitlab:GitlabPipeline:1:40,SUCCESS,DONE,,PRODUCTION,4.562247,2022-07-27T21:19:32.288+00:00,2022-07-27T21:19:36.850+00:00,gitlab:GitlabProject:1:44 -gitlab:GitlabJob:1:119,format,gitlab:GitlabPipeline:1:41,FAILURE,DONE,,PRODUCTION,0,2022-07-28T21:19:24.257+00:00,2022-07-28T23:00:17.842+00:00,gitlab:GitlabProject:1:44 -gitlab:GitlabJob:1:120,format,gitlab:GitlabPipeline:1:41,SUCCESS,DONE,,PRODUCTION,56.799878,2022-07-29T02:10:58.370+00:00,2022-07-29T02:11:55.170+00:00,gitlab:GitlabProject:1:44 -gitlab:GitlabJob:1:121,format,gitlab:GitlabPipeline:1:42,FAILURE,DONE,,PRODUCTION,0,2022-07-29T21:19:02.884+00:00,2022-07-29T23:00:24.840+00:00,gitlab:GitlabProject:1:44 -gitlab:GitlabJob:1:122,format,gitlab:GitlabPipeline:1:43,FAILURE,DONE,,PRODUCTION,0,2022-07-30T21:19:26.310+00:00,2022-07-30T23:00:25.126+00:00,gitlab:GitlabProject:1:44 -gitlab:GitlabJob:1:123,format,gitlab:GitlabPipeline:1:44,FAILURE,DONE,,PRODUCTION,0,2022-07-31T21:19:05.348+00:00,2022-07-31T23:00:29.135+00:00,gitlab:GitlabProject:1:44 -gitlab:GitlabJob:1:124,format,gitlab:GitlabPipeline:1:45,FAILURE,DONE,,PRODUCTION,0,2022-08-01T21:19:02.489+00:00,2022-08-01T23:00:22.874+00:00,gitlab:GitlabProject:1:44 -gitlab:GitlabJob:1:125,format,gitlab:GitlabPipeline:1:46,FAILURE,DONE,,PRODUCTION,0,2022-08-02T21:19:25.568+00:00,2022-08-02T23:00:23.221+00:00,gitlab:GitlabProject:1:44 -gitlab:GitlabJob:1:126,format,gitlab:GitlabPipeline:1:47,FAILURE,DONE,,PRODUCTION,0,2022-08-03T08:19:06.570+00:00,2022-08-03T10:00:05.573+00:00,gitlab:GitlabProject:1:44 -gitlab:GitlabJob:1:127,format,gitlab:GitlabPipeline:1:48,FAILURE,DONE,,PRODUCTION,0,2022-08-03T21:19:21.010+00:00,2022-08-03T23:00:06.114+00:00,gitlab:GitlabProject:1:44 -gitlab:GitlabJob:1:128,format,gitlab:GitlabPipeline:1:49,FAILURE,DONE,,PRODUCTION,0,2022-08-04T21:19:12.398+00:00,2022-08-04T23:00:25.717+00:00,gitlab:GitlabProject:1:44 -gitlab:GitlabJob:1:129,format,gitlab:GitlabPipeline:1:50,FAILURE,DONE,,PRODUCTION,0,2022-08-05T21:19:09.648+00:00,2022-08-05T23:00:18.441+00:00,gitlab:GitlabProject:1:44 -gitlab:GitlabJob:1:130,format,gitlab:GitlabPipeline:1:51,FAILURE,DONE,,PRODUCTION,0,2022-08-06T21:19:29.253+00:00,2022-08-06T23:00:04.246+00:00,gitlab:GitlabProject:1:44 -gitlab:GitlabJob:1:131,format,gitlab:GitlabPipeline:1:52,FAILURE,DONE,,PRODUCTION,0,2022-08-07T21:19:33.476+00:00,2022-08-07T23:00:01.350+00:00,gitlab:GitlabProject:1:44 -gitlab:GitlabJob:1:132,format,gitlab:GitlabPipeline:1:53,FAILURE,DONE,,PRODUCTION,0,2022-08-08T21:19:02.531+00:00,2022-08-08T23:00:30.138+00:00,gitlab:GitlabProject:1:44 -gitlab:GitlabJob:1:133,format,gitlab:GitlabPipeline:1:54,FAILURE,DONE,,PRODUCTION,0,2022-08-09T21:19:34.379+00:00,2022-08-09T23:00:15.331+00:00,gitlab:GitlabProject:1:44 -gitlab:GitlabJob:1:134,format,gitlab:GitlabPipeline:1:55,FAILURE,DONE,,PRODUCTION,0,2022-08-10T08:19:08.693+00:00,2022-08-10T10:00:10.203+00:00,gitlab:GitlabProject:1:44 -gitlab:GitlabJob:1:135,format,gitlab:GitlabPipeline:1:56,FAILURE,DONE,,PRODUCTION,0,2022-08-10T21:19:05.714+00:00,2022-08-10T23:00:41.546+00:00,gitlab:GitlabProject:1:44 -gitlab:GitlabJob:1:136,format,gitlab:GitlabPipeline:1:57,FAILURE,DONE,,PRODUCTION,0,2022-08-11T21:19:25.605+00:00,2022-08-11T23:00:08.674+00:00,gitlab:GitlabProject:1:44 -gitlab:GitlabJob:1:137,format,gitlab:GitlabPipeline:1:58,FAILURE,DONE,,PRODUCTION,0,2022-08-12T21:19:08.350+00:00,2022-08-12T23:00:03.492+00:00,gitlab:GitlabProject:1:44 -gitlab:GitlabJob:1:138,format,gitlab:GitlabPipeline:1:59,FAILURE,DONE,,PRODUCTION,0,2022-08-13T21:19:06.775+00:00,2022-08-13T23:00:06.728+00:00,gitlab:GitlabProject:1:44 -gitlab:GitlabJob:1:139,format,gitlab:GitlabPipeline:1:60,FAILURE,DONE,,PRODUCTION,0,2022-08-14T21:19:07.007+00:00,2022-08-14T23:00:22.581+00:00,gitlab:GitlabProject:1:44 -gitlab:GitlabJob:1:140,format,gitlab:GitlabPipeline:1:61,FAILURE,DONE,,PRODUCTION,0,2022-08-15T21:19:09.087+00:00,2022-08-15T23:00:31.590+00:00,gitlab:GitlabProject:1:44 -gitlab:GitlabJob:1:141,format,gitlab:GitlabPipeline:1:62,FAILURE,DONE,,PRODUCTION,0,2022-08-16T21:19:12.248+00:00,2022-08-16T23:00:16.800+00:00,gitlab:GitlabProject:1:44 -gitlab:GitlabJob:1:142,format,gitlab:GitlabPipeline:1:63,FAILURE,DONE,,PRODUCTION,0,2022-08-17T08:20:06.419+00:00,2022-08-17T10:00:36.594+00:00,gitlab:GitlabProject:1:44 -gitlab:GitlabJob:1:143,format,gitlab:GitlabPipeline:1:64,FAILURE,DONE,,PRODUCTION,0,2022-08-17T21:19:11.908+00:00,2022-08-17T23:00:23.915+00:00,gitlab:GitlabProject:1:44 -gitlab:GitlabJob:1:144,format,gitlab:GitlabPipeline:1:65,FAILURE,DONE,,PRODUCTION,0,2022-08-18T21:19:14.072+00:00,2022-08-18T23:00:26.546+00:00,gitlab:GitlabProject:1:44 -gitlab:GitlabJob:1:145,format,gitlab:GitlabPipeline:1:66,FAILURE,DONE,,PRODUCTION,0,2022-08-19T21:19:03.364+00:00,2022-08-19T23:00:19.772+00:00,gitlab:GitlabProject:1:44 -gitlab:GitlabJob:1:146,format,gitlab:GitlabPipeline:1:67,FAILURE,DONE,,PRODUCTION,0,2022-08-20T21:19:37.743+00:00,2022-08-20T23:00:09.418+00:00,gitlab:GitlabProject:1:44 -gitlab:GitlabJob:1:147,format,gitlab:GitlabPipeline:1:68,FAILURE,DONE,,PRODUCTION,0,2022-08-21T21:19:02.164+00:00,2022-08-21T23:00:18.538+00:00,gitlab:GitlabProject:1:44 -gitlab:GitlabJob:1:148,format,gitlab:GitlabPipeline:1:69,FAILURE,DONE,,PRODUCTION,0,2022-08-22T21:19:16.175+00:00,2022-08-22T23:00:08.653+00:00,gitlab:GitlabProject:1:44 -gitlab:GitlabJob:1:149,format,gitlab:GitlabPipeline:1:70,FAILURE,DONE,,PRODUCTION,0,2022-08-23T21:19:13.313+00:00,2022-08-23T23:00:20.712+00:00,gitlab:GitlabProject:1:44 -gitlab:GitlabJob:1:150,format,gitlab:GitlabPipeline:1:71,FAILURE,DONE,,PRODUCTION,0,2022-08-24T08:19:19.653+00:00,2022-08-24T10:00:04.660+00:00,gitlab:GitlabProject:1:44 -gitlab:GitlabJob:1:151,format,gitlab:GitlabPipeline:1:72,FAILURE,DONE,,PRODUCTION,0,2022-08-24T21:19:29.226+00:00,2022-08-24T23:00:14.036+00:00,gitlab:GitlabProject:1:44 -gitlab:GitlabJob:1:152,format,gitlab:GitlabPipeline:1:73,FAILURE,DONE,,PRODUCTION,0,2022-08-25T21:19:10.938+00:00,2022-08-25T23:00:08.594+00:00,gitlab:GitlabProject:1:44 -gitlab:GitlabJob:1:60,format,gitlab:GitlabPipeline:1:16,,OTHER,,PRODUCTION,0.871577,2022-07-25T13:40:42.020+00:00,2022-07-25T13:40:42.892+00:00,gitlab:GitlabProject:1:44 -gitlab:GitlabJob:1:61,format,gitlab:GitlabPipeline:1:16,,IN_PROGRESS,,PRODUCTION,0.871577,2022-07-25T13:40:42.020+00:00,2022-07-25T13:40:42.892+00:00,gitlab:GitlabProject:1:44 -gitlab:GitlabJob:1:62,format,gitlab:GitlabPipeline:1:16,,IN_PROGRESS,,PRODUCTION,0.871577,2022-07-25T13:40:42.020+00:00,2022-07-25T13:40:42.892+00:00,gitlab:GitlabProject:1:44 -gitlab:GitlabJob:1:63,format,gitlab:GitlabPipeline:1:16,,IN_PROGRESS,,PRODUCTION,0.871577,2022-07-25T13:40:42.020+00:00,2022-07-25T13:40:42.892+00:00,gitlab:GitlabProject:1:44 -gitlab:GitlabJob:1:64,format,gitlab:GitlabPipeline:1:16,,IN_PROGRESS,,PRODUCTION,0.871577,2022-07-25T13:40:42.020+00:00,2022-07-25T13:40:42.892+00:00,gitlab:GitlabProject:1:44 -gitlab:GitlabJob:1:65,format,gitlab:GitlabPipeline:1:16,,OTHER,,PRODUCTION,0.871577,2022-07-25T13:40:42.020+00:00,2022-07-25T13:40:42.892+00:00,gitlab:GitlabProject:1:44 -gitlab:GitlabJob:1:66,format,gitlab:GitlabPipeline:1:16,,OTHER,,PRODUCTION,0.871577,2022-07-25T13:40:42.020+00:00,2022-07-25T13:40:42.892+00:00,gitlab:GitlabProject:1:44 -gitlab:GitlabJob:1:67,format,gitlab:GitlabPipeline:1:16,,OTHER,,PRODUCTION,0.871577,2022-07-25T13:40:42.020+00:00,2022-07-25T13:40:42.892+00:00,gitlab:GitlabProject:1:44 -gitlab:GitlabJob:1:86,format,gitlab:GitlabPipeline:1:16,FAILURE,DONE,,PRODUCTION,0.871577,2022-07-25T13:40:42.020+00:00,2022-07-25T13:40:42.892+00:00,gitlab:GitlabProject:1:44 -gitlab:GitlabJob:1:87,format,gitlab:GitlabPipeline:1:16,FAILURE,DONE,,PRODUCTION,0.331067,2022-07-25T13:41:11.601+00:00,2022-07-25T13:41:11.932+00:00,gitlab:GitlabProject:1:44 -gitlab:GitlabJob:1:88,format,gitlab:GitlabPipeline:1:17,FAILURE,DONE,,PRODUCTION,0.324175,2022-07-25T13:42:59.674+00:00,2022-07-25T13:42:59.998+00:00,gitlab:GitlabProject:1:44 -gitlab:GitlabJob:1:89,format,gitlab:GitlabPipeline:1:17,FAILURE,OTHER,,PRODUCTION,0,2022-07-25T13:46:15.482+00:00,2022-07-25T13:49:42.952+00:00,gitlab:GitlabProject:1:44 -gitlab:GitlabJob:1:90,format,gitlab:GitlabPipeline:1:18,FAILURE,OTHER,,PRODUCTION,0,2022-07-25T13:50:40.680+00:00,2022-07-25T14:19:03.023+00:00,gitlab:GitlabProject:1:44 -gitlab:GitlabJob:1:91,format,gitlab:GitlabPipeline:1:18,FAILURE,DONE,,PRODUCTION,2.864332,2022-07-25T14:26:02.616+00:00,2022-07-25T14:26:05.480+00:00,gitlab:GitlabProject:1:44 -gitlab:GitlabJob:1:92,format,gitlab:GitlabPipeline:1:18,FAILURE,DONE,,PRODUCTION,1.419497,2022-07-25T14:47:12.876+00:00,2022-07-25T14:47:14.295+00:00,gitlab:GitlabProject:1:44 -gitlab:GitlabJob:1:93,format,gitlab:GitlabPipeline:1:19,FAILURE,DONE,,PRODUCTION,1.682669,2022-07-25T14:53:56.227+00:00,2022-07-25T14:53:57.910+00:00,gitlab:GitlabProject:1:44 -gitlab:GitlabJob:1:94,format,gitlab:GitlabPipeline:1:20,FAILURE,DONE,,PRODUCTION,1.837993,2022-07-25T14:55:26.493+00:00,2022-07-25T14:55:28.331+00:00,gitlab:GitlabProject:1:44 -gitlab:GitlabJob:1:95,format,gitlab:GitlabPipeline:1:21,FAILURE,DONE,,PRODUCTION,1.68669,2022-07-25T14:56:59.811+00:00,2022-07-25T14:57:01.498+00:00,gitlab:GitlabProject:1:44 -gitlab:GitlabJob:1:96,format,gitlab:GitlabPipeline:1:21,FAILURE,DONE,,PRODUCTION,5.006028,2022-07-25T14:59:29.276+00:00,2022-07-25T14:59:34.282+00:00,gitlab:GitlabProject:1:44 -gitlab:GitlabJob:1:97,format,gitlab:GitlabPipeline:1:22,SUCCESS,DONE,,PRODUCTION,3.146301,2022-07-25T15:00:43.749+00:00,2022-07-25T15:00:46.895+00:00,gitlab:GitlabProject:1:44 -gitlab:GitlabJob:1:98,format,gitlab:GitlabPipeline:1:23,SUCCESS,DONE,,PRODUCTION,2.960982,2022-07-25T15:03:23.471+00:00,2022-07-25T15:03:26.432+00:00,gitlab:GitlabProject:1:44 -gitlab:GitlabJob:1:99,format,gitlab:GitlabPipeline:1:24,SUCCESS,DONE,,PRODUCTION,2.781517,2022-07-25T15:06:54.037+00:00,2022-07-25T15:06:56.819+00:00,gitlab:GitlabProject:1:44 +id,name,pipeline_id,result,status,original_status,original_result,type,environment,duration_sec,started_date,finished_date,cicd_scope_id +gitlab:GitlabJob:1:100,compile,gitlab:GitlabPipeline:1:24,SUCCESS,DONE,success,,DEPLOYMENT,PRODUCTION,2.833629,2022-07-25T15:06:57.051+00:00,2022-07-25T15:06:59.885+00:00,gitlab:GitlabProject:1:44 +gitlab:GitlabJob:1:101,format,gitlab:GitlabPipeline:1:25,SUCCESS,DONE,success,,,PRODUCTION,3.039853,2022-07-25T15:13:37.206+00:00,2022-07-25T15:13:40.246+00:00,gitlab:GitlabProject:1:44 +gitlab:GitlabJob:1:102,format,gitlab:GitlabPipeline:1:26,SUCCESS,DONE,success,,,PRODUCTION,2.754626,2022-07-25T15:30:22.560+00:00,2022-07-25T15:30:25.315+00:00,gitlab:GitlabProject:1:44 +gitlab:GitlabJob:1:103,format,gitlab:GitlabPipeline:1:27,SUCCESS,DONE,success,,,PRODUCTION,2.978188,2022-07-25T15:30:55.671+00:00,2022-07-25T15:30:58.650+00:00,gitlab:GitlabProject:1:44 +gitlab:GitlabJob:1:104,format,gitlab:GitlabPipeline:1:28,SUCCESS,DONE,success,,,PRODUCTION,2.771923,2022-07-25T15:32:04.954+00:00,2022-07-25T15:32:07.726+00:00,gitlab:GitlabProject:1:44 +gitlab:GitlabJob:1:105,compile,gitlab:GitlabPipeline:1:28,FAILURE,DONE,failed,,DEPLOYMENT,PRODUCTION,3.124232,2022-07-25T15:32:07.953+00:00,2022-07-25T15:32:11.077+00:00,gitlab:GitlabProject:1:44 +gitlab:GitlabJob:1:106,format,gitlab:GitlabPipeline:1:29,SUCCESS,DONE,success,,,PRODUCTION,2.973488,2022-07-25T15:33:26.382+00:00,2022-07-25T15:33:29.356+00:00,gitlab:GitlabProject:1:44 +gitlab:GitlabJob:1:107,format,gitlab:GitlabPipeline:1:30,SUCCESS,DONE,success,,,PRODUCTION,2.727088,2022-07-25T15:34:23.665+00:00,2022-07-25T15:34:26.392+00:00,gitlab:GitlabProject:1:44 +gitlab:GitlabJob:1:108,format,gitlab:GitlabPipeline:1:31,SUCCESS,DONE,success,,,PRODUCTION,2.516951,2022-07-25T15:35:11.707+00:00,2022-07-25T15:35:14.224+00:00,gitlab:GitlabProject:1:44 +gitlab:GitlabJob:1:109,compile,gitlab:GitlabPipeline:1:31,SUCCESS,DONE,success,,DEPLOYMENT,PRODUCTION,3.103903,2022-07-25T15:35:14.724+00:00,2022-07-25T15:35:17.828+00:00,gitlab:GitlabProject:1:44 +gitlab:GitlabJob:1:110,format,gitlab:GitlabPipeline:1:32,SUCCESS,DONE,success,,,PRODUCTION,2.857065,2022-07-25T15:36:18.097+00:00,2022-07-25T15:36:20.954+00:00,gitlab:GitlabProject:1:44 +gitlab:GitlabJob:1:111,format,gitlab:GitlabPipeline:1:33,SUCCESS,DONE,success,,,PRODUCTION,3.004112,2022-07-25T15:38:03.463+00:00,2022-07-25T15:38:06.467+00:00,gitlab:GitlabProject:1:44 +gitlab:GitlabJob:1:112,format,gitlab:GitlabPipeline:1:34,SUCCESS,DONE,success,,,PRODUCTION,3.302867,2022-07-25T21:19:14.509+00:00,2022-07-25T21:19:17.811+00:00,gitlab:GitlabProject:1:44 +gitlab:GitlabJob:1:113,format,gitlab:GitlabPipeline:1:35,SUCCESS,DONE,success,,,PRODUCTION,5.179808,2022-07-26T09:37:05.694+00:00,2022-07-26T09:37:10.873+00:00,gitlab:GitlabProject:1:44 +gitlab:GitlabJob:1:114,format,gitlab:GitlabPipeline:1:36,SUCCESS,DONE,success,,,PRODUCTION,2.918028,2022-07-26T09:37:38.057+00:00,2022-07-26T09:37:40.975+00:00,gitlab:GitlabProject:1:44 +gitlab:GitlabJob:1:115,format,gitlab:GitlabPipeline:1:37,SUCCESS,DONE,success,,,PRODUCTION,3.651621,2022-07-26T09:38:29.318+00:00,2022-07-26T09:38:32.970+00:00,gitlab:GitlabProject:1:44 +gitlab:GitlabJob:1:116,format,gitlab:GitlabPipeline:1:38,SUCCESS,DONE,success,,,PRODUCTION,3.13281,2022-07-26T21:19:13.888+00:00,2022-07-26T21:19:17.021+00:00,gitlab:GitlabProject:1:44 +gitlab:GitlabJob:1:117,format,gitlab:GitlabPipeline:1:39,SUCCESS,DONE,success,,,PRODUCTION,3.783425,2022-07-27T08:19:24.376+00:00,2022-07-27T08:19:28.159+00:00,gitlab:GitlabProject:1:44 +gitlab:GitlabJob:1:118,format,gitlab:GitlabPipeline:1:40,SUCCESS,DONE,success,,,PRODUCTION,4.562247,2022-07-27T21:19:32.288+00:00,2022-07-27T21:19:36.850+00:00,gitlab:GitlabProject:1:44 +gitlab:GitlabJob:1:119,format,gitlab:GitlabPipeline:1:41,FAILURE,DONE,failed,,,PRODUCTION,0,2022-07-28T21:19:24.257+00:00,2022-07-28T23:00:17.842+00:00,gitlab:GitlabProject:1:44 +gitlab:GitlabJob:1:120,format,gitlab:GitlabPipeline:1:41,SUCCESS,DONE,success,,,PRODUCTION,56.799878,2022-07-29T02:10:58.370+00:00,2022-07-29T02:11:55.170+00:00,gitlab:GitlabProject:1:44 +gitlab:GitlabJob:1:121,format,gitlab:GitlabPipeline:1:42,FAILURE,DONE,failed,,,PRODUCTION,0,2022-07-29T21:19:02.884+00:00,2022-07-29T23:00:24.840+00:00,gitlab:GitlabProject:1:44 +gitlab:GitlabJob:1:122,format,gitlab:GitlabPipeline:1:43,FAILURE,DONE,failed,,,PRODUCTION,0,2022-07-30T21:19:26.310+00:00,2022-07-30T23:00:25.126+00:00,gitlab:GitlabProject:1:44 +gitlab:GitlabJob:1:123,format,gitlab:GitlabPipeline:1:44,FAILURE,DONE,failed,,,PRODUCTION,0,2022-07-31T21:19:05.348+00:00,2022-07-31T23:00:29.135+00:00,gitlab:GitlabProject:1:44 +gitlab:GitlabJob:1:124,format,gitlab:GitlabPipeline:1:45,FAILURE,DONE,failed,,,PRODUCTION,0,2022-08-01T21:19:02.489+00:00,2022-08-01T23:00:22.874+00:00,gitlab:GitlabProject:1:44 +gitlab:GitlabJob:1:125,format,gitlab:GitlabPipeline:1:46,FAILURE,DONE,failed,,,PRODUCTION,0,2022-08-02T21:19:25.568+00:00,2022-08-02T23:00:23.221+00:00,gitlab:GitlabProject:1:44 +gitlab:GitlabJob:1:126,format,gitlab:GitlabPipeline:1:47,FAILURE,DONE,failed,,,PRODUCTION,0,2022-08-03T08:19:06.570+00:00,2022-08-03T10:00:05.573+00:00,gitlab:GitlabProject:1:44 +gitlab:GitlabJob:1:127,format,gitlab:GitlabPipeline:1:48,FAILURE,DONE,failed,,,PRODUCTION,0,2022-08-03T21:19:21.010+00:00,2022-08-03T23:00:06.114+00:00,gitlab:GitlabProject:1:44 +gitlab:GitlabJob:1:128,format,gitlab:GitlabPipeline:1:49,FAILURE,DONE,failed,,,PRODUCTION,0,2022-08-04T21:19:12.398+00:00,2022-08-04T23:00:25.717+00:00,gitlab:GitlabProject:1:44 +gitlab:GitlabJob:1:129,format,gitlab:GitlabPipeline:1:50,FAILURE,DONE,failed,,,PRODUCTION,0,2022-08-05T21:19:09.648+00:00,2022-08-05T23:00:18.441+00:00,gitlab:GitlabProject:1:44 +gitlab:GitlabJob:1:130,format,gitlab:GitlabPipeline:1:51,FAILURE,DONE,failed,,,PRODUCTION,0,2022-08-06T21:19:29.253+00:00,2022-08-06T23:00:04.246+00:00,gitlab:GitlabProject:1:44 +gitlab:GitlabJob:1:131,format,gitlab:GitlabPipeline:1:52,FAILURE,DONE,failed,,,PRODUCTION,0,2022-08-07T21:19:33.476+00:00,2022-08-07T23:00:01.350+00:00,gitlab:GitlabProject:1:44 +gitlab:GitlabJob:1:132,format,gitlab:GitlabPipeline:1:53,FAILURE,DONE,failed,,,PRODUCTION,0,2022-08-08T21:19:02.531+00:00,2022-08-08T23:00:30.138+00:00,gitlab:GitlabProject:1:44 +gitlab:GitlabJob:1:133,format,gitlab:GitlabPipeline:1:54,FAILURE,DONE,failed,,,PRODUCTION,0,2022-08-09T21:19:34.379+00:00,2022-08-09T23:00:15.331+00:00,gitlab:GitlabProject:1:44 +gitlab:GitlabJob:1:134,format,gitlab:GitlabPipeline:1:55,FAILURE,DONE,failed,,,PRODUCTION,0,2022-08-10T08:19:08.693+00:00,2022-08-10T10:00:10.203+00:00,gitlab:GitlabProject:1:44 +gitlab:GitlabJob:1:135,format,gitlab:GitlabPipeline:1:56,FAILURE,DONE,failed,,,PRODUCTION,0,2022-08-10T21:19:05.714+00:00,2022-08-10T23:00:41.546+00:00,gitlab:GitlabProject:1:44 +gitlab:GitlabJob:1:136,format,gitlab:GitlabPipeline:1:57,FAILURE,DONE,failed,,,PRODUCTION,0,2022-08-11T21:19:25.605+00:00,2022-08-11T23:00:08.674+00:00,gitlab:GitlabProject:1:44 +gitlab:GitlabJob:1:137,format,gitlab:GitlabPipeline:1:58,FAILURE,DONE,failed,,,PRODUCTION,0,2022-08-12T21:19:08.350+00:00,2022-08-12T23:00:03.492+00:00,gitlab:GitlabProject:1:44 +gitlab:GitlabJob:1:138,format,gitlab:GitlabPipeline:1:59,FAILURE,DONE,failed,,,PRODUCTION,0,2022-08-13T21:19:06.775+00:00,2022-08-13T23:00:06.728+00:00,gitlab:GitlabProject:1:44 +gitlab:GitlabJob:1:139,format,gitlab:GitlabPipeline:1:60,FAILURE,DONE,failed,,,PRODUCTION,0,2022-08-14T21:19:07.007+00:00,2022-08-14T23:00:22.581+00:00,gitlab:GitlabProject:1:44 +gitlab:GitlabJob:1:140,format,gitlab:GitlabPipeline:1:61,FAILURE,DONE,failed,,,PRODUCTION,0,2022-08-15T21:19:09.087+00:00,2022-08-15T23:00:31.590+00:00,gitlab:GitlabProject:1:44 +gitlab:GitlabJob:1:141,format,gitlab:GitlabPipeline:1:62,FAILURE,DONE,failed,,,PRODUCTION,0,2022-08-16T21:19:12.248+00:00,2022-08-16T23:00:16.800+00:00,gitlab:GitlabProject:1:44 +gitlab:GitlabJob:1:142,format,gitlab:GitlabPipeline:1:63,FAILURE,DONE,failed,,,PRODUCTION,0,2022-08-17T08:20:06.419+00:00,2022-08-17T10:00:36.594+00:00,gitlab:GitlabProject:1:44 +gitlab:GitlabJob:1:143,format,gitlab:GitlabPipeline:1:64,FAILURE,DONE,failed,,,PRODUCTION,0,2022-08-17T21:19:11.908+00:00,2022-08-17T23:00:23.915+00:00,gitlab:GitlabProject:1:44 +gitlab:GitlabJob:1:144,format,gitlab:GitlabPipeline:1:65,FAILURE,DONE,failed,,,PRODUCTION,0,2022-08-18T21:19:14.072+00:00,2022-08-18T23:00:26.546+00:00,gitlab:GitlabProject:1:44 +gitlab:GitlabJob:1:145,format,gitlab:GitlabPipeline:1:66,FAILURE,DONE,failed,,,PRODUCTION,0,2022-08-19T21:19:03.364+00:00,2022-08-19T23:00:19.772+00:00,gitlab:GitlabProject:1:44 +gitlab:GitlabJob:1:146,format,gitlab:GitlabPipeline:1:67,FAILURE,DONE,failed,,,PRODUCTION,0,2022-08-20T21:19:37.743+00:00,2022-08-20T23:00:09.418+00:00,gitlab:GitlabProject:1:44 +gitlab:GitlabJob:1:147,format,gitlab:GitlabPipeline:1:68,FAILURE,DONE,failed,,,PRODUCTION,0,2022-08-21T21:19:02.164+00:00,2022-08-21T23:00:18.538+00:00,gitlab:GitlabProject:1:44 +gitlab:GitlabJob:1:148,format,gitlab:GitlabPipeline:1:69,FAILURE,DONE,failed,,,PRODUCTION,0,2022-08-22T21:19:16.175+00:00,2022-08-22T23:00:08.653+00:00,gitlab:GitlabProject:1:44 +gitlab:GitlabJob:1:149,format,gitlab:GitlabPipeline:1:70,FAILURE,DONE,failed,,,PRODUCTION,0,2022-08-23T21:19:13.313+00:00,2022-08-23T23:00:20.712+00:00,gitlab:GitlabProject:1:44 +gitlab:GitlabJob:1:150,format,gitlab:GitlabPipeline:1:71,FAILURE,DONE,failed,,,PRODUCTION,0,2022-08-24T08:19:19.653+00:00,2022-08-24T10:00:04.660+00:00,gitlab:GitlabProject:1:44 +gitlab:GitlabJob:1:151,format,gitlab:GitlabPipeline:1:72,FAILURE,DONE,failed,,,PRODUCTION,0,2022-08-24T21:19:29.226+00:00,2022-08-24T23:00:14.036+00:00,gitlab:GitlabProject:1:44 +gitlab:GitlabJob:1:152,format,gitlab:GitlabPipeline:1:73,FAILURE,DONE,failed,,,PRODUCTION,0,2022-08-25T21:19:10.938+00:00,2022-08-25T23:00:08.594+00:00,gitlab:GitlabProject:1:44 +gitlab:GitlabJob:1:60,format,gitlab:GitlabPipeline:1:16,,OTHER,created,,,PRODUCTION,0.871577,2022-07-25T13:40:42.020+00:00,2022-07-25T13:40:42.892+00:00,gitlab:GitlabProject:1:44 +gitlab:GitlabJob:1:61,format,gitlab:GitlabPipeline:1:16,,IN_PROGRESS,waiting_for_resource,,,PRODUCTION,0.871577,2022-07-25T13:40:42.020+00:00,2022-07-25T13:40:42.892+00:00,gitlab:GitlabProject:1:44 +gitlab:GitlabJob:1:62,format,gitlab:GitlabPipeline:1:16,,IN_PROGRESS,preparing,,,PRODUCTION,0.871577,2022-07-25T13:40:42.020+00:00,2022-07-25T13:40:42.892+00:00,gitlab:GitlabProject:1:44 +gitlab:GitlabJob:1:63,format,gitlab:GitlabPipeline:1:16,,IN_PROGRESS,pending,,,PRODUCTION,0.871577,2022-07-25T13:40:42.020+00:00,2022-07-25T13:40:42.892+00:00,gitlab:GitlabProject:1:44 +gitlab:GitlabJob:1:64,format,gitlab:GitlabPipeline:1:16,,IN_PROGRESS,running,,,PRODUCTION,0.871577,2022-07-25T13:40:42.020+00:00,2022-07-25T13:40:42.892+00:00,gitlab:GitlabProject:1:44 +gitlab:GitlabJob:1:65,format,gitlab:GitlabPipeline:1:16,,OTHER,manual,,,PRODUCTION,0.871577,2022-07-25T13:40:42.020+00:00,2022-07-25T13:40:42.892+00:00,gitlab:GitlabProject:1:44 +gitlab:GitlabJob:1:66,format,gitlab:GitlabPipeline:1:16,,OTHER,scheduled,,,PRODUCTION,0.871577,2022-07-25T13:40:42.020+00:00,2022-07-25T13:40:42.892+00:00,gitlab:GitlabProject:1:44 +gitlab:GitlabJob:1:67,format,gitlab:GitlabPipeline:1:16,,OTHER,skipped,,,PRODUCTION,0.871577,2022-07-25T13:40:42.020+00:00,2022-07-25T13:40:42.892+00:00,gitlab:GitlabProject:1:44 +gitlab:GitlabJob:1:86,format,gitlab:GitlabPipeline:1:16,FAILURE,DONE,failed,,,PRODUCTION,0.871577,2022-07-25T13:40:42.020+00:00,2022-07-25T13:40:42.892+00:00,gitlab:GitlabProject:1:44 +gitlab:GitlabJob:1:87,format,gitlab:GitlabPipeline:1:16,FAILURE,DONE,failed,,,PRODUCTION,0.331067,2022-07-25T13:41:11.601+00:00,2022-07-25T13:41:11.932+00:00,gitlab:GitlabProject:1:44 +gitlab:GitlabJob:1:88,format,gitlab:GitlabPipeline:1:17,FAILURE,DONE,failed,,,PRODUCTION,0.324175,2022-07-25T13:42:59.674+00:00,2022-07-25T13:42:59.998+00:00,gitlab:GitlabProject:1:44 +gitlab:GitlabJob:1:89,format,gitlab:GitlabPipeline:1:17,FAILURE,OTHER,canceled,,,PRODUCTION,0,2022-07-25T13:46:15.482+00:00,2022-07-25T13:49:42.952+00:00,gitlab:GitlabProject:1:44 +gitlab:GitlabJob:1:90,format,gitlab:GitlabPipeline:1:18,FAILURE,OTHER,canceled,,,PRODUCTION,0,2022-07-25T13:50:40.680+00:00,2022-07-25T14:19:03.023+00:00,gitlab:GitlabProject:1:44 +gitlab:GitlabJob:1:91,format,gitlab:GitlabPipeline:1:18,FAILURE,DONE,failed,,,PRODUCTION,2.864332,2022-07-25T14:26:02.616+00:00,2022-07-25T14:26:05.480+00:00,gitlab:GitlabProject:1:44 +gitlab:GitlabJob:1:92,format,gitlab:GitlabPipeline:1:18,FAILURE,DONE,failed,,,PRODUCTION,1.419497,2022-07-25T14:47:12.876+00:00,2022-07-25T14:47:14.295+00:00,gitlab:GitlabProject:1:44 +gitlab:GitlabJob:1:93,format,gitlab:GitlabPipeline:1:19,FAILURE,DONE,failed,,,PRODUCTION,1.682669,2022-07-25T14:53:56.227+00:00,2022-07-25T14:53:57.910+00:00,gitlab:GitlabProject:1:44 +gitlab:GitlabJob:1:94,format,gitlab:GitlabPipeline:1:20,FAILURE,DONE,failed,,,PRODUCTION,1.837993,2022-07-25T14:55:26.493+00:00,2022-07-25T14:55:28.331+00:00,gitlab:GitlabProject:1:44 +gitlab:GitlabJob:1:95,format,gitlab:GitlabPipeline:1:21,FAILURE,DONE,failed,,,PRODUCTION,1.68669,2022-07-25T14:56:59.811+00:00,2022-07-25T14:57:01.498+00:00,gitlab:GitlabProject:1:44 +gitlab:GitlabJob:1:96,format,gitlab:GitlabPipeline:1:21,FAILURE,DONE,failed,,,PRODUCTION,5.006028,2022-07-25T14:59:29.276+00:00,2022-07-25T14:59:34.282+00:00,gitlab:GitlabProject:1:44 +gitlab:GitlabJob:1:97,format,gitlab:GitlabPipeline:1:22,SUCCESS,DONE,success,,,PRODUCTION,3.146301,2022-07-25T15:00:43.749+00:00,2022-07-25T15:00:46.895+00:00,gitlab:GitlabProject:1:44 +gitlab:GitlabJob:1:98,format,gitlab:GitlabPipeline:1:23,SUCCESS,DONE,success,,,PRODUCTION,2.960982,2022-07-25T15:03:23.471+00:00,2022-07-25T15:03:26.432+00:00,gitlab:GitlabProject:1:44 +gitlab:GitlabJob:1:99,format,gitlab:GitlabPipeline:1:24,SUCCESS,DONE,success,,,PRODUCTION,2.781517,2022-07-25T15:06:54.037+00:00,2022-07-25T15:06:56.819+00:00,gitlab:GitlabProject:1:44 diff --git a/backend/plugins/gitlab/tasks/deployment_convertor.go b/backend/plugins/gitlab/tasks/deployment_convertor.go index 81d9b0b613c..e2d20242461 100644 --- a/backend/plugins/gitlab/tasks/deployment_convertor.go +++ b/backend/plugins/gitlab/tasks/deployment_convertor.go @@ -103,14 +103,15 @@ func ConvertDeployment(taskCtx plugin.SubTaskContext) errors.Error { InProgress: []string{StatusRunning}, Default: devops.STATUS_OTHER, }, gitlabDeployment.Status), - Environment: gitlabDeployment.Environment, - CreatedDate: gitlabDeployment.CreatedDate, - StartedDate: gitlabDeployment.DeployableStartedAt, - FinishedDate: gitlabDeployment.DeployableFinishedAt, - CommitSha: gitlabDeployment.Sha, - RefName: gitlabDeployment.Ref, - RepoId: projectIdGen.Generate(data.Options.ConnectionId, data.Options.ProjectId), - RepoUrl: repo.WebUrl, + OriginalStatus: gitlabDeployment.Status, + Environment: gitlabDeployment.Environment, + CreatedDate: gitlabDeployment.CreatedDate, + StartedDate: gitlabDeployment.DeployableStartedAt, + FinishedDate: gitlabDeployment.DeployableFinishedAt, + CommitSha: gitlabDeployment.Sha, + RefName: gitlabDeployment.Ref, + RepoId: projectIdGen.Generate(data.Options.ConnectionId, data.Options.ProjectId), + RepoUrl: repo.WebUrl, } if duration != nil { domainDeployCommit.DurationSec = duration diff --git a/backend/plugins/gitlab/tasks/job_convertor.go b/backend/plugins/gitlab/tasks/job_convertor.go index 3cd02d3b964..e944c3f142c 100644 --- a/backend/plugins/gitlab/tasks/job_convertor.go +++ b/backend/plugins/gitlab/tasks/job_convertor.go @@ -94,11 +94,11 @@ func ConvertJobs(taskCtx plugin.SubTaskContext) (err errors.Error) { InProgress: []string{StatusRunning, StatusWaitingForResource, StatusPreparing, StatusPending}, Default: devops.STATUS_OTHER, }, gitlabJob.Status), - - DurationSec: gitlabJob.Duration, - StartedDate: *startedAt, - FinishedDate: gitlabJob.FinishedAt, - CicdScopeId: projectIdGen.Generate(data.Options.ConnectionId, gitlabJob.ProjectId), + OriginalStatus: gitlabJob.Status, + DurationSec: gitlabJob.Duration, + StartedDate: *startedAt, + FinishedDate: gitlabJob.FinishedAt, + CicdScopeId: projectIdGen.Generate(data.Options.ConnectionId, gitlabJob.ProjectId), } domainJob.Type = regexEnricher.ReturnNameIfMatched(devops.DEPLOYMENT, gitlabJob.Name) domainJob.Environment = regexEnricher.ReturnNameIfOmittedOrMatched(devops.PRODUCTION, gitlabJob.Name) diff --git a/backend/plugins/gitlab/tasks/pipeline_convertor.go b/backend/plugins/gitlab/tasks/pipeline_convertor.go index 4192c6a0264..a7dba24a190 100644 --- a/backend/plugins/gitlab/tasks/pipeline_convertor.go +++ b/backend/plugins/gitlab/tasks/pipeline_convertor.go @@ -95,11 +95,12 @@ func ConvertPipelines(taskCtx plugin.SubTaskContext) errors.Error { InProgress: []string{StatusRunning, StatusWaitingForResource, StatusPending, StatusPreparing}, Default: devops.STATUS_OTHER, }, gitlabPipeline.Status), - CreatedDate: startedAt, - FinishedDate: gitlabPipeline.GitlabUpdatedAt, - CicdScopeId: projectIdGen.Generate(data.Options.ConnectionId, gitlabPipeline.ProjectId), - Environment: gitlabPipeline.Environment, - Type: gitlabPipeline.Type, + OriginalStatus: gitlabPipeline.Status, + CreatedDate: startedAt, + FinishedDate: gitlabPipeline.GitlabUpdatedAt, + CicdScopeId: projectIdGen.Generate(data.Options.ConnectionId, gitlabPipeline.ProjectId), + Environment: gitlabPipeline.Environment, + Type: gitlabPipeline.Type, } // rebuild the FinishedDate and DurationSec by Status diff --git a/backend/plugins/jenkins/e2e/builds_test.go b/backend/plugins/jenkins/e2e/builds_test.go index f6b8b581a30..4c9dafcf801 100644 --- a/backend/plugins/jenkins/e2e/builds_test.go +++ b/backend/plugins/jenkins/e2e/builds_test.go @@ -126,6 +126,8 @@ func TestJenkinsBuildsDataFlow(t *testing.T) { "pipeline_id", "result", "status", + "original_result", + "original_status", "type", "environment", "duration_sec", @@ -142,6 +144,8 @@ func TestJenkinsBuildsDataFlow(t *testing.T) { "name", "result", "status", + "original_result", + "original_status", "type", "duration_sec", "environment", diff --git a/backend/plugins/jenkins/e2e/snapshot_tables/cicd_pipelines.csv b/backend/plugins/jenkins/e2e/snapshot_tables/cicd_pipelines.csv index bbef41a7efb..b16d2e7cd3b 100644 --- a/backend/plugins/jenkins/e2e/snapshot_tables/cicd_pipelines.csv +++ b/backend/plugins/jenkins/e2e/snapshot_tables/cicd_pipelines.csv @@ -1,14 +1,14 @@ -id,name,result,status,type,duration_sec,environment,created_date,finished_date,cicd_scope_id,_raw_data_params,_raw_data_table,_raw_data_id,_raw_data_remark -jenkins:JenkinsBuild:1:Test-jenkins-dir/test-jenkins-sub-dir/test-sub-sub-dir/devlake#10001,Test-jenkins-dir/test-jenkins-sub-dir/test-sub-sub-dir/devlake#10001,,IN_PROGRESS,DEPLOYMENT,0.004,PRODUCTION,2022-04-15T10:06:17.000+00:00,,jenkins:JenkinsJob:1:Test-jenkins-dir/test-jenkins-sub-dir/test-sub-sub-dir/devlake,"{""ConnectionId"":1,""FullName"":""Test-jenkins-dir/test-jenkins-sub-dir/test-sub-sub-dir/devlake""}",_raw_jenkins_api_builds,10001, -jenkins:JenkinsBuild:1:Test-jenkins-dir/test-jenkins-sub-dir/test-sub-sub-dir/devlake#10002,Test-jenkins-dir/test-jenkins-sub-dir/test-sub-sub-dir/devlake#10002,,IN_PROGRESS,DEPLOYMENT,0.004,PRODUCTION,2022-04-15T10:06:17.000+00:00,,jenkins:JenkinsJob:1:Test-jenkins-dir/test-jenkins-sub-dir/test-sub-sub-dir/devlake,"{""ConnectionId"":1,""FullName"":""Test-jenkins-dir/test-jenkins-sub-dir/test-sub-sub-dir/devlake""}",_raw_jenkins_api_builds,10002, -jenkins:JenkinsBuild:1:Test-jenkins-dir/test-jenkins-sub-dir/test-sub-sub-dir/devlake#10003,Test-jenkins-dir/test-jenkins-sub-dir/test-sub-sub-dir/devlake#10003,FAILURE,DONE,DEPLOYMENT,0.004,PRODUCTION,2022-04-15T10:06:17.000+00:00,2022-04-15T10:06:17.004+00:00,jenkins:JenkinsJob:1:Test-jenkins-dir/test-jenkins-sub-dir/test-sub-sub-dir/devlake,"{""ConnectionId"":1,""FullName"":""Test-jenkins-dir/test-jenkins-sub-dir/test-sub-sub-dir/devlake""}",_raw_jenkins_api_builds,10003, -jenkins:JenkinsBuild:1:Test-jenkins-dir/test-jenkins-sub-dir/test-sub-sub-dir/devlake#10004,Test-jenkins-dir/test-jenkins-sub-dir/test-sub-sub-dir/devlake#10004,,DONE,DEPLOYMENT,0.004,PRODUCTION,2022-04-15T10:06:17.000+00:00,2022-04-15T10:06:17.004+00:00,jenkins:JenkinsJob:1:Test-jenkins-dir/test-jenkins-sub-dir/test-sub-sub-dir/devlake,"{""ConnectionId"":1,""FullName"":""Test-jenkins-dir/test-jenkins-sub-dir/test-sub-sub-dir/devlake""}",_raw_jenkins_api_builds,10004, -jenkins:JenkinsBuild:1:Test-jenkins-dir/test-jenkins-sub-dir/test-sub-sub-dir/devlake#10005,Test-jenkins-dir/test-jenkins-sub-dir/test-sub-sub-dir/devlake#10005,,DONE,DEPLOYMENT,0.004,PRODUCTION,2022-04-15T10:06:17.000+00:00,2022-04-15T10:06:17.004+00:00,jenkins:JenkinsJob:1:Test-jenkins-dir/test-jenkins-sub-dir/test-sub-sub-dir/devlake,"{""ConnectionId"":1,""FullName"":""Test-jenkins-dir/test-jenkins-sub-dir/test-sub-sub-dir/devlake""}",_raw_jenkins_api_builds,10005, -jenkins:JenkinsBuild:1:Test-jenkins-dir/test-jenkins-sub-dir/test-sub-sub-dir/devlake#11,Test-jenkins-dir/test-jenkins-sub-dir/test-sub-sub-dir/devlake#11,SUCCESS,DONE,DEPLOYMENT,14.82,PRODUCTION,2022-04-15T10:10:16.000+00:00,2022-04-15T10:10:30.820+00:00,jenkins:JenkinsJob:1:Test-jenkins-dir/test-jenkins-sub-dir/test-sub-sub-dir/devlake,"{""ConnectionId"":1,""FullName"":""Test-jenkins-dir/test-jenkins-sub-dir/test-sub-sub-dir/devlake""}",_raw_jenkins_api_builds,95, -jenkins:JenkinsBuild:1:Test-jenkins-dir/test-jenkins-sub-dir/test-sub-sub-dir/devlake#17,Test-jenkins-dir/test-jenkins-sub-dir/test-sub-sub-dir/devlake#17,SUCCESS,DONE,DEPLOYMENT,0.057,PRODUCTION,2022-04-15T10:05:53.000+00:00,2022-04-15T10:05:53.057+00:00,jenkins:JenkinsJob:1:Test-jenkins-dir/test-jenkins-sub-dir/test-sub-sub-dir/devlake,"{""ConnectionId"":1,""FullName"":""Test-jenkins-dir/test-jenkins-sub-dir/test-sub-sub-dir/devlake""}",_raw_jenkins_api_builds,124, -jenkins:JenkinsBuild:1:Test-jenkins-dir/test-jenkins-sub-dir/test-sub-sub-dir/devlake#21,Test-jenkins-dir/test-jenkins-sub-dir/test-sub-sub-dir/devlake#21,SUCCESS,DONE,DEPLOYMENT,2.121,PRODUCTION,2022-04-15T11:35:48.000+00:00,2022-04-15T11:35:50.121+00:00,jenkins:JenkinsJob:1:Test-jenkins-dir/test-jenkins-sub-dir/test-sub-sub-dir/devlake,"{""ConnectionId"":1,""FullName"":""Test-jenkins-dir/test-jenkins-sub-dir/test-sub-sub-dir/devlake""}",_raw_jenkins_api_builds,94, -jenkins:JenkinsBuild:1:Test-jenkins-dir/test-jenkins-sub-dir/test-sub-sub-dir/devlake#23,Test-jenkins-dir/test-jenkins-sub-dir/test-sub-sub-dir/devlake#23,SUCCESS,DONE,DEPLOYMENT,0.061,PRODUCTION,2022-09-08T14:26:51.000+00:00,2022-09-08T14:26:51.061+00:00,jenkins:JenkinsJob:1:Test-jenkins-dir/test-jenkins-sub-dir/test-sub-sub-dir/devlake,"{""ConnectionId"":1,""FullName"":""Test-jenkins-dir/test-jenkins-sub-dir/test-sub-sub-dir/devlake""}",_raw_jenkins_api_builds,96, -jenkins:JenkinsBuild:1:Test-jenkins-dir/test-jenkins-sub-dir/test-sub-sub-dir/devlake#27,Test-jenkins-dir/test-jenkins-sub-dir/test-sub-sub-dir/devlake#27,,IN_PROGRESS,DEPLOYMENT,0.004,PRODUCTION,2022-04-15T10:06:17.000+00:00,,jenkins:JenkinsJob:1:Test-jenkins-dir/test-jenkins-sub-dir/test-sub-sub-dir/devlake,"{""ConnectionId"":1,""FullName"":""Test-jenkins-dir/test-jenkins-sub-dir/test-sub-sub-dir/devlake""}",_raw_jenkins_api_builds,123, -jenkins:JenkinsBuild:1:Test-jenkins-dir/test-jenkins-sub-dir/test-sub-sub-dir/devlake#31,Test-jenkins-dir/test-jenkins-sub-dir/test-sub-sub-dir/devlake#31,SUCCESS,DONE,DEPLOYMENT,1.587,PRODUCTION,2022-04-15T12:00:49.000+00:00,2022-04-15T12:00:50.587+00:00,jenkins:JenkinsJob:1:Test-jenkins-dir/test-jenkins-sub-dir/test-sub-sub-dir/devlake,"{""ConnectionId"":1,""FullName"":""Test-jenkins-dir/test-jenkins-sub-dir/test-sub-sub-dir/devlake""}",_raw_jenkins_api_builds,93, -jenkins:JenkinsBuild:1:Test-jenkins-dir/test-jenkins-sub-dir/test-sub-sub-dir/devlake#37,Test-jenkins-dir/test-jenkins-sub-dir/test-sub-sub-dir/devlake#37,SUCCESS,DONE,DEPLOYMENT,0.003,PRODUCTION,2022-04-15T10:06:26.000+00:00,2022-04-15T10:06:26.003+00:00,jenkins:JenkinsJob:1:Test-jenkins-dir/test-jenkins-sub-dir/test-sub-sub-dir/devlake,"{""ConnectionId"":1,""FullName"":""Test-jenkins-dir/test-jenkins-sub-dir/test-sub-sub-dir/devlake""}",_raw_jenkins_api_builds,122, -jenkins:JenkinsBuild:1:Test-jenkins-dir/test-jenkins-sub-dir/test-sub-sub-dir/devlake#47,Test-jenkins-dir/test-jenkins-sub-dir/test-sub-sub-dir/devlake#47,SUCCESS,DONE,DEPLOYMENT,0.006,PRODUCTION,2022-04-15T11:35:56.000+00:00,2022-04-15T11:35:56.006+00:00,jenkins:JenkinsJob:1:Test-jenkins-dir/test-jenkins-sub-dir/test-sub-sub-dir/devlake,"{""ConnectionId"":1,""FullName"":""Test-jenkins-dir/test-jenkins-sub-dir/test-sub-sub-dir/devlake""}",_raw_jenkins_api_builds,121, +id,name,result,status,original_result,original_status,type,duration_sec,environment,created_date,finished_date,cicd_scope_id,_raw_data_params,_raw_data_table,_raw_data_id,_raw_data_remark +jenkins:JenkinsBuild:1:Test-jenkins-dir/test-jenkins-sub-dir/test-sub-sub-dir/devlake#10001,Test-jenkins-dir/test-jenkins-sub-dir/test-sub-sub-dir/devlake#10001,,IN_PROGRESS,SUCCESS,true,DEPLOYMENT,0.004,PRODUCTION,2022-04-15T10:06:17.000+00:00,,jenkins:JenkinsJob:1:Test-jenkins-dir/test-jenkins-sub-dir/test-sub-sub-dir/devlake,"{""ConnectionId"":1,""FullName"":""Test-jenkins-dir/test-jenkins-sub-dir/test-sub-sub-dir/devlake""}",_raw_jenkins_api_builds,10001, +jenkins:JenkinsBuild:1:Test-jenkins-dir/test-jenkins-sub-dir/test-sub-sub-dir/devlake#10002,Test-jenkins-dir/test-jenkins-sub-dir/test-sub-sub-dir/devlake#10002,,IN_PROGRESS,FAILURE,true,DEPLOYMENT,0.004,PRODUCTION,2022-04-15T10:06:17.000+00:00,,jenkins:JenkinsJob:1:Test-jenkins-dir/test-jenkins-sub-dir/test-sub-sub-dir/devlake,"{""ConnectionId"":1,""FullName"":""Test-jenkins-dir/test-jenkins-sub-dir/test-sub-sub-dir/devlake""}",_raw_jenkins_api_builds,10002, +jenkins:JenkinsBuild:1:Test-jenkins-dir/test-jenkins-sub-dir/test-sub-sub-dir/devlake#10003,Test-jenkins-dir/test-jenkins-sub-dir/test-sub-sub-dir/devlake#10003,FAILURE,DONE,ABORTED,false,DEPLOYMENT,0.004,PRODUCTION,2022-04-15T10:06:17.000+00:00,2022-04-15T10:06:17.004+00:00,jenkins:JenkinsJob:1:Test-jenkins-dir/test-jenkins-sub-dir/test-sub-sub-dir/devlake,"{""ConnectionId"":1,""FullName"":""Test-jenkins-dir/test-jenkins-sub-dir/test-sub-sub-dir/devlake""}",_raw_jenkins_api_builds,10003, +jenkins:JenkinsBuild:1:Test-jenkins-dir/test-jenkins-sub-dir/test-sub-sub-dir/devlake#10004,Test-jenkins-dir/test-jenkins-sub-dir/test-sub-sub-dir/devlake#10004,,DONE,NOT_BUILD,false,DEPLOYMENT,0.004,PRODUCTION,2022-04-15T10:06:17.000+00:00,2022-04-15T10:06:17.004+00:00,jenkins:JenkinsJob:1:Test-jenkins-dir/test-jenkins-sub-dir/test-sub-sub-dir/devlake,"{""ConnectionId"":1,""FullName"":""Test-jenkins-dir/test-jenkins-sub-dir/test-sub-sub-dir/devlake""}",_raw_jenkins_api_builds,10004, +jenkins:JenkinsBuild:1:Test-jenkins-dir/test-jenkins-sub-dir/test-sub-sub-dir/devlake#10005,Test-jenkins-dir/test-jenkins-sub-dir/test-sub-sub-dir/devlake#10005,,DONE,UNSTABLE,false,DEPLOYMENT,0.004,PRODUCTION,2022-04-15T10:06:17.000+00:00,2022-04-15T10:06:17.004+00:00,jenkins:JenkinsJob:1:Test-jenkins-dir/test-jenkins-sub-dir/test-sub-sub-dir/devlake,"{""ConnectionId"":1,""FullName"":""Test-jenkins-dir/test-jenkins-sub-dir/test-sub-sub-dir/devlake""}",_raw_jenkins_api_builds,10005, +jenkins:JenkinsBuild:1:Test-jenkins-dir/test-jenkins-sub-dir/test-sub-sub-dir/devlake#11,Test-jenkins-dir/test-jenkins-sub-dir/test-sub-sub-dir/devlake#11,SUCCESS,DONE,SUCCESS,false,DEPLOYMENT,14.82,PRODUCTION,2022-04-15T10:10:16.000+00:00,2022-04-15T10:10:30.820+00:00,jenkins:JenkinsJob:1:Test-jenkins-dir/test-jenkins-sub-dir/test-sub-sub-dir/devlake,"{""ConnectionId"":1,""FullName"":""Test-jenkins-dir/test-jenkins-sub-dir/test-sub-sub-dir/devlake""}",_raw_jenkins_api_builds,95, +jenkins:JenkinsBuild:1:Test-jenkins-dir/test-jenkins-sub-dir/test-sub-sub-dir/devlake#17,Test-jenkins-dir/test-jenkins-sub-dir/test-sub-sub-dir/devlake#17,SUCCESS,DONE,SUCCESS,false,DEPLOYMENT,0.057,PRODUCTION,2022-04-15T10:05:53.000+00:00,2022-04-15T10:05:53.057+00:00,jenkins:JenkinsJob:1:Test-jenkins-dir/test-jenkins-sub-dir/test-sub-sub-dir/devlake,"{""ConnectionId"":1,""FullName"":""Test-jenkins-dir/test-jenkins-sub-dir/test-sub-sub-dir/devlake""}",_raw_jenkins_api_builds,124, +jenkins:JenkinsBuild:1:Test-jenkins-dir/test-jenkins-sub-dir/test-sub-sub-dir/devlake#21,Test-jenkins-dir/test-jenkins-sub-dir/test-sub-sub-dir/devlake#21,SUCCESS,DONE,SUCCESS,false,DEPLOYMENT,2.121,PRODUCTION,2022-04-15T11:35:48.000+00:00,2022-04-15T11:35:50.121+00:00,jenkins:JenkinsJob:1:Test-jenkins-dir/test-jenkins-sub-dir/test-sub-sub-dir/devlake,"{""ConnectionId"":1,""FullName"":""Test-jenkins-dir/test-jenkins-sub-dir/test-sub-sub-dir/devlake""}",_raw_jenkins_api_builds,94, +jenkins:JenkinsBuild:1:Test-jenkins-dir/test-jenkins-sub-dir/test-sub-sub-dir/devlake#23,Test-jenkins-dir/test-jenkins-sub-dir/test-sub-sub-dir/devlake#23,SUCCESS,DONE,SUCCESS,false,DEPLOYMENT,0.061,PRODUCTION,2022-09-08T14:26:51.000+00:00,2022-09-08T14:26:51.061+00:00,jenkins:JenkinsJob:1:Test-jenkins-dir/test-jenkins-sub-dir/test-sub-sub-dir/devlake,"{""ConnectionId"":1,""FullName"":""Test-jenkins-dir/test-jenkins-sub-dir/test-sub-sub-dir/devlake""}",_raw_jenkins_api_builds,96, +jenkins:JenkinsBuild:1:Test-jenkins-dir/test-jenkins-sub-dir/test-sub-sub-dir/devlake#27,Test-jenkins-dir/test-jenkins-sub-dir/test-sub-sub-dir/devlake#27,,IN_PROGRESS,SUCCESS,true,DEPLOYMENT,0.004,PRODUCTION,2022-04-15T10:06:17.000+00:00,,jenkins:JenkinsJob:1:Test-jenkins-dir/test-jenkins-sub-dir/test-sub-sub-dir/devlake,"{""ConnectionId"":1,""FullName"":""Test-jenkins-dir/test-jenkins-sub-dir/test-sub-sub-dir/devlake""}",_raw_jenkins_api_builds,123, +jenkins:JenkinsBuild:1:Test-jenkins-dir/test-jenkins-sub-dir/test-sub-sub-dir/devlake#31,Test-jenkins-dir/test-jenkins-sub-dir/test-sub-sub-dir/devlake#31,SUCCESS,DONE,SUCCESS,false,DEPLOYMENT,1.587,PRODUCTION,2022-04-15T12:00:49.000+00:00,2022-04-15T12:00:50.587+00:00,jenkins:JenkinsJob:1:Test-jenkins-dir/test-jenkins-sub-dir/test-sub-sub-dir/devlake,"{""ConnectionId"":1,""FullName"":""Test-jenkins-dir/test-jenkins-sub-dir/test-sub-sub-dir/devlake""}",_raw_jenkins_api_builds,93, +jenkins:JenkinsBuild:1:Test-jenkins-dir/test-jenkins-sub-dir/test-sub-sub-dir/devlake#37,Test-jenkins-dir/test-jenkins-sub-dir/test-sub-sub-dir/devlake#37,SUCCESS,DONE,SUCCESS,false,DEPLOYMENT,0.003,PRODUCTION,2022-04-15T10:06:26.000+00:00,2022-04-15T10:06:26.003+00:00,jenkins:JenkinsJob:1:Test-jenkins-dir/test-jenkins-sub-dir/test-sub-sub-dir/devlake,"{""ConnectionId"":1,""FullName"":""Test-jenkins-dir/test-jenkins-sub-dir/test-sub-sub-dir/devlake""}",_raw_jenkins_api_builds,122, +jenkins:JenkinsBuild:1:Test-jenkins-dir/test-jenkins-sub-dir/test-sub-sub-dir/devlake#47,Test-jenkins-dir/test-jenkins-sub-dir/test-sub-sub-dir/devlake#47,SUCCESS,DONE,SUCCESS,false,DEPLOYMENT,0.006,PRODUCTION,2022-04-15T11:35:56.000+00:00,2022-04-15T11:35:56.006+00:00,jenkins:JenkinsJob:1:Test-jenkins-dir/test-jenkins-sub-dir/test-sub-sub-dir/devlake,"{""ConnectionId"":1,""FullName"":""Test-jenkins-dir/test-jenkins-sub-dir/test-sub-sub-dir/devlake""}",_raw_jenkins_api_builds,121, diff --git a/backend/plugins/jenkins/e2e/snapshot_tables/cicd_tasks.csv b/backend/plugins/jenkins/e2e/snapshot_tables/cicd_tasks.csv index e3002446ee3..ee602331fd2 100644 --- a/backend/plugins/jenkins/e2e/snapshot_tables/cicd_tasks.csv +++ b/backend/plugins/jenkins/e2e/snapshot_tables/cicd_tasks.csv @@ -1,13 +1,13 @@ -id,name,pipeline_id,result,status,type,environment,duration_sec,started_date,finished_date,cicd_scope_id,_raw_data_params,_raw_data_table,_raw_data_id,_raw_data_remark -jenkins:JenkinsBuild:1:Test-jenkins-dir/test-jenkins-sub-dir/test-sub-sub-dir/devlake#10001,Test-jenkins-dir/test-jenkins-sub-dir/test-sub-sub-dir/devlake,jenkins:JenkinsBuild:1:Test-jenkins-dir/test-jenkins-sub-dir/test-sub-sub-dir/devlake#10001,,IN_PROGRESS,DEPLOYMENT,PRODUCTION,0.004,2022-04-15T10:06:17.000+00:00,,jenkins:JenkinsJob:1:Test-jenkins-dir/test-jenkins-sub-dir/test-sub-sub-dir/devlake,"{""ConnectionId"":1,""FullName"":""Test-jenkins-dir/test-jenkins-sub-dir/test-sub-sub-dir/devlake""}",_raw_jenkins_api_builds,10001, -jenkins:JenkinsBuild:1:Test-jenkins-dir/test-jenkins-sub-dir/test-sub-sub-dir/devlake#10002,Test-jenkins-dir/test-jenkins-sub-dir/test-sub-sub-dir/devlake,jenkins:JenkinsBuild:1:Test-jenkins-dir/test-jenkins-sub-dir/test-sub-sub-dir/devlake#10002,,IN_PROGRESS,DEPLOYMENT,PRODUCTION,0.004,2022-04-15T10:06:17.000+00:00,,jenkins:JenkinsJob:1:Test-jenkins-dir/test-jenkins-sub-dir/test-sub-sub-dir/devlake,"{""ConnectionId"":1,""FullName"":""Test-jenkins-dir/test-jenkins-sub-dir/test-sub-sub-dir/devlake""}",_raw_jenkins_api_builds,10002, -jenkins:JenkinsBuild:1:Test-jenkins-dir/test-jenkins-sub-dir/test-sub-sub-dir/devlake#10003,Test-jenkins-dir/test-jenkins-sub-dir/test-sub-sub-dir/devlake,jenkins:JenkinsBuild:1:Test-jenkins-dir/test-jenkins-sub-dir/test-sub-sub-dir/devlake#10003,FAILURE,DONE,DEPLOYMENT,PRODUCTION,0.004,2022-04-15T10:06:17.000+00:00,2022-04-15T10:06:17.004+00:00,jenkins:JenkinsJob:1:Test-jenkins-dir/test-jenkins-sub-dir/test-sub-sub-dir/devlake,"{""ConnectionId"":1,""FullName"":""Test-jenkins-dir/test-jenkins-sub-dir/test-sub-sub-dir/devlake""}",_raw_jenkins_api_builds,10003, -jenkins:JenkinsBuild:1:Test-jenkins-dir/test-jenkins-sub-dir/test-sub-sub-dir/devlake#10004,Test-jenkins-dir/test-jenkins-sub-dir/test-sub-sub-dir/devlake,jenkins:JenkinsBuild:1:Test-jenkins-dir/test-jenkins-sub-dir/test-sub-sub-dir/devlake#10004,,DONE,DEPLOYMENT,PRODUCTION,0.004,2022-04-15T10:06:17.000+00:00,2022-04-15T10:06:17.004+00:00,jenkins:JenkinsJob:1:Test-jenkins-dir/test-jenkins-sub-dir/test-sub-sub-dir/devlake,"{""ConnectionId"":1,""FullName"":""Test-jenkins-dir/test-jenkins-sub-dir/test-sub-sub-dir/devlake""}",_raw_jenkins_api_builds,10004, -jenkins:JenkinsBuild:1:Test-jenkins-dir/test-jenkins-sub-dir/test-sub-sub-dir/devlake#10005,Test-jenkins-dir/test-jenkins-sub-dir/test-sub-sub-dir/devlake,jenkins:JenkinsBuild:1:Test-jenkins-dir/test-jenkins-sub-dir/test-sub-sub-dir/devlake#10005,,DONE,DEPLOYMENT,PRODUCTION,0.004,2022-04-15T10:06:17.000+00:00,2022-04-15T10:06:17.004+00:00,jenkins:JenkinsJob:1:Test-jenkins-dir/test-jenkins-sub-dir/test-sub-sub-dir/devlake,"{""ConnectionId"":1,""FullName"":""Test-jenkins-dir/test-jenkins-sub-dir/test-sub-sub-dir/devlake""}",_raw_jenkins_api_builds,10005, -jenkins:JenkinsBuild:1:Test-jenkins-dir/test-jenkins-sub-dir/test-sub-sub-dir/devlake#17,Test-jenkins-dir/test-jenkins-sub-dir/test-sub-sub-dir/devlake,jenkins:JenkinsBuild:1:Test-jenkins-dir/test-jenkins-sub-dir/test-sub-sub-dir/devlake#17,SUCCESS,DONE,DEPLOYMENT,PRODUCTION,0.057,2022-04-15T10:05:53.000+00:00,2022-04-15T10:05:53.057+00:00,jenkins:JenkinsJob:1:Test-jenkins-dir/test-jenkins-sub-dir/test-sub-sub-dir/devlake,"{""ConnectionId"":1,""FullName"":""Test-jenkins-dir/test-jenkins-sub-dir/test-sub-sub-dir/devlake""}",_raw_jenkins_api_builds,124, -jenkins:JenkinsBuild:1:Test-jenkins-dir/test-jenkins-sub-dir/test-sub-sub-dir/devlake#21,Test-jenkins-dir/test-jenkins-sub-dir/test-sub-sub-dir/devlake,jenkins:JenkinsBuild:1:Test-jenkins-dir/test-jenkins-sub-dir/test-sub-sub-dir/devlake#21,SUCCESS,DONE,DEPLOYMENT,PRODUCTION,2.121,2022-04-15T11:35:48.000+00:00,2022-04-15T11:35:50.121+00:00,jenkins:JenkinsJob:1:Test-jenkins-dir/test-jenkins-sub-dir/test-sub-sub-dir/devlake,"{""ConnectionId"":1,""FullName"":""Test-jenkins-dir/test-jenkins-sub-dir/test-sub-sub-dir/devlake""}",_raw_jenkins_api_builds,94, -jenkins:JenkinsBuild:1:Test-jenkins-dir/test-jenkins-sub-dir/test-sub-sub-dir/devlake#23,Test-jenkins-dir/test-jenkins-sub-dir/test-sub-sub-dir/devlake,jenkins:JenkinsBuild:1:Test-jenkins-dir/test-jenkins-sub-dir/test-sub-sub-dir/devlake#23,SUCCESS,DONE,DEPLOYMENT,PRODUCTION,0.061,2022-09-08T14:26:51.000+00:00,2022-09-08T14:26:51.061+00:00,jenkins:JenkinsJob:1:Test-jenkins-dir/test-jenkins-sub-dir/test-sub-sub-dir/devlake,"{""ConnectionId"":1,""FullName"":""Test-jenkins-dir/test-jenkins-sub-dir/test-sub-sub-dir/devlake""}",_raw_jenkins_api_builds,96, -jenkins:JenkinsBuild:1:Test-jenkins-dir/test-jenkins-sub-dir/test-sub-sub-dir/devlake#27,Test-jenkins-dir/test-jenkins-sub-dir/test-sub-sub-dir/devlake,jenkins:JenkinsBuild:1:Test-jenkins-dir/test-jenkins-sub-dir/test-sub-sub-dir/devlake#27,,IN_PROGRESS,DEPLOYMENT,PRODUCTION,0.004,2022-04-15T10:06:17.000+00:00,,jenkins:JenkinsJob:1:Test-jenkins-dir/test-jenkins-sub-dir/test-sub-sub-dir/devlake,"{""ConnectionId"":1,""FullName"":""Test-jenkins-dir/test-jenkins-sub-dir/test-sub-sub-dir/devlake""}",_raw_jenkins_api_builds,123, -jenkins:JenkinsBuild:1:Test-jenkins-dir/test-jenkins-sub-dir/test-sub-sub-dir/devlake#31,Test-jenkins-dir/test-jenkins-sub-dir/test-sub-sub-dir/devlake,jenkins:JenkinsBuild:1:Test-jenkins-dir/test-jenkins-sub-dir/test-sub-sub-dir/devlake#31,SUCCESS,DONE,DEPLOYMENT,PRODUCTION,1.587,2022-04-15T12:00:49.000+00:00,2022-04-15T12:00:50.587+00:00,jenkins:JenkinsJob:1:Test-jenkins-dir/test-jenkins-sub-dir/test-sub-sub-dir/devlake,"{""ConnectionId"":1,""FullName"":""Test-jenkins-dir/test-jenkins-sub-dir/test-sub-sub-dir/devlake""}",_raw_jenkins_api_builds,93, -jenkins:JenkinsBuild:1:Test-jenkins-dir/test-jenkins-sub-dir/test-sub-sub-dir/devlake#37,Test-jenkins-dir/test-jenkins-sub-dir/test-sub-sub-dir/devlake,jenkins:JenkinsBuild:1:Test-jenkins-dir/test-jenkins-sub-dir/test-sub-sub-dir/devlake#37,SUCCESS,DONE,DEPLOYMENT,PRODUCTION,0.003,2022-04-15T10:06:26.000+00:00,2022-04-15T10:06:26.003+00:00,jenkins:JenkinsJob:1:Test-jenkins-dir/test-jenkins-sub-dir/test-sub-sub-dir/devlake,"{""ConnectionId"":1,""FullName"":""Test-jenkins-dir/test-jenkins-sub-dir/test-sub-sub-dir/devlake""}",_raw_jenkins_api_builds,122, -jenkins:JenkinsBuild:1:Test-jenkins-dir/test-jenkins-sub-dir/test-sub-sub-dir/devlake#47,Test-jenkins-dir/test-jenkins-sub-dir/test-sub-sub-dir/devlake,jenkins:JenkinsBuild:1:Test-jenkins-dir/test-jenkins-sub-dir/test-sub-sub-dir/devlake#47,SUCCESS,DONE,DEPLOYMENT,PRODUCTION,0.006,2022-04-15T11:35:56.000+00:00,2022-04-15T11:35:56.006+00:00,jenkins:JenkinsJob:1:Test-jenkins-dir/test-jenkins-sub-dir/test-sub-sub-dir/devlake,"{""ConnectionId"":1,""FullName"":""Test-jenkins-dir/test-jenkins-sub-dir/test-sub-sub-dir/devlake""}",_raw_jenkins_api_builds,121, +id,name,pipeline_id,result,status,original_result,original_status,type,environment,duration_sec,started_date,finished_date,cicd_scope_id,_raw_data_params,_raw_data_table,_raw_data_id,_raw_data_remark +jenkins:JenkinsBuild:1:Test-jenkins-dir/test-jenkins-sub-dir/test-sub-sub-dir/devlake#10001,Test-jenkins-dir/test-jenkins-sub-dir/test-sub-sub-dir/devlake,jenkins:JenkinsBuild:1:Test-jenkins-dir/test-jenkins-sub-dir/test-sub-sub-dir/devlake#10001,,IN_PROGRESS,SUCCESS,true,DEPLOYMENT,PRODUCTION,0.004,2022-04-15T10:06:17.000+00:00,,jenkins:JenkinsJob:1:Test-jenkins-dir/test-jenkins-sub-dir/test-sub-sub-dir/devlake,"{""ConnectionId"":1,""FullName"":""Test-jenkins-dir/test-jenkins-sub-dir/test-sub-sub-dir/devlake""}",_raw_jenkins_api_builds,10001, +jenkins:JenkinsBuild:1:Test-jenkins-dir/test-jenkins-sub-dir/test-sub-sub-dir/devlake#10002,Test-jenkins-dir/test-jenkins-sub-dir/test-sub-sub-dir/devlake,jenkins:JenkinsBuild:1:Test-jenkins-dir/test-jenkins-sub-dir/test-sub-sub-dir/devlake#10002,,IN_PROGRESS,FAILURE,true,DEPLOYMENT,PRODUCTION,0.004,2022-04-15T10:06:17.000+00:00,,jenkins:JenkinsJob:1:Test-jenkins-dir/test-jenkins-sub-dir/test-sub-sub-dir/devlake,"{""ConnectionId"":1,""FullName"":""Test-jenkins-dir/test-jenkins-sub-dir/test-sub-sub-dir/devlake""}",_raw_jenkins_api_builds,10002, +jenkins:JenkinsBuild:1:Test-jenkins-dir/test-jenkins-sub-dir/test-sub-sub-dir/devlake#10003,Test-jenkins-dir/test-jenkins-sub-dir/test-sub-sub-dir/devlake,jenkins:JenkinsBuild:1:Test-jenkins-dir/test-jenkins-sub-dir/test-sub-sub-dir/devlake#10003,FAILURE,DONE,ABORTED,false,DEPLOYMENT,PRODUCTION,0.004,2022-04-15T10:06:17.000+00:00,2022-04-15T10:06:17.004+00:00,jenkins:JenkinsJob:1:Test-jenkins-dir/test-jenkins-sub-dir/test-sub-sub-dir/devlake,"{""ConnectionId"":1,""FullName"":""Test-jenkins-dir/test-jenkins-sub-dir/test-sub-sub-dir/devlake""}",_raw_jenkins_api_builds,10003, +jenkins:JenkinsBuild:1:Test-jenkins-dir/test-jenkins-sub-dir/test-sub-sub-dir/devlake#10004,Test-jenkins-dir/test-jenkins-sub-dir/test-sub-sub-dir/devlake,jenkins:JenkinsBuild:1:Test-jenkins-dir/test-jenkins-sub-dir/test-sub-sub-dir/devlake#10004,,DONE,NOT_BUILD,false,DEPLOYMENT,PRODUCTION,0.004,2022-04-15T10:06:17.000+00:00,2022-04-15T10:06:17.004+00:00,jenkins:JenkinsJob:1:Test-jenkins-dir/test-jenkins-sub-dir/test-sub-sub-dir/devlake,"{""ConnectionId"":1,""FullName"":""Test-jenkins-dir/test-jenkins-sub-dir/test-sub-sub-dir/devlake""}",_raw_jenkins_api_builds,10004, +jenkins:JenkinsBuild:1:Test-jenkins-dir/test-jenkins-sub-dir/test-sub-sub-dir/devlake#10005,Test-jenkins-dir/test-jenkins-sub-dir/test-sub-sub-dir/devlake,jenkins:JenkinsBuild:1:Test-jenkins-dir/test-jenkins-sub-dir/test-sub-sub-dir/devlake#10005,,DONE,UNSTABLE,false,DEPLOYMENT,PRODUCTION,0.004,2022-04-15T10:06:17.000+00:00,2022-04-15T10:06:17.004+00:00,jenkins:JenkinsJob:1:Test-jenkins-dir/test-jenkins-sub-dir/test-sub-sub-dir/devlake,"{""ConnectionId"":1,""FullName"":""Test-jenkins-dir/test-jenkins-sub-dir/test-sub-sub-dir/devlake""}",_raw_jenkins_api_builds,10005, +jenkins:JenkinsBuild:1:Test-jenkins-dir/test-jenkins-sub-dir/test-sub-sub-dir/devlake#17,Test-jenkins-dir/test-jenkins-sub-dir/test-sub-sub-dir/devlake,jenkins:JenkinsBuild:1:Test-jenkins-dir/test-jenkins-sub-dir/test-sub-sub-dir/devlake#17,SUCCESS,DONE,SUCCESS,false,DEPLOYMENT,PRODUCTION,0.057,2022-04-15T10:05:53.000+00:00,2022-04-15T10:05:53.057+00:00,jenkins:JenkinsJob:1:Test-jenkins-dir/test-jenkins-sub-dir/test-sub-sub-dir/devlake,"{""ConnectionId"":1,""FullName"":""Test-jenkins-dir/test-jenkins-sub-dir/test-sub-sub-dir/devlake""}",_raw_jenkins_api_builds,124, +jenkins:JenkinsBuild:1:Test-jenkins-dir/test-jenkins-sub-dir/test-sub-sub-dir/devlake#21,Test-jenkins-dir/test-jenkins-sub-dir/test-sub-sub-dir/devlake,jenkins:JenkinsBuild:1:Test-jenkins-dir/test-jenkins-sub-dir/test-sub-sub-dir/devlake#21,SUCCESS,DONE,SUCCESS,false,DEPLOYMENT,PRODUCTION,2.121,2022-04-15T11:35:48.000+00:00,2022-04-15T11:35:50.121+00:00,jenkins:JenkinsJob:1:Test-jenkins-dir/test-jenkins-sub-dir/test-sub-sub-dir/devlake,"{""ConnectionId"":1,""FullName"":""Test-jenkins-dir/test-jenkins-sub-dir/test-sub-sub-dir/devlake""}",_raw_jenkins_api_builds,94, +jenkins:JenkinsBuild:1:Test-jenkins-dir/test-jenkins-sub-dir/test-sub-sub-dir/devlake#23,Test-jenkins-dir/test-jenkins-sub-dir/test-sub-sub-dir/devlake,jenkins:JenkinsBuild:1:Test-jenkins-dir/test-jenkins-sub-dir/test-sub-sub-dir/devlake#23,SUCCESS,DONE,SUCCESS,false,DEPLOYMENT,PRODUCTION,0.061,2022-09-08T14:26:51.000+00:00,2022-09-08T14:26:51.061+00:00,jenkins:JenkinsJob:1:Test-jenkins-dir/test-jenkins-sub-dir/test-sub-sub-dir/devlake,"{""ConnectionId"":1,""FullName"":""Test-jenkins-dir/test-jenkins-sub-dir/test-sub-sub-dir/devlake""}",_raw_jenkins_api_builds,96, +jenkins:JenkinsBuild:1:Test-jenkins-dir/test-jenkins-sub-dir/test-sub-sub-dir/devlake#27,Test-jenkins-dir/test-jenkins-sub-dir/test-sub-sub-dir/devlake,jenkins:JenkinsBuild:1:Test-jenkins-dir/test-jenkins-sub-dir/test-sub-sub-dir/devlake#27,,IN_PROGRESS,SUCCESS,true,DEPLOYMENT,PRODUCTION,0.004,2022-04-15T10:06:17.000+00:00,,jenkins:JenkinsJob:1:Test-jenkins-dir/test-jenkins-sub-dir/test-sub-sub-dir/devlake,"{""ConnectionId"":1,""FullName"":""Test-jenkins-dir/test-jenkins-sub-dir/test-sub-sub-dir/devlake""}",_raw_jenkins_api_builds,123, +jenkins:JenkinsBuild:1:Test-jenkins-dir/test-jenkins-sub-dir/test-sub-sub-dir/devlake#31,Test-jenkins-dir/test-jenkins-sub-dir/test-sub-sub-dir/devlake,jenkins:JenkinsBuild:1:Test-jenkins-dir/test-jenkins-sub-dir/test-sub-sub-dir/devlake#31,SUCCESS,DONE,SUCCESS,false,DEPLOYMENT,PRODUCTION,1.587,2022-04-15T12:00:49.000+00:00,2022-04-15T12:00:50.587+00:00,jenkins:JenkinsJob:1:Test-jenkins-dir/test-jenkins-sub-dir/test-sub-sub-dir/devlake,"{""ConnectionId"":1,""FullName"":""Test-jenkins-dir/test-jenkins-sub-dir/test-sub-sub-dir/devlake""}",_raw_jenkins_api_builds,93, +jenkins:JenkinsBuild:1:Test-jenkins-dir/test-jenkins-sub-dir/test-sub-sub-dir/devlake#37,Test-jenkins-dir/test-jenkins-sub-dir/test-sub-sub-dir/devlake,jenkins:JenkinsBuild:1:Test-jenkins-dir/test-jenkins-sub-dir/test-sub-sub-dir/devlake#37,SUCCESS,DONE,SUCCESS,false,DEPLOYMENT,PRODUCTION,0.003,2022-04-15T10:06:26.000+00:00,2022-04-15T10:06:26.003+00:00,jenkins:JenkinsJob:1:Test-jenkins-dir/test-jenkins-sub-dir/test-sub-sub-dir/devlake,"{""ConnectionId"":1,""FullName"":""Test-jenkins-dir/test-jenkins-sub-dir/test-sub-sub-dir/devlake""}",_raw_jenkins_api_builds,122, +jenkins:JenkinsBuild:1:Test-jenkins-dir/test-jenkins-sub-dir/test-sub-sub-dir/devlake#47,Test-jenkins-dir/test-jenkins-sub-dir/test-sub-sub-dir/devlake,jenkins:JenkinsBuild:1:Test-jenkins-dir/test-jenkins-sub-dir/test-sub-sub-dir/devlake#47,SUCCESS,DONE,SUCCESS,false,DEPLOYMENT,PRODUCTION,0.006,2022-04-15T11:35:56.000+00:00,2022-04-15T11:35:56.006+00:00,jenkins:JenkinsJob:1:Test-jenkins-dir/test-jenkins-sub-dir/test-sub-sub-dir/devlake,"{""ConnectionId"":1,""FullName"":""Test-jenkins-dir/test-jenkins-sub-dir/test-sub-sub-dir/devlake""}",_raw_jenkins_api_builds,121, diff --git a/backend/plugins/jenkins/e2e/snapshot_tables/cicd_tasks_after_stages.csv b/backend/plugins/jenkins/e2e/snapshot_tables/cicd_tasks_after_stages.csv index 6f5eebed8e3..18dd9fc863e 100644 --- a/backend/plugins/jenkins/e2e/snapshot_tables/cicd_tasks_after_stages.csv +++ b/backend/plugins/jenkins/e2e/snapshot_tables/cicd_tasks_after_stages.csv @@ -1,15 +1,15 @@ -id,name,pipeline_id,result,status,type,duration_sec,started_date,finished_date,environment,cicd_scope_id,_raw_data_params,_raw_data_table,_raw_data_id,_raw_data_remark -jenkins:JenkinsStage:1:Test-jenkins-dir/test-jenkins-sub-dir/test-sub-sub-dir/devlake#10:8,scp-f/b,jenkins:JenkinsBuild:1:Test-jenkins-dir/test-jenkins-sub-dir/test-sub-sub-dir/devlake#10,SUCCESS,OTHER,,0,2019-10-29T04:01:34.000+00:00,2019-10-29T04:01:34.297+00:00,,jenkins:JenkinsJob:1:Test-jenkins-dir/test-jenkins-sub-dir/test-sub-sub-dir/devlake,"{""ConnectionId"":1,""FullName"":""Test-jenkins-dir/test-jenkins-sub-dir/test-sub-sub-dir/devlake""}",_raw_jenkins_api_stages,13577, -jenkins:JenkinsStage:1:Test-jenkins-dir/test-jenkins-sub-dir/test-sub-sub-dir/devlake#11:9,gitlabInit,jenkins:JenkinsBuild:1:Test-jenkins-dir/test-jenkins-sub-dir/test-sub-sub-dir/devlake#11,SUCCESS,OTHER,,1312,2021-03-09T13:35:10.000+00:00,2021-03-09T13:57:02.274+00:00,,jenkins:JenkinsJob:1:Test-jenkins-dir/test-jenkins-sub-dir/test-sub-sub-dir/devlake,"{""ConnectionId"":1,""FullName"":""Test-jenkins-dir/test-jenkins-sub-dir/test-sub-sub-dir/devlake""}",_raw_jenkins_api_stages,13578, -jenkins:JenkinsStage:1:Test-jenkins-dir/test-jenkins-sub-dir/test-sub-sub-dir/devlake#12:1,gitlabAutoSync,jenkins:JenkinsBuild:1:Test-jenkins-dir/test-jenkins-sub-dir/test-sub-sub-dir/devlake#12,SUCCESS,DONE,DEPLOYMENT,14,2020-02-07T11:54:28.000+00:00,2020-02-07T11:54:42.118+00:00,PRODUCTION,jenkins:JenkinsJob:1:Test-jenkins-dir/test-jenkins-sub-dir/test-sub-sub-dir/devlake,"{""ConnectionId"":1,""FullName"":""Test-jenkins-dir/test-jenkins-sub-dir/test-sub-sub-dir/devlake""}",_raw_jenkins_api_stages,13579, -jenkins:JenkinsStage:1:Test-jenkins-dir/test-jenkins-sub-dir/test-sub-sub-dir/devlake#13:2,gitlabInit,jenkins:JenkinsBuild:1:Test-jenkins-dir/test-jenkins-sub-dir/test-sub-sub-dir/devlake#13,SUCCESS,OTHER,,5,2020-03-18T02:19:17.000+00:00,2020-03-18T02:19:22.859+00:00,,jenkins:JenkinsJob:1:Test-jenkins-dir/test-jenkins-sub-dir/test-sub-sub-dir/devlake,"{""ConnectionId"":1,""FullName"":""Test-jenkins-dir/test-jenkins-sub-dir/test-sub-sub-dir/devlake""}",_raw_jenkins_api_stages,13580, -jenkins:JenkinsStage:1:Test-jenkins-dir/test-jenkins-sub-dir/test-sub-sub-dir/devlake#14:3,gitlabAutoSync,jenkins:JenkinsBuild:1:Test-jenkins-dir/test-jenkins-sub-dir/test-sub-sub-dir/devlake#14,SUCCESS,DONE,DEPLOYMENT,83,2020-03-12T02:45:25.000+00:00,2020-03-12T02:46:48.641+00:00,PRODUCTION,jenkins:JenkinsJob:1:Test-jenkins-dir/test-jenkins-sub-dir/test-sub-sub-dir/devlake,"{""ConnectionId"":1,""FullName"":""Test-jenkins-dir/test-jenkins-sub-dir/test-sub-sub-dir/devlake""}",_raw_jenkins_api_stages,13581, -jenkins:JenkinsStage:1:Test-jenkins-dir/test-jenkins-sub-dir/test-sub-sub-dir/devlake#1:6,Hello,jenkins:JenkinsBuild:1:Test-jenkins-dir/test-jenkins-sub-dir/test-sub-sub-dir/devlake#1,SUCCESS,DONE,,0,2022-09-08T15:40:34.000+00:00,2022-09-08T15:40:34.079+00:00,,jenkins:JenkinsJob:1:Test-jenkins-dir/test-jenkins-sub-dir/test-sub-sub-dir/devlake,"{""ConnectionId"":1,""FullName"":""Test-jenkins-dir/test-jenkins-sub-dir/test-sub-sub-dir/devlake""}",_raw_jenkins_api_stages,1, -jenkins:JenkinsStage:1:Test-jenkins-dir/test-jenkins-sub-dir/test-sub-sub-dir/devlake#2:7,Hello,jenkins:JenkinsBuild:1:Test-jenkins-dir/test-jenkins-sub-dir/test-sub-sub-dir/devlake#2,SUCCESS,DONE,,0,2022-09-08T15:40:49.000+00:00,2022-09-08T15:40:49.122+00:00,,jenkins:JenkinsJob:1:Test-jenkins-dir/test-jenkins-sub-dir/test-sub-sub-dir/devlake,"{""ConnectionId"":1,""FullName"":""Test-jenkins-dir/test-jenkins-sub-dir/test-sub-sub-dir/devlake""}",_raw_jenkins_api_stages,2, -jenkins:JenkinsStage:1:Test-jenkins-dir/test-jenkins-sub-dir/test-sub-sub-dir/devlake#3:8,Hello,jenkins:JenkinsBuild:1:Test-jenkins-dir/test-jenkins-sub-dir/test-sub-sub-dir/devlake#3,SUCCESS,DONE,,0,2022-09-08T15:40:49.000+00:00,2022-09-08T15:40:49.122+00:00,,jenkins:JenkinsJob:1:Test-jenkins-dir/test-jenkins-sub-dir/test-sub-sub-dir/devlake,"{""ConnectionId"":1,""FullName"":""Test-jenkins-dir/test-jenkins-sub-dir/test-sub-sub-dir/devlake""}",_raw_jenkins_api_stages,3, -jenkins:JenkinsStage:1:Test-jenkins-dir/test-jenkins-sub-dir/test-sub-sub-dir/devlake#4:9,Hello,jenkins:JenkinsBuild:1:Test-jenkins-dir/test-jenkins-sub-dir/test-sub-sub-dir/devlake#4,SUCCESS,DONE,,0,2022-09-08T15:40:17.000+00:00,2022-09-08T15:40:17.258+00:00,,jenkins:JenkinsJob:1:Test-jenkins-dir/test-jenkins-sub-dir/test-sub-sub-dir/devlake,"{""ConnectionId"":1,""FullName"":""Test-jenkins-dir/test-jenkins-sub-dir/test-sub-sub-dir/devlake""}",_raw_jenkins_api_stages,4, -jenkins:JenkinsStage:1:Test-jenkins-dir/test-jenkins-sub-dir/test-sub-sub-dir/devlake#5:10,Hello,jenkins:JenkinsBuild:1:Test-jenkins-dir/test-jenkins-sub-dir/test-sub-sub-dir/devlake#5,SUCCESS,DONE,,0,2022-09-08T15:40:17.000+00:00,2022-09-08T15:40:17.258+00:00,,jenkins:JenkinsJob:1:Test-jenkins-dir/test-jenkins-sub-dir/test-sub-sub-dir/devlake,"{""ConnectionId"":1,""FullName"":""Test-jenkins-dir/test-jenkins-sub-dir/test-sub-sub-dir/devlake""}",_raw_jenkins_api_stages,5, -jenkins:JenkinsStage:1:Test-jenkins-dir/test-jenkins-sub-dir/test-sub-sub-dir/devlake#6:11,Hello,jenkins:JenkinsBuild:1:Test-jenkins-dir/test-jenkins-sub-dir/test-sub-sub-dir/devlake#6,SUCCESS,DONE,,0,2022-09-08T15:40:34.000+00:00,2022-09-08T15:40:34.079+00:00,,jenkins:JenkinsJob:1:Test-jenkins-dir/test-jenkins-sub-dir/test-sub-sub-dir/devlake,"{""ConnectionId"":1,""FullName"":""Test-jenkins-dir/test-jenkins-sub-dir/test-sub-sub-dir/devlake""}",_raw_jenkins_api_stages,6, -jenkins:JenkinsStage:1:Test-jenkins-dir/test-jenkins-sub-dir/test-sub-sub-dir/devlake#7:12,gitlabInit,jenkins:JenkinsBuild:1:Test-jenkins-dir/test-jenkins-sub-dir/test-sub-sub-dir/devlake#7,SUCCESS,OTHER,,0,2020-03-04T13:47:24.000+00:00,2020-03-04T13:47:24.588+00:00,,jenkins:JenkinsJob:1:Test-jenkins-dir/test-jenkins-sub-dir/test-sub-sub-dir/devlake,"{""ConnectionId"":1,""FullName"":""Test-jenkins-dir/test-jenkins-sub-dir/test-sub-sub-dir/devlake""}",_raw_jenkins_api_stages,13574, -jenkins:JenkinsStage:1:Test-jenkins-dir/test-jenkins-sub-dir/test-sub-sub-dir/devlake#8:6,gitlabInit,jenkins:JenkinsBuild:1:Test-jenkins-dir/test-jenkins-sub-dir/test-sub-sub-dir/devlake#8,SUCCESS,OTHER,,215,2020-03-17T15:27:15.000+00:00,2020-03-17T15:30:50.100+00:00,,jenkins:JenkinsJob:1:Test-jenkins-dir/test-jenkins-sub-dir/test-sub-sub-dir/devlake,"{""ConnectionId"":1,""FullName"":""Test-jenkins-dir/test-jenkins-sub-dir/test-sub-sub-dir/devlake""}",_raw_jenkins_api_stages,13575, -jenkins:JenkinsStage:1:Test-jenkins-dir/test-jenkins-sub-dir/test-sub-sub-dir/devlake#9:7,gitlabInit,jenkins:JenkinsBuild:1:Test-jenkins-dir/test-jenkins-sub-dir/test-sub-sub-dir/devlake#9,SUCCESS,OTHER,,5,2020-03-18T02:19:17.000+00:00,2020-03-18T02:19:22.859+00:00,,jenkins:JenkinsJob:1:Test-jenkins-dir/test-jenkins-sub-dir/test-sub-sub-dir/devlake,"{""ConnectionId"":1,""FullName"":""Test-jenkins-dir/test-jenkins-sub-dir/test-sub-sub-dir/devlake""}",_raw_jenkins_api_stages,13576, +id,name,pipeline_id,result,status,original_result,original_status,type,duration_sec,started_date,finished_date,environment,cicd_scope_id,_raw_data_params,_raw_data_table,_raw_data_id,_raw_data_remark +jenkins:JenkinsStage:1:Test-jenkins-dir/test-jenkins-sub-dir/test-sub-sub-dir/devlake#10:8,scp-f/b,jenkins:JenkinsBuild:1:Test-jenkins-dir/test-jenkins-sub-dir/test-sub-sub-dir/devlake#10,SUCCESS,OTHER,SUCCESS,FAILED,,0,2019-10-29T04:01:34.000+00:00,2019-10-29T04:01:34.297+00:00,,jenkins:JenkinsJob:1:Test-jenkins-dir/test-jenkins-sub-dir/test-sub-sub-dir/devlake,"{""ConnectionId"":1,""FullName"":""Test-jenkins-dir/test-jenkins-sub-dir/test-sub-sub-dir/devlake""}",_raw_jenkins_api_stages,13577, +jenkins:JenkinsStage:1:Test-jenkins-dir/test-jenkins-sub-dir/test-sub-sub-dir/devlake#11:9,gitlabInit,jenkins:JenkinsBuild:1:Test-jenkins-dir/test-jenkins-sub-dir/test-sub-sub-dir/devlake#11,SUCCESS,OTHER,SUCCESS,,,1312,2021-03-09T13:35:10.000+00:00,2021-03-09T13:57:02.274+00:00,,jenkins:JenkinsJob:1:Test-jenkins-dir/test-jenkins-sub-dir/test-sub-sub-dir/devlake,"{""ConnectionId"":1,""FullName"":""Test-jenkins-dir/test-jenkins-sub-dir/test-sub-sub-dir/devlake""}",_raw_jenkins_api_stages,13578, +jenkins:JenkinsStage:1:Test-jenkins-dir/test-jenkins-sub-dir/test-sub-sub-dir/devlake#12:1,gitlabAutoSync,jenkins:JenkinsBuild:1:Test-jenkins-dir/test-jenkins-sub-dir/test-sub-sub-dir/devlake#12,SUCCESS,DONE,SUCCESS,SUCCESS,DEPLOYMENT,14,2020-02-07T11:54:28.000+00:00,2020-02-07T11:54:42.118+00:00,PRODUCTION,jenkins:JenkinsJob:1:Test-jenkins-dir/test-jenkins-sub-dir/test-sub-sub-dir/devlake,"{""ConnectionId"":1,""FullName"":""Test-jenkins-dir/test-jenkins-sub-dir/test-sub-sub-dir/devlake""}",_raw_jenkins_api_stages,13579, +jenkins:JenkinsStage:1:Test-jenkins-dir/test-jenkins-sub-dir/test-sub-sub-dir/devlake#13:2,gitlabInit,jenkins:JenkinsBuild:1:Test-jenkins-dir/test-jenkins-sub-dir/test-sub-sub-dir/devlake#13,SUCCESS,OTHER,SUCCESS,ABORTED,,5,2020-03-18T02:19:17.000+00:00,2020-03-18T02:19:22.859+00:00,,jenkins:JenkinsJob:1:Test-jenkins-dir/test-jenkins-sub-dir/test-sub-sub-dir/devlake,"{""ConnectionId"":1,""FullName"":""Test-jenkins-dir/test-jenkins-sub-dir/test-sub-sub-dir/devlake""}",_raw_jenkins_api_stages,13580, +jenkins:JenkinsStage:1:Test-jenkins-dir/test-jenkins-sub-dir/test-sub-sub-dir/devlake#14:3,gitlabAutoSync,jenkins:JenkinsBuild:1:Test-jenkins-dir/test-jenkins-sub-dir/test-sub-sub-dir/devlake#14,SUCCESS,DONE,SUCCESS,SUCCESS,DEPLOYMENT,83,2020-03-12T02:45:25.000+00:00,2020-03-12T02:46:48.641+00:00,PRODUCTION,jenkins:JenkinsJob:1:Test-jenkins-dir/test-jenkins-sub-dir/test-sub-sub-dir/devlake,"{""ConnectionId"":1,""FullName"":""Test-jenkins-dir/test-jenkins-sub-dir/test-sub-sub-dir/devlake""}",_raw_jenkins_api_stages,13581, +jenkins:JenkinsStage:1:Test-jenkins-dir/test-jenkins-sub-dir/test-sub-sub-dir/devlake#1:6,Hello,jenkins:JenkinsBuild:1:Test-jenkins-dir/test-jenkins-sub-dir/test-sub-sub-dir/devlake#1,SUCCESS,DONE,SUCCESS,SUCCESS,,0,2022-09-08T15:40:34.000+00:00,2022-09-08T15:40:34.079+00:00,,jenkins:JenkinsJob:1:Test-jenkins-dir/test-jenkins-sub-dir/test-sub-sub-dir/devlake,"{""ConnectionId"":1,""FullName"":""Test-jenkins-dir/test-jenkins-sub-dir/test-sub-sub-dir/devlake""}",_raw_jenkins_api_stages,1, +jenkins:JenkinsStage:1:Test-jenkins-dir/test-jenkins-sub-dir/test-sub-sub-dir/devlake#2:7,Hello,jenkins:JenkinsBuild:1:Test-jenkins-dir/test-jenkins-sub-dir/test-sub-sub-dir/devlake#2,SUCCESS,DONE,SUCCESS,SUCCESS,,0,2022-09-08T15:40:49.000+00:00,2022-09-08T15:40:49.122+00:00,,jenkins:JenkinsJob:1:Test-jenkins-dir/test-jenkins-sub-dir/test-sub-sub-dir/devlake,"{""ConnectionId"":1,""FullName"":""Test-jenkins-dir/test-jenkins-sub-dir/test-sub-sub-dir/devlake""}",_raw_jenkins_api_stages,2, +jenkins:JenkinsStage:1:Test-jenkins-dir/test-jenkins-sub-dir/test-sub-sub-dir/devlake#3:8,Hello,jenkins:JenkinsBuild:1:Test-jenkins-dir/test-jenkins-sub-dir/test-sub-sub-dir/devlake#3,SUCCESS,DONE,SUCCESS,SUCCESS,,0,2022-09-08T15:40:49.000+00:00,2022-09-08T15:40:49.122+00:00,,jenkins:JenkinsJob:1:Test-jenkins-dir/test-jenkins-sub-dir/test-sub-sub-dir/devlake,"{""ConnectionId"":1,""FullName"":""Test-jenkins-dir/test-jenkins-sub-dir/test-sub-sub-dir/devlake""}",_raw_jenkins_api_stages,3, +jenkins:JenkinsStage:1:Test-jenkins-dir/test-jenkins-sub-dir/test-sub-sub-dir/devlake#4:9,Hello,jenkins:JenkinsBuild:1:Test-jenkins-dir/test-jenkins-sub-dir/test-sub-sub-dir/devlake#4,SUCCESS,DONE,SUCCESS,SUCCESS,,0,2022-09-08T15:40:17.000+00:00,2022-09-08T15:40:17.258+00:00,,jenkins:JenkinsJob:1:Test-jenkins-dir/test-jenkins-sub-dir/test-sub-sub-dir/devlake,"{""ConnectionId"":1,""FullName"":""Test-jenkins-dir/test-jenkins-sub-dir/test-sub-sub-dir/devlake""}",_raw_jenkins_api_stages,4, +jenkins:JenkinsStage:1:Test-jenkins-dir/test-jenkins-sub-dir/test-sub-sub-dir/devlake#5:10,Hello,jenkins:JenkinsBuild:1:Test-jenkins-dir/test-jenkins-sub-dir/test-sub-sub-dir/devlake#5,SUCCESS,DONE,SUCCESS,SUCCESS,,0,2022-09-08T15:40:17.000+00:00,2022-09-08T15:40:17.258+00:00,,jenkins:JenkinsJob:1:Test-jenkins-dir/test-jenkins-sub-dir/test-sub-sub-dir/devlake,"{""ConnectionId"":1,""FullName"":""Test-jenkins-dir/test-jenkins-sub-dir/test-sub-sub-dir/devlake""}",_raw_jenkins_api_stages,5, +jenkins:JenkinsStage:1:Test-jenkins-dir/test-jenkins-sub-dir/test-sub-sub-dir/devlake#6:11,Hello,jenkins:JenkinsBuild:1:Test-jenkins-dir/test-jenkins-sub-dir/test-sub-sub-dir/devlake#6,SUCCESS,DONE,SUCCESS,SUCCESS,,0,2022-09-08T15:40:34.000+00:00,2022-09-08T15:40:34.079+00:00,,jenkins:JenkinsJob:1:Test-jenkins-dir/test-jenkins-sub-dir/test-sub-sub-dir/devlake,"{""ConnectionId"":1,""FullName"":""Test-jenkins-dir/test-jenkins-sub-dir/test-sub-sub-dir/devlake""}",_raw_jenkins_api_stages,6, +jenkins:JenkinsStage:1:Test-jenkins-dir/test-jenkins-sub-dir/test-sub-sub-dir/devlake#7:12,gitlabInit,jenkins:JenkinsBuild:1:Test-jenkins-dir/test-jenkins-sub-dir/test-sub-sub-dir/devlake#7,SUCCESS,OTHER,SUCCESS,FAILED,,0,2020-03-04T13:47:24.000+00:00,2020-03-04T13:47:24.588+00:00,,jenkins:JenkinsJob:1:Test-jenkins-dir/test-jenkins-sub-dir/test-sub-sub-dir/devlake,"{""ConnectionId"":1,""FullName"":""Test-jenkins-dir/test-jenkins-sub-dir/test-sub-sub-dir/devlake""}",_raw_jenkins_api_stages,13574, +jenkins:JenkinsStage:1:Test-jenkins-dir/test-jenkins-sub-dir/test-sub-sub-dir/devlake#8:6,gitlabInit,jenkins:JenkinsBuild:1:Test-jenkins-dir/test-jenkins-sub-dir/test-sub-sub-dir/devlake#8,SUCCESS,OTHER,SUCCESS,FAILED,,215,2020-03-17T15:27:15.000+00:00,2020-03-17T15:30:50.100+00:00,,jenkins:JenkinsJob:1:Test-jenkins-dir/test-jenkins-sub-dir/test-sub-sub-dir/devlake,"{""ConnectionId"":1,""FullName"":""Test-jenkins-dir/test-jenkins-sub-dir/test-sub-sub-dir/devlake""}",_raw_jenkins_api_stages,13575, +jenkins:JenkinsStage:1:Test-jenkins-dir/test-jenkins-sub-dir/test-sub-sub-dir/devlake#9:7,gitlabInit,jenkins:JenkinsBuild:1:Test-jenkins-dir/test-jenkins-sub-dir/test-sub-sub-dir/devlake#9,SUCCESS,OTHER,SUCCESS,ABORTED,,5,2020-03-18T02:19:17.000+00:00,2020-03-18T02:19:22.859+00:00,,jenkins:JenkinsJob:1:Test-jenkins-dir/test-jenkins-sub-dir/test-sub-sub-dir/devlake,"{""ConnectionId"":1,""FullName"":""Test-jenkins-dir/test-jenkins-sub-dir/test-sub-sub-dir/devlake""}",_raw_jenkins_api_stages,13576, diff --git a/backend/plugins/jenkins/e2e/stages_test.go b/backend/plugins/jenkins/e2e/stages_test.go index 1a241809268..527698a8a48 100644 --- a/backend/plugins/jenkins/e2e/stages_test.go +++ b/backend/plugins/jenkins/e2e/stages_test.go @@ -92,6 +92,8 @@ func TestJenkinsStagesDataFlow(t *testing.T) { "pipeline_id", "result", "status", + "original_result", + "original_status", "type", "duration_sec", "started_date", diff --git a/backend/plugins/jenkins/tasks/build_cicd_convertor.go b/backend/plugins/jenkins/tasks/build_cicd_convertor.go index 485814d3e79..5637619ba31 100644 --- a/backend/plugins/jenkins/tasks/build_cicd_convertor.go +++ b/backend/plugins/jenkins/tasks/build_cicd_convertor.go @@ -18,6 +18,7 @@ limitations under the License. package tasks import ( + "github.com/spf13/cast" "reflect" "time" @@ -102,15 +103,17 @@ func ConvertBuildsToCicdTasks(taskCtx plugin.SubTaskContext) (err errors.Error) DomainEntity: domainlayer.DomainEntity{ Id: buildIdGen.Generate(jenkinsBuild.ConnectionId, jenkinsBuild.FullName), }, - Name: jenkinsBuild.FullName, - Result: jenkinsPipelineResult, - Status: jenkinsPipelineStatus, - FinishedDate: jenkinsPipelineFinishedDate, - DurationSec: durationSec, - CreatedDate: jenkinsBuild.StartTime, - CicdScopeId: jobIdGen.Generate(jenkinsBuild.ConnectionId, data.Options.JobFullName), - Type: data.RegexEnricher.ReturnNameIfMatched(devops.DEPLOYMENT, jenkinsBuild.FullName), - Environment: data.RegexEnricher.ReturnNameIfOmittedOrMatched(devops.PRODUCTION, jenkinsBuild.FullName), + Name: jenkinsBuild.FullName, + Result: jenkinsPipelineResult, + OriginalResult: jenkinsBuild.Result, + Status: jenkinsPipelineStatus, + OriginalStatus: cast.ToString(jenkinsBuild.Building), + FinishedDate: jenkinsPipelineFinishedDate, + DurationSec: durationSec, + CreatedDate: jenkinsBuild.StartTime, + CicdScopeId: jobIdGen.Generate(jenkinsBuild.ConnectionId, data.Options.JobFullName), + Type: data.RegexEnricher.ReturnNameIfMatched(devops.DEPLOYMENT, jenkinsBuild.FullName), + Environment: data.RegexEnricher.ReturnNameIfOmittedOrMatched(devops.PRODUCTION, jenkinsBuild.FullName), } jenkinsPipeline.RawDataOrigin = jenkinsBuild.RawDataOrigin results = append(results, jenkinsPipeline) @@ -120,16 +123,18 @@ func ConvertBuildsToCicdTasks(taskCtx plugin.SubTaskContext) (err errors.Error) DomainEntity: domainlayer.DomainEntity{ Id: buildIdGen.Generate(jenkinsBuild.ConnectionId, jenkinsBuild.FullName), }, - Name: data.Options.JobFullName, - Result: jenkinsPipelineResult, - Status: jenkinsPipelineStatus, - DurationSec: durationSec, - StartedDate: jenkinsBuild.StartTime, - FinishedDate: jenkinsPipelineFinishedDate, - CicdScopeId: jobIdGen.Generate(jenkinsBuild.ConnectionId, data.Options.JobFullName), - Type: data.RegexEnricher.ReturnNameIfMatched(devops.DEPLOYMENT, jenkinsBuild.FullName), - Environment: data.RegexEnricher.ReturnNameIfOmittedOrMatched(devops.PRODUCTION, jenkinsBuild.FullName), - PipelineId: buildIdGen.Generate(jenkinsBuild.ConnectionId, jenkinsBuild.FullName), + Name: data.Options.JobFullName, + Result: jenkinsPipelineResult, + Status: jenkinsPipelineStatus, + OriginalResult: jenkinsBuild.Result, + OriginalStatus: cast.ToString(jenkinsBuild.Building), + DurationSec: durationSec, + StartedDate: jenkinsBuild.StartTime, + FinishedDate: jenkinsPipelineFinishedDate, + CicdScopeId: jobIdGen.Generate(jenkinsBuild.ConnectionId, data.Options.JobFullName), + Type: data.RegexEnricher.ReturnNameIfMatched(devops.DEPLOYMENT, jenkinsBuild.FullName), + Environment: data.RegexEnricher.ReturnNameIfOmittedOrMatched(devops.PRODUCTION, jenkinsBuild.FullName), + PipelineId: buildIdGen.Generate(jenkinsBuild.ConnectionId, jenkinsBuild.FullName), } results = append(results, jenkinsTask) diff --git a/backend/plugins/jenkins/tasks/stage_convertor.go b/backend/plugins/jenkins/tasks/stage_convertor.go index bb439e7b3d9..9afc9503d53 100644 --- a/backend/plugins/jenkins/tasks/stage_convertor.go +++ b/backend/plugins/jenkins/tasks/stage_convertor.go @@ -127,16 +127,18 @@ func ConvertStages(taskCtx plugin.SubTaskContext) (err errors.Error) { DomainEntity: domainlayer.DomainEntity{ Id: stageIdGen.Generate(body.ConnectionId, body.BuildName, body.ID), }, - Name: body.Name, - PipelineId: buildIdGen.Generate(body.ConnectionId, body.BuildName), - Result: jenkinsTaskResult, - Status: jenkinsTaskStatus, - DurationSec: durationSec, - StartedDate: startedDate, - FinishedDate: jenkinsTaskFinishedDate, - CicdScopeId: jobIdGen.Generate(body.ConnectionId, data.Options.JobFullName), - Type: data.RegexEnricher.ReturnNameIfMatched(devops.DEPLOYMENT, body.Name), - Environment: data.RegexEnricher.ReturnNameIfOmittedOrMatched(devops.PRODUCTION, body.Name), + Name: body.Name, + PipelineId: buildIdGen.Generate(body.ConnectionId, body.BuildName), + Result: jenkinsTaskResult, + OriginalResult: body.Result, + Status: jenkinsTaskStatus, + OriginalStatus: body.Status, + DurationSec: durationSec, + StartedDate: startedDate, + FinishedDate: jenkinsTaskFinishedDate, + CicdScopeId: jobIdGen.Generate(body.ConnectionId, data.Options.JobFullName), + Type: data.RegexEnricher.ReturnNameIfMatched(devops.DEPLOYMENT, body.Name), + Environment: data.RegexEnricher.ReturnNameIfOmittedOrMatched(devops.PRODUCTION, body.Name), } results = append(results, jenkinsTask) return results, nil diff --git a/backend/plugins/webhook/api/deployments.go b/backend/plugins/webhook/api/deployments.go index bb60ffcd39e..dd217729676 100644 --- a/backend/plugins/webhook/api/deployments.go +++ b/backend/plugins/webhook/api/deployments.go @@ -116,6 +116,8 @@ func PostDeploymentCicdTask(input *plugin.ApiResourceInput) (*plugin.ApiResource Name: fmt.Sprintf(`deployment for %s`, request.CommitSha), Result: request.Result, Status: devops.STATUS_DONE, + OriginalResult: request.Result, + OriginalStatus: devops.STATUS_DONE, Environment: request.Environment, CreatedDate: *request.CreatedDate, StartedDate: request.StartedDate,