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
|
|
@ -56,7 +56,7 @@ func FixtureBase() *Store {
|
|||
panic(fmt.Sprintf("failed to create a manifest: %v", err))
|
||||
}
|
||||
|
||||
mf, err := manifest.Serialize(nil, nil)
|
||||
mf, err := manifest.Serialize(nil, nil, nil)
|
||||
if err != nil {
|
||||
panic(fmt.Sprintf("failed to create a manifest: %v", err))
|
||||
}
|
||||
|
|
@ -198,7 +198,7 @@ func FixtureFinished() *Store {
|
|||
panic(fmt.Sprintf("failed to create a manifest: %v", err))
|
||||
}
|
||||
|
||||
mf, err := manifest.Serialize(nil, nil)
|
||||
mf, err := manifest.Serialize(nil, nil, nil)
|
||||
if err != nil {
|
||||
panic(fmt.Sprintf("failed to create a manifest: %v", err))
|
||||
}
|
||||
|
|
|
|||
|
|
@ -53,7 +53,7 @@ func (suite *storeTest) SetupSuite() {
|
|||
suite.myArch, _ = suite.myDistro.GetArch(test_distro.TestArchName)
|
||||
suite.myImageType, _ = suite.myArch.GetImageType(test_distro.TestImageTypeName)
|
||||
manifest, _, _ := suite.myImageType.Manifest(&suite.myBP, suite.myImageOptions, suite.myRepoConfig, 0)
|
||||
suite.myManifest, _ = manifest.Serialize(nil, nil)
|
||||
suite.myManifest, _ = manifest.Serialize(nil, nil, nil)
|
||||
suite.mySourceConfig = SourceConfig{
|
||||
Name: "testSourceConfig",
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue