Enable reviewed Stage runtime provisioning across authenticated CI boundary
Deploy Canina / deploy (push) Failing after 1m18s
Deploy Canina / deploy (push) Failing after 1m18s
This commit is contained in:
1 parent
105ab07fbd
commit
cb20c2acb5
2 files changed
+2
-1
No files matched your search
@@ -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
|
||||
@@ -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)
|
||||
|
||||
Reference in new issue
Block a user