manifest: add resolved commit specs to Serialize()
Same as with package specs and container specs, the commit specs are added to the manifest serialization after being resolved.
This commit is contained in:
parent
e05d4b4a03
commit
89a398371d
21 changed files with 101 additions and 39 deletions
|
|
@ -507,7 +507,8 @@ func generateManifest(ctx context.Context, workers *worker.Server, depsolveJobID
|
|||
} else {
|
||||
panic(fmt.Sprintf("ImageType %q does not define payload pipelines - this is a programming error", imageType.Name()))
|
||||
}
|
||||
ms, err := manifest.Serialize(depsolveResults.PackageSpecs, map[string][]container.Spec{payloadPipelineName: containerSpecs})
|
||||
// TODO: resolve ostree source spec from manifest content and pass here.
|
||||
ms, err := manifest.Serialize(depsolveResults.PackageSpecs, map[string][]container.Spec{payloadPipelineName: containerSpecs}, nil)
|
||||
|
||||
jobResult.Manifest = ms
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue