Loads a service configuration from the repository and outputs it to STDOUT.
base-repo-get-service SERVICE
SERVICE
: a key of a service definition in the repository.
Returns the service definition.
This is usually evaluated in a shell script by the eval
command.
# # get service config config=$(base-repo-get-service ${service}) if [ $? != 0 ]; then echo "ERROR loading service config for service '${service}'" >&2 exit 1 fi _debug "*** config: ${config} ***" # eval ${config} #