Commit 6d86297e authored by Emanuel Calvo's avatar Emanuel Calvo

Fixes on migration script

parent 5f15cd3d
Pipeline #88392 passed with stage
in 33 seconds
#!/bin/bash
set -eu
shopt -s expand_aliases
alias ssh_remote="ssh "
[[ $# -lt 1 ]] && { echo "Specify the environment"; exit 1 ; }
# Because some of the script use one or another, we clone both,
# although we need to homogenize
export ENVIRONMENT=$1
export GITLAB_ENV=$ENVIRONMENT
source .env_${ENVIRONMENT} # That is, .env_staging or .env_production
source .env_${ENVIRONMENT} # That is, .env_staging or .env_production (test also supported)
source utilities
source steps_${ENVIRONMENT}
......
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