Publish curated Unraid-AppOps-Gateway source from bc001a6df859f7c9836fa145afb739d1ceebc524
This commit is contained in:
1 parent
631b846397
commit
ab3fa553f0
15 files changed
+3687
-227
No files matched your search
@@ -9,6 +9,7 @@ import io
|
||||
import ipaddress
|
||||
import json
|
||||
import os
|
||||
import re
|
||||
import socket
|
||||
import ssl
|
||||
import stat
|
||||
@@ -8237,9 +8238,18 @@ def test_appops_uses_push_validation_without_a_deploy_runner_workflow():
|
||||
managed_validation = (workflow_root / "managed-validation.yml").read_text(encoding="utf-8")
|
||||
assert "push:" in managed_validation
|
||||
assert "branches: [main]" in managed_validation
|
||||
assert "runs-on: linux-validation" in managed_validation
|
||||
assert "unraid-deploy" not in managed_validation
|
||||
|
||||
# Keep all jobs on the installed legacy fleet during specialized-runner bootstrap.
|
||||
expected_runner = "linux-validation"
|
||||
for job in ("preflight", "backend", "frontend", "security", "polyglot", "full"):
|
||||
match = re.search(
|
||||
rf"(?ms)^ {re.escape(job)}:\n(?P<body>.*?)(?=^ [a-z][a-z0-9_-]*:\n|\Z)",
|
||||
managed_validation,
|
||||
)
|
||||
assert match is not None, f"missing managed-validation job {job}"
|
||||
assert re.search(rf"(?m)^ runs-on: {re.escape(expected_runner)}\s*$", match["body"])
|
||||
|
||||
|
||||
def test_chimera_example_requires_exact_source_webhook_auth_and_live_proof():
|
||||
projects = json.loads(
|
||||
|
||||
Reference in new issue
Block a user