fix(ci): keep im deploy scoped to service
Deploy im-server production / deploy (push) Successful in 6m19s
Deploy im-server production / deploy (push) Successful in 6m19s
This commit is contained in:
@@ -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()
|
||||
|
||||
|
||||
Reference in New Issue
Block a user