Apply OCI runtime settings to existing containers with recoverable edits

This commit is contained in:
Jonatan
2026-10-17 17:11:27 +02:00
parent d286b650d7
commit b70e968f73
15 changed files with 802 additions and 9 deletions
+1
View File
@@ -287,6 +287,7 @@ class UpdateRoutingTests(unittest.TestCase):
candidate['deployment']['resources']['memory_mb'] = 768
if not resource_edit:
candidate['deployment']['environment'][0]['value'] = 'changed'
candidate['template']['container_contract']['image']['reference'] = 'example/app:other'
proposal = {'operation': 'recreate', 'candidate': candidate}
import contextlib, oci_operation_notice
with patch.object(instances, 'locked', return_value=contextlib.nullcontext()), \