David Boreham
48b95c2f79
All checks were successful
Continuous Stack Deployment Test / Deploy test stack (push) Successful in 25s
28 lines
432 B
Bash
Executable File
28 lines
432 B
Bash
Executable File
#!/usr/bin/env bash
|
|
set -e
|
|
if [ -n "$CERC_SCRIPT_DEBUG" ]; then
|
|
set -x
|
|
fi
|
|
|
|
SO_COMMAND=laconic-so
|
|
|
|
deploy_name="Deploy test stack"
|
|
|
|
deployment_result=0
|
|
|
|
test_fail_exit () {
|
|
local fail_message=$1
|
|
echo "${deploy_name}: ${fail_message}"
|
|
echo "${deploy_name}: FAILED"
|
|
exit 1
|
|
}
|
|
|
|
log_info () {
|
|
local message=$1
|
|
echo "$(date +"%Y-%m-%d %T"): ${message}"
|
|
}
|
|
|
|
log_info "Deployment goes here"
|
|
|
|
exit $deployment_result
|