feat(delivery): expose dispatch channel readback
This commit is contained in:
@@ -140,6 +140,23 @@ def build_delivery_closure_workbench(
|
||||
"authorized_dispatch_channel_ready"
|
||||
)
|
||||
is True,
|
||||
"manual_run_button_visible": production_deploy_readback.get(
|
||||
"manual_run_button_visible"
|
||||
)
|
||||
is True,
|
||||
"gitea_sign_in_required": production_deploy_readback.get(
|
||||
"gitea_sign_in_required"
|
||||
)
|
||||
is True,
|
||||
"dispatch_without_token_http_status": _int(
|
||||
production_deploy_readback.get(
|
||||
"dispatch_without_token_http_status"
|
||||
)
|
||||
),
|
||||
"dispatch_without_token_message": str(
|
||||
production_deploy_readback.get("dispatch_without_token_message")
|
||||
or ""
|
||||
),
|
||||
"latest_visible_cd_run_id": str(
|
||||
production_deploy_readback.get("latest_visible_cd_run_id") or ""
|
||||
),
|
||||
@@ -382,6 +399,20 @@ def build_delivery_closure_workbench(
|
||||
production_deploy_rollups.get("authorized_dispatch_channel_ready")
|
||||
is True
|
||||
),
|
||||
"production_deploy_manual_run_button_visible": production_deploy_readback.get(
|
||||
"manual_run_button_visible"
|
||||
)
|
||||
is True,
|
||||
"production_deploy_gitea_sign_in_required": production_deploy_readback.get(
|
||||
"gitea_sign_in_required"
|
||||
)
|
||||
is True,
|
||||
"production_deploy_dispatch_without_token_http_status": _int(
|
||||
production_deploy_readback.get("dispatch_without_token_http_status")
|
||||
),
|
||||
"production_deploy_dispatch_without_token_message": str(
|
||||
production_deploy_readback.get("dispatch_without_token_message") or ""
|
||||
),
|
||||
"production_deploy_hard_blocker_count": _int(
|
||||
production_deploy_rollups.get("hard_blocker_count")
|
||||
),
|
||||
|
||||
Reference in New Issue
Block a user