worker/osbuild: stop handling VMDK stream-optimized conversion
A backward compatibility code handling the conversion of VMDK image to stream-optimized sub-format has been kept in the implementation since PR#2529 [1] merged on May 4th 2022. Since this change, no API implementation is submitting jobs, which would hit this conversion code, because VMDK images are already being produced in the desired sub-format. On-premise deployments are expected to use the same composer and worker versions. There are no composer / worker instances in production, which are not running the modified code. Delete the backward compatibility code. [1] https://github.com/osbuild/osbuild-composer/pull/2529
This commit is contained in:
parent
fc6bd60b94
commit
95e2e75851
4 changed files with 9 additions and 86 deletions
|
|
@ -21,12 +21,8 @@ type OSBuildJob struct {
|
|||
ManifestDynArgsIdx *int `json:"manifest_dyn_args_idx,omitempty"`
|
||||
Targets []*target.Target `json:"targets,omitempty"`
|
||||
ImageName string `json:"image_name,omitempty"`
|
||||
|
||||
// TODO: Delete this after "some" time (kept for backward compatibility)
|
||||
StreamOptimized bool `json:"stream_optimized,omitempty"`
|
||||
|
||||
Exports []string `json:"export_stages,omitempty"`
|
||||
PipelineNames *PipelineNames `json:"pipeline_names,omitempty"`
|
||||
Exports []string `json:"export_stages,omitempty"`
|
||||
PipelineNames *PipelineNames `json:"pipeline_names,omitempty"`
|
||||
}
|
||||
|
||||
type JobResult struct {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue