fix(ci): keep im deploy scoped to service
Deploy im-server production / deploy (push) Successful in 6m19s

This commit is contained in:
Your Name
2026-10-20 17:56:31 +08:00
parent 9c10862a6d
commit 93a6ff0d03
2 changed files with 6 additions and 28 deletions
+6
View File
@@ -34,6 +34,12 @@ class DeployWorkflowContractTest(unittest.TestCase):
self.assertNotIn("KUBECONFIG", self.workflow)
self.assertNotIn("git.118im.com", self.workflow)
def test_deploy_does_not_mutate_shared_caddy_configuration(self):
self.assertNotIn("Ensure production IM CORS routing", self.workflow)
self.assertNotIn("Caddyfile", self.workflow)
self.assertNotIn("perl -0pi", self.workflow)
self.assertNotIn("force-recreate caddy", self.workflow)
if __name__ == "__main__":
unittest.main()