Pin CMS build to accepted Node ancestor and verify image config before recreate
This commit is contained in:
@@ -138,7 +138,8 @@ class ReconciliationTests(unittest.TestCase):
|
||||
('cms_installed_release',{'sourceCommit':'old','runNumber':0}),
|
||||
('cms_application_inventory',({'app':'sha'},{})),('cms_healthchecks',None),
|
||||
('cms_foundation',{}),('cms_preserved_data',{}),('cms_other_services',{}),
|
||||
('cms_runtime_snapshot_v2',{'fieldSha256':{'config.Env':'sha'}})]:
|
||||
('cms_runtime_snapshot_v2',{'fieldSha256':{'config.Env':'sha'}}),
|
||||
('cms_resolve_build_base',{'imageId':'fixture-base'})]:
|
||||
stack.enter_context(patch.object(r,name,return_value=value))
|
||||
legacy=stack.enter_context(patch.object(r,'cms_runtime_snapshot'))
|
||||
result=r.preflight_cms_release(self.payload,['app'],'new')
|
||||
|
||||
Reference in New Issue
Block a user