Commit d1002f27 authored by Andrew Newdigate's avatar Andrew Newdigate

Check SSH works too

parent a077b1f8
Pipeline #88535 passed with stage
in 15 seconds
......@@ -9,4 +9,13 @@ source "${SCRIPT_DIR}/workflow-script-commons.sh"
# --------------------------------------------------------------
if [[ ${FAILOVER_ENVIRONMENT} == "stg" ]]; then
echo Testing ssh to deploy.stg.gitlab.com
log_command ssh deploy.stg.gitlab.com date
elif [[ ${FAILOVER_ENVIRONMENT} == "prd" ]]; then
echo Testing ssh to deploy.gitlab.com
log_command ssh deploy.stg.gitlab.com date
fi
echo "Success, you're ready to failover."
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