@@ -113,38 +113,39 @@ type WorkflowRequest struct {
113
113
ImageRetryCount int `json:"imageRetryCount"`
114
114
ImageRetryInterval int `json:"imageRetryInterval"`
115
115
// Data from CD Workflow service
116
- WorkflowRunnerId int `json:"workflowRunnerId"`
117
- CdPipelineId int `json:"cdPipelineId"`
118
- StageYaml string `json:"stageYaml"`
119
- ArtifactLocation string `json:"artifactLocation"`
120
- CiArtifactDTO CiArtifactDTO `json:"ciArtifactDTO"`
121
- CdImage string `json:"cdImage"`
122
- StageType string `json:"stageType"`
123
- CdCacheLocation string `json:"cdCacheLocation"`
124
- CdCacheRegion string `json:"cdCacheRegion"`
125
- WorkflowPrefixForLog string `json:"workflowPrefixForLog"`
126
- DeploymentTriggeredBy string `json:"deploymentTriggeredBy,omitempty"`
127
- DeploymentTriggerTime time.Time `json:"deploymentTriggerTime,omitempty"`
128
- DeploymentReleaseCounter int `json:"deploymentReleaseCounter,omitempty"`
129
- WorkflowExecutor pipelineConfig.WorkflowExecutorType `json:"workflowExecutor"`
130
- PrePostDeploySteps []* bean.StepObject `json:"prePostDeploySteps"`
131
- CiArtifactLastFetch time.Time `json:"ciArtifactLastFetch"`
132
- CiPipelineType string `json:"ciPipelineType"`
133
- UseExternalClusterBlob bool `json:"useExternalClusterBlob"`
134
- RegistryDestinationImageMap map [string ][]string `json:"registryDestinationImageMap"`
135
- RegistryCredentialMap map [string ]bean4.RegistryCredentials `json:"registryCredentialMap"`
136
- PluginArtifactStage string `json:"pluginArtifactStage"`
137
- PushImageBeforePostCI bool `json:"pushImageBeforePostCI"`
138
- ImageScanMaxRetries int `json:"imageScanMaxRetries,omitempty"`
139
- ImageScanRetryDelay int `json:"imageScanRetryDelay,omitempty"`
140
- Type bean.WorkflowPipelineType
141
- Pipeline * pipelineConfig.Pipeline
142
- Env * repository.Environment
143
- AppLabels map [string ]string
144
- Scope resourceQualifiers.Scope
145
- BuildxCacheModeMin bool `json:"buildxCacheModeMin"`
146
- AsyncBuildxCacheExport bool `json:"asyncBuildxCacheExport"`
147
- UseDockerApiToGetDigest bool `json:"useDockerApiToGetDigest"`
116
+ WorkflowRunnerId int `json:"workflowRunnerId"`
117
+ CdPipelineId int `json:"cdPipelineId"`
118
+ StageYaml string `json:"stageYaml"`
119
+ ArtifactLocation string `json:"artifactLocation"`
120
+ CiArtifactDTO CiArtifactDTO `json:"ciArtifactDTO"`
121
+ CdImage string `json:"cdImage"`
122
+ StageType string `json:"stageType"`
123
+ CdCacheLocation string `json:"cdCacheLocation"`
124
+ CdCacheRegion string `json:"cdCacheRegion"`
125
+ WorkflowPrefixForLog string `json:"workflowPrefixForLog"`
126
+ DeploymentTriggeredBy string `json:"deploymentTriggeredBy,omitempty"`
127
+ DeploymentTriggerTime time.Time `json:"deploymentTriggerTime,omitempty"`
128
+ DeploymentReleaseCounter int `json:"deploymentReleaseCounter,omitempty"`
129
+ WorkflowExecutor pipelineConfig.WorkflowExecutorType `json:"workflowExecutor"`
130
+ PrePostDeploySteps []* bean.StepObject `json:"prePostDeploySteps"`
131
+ CiArtifactLastFetch time.Time `json:"ciArtifactLastFetch"`
132
+ CiPipelineType string `json:"ciPipelineType"`
133
+ UseExternalClusterBlob bool `json:"useExternalClusterBlob"`
134
+ RegistryDestinationImageMap map [string ][]string `json:"registryDestinationImageMap"`
135
+ RegistryCredentialMap map [string ]bean4.RegistryCredentials `json:"registryCredentialMap"`
136
+ PluginArtifactStage string `json:"pluginArtifactStage"`
137
+ PushImageBeforePostCI bool `json:"pushImageBeforePostCI"`
138
+ ImageScanMaxRetries int `json:"imageScanMaxRetries,omitempty"`
139
+ ImageScanRetryDelay int `json:"imageScanRetryDelay,omitempty"`
140
+ Type bean.WorkflowPipelineType
141
+ Pipeline * pipelineConfig.Pipeline
142
+ Env * repository.Environment
143
+ AppLabels map [string ]string
144
+ Scope resourceQualifiers.Scope
145
+ BuildxCacheModeMin bool `json:"buildxCacheModeMin"`
146
+ AsyncBuildxCacheExport bool `json:"asyncBuildxCacheExport"`
147
+ UseDockerApiToGetDigest bool `json:"useDockerApiToGetDigest"`
148
+ UseAppDockerConfigForPrivateRegistries bool `json:"useAppDockerConfigForPrivateRegistries"`
148
149
}
149
150
150
151
func (workflowRequest * WorkflowRequest ) updateExternalRunMetadata () {
0 commit comments