Compare commits
1 Commits
Author | SHA1 | Date | |
---|---|---|---|
|
08d937104e |
12
abra
12
abra
@ -808,17 +808,17 @@ ensure_stack_deployed() {
|
||||
}
|
||||
|
||||
ensure_domain_deployed() {
|
||||
local domain=$1
|
||||
DOMAIN=$1
|
||||
|
||||
warning "Waiting for $domain to come up..."
|
||||
warning "Waiting for $DOMAIN to come up..."
|
||||
|
||||
idx=1
|
||||
until curl --output /dev/null --silent --head --fail "$domain"; do
|
||||
debug "Polled $domain $idx time(s) already"
|
||||
until curl --output /dev/null --silent --head --fail "$DOMAIN"; do
|
||||
debug "Polled $DOMAIN $idx time(s) already"
|
||||
sleep 3
|
||||
idx=$(("$idx" + 1))
|
||||
if [[ $idx -gt 10 ]]; then
|
||||
error "$domain still isn't up, check status by running \"abra app ${STACK_NAME} ps\""
|
||||
error "$DOMAIN still isn't up, check status by running \"abra app ${STACK_NAME} ps\""
|
||||
fi
|
||||
done
|
||||
}
|
||||
@ -1649,7 +1649,7 @@ sub_app_secret_generate(){
|
||||
if [[ -n "$LENGTH" ]]; then
|
||||
if [ -z "$abra__cmd_" ]; then
|
||||
require_binary pwgen
|
||||
abra__cmd_="pwgen -s \"$LENGTH\" 1"
|
||||
abra__cmd_="pwgen -s $LENGTH 1"
|
||||
fi
|
||||
else
|
||||
if [ -z "$abra__cmd_" ]; then
|
||||
|
Loading…
Reference in New Issue
Block a user