fix(infra): integrate private revalidation provisioning and narrow release gates
Deploy Canina / deploy (push) Failing after 1m6s
Deploy Canina / deploy (push) Failing after 1m6s
This commit is contained in:
1 parent
1bb6274b35
commit
f94ef580fb
6 files changed
+79
-12
No files matched your search
@@ -12,8 +12,8 @@ class BoundaryTests(unittest.TestCase):
|
||||
self.assertIn('DEPLOY_KNOWN_HOSTS', result.stderr)
|
||||
self.assertNotIn('sentinel-secret', result.stdout+result.stderr)
|
||||
|
||||
def test_guards_refuse_non_ci_production_and_injection(self):
|
||||
for updates in ({'GITHUB_ACTIONS':'false'}, {'BRANCH':'main'}, {'DEPLOY_SHA':'a'*40+';touch bad'}, {'DEPLOY_SHA':''}):
|
||||
def test_guards_refuse_non_ci_unknown_branch_and_injection(self):
|
||||
for updates in ({'GITHUB_ACTIONS':'false'}, {'BRANCH':'unreviewed'}, {'DEPLOY_SHA':'a'*40+';touch bad'}, {'DEPLOY_SHA':''}):
|
||||
result = self.run_wrapper(**updates)
|
||||
self.assertEqual(result.returncode, 2)
|
||||
self.assertNotIn('provision', result.stderr)
|
||||
|
||||
Reference in new issue
Block a user