fix(ops): add gitea pressure check-mode playbook
Some checks failed
CD Pipeline / workflow-shape (push) Successful in 0s
CD Pipeline / cancel-stale-cd (push) Has been skipped
CD Pipeline / tests (push) Failing after 51s
CD Pipeline / build-and-deploy (push) Has been skipped
CD Pipeline / post-deploy-checks (push) Has been skipped
Some checks failed
CD Pipeline / workflow-shape (push) Successful in 0s
CD Pipeline / cancel-stale-cd (push) Has been skipped
CD Pipeline / tests (push) Failing after 51s
CD Pipeline / build-and-deploy (push) Has been skipped
CD Pipeline / post-deploy-checks (push) Has been skipped
This commit is contained in:
@@ -450,6 +450,7 @@ def build_packet(
|
||||
controlled_apply_command = ""
|
||||
controller_script = script_dir / "host-sustained-load-controller.py"
|
||||
evidence_script = script_dir / "host-sustained-load-evidence.py"
|
||||
gitea_playbook_script = script_dir / "gitea-queue-hook-backlog-playbook.py"
|
||||
remediation_script = script_dir / "host-runaway-process-remediation.py"
|
||||
verifier_command = (
|
||||
f"{controller_script} "
|
||||
@@ -532,7 +533,7 @@ def build_packet(
|
||||
else "warning"
|
||||
)
|
||||
dry_run_command = (
|
||||
f"{evidence_script} "
|
||||
f"{gitea_playbook_script} "
|
||||
f"--host {host} --metrics-file {DEFAULT_METRICS_FILE} "
|
||||
f"--docker-stats-file {DEFAULT_DOCKER_STATS_FILE} --json"
|
||||
)
|
||||
@@ -558,7 +559,7 @@ def build_packet(
|
||||
classification = "blocked_gitea_queue_or_hook_backlog_requires_playbook"
|
||||
severity = "critical" if load5_per_core > load5_per_core_threshold else "warning"
|
||||
dry_run_command = (
|
||||
f"{evidence_script} "
|
||||
f"{gitea_playbook_script} "
|
||||
f"--host {host} --metrics-file {DEFAULT_METRICS_FILE} "
|
||||
f"--docker-stats-file {DEFAULT_DOCKER_STATS_FILE} --json"
|
||||
)
|
||||
|
||||
Reference in New Issue
Block a user