Commit 83b1957b authored by Emanuel Calvo's avatar Emanuel Calvo Committed by Matteo Melli
Browse files

Fixes on migration script

parent d03335db
#!/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