Adds env variable to skip the deployment check for the production check
This adds a new environment variable to optionally skip the deployment check.
- Adds
SKIP_DEPLOYMENT_CHECK
as a new environment variable, when set this will skip the deployment check when running deployment checks, in some places this replacesDEPLOYMENT_CHECK
- Retains the existing
DEPLOYMENT_CHECK
env variable which has some additional logic for doing production checks when we are in the middle of a deployment. - Makes the production check a bit more generic now, see comments on MR.
for https://gitlab.com/gitlab-com/gl-infra/infrastructure/-/issues/13194
Edited by John Jarvis