From cb20c2acb57392fd8b46ca5ed45aaf37a5f7a437 Mon Sep 17 00:00:00 2001 From: devops Date: Fri, 23 Oct 2026 18:17:43 +0000 Subject: [PATCH] Enable reviewed Stage runtime provisioning across authenticated CI boundary --- scripts/ci-host-deploy.sh | 2 +- scripts/tests/test_ci_host_boundary.py | 1 + 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/scripts/ci-host-deploy.sh b/scripts/ci-host-deploy.sh index 6deb8424..8487ba1a 100644 --- a/scripts/ci-host-deploy.sh +++ b/scripts/ci-host-deploy.sh @@ -41,5 +41,5 @@ script=$(mktemp) trap 'rm -f "$script"' EXIT wget --no-proxy -qO "$script" "https://git.parsaaghayi.ir/parsa/canina/raw/commit/${1}/scripts/deploy.sh" # CI marker exists only across this authenticated, fixed Stage boundary. -GITHUB_ACTIONS=true DEPLOY_SHA="$1" bash "$script" develop +GITHUB_ACTIONS=true STAGE_PROVISION_ENABLED=true DEPLOY_SHA="$1" bash "$script" develop HOST diff --git a/scripts/tests/test_ci_host_boundary.py b/scripts/tests/test_ci_host_boundary.py index d6b2e33f..161ecd11 100644 --- a/scripts/tests/test_ci_host_boundary.py +++ b/scripts/tests/test_ci_host_boundary.py @@ -36,6 +36,7 @@ class BoundaryTests(unittest.TestCase): payload = (tools/'payload').read_text() self.assertIn('/raw/commit/${1}/scripts/deploy.sh', payload) self.assertIn('python3',payload) + self.assertIn('STAGE_PROVISION_ENABLED=true',payload) self.assertIn('refusing container filesystem',payload) self.assertNotIn('docker run', payload) self.assertNotIn('git reset', payload)