feat(runner): verify non110 cd closure evidence
This commit is contained in:
@@ -222,6 +222,28 @@ def build_delivery_closure_workbench(
|
||||
)
|
||||
or ""
|
||||
),
|
||||
"non110_runner_cd_closure_verifier_schema_version": str(
|
||||
production_deploy_readback.get(
|
||||
"non110_runner_cd_closure_verifier_schema_version"
|
||||
)
|
||||
or ""
|
||||
),
|
||||
"non110_runner_cd_closure_verifier": str(
|
||||
production_deploy_readback.get(
|
||||
"non110_runner_cd_closure_verifier"
|
||||
)
|
||||
or ""
|
||||
),
|
||||
"non110_runner_cd_closure_status": str(
|
||||
production_deploy_readback.get(
|
||||
"non110_runner_cd_closure_status"
|
||||
)
|
||||
or ""
|
||||
),
|
||||
"non110_runner_cd_closure_required": production_deploy_readback.get(
|
||||
"non110_runner_cd_closure_required"
|
||||
)
|
||||
is True,
|
||||
"non110_runner_ready": production_deploy_readback.get(
|
||||
"non110_runner_ready"
|
||||
)
|
||||
@@ -540,6 +562,24 @@ def build_delivery_closure_workbench(
|
||||
production_deploy_readback.get("public_actions_queue_readback_verifier")
|
||||
or ""
|
||||
),
|
||||
"production_deploy_non110_runner_cd_closure_verifier_schema_version": str(
|
||||
production_deploy_readback.get(
|
||||
"non110_runner_cd_closure_verifier_schema_version"
|
||||
)
|
||||
or ""
|
||||
),
|
||||
"production_deploy_non110_runner_cd_closure_verifier": str(
|
||||
production_deploy_readback.get("non110_runner_cd_closure_verifier")
|
||||
or ""
|
||||
),
|
||||
"production_deploy_non110_runner_cd_closure_status": str(
|
||||
production_deploy_readback.get("non110_runner_cd_closure_status")
|
||||
or ""
|
||||
),
|
||||
"production_deploy_non110_runner_cd_closure_required": (
|
||||
production_deploy_readback.get("non110_runner_cd_closure_required")
|
||||
is True
|
||||
),
|
||||
"production_deploy_non110_runner_ready": production_deploy_readback.get(
|
||||
"non110_runner_ready"
|
||||
)
|
||||
|
||||
@@ -93,6 +93,24 @@ def test_delivery_closure_workbench_endpoint_returns_product_summary():
|
||||
data["summary"]["production_deploy_public_actions_queue_readback_verifier"]
|
||||
== "ops/runner/read-public-gitea-actions-queue.py --json"
|
||||
)
|
||||
assert (
|
||||
data["summary"][
|
||||
"production_deploy_non110_runner_cd_closure_verifier_schema_version"
|
||||
]
|
||||
== "awoooi_non110_cd_closure_verifier_v1"
|
||||
)
|
||||
assert (
|
||||
data["summary"]["production_deploy_non110_runner_cd_closure_status"]
|
||||
== "blocked_non110_runner_not_ready"
|
||||
)
|
||||
assert (
|
||||
data["summary"]["production_deploy_non110_runner_cd_closure_required"]
|
||||
is True
|
||||
)
|
||||
assert (
|
||||
"ops/runner/verify-awoooi-non110-cd-closure.py"
|
||||
in data["summary"]["production_deploy_non110_runner_cd_closure_verifier"]
|
||||
)
|
||||
assert data["summary"]["production_deploy_non110_runner_ready"] is False
|
||||
assert (
|
||||
data["summary"][
|
||||
@@ -194,7 +212,7 @@ def test_delivery_closure_workbench_endpoint_returns_product_summary():
|
||||
assert lanes["production_deploy"]["blocker_count"] == 4
|
||||
assert lanes["production_deploy"]["metric"][
|
||||
"observed_source_control_main_short_sha"
|
||||
] == "c53cbca4a26d"
|
||||
] == "76071f21a811"
|
||||
assert lanes["production_deploy"]["metric"][
|
||||
"production_image_tag_short_sha"
|
||||
] == "af45811e87"
|
||||
@@ -276,6 +294,24 @@ def test_delivery_closure_workbench_endpoint_returns_product_summary():
|
||||
lanes["production_deploy"]["metric"]["public_actions_queue_readback_verifier"]
|
||||
== "ops/runner/read-public-gitea-actions-queue.py --json"
|
||||
)
|
||||
assert (
|
||||
lanes["production_deploy"]["metric"][
|
||||
"non110_runner_cd_closure_verifier_schema_version"
|
||||
]
|
||||
== "awoooi_non110_cd_closure_verifier_v1"
|
||||
)
|
||||
assert (
|
||||
lanes["production_deploy"]["metric"]["non110_runner_cd_closure_status"]
|
||||
== "blocked_non110_runner_not_ready"
|
||||
)
|
||||
assert (
|
||||
lanes["production_deploy"]["metric"]["non110_runner_cd_closure_required"]
|
||||
is True
|
||||
)
|
||||
assert (
|
||||
"ops/runner/verify-awoooi-non110-cd-closure.py"
|
||||
in lanes["production_deploy"]["metric"]["non110_runner_cd_closure_verifier"]
|
||||
)
|
||||
assert lanes["production_deploy"]["metric"]["non110_runner_ready"] is False
|
||||
assert (
|
||||
lanes["production_deploy"]["metric"][
|
||||
|
||||
Reference in New Issue
Block a user