Commit 918eb8ec authored by Matija Obreza's avatar Matija Obreza
Browse files

CI should rescale genesys_server to properly sync with genesys_standby

parent e9ffbfcd
......@@ -209,6 +209,10 @@ deploy to production:
- ${DOCKER_CMD} service update --image ${CI_REGISTRY_IMAGE}:${GENESYS_VERSION}-${CI_COMMIT_REF_SLUG} genesys_server
- sleep 180
- ${DOCKER_CMD} service update --image ${CI_REGISTRY_IMAGE}:${GENESYS_VERSION}-${CI_COMMIT_REF_SLUG} genesys_standby
# Restart the server to sync with standby
- sleep 120
- docker service scale genesys_server=0
- docker service scale genesys_server=1
name: production
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment