test-continuous-deployment/deploy/deploy-stack.sh
David Boreham 48b95c2f79
All checks were successful
Continuous Stack Deployment Test / Deploy test stack (push) Successful in 25s
Initial commit
2024-06-02 20:24:20 -06:00

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