Make deployment process canary compatible
We need to do the following for canary:
- Avoid running any gitaly operation
- Avoid running any migration
Coming from: https://gitlab.com/gitlab-com/infrastructure/issues/2134
Related to https://gitlab.com/gitlab-com/infrastructure/issues/1849