fix(runner): align workflows to non110 labels
This commit is contained in:
@@ -164,6 +164,16 @@ def build_delivery_closure_workbench(
|
||||
"non110_runner_safe_registration_helper_ready"
|
||||
)
|
||||
is True,
|
||||
"non110_runner_workflow_labels_aligned": production_deploy_readback.get(
|
||||
"non110_runner_workflow_labels_aligned"
|
||||
)
|
||||
is True,
|
||||
"non110_runner_host_label": str(
|
||||
production_deploy_readback.get("non110_runner_host_label") or ""
|
||||
),
|
||||
"non110_runner_ubuntu_label": str(
|
||||
production_deploy_readback.get("non110_runner_ubuntu_label") or ""
|
||||
),
|
||||
"non110_runner_registration_condition_required": production_deploy_readback.get(
|
||||
"non110_runner_registration_condition_required"
|
||||
)
|
||||
@@ -400,6 +410,18 @@ def build_delivery_closure_workbench(
|
||||
)
|
||||
is True
|
||||
),
|
||||
"production_deploy_non110_runner_workflow_labels_aligned": (
|
||||
production_deploy_readback.get(
|
||||
"non110_runner_workflow_labels_aligned"
|
||||
)
|
||||
is True
|
||||
),
|
||||
"production_deploy_non110_runner_host_label": str(
|
||||
production_deploy_readback.get("non110_runner_host_label") or ""
|
||||
),
|
||||
"production_deploy_non110_runner_ubuntu_label": str(
|
||||
production_deploy_readback.get("non110_runner_ubuntu_label") or ""
|
||||
),
|
||||
"production_deploy_non110_runner_registration_condition_required": (
|
||||
production_deploy_readback.get(
|
||||
"non110_runner_registration_condition_required"
|
||||
|
||||
@@ -56,13 +56,25 @@ def test_delivery_closure_workbench_endpoint_returns_product_summary():
|
||||
]
|
||||
is True
|
||||
)
|
||||
assert (
|
||||
data["summary"]["production_deploy_non110_runner_workflow_labels_aligned"]
|
||||
is True
|
||||
)
|
||||
assert (
|
||||
data["summary"]["production_deploy_non110_runner_host_label"]
|
||||
== "awoooi-non110-host"
|
||||
)
|
||||
assert (
|
||||
data["summary"]["production_deploy_non110_runner_ubuntu_label"]
|
||||
== "awoooi-non110-ubuntu"
|
||||
)
|
||||
assert (
|
||||
data["summary"][
|
||||
"production_deploy_non110_runner_registration_condition_required"
|
||||
]
|
||||
is True
|
||||
)
|
||||
assert data["summary"]["production_deploy_non110_runner_ready_config_count"] == 2
|
||||
assert data["summary"]["production_deploy_non110_runner_ready_config_count"] == 1
|
||||
assert data["summary"]["production_deploy_non110_runner_ready_service_count"] == 1
|
||||
assert (
|
||||
data["summary"]["production_deploy_non110_runner_ready_registration_count"]
|
||||
@@ -115,7 +127,7 @@ def test_delivery_closure_workbench_endpoint_returns_product_summary():
|
||||
assert lanes["production_deploy"]["blocker_count"] == 3
|
||||
assert lanes["production_deploy"]["metric"][
|
||||
"observed_source_control_main_short_sha"
|
||||
] == "c18200c23ca2"
|
||||
] == "666454212ac9"
|
||||
assert lanes["production_deploy"]["metric"][
|
||||
"production_image_tag_short_sha"
|
||||
] == "af45811e87"
|
||||
@@ -152,13 +164,27 @@ def test_delivery_closure_workbench_endpoint_returns_product_summary():
|
||||
]
|
||||
is True
|
||||
)
|
||||
assert (
|
||||
lanes["production_deploy"]["metric"][
|
||||
"non110_runner_workflow_labels_aligned"
|
||||
]
|
||||
is True
|
||||
)
|
||||
assert (
|
||||
lanes["production_deploy"]["metric"]["non110_runner_host_label"]
|
||||
== "awoooi-non110-host"
|
||||
)
|
||||
assert (
|
||||
lanes["production_deploy"]["metric"]["non110_runner_ubuntu_label"]
|
||||
== "awoooi-non110-ubuntu"
|
||||
)
|
||||
assert (
|
||||
lanes["production_deploy"]["metric"][
|
||||
"non110_runner_registration_condition_required"
|
||||
]
|
||||
is True
|
||||
)
|
||||
assert lanes["production_deploy"]["metric"]["non110_runner_ready_config_count"] == 2
|
||||
assert lanes["production_deploy"]["metric"]["non110_runner_ready_config_count"] == 1
|
||||
assert lanes["production_deploy"]["metric"]["non110_runner_ready_service_count"] == 1
|
||||
assert (
|
||||
lanes["production_deploy"]["metric"][
|
||||
|
||||
Reference in New Issue
Block a user