deploy: register Manager v6 favicon release
This commit is contained in:
@@ -29,6 +29,33 @@ RUNNER = load_runner()
|
||||
|
||||
|
||||
class DevicePlaneRegistryTest(unittest.TestCase):
|
||||
def test_manager_v6_pins_034_and_canonical_favicon_boundary(self):
|
||||
self.assertEqual(
|
||||
RUNNER.DEVICE_PLANE_MANAGER_RELEASE_V6_PREDECESSOR_PATCH_ID,
|
||||
"device-manager-release-v5-20260822-034",
|
||||
)
|
||||
self.assertEqual(
|
||||
RUNNER.DEVICE_PLANE_MANAGER_RELEASE_V6_PREDECESSOR_ARTIFACT_SHA256,
|
||||
"acc1d2ae2cda66861054826928c25d01a2428e688cc8132a9c381831bf29ab5a",
|
||||
)
|
||||
self.assertEqual(
|
||||
RUNNER.DEVICE_PLANE_MANAGER_RELEASE_V6_COMPOSE_SHA256,
|
||||
RUNNER.DEVICE_PLANE_MANAGER_RELEASE_V5_COMPOSE_SHA256,
|
||||
)
|
||||
boundaries = RUNNER.expected_device_plane_manager_release_v6_boundaries()
|
||||
self.assertEqual(boundaries["faviconSet"], "nodedc-adaptive-v1")
|
||||
self.assertEqual(
|
||||
boundaries["overviewLayout"],
|
||||
"mission-core-landing-stage-v1",
|
||||
)
|
||||
self.assertEqual(
|
||||
RUNNER.component_services(
|
||||
"device-plane",
|
||||
RUNNER.DEVICE_PLANE_MANAGER_RELEASE_V6_ENTRIES,
|
||||
),
|
||||
("device-manager",),
|
||||
)
|
||||
|
||||
def test_manager_v5_pins_033_and_mission_core_overview_layout(self):
|
||||
self.assertEqual(
|
||||
RUNNER.DEVICE_PLANE_MANAGER_RELEASE_V5_PREDECESSOR_PATCH_ID,
|
||||
@@ -402,6 +429,34 @@ class DevicePlaneRegistryTest(unittest.TestCase):
|
||||
require_persistent_data=True,
|
||||
)
|
||||
|
||||
def test_manager_v6_post_apply_preserves_persistent_data_gate(self):
|
||||
with (
|
||||
mock.patch.object(
|
||||
RUNNER,
|
||||
"healthcheck_compose_service_with_grace",
|
||||
),
|
||||
mock.patch.object(
|
||||
RUNNER,
|
||||
"component_healthchecks",
|
||||
return_value=(),
|
||||
),
|
||||
mock.patch.object(
|
||||
RUNNER,
|
||||
"validate_device_manager_control_plane_runtime",
|
||||
) as runtime_acceptance,
|
||||
):
|
||||
RUNNER.run_healthchecks(
|
||||
"device-plane",
|
||||
RUNNER.DEVICE_PLANE_MANAGER_RELEASE_V6_ENTRIES,
|
||||
("device-manager",),
|
||||
)
|
||||
|
||||
runtime_acceptance.assert_called_once_with(
|
||||
require_edge_channel=True,
|
||||
core_network_mode="private-egress",
|
||||
require_persistent_data=True,
|
||||
)
|
||||
|
||||
def test_manager_v4_prepare_owns_new_parent_and_managed_data_directory(self):
|
||||
with tempfile.TemporaryDirectory(
|
||||
prefix="nodedc-manager-v4-data-",
|
||||
|
||||
Reference in New Issue
Block a user