Pin CMS build to accepted Node ancestor and verify image config before recreate

This commit is contained in:
DCCONSTRUCTIONS
2026-11-04 23:49:06 +03:00
parent 0998d76428
commit bf3c2444ae
7 changed files with 379 additions and 21 deletions
+2 -1
View File
@@ -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')