Skip to content

Instantly share code, notes, and snippets.

@gdperkins
Created May 11, 2017 00:34
Show Gist options
  • Save gdperkins/aed59257cccf5f7e56377b322911f416 to your computer and use it in GitHub Desktop.
Save gdperkins/aed59257cccf5f7e56377b322911f416 to your computer and use it in GitHub Desktop.
The-Magic-Box:tiny-web gdp$ git push dokku master
error: src refspec master does not match any.
error: failed to push some refs to 'dokku@.....:tiny-web'
The-Magic-Box:tiny-web gdp$ git status
On branch dev
Your branch is up-to-date with 'origin/dev'.
nothing to commit, working tree clean
The-Magic-Box:tiny-web gdp$ git push origin dev:master
Total 0 (delta 0), reused 0 (delta 0)
To github.com:gdperkins/tiny-web.git
* [new branch] dev -> master
The-Magic-Box:tiny-web gdp$ git push dokku dev:master
+ export DOKKU_DISTRO
++ . /etc/os-release
++ echo ubuntu
+ DOKKU_DISTRO=ubuntu
+ export DOKKU_IMAGE=gliderlabs/herokuish
+ DOKKU_IMAGE=gliderlabs/herokuish
+ export DOKKU_LIB_ROOT=/var/lib/dokku
+ DOKKU_LIB_ROOT=/var/lib/dokku
+ export PLUGIN_PATH=/var/lib/dokku/plugins
+ PLUGIN_PATH=/var/lib/dokku/plugins
+ export PLUGIN_AVAILABLE_PATH=/var/lib/dokku/plugins/available
+ PLUGIN_AVAILABLE_PATH=/var/lib/dokku/plugins/available
+ export PLUGIN_ENABLED_PATH=/var/lib/dokku/plugins/enabled
+ PLUGIN_ENABLED_PATH=/var/lib/dokku/plugins/enabled
+ export PLUGIN_CORE_PATH=/var/lib/dokku/core-plugins
+ PLUGIN_CORE_PATH=/var/lib/dokku/core-plugins
+ export PLUGIN_CORE_AVAILABLE_PATH=/var/lib/dokku/core-plugins/available
+ PLUGIN_CORE_AVAILABLE_PATH=/var/lib/dokku/core-plugins/available
+ export PLUGIN_CORE_ENABLED_PATH=/var/lib/dokku/core-plugins/enabled
+ PLUGIN_CORE_ENABLED_PATH=/var/lib/dokku/core-plugins/enabled
+ export DOKKU_API_VERSION=1
+ DOKKU_API_VERSION=1
+ export DOKKU_NOT_IMPLEMENTED_EXIT=10
+ DOKKU_NOT_IMPLEMENTED_EXIT=10
+ export DOKKU_VALID_EXIT=0
+ DOKKU_VALID_EXIT=0
+ export DOKKU_LOGS_DIR=/var/log/dokku
+ DOKKU_LOGS_DIR=/var/log/dokku
+ export DOKKU_EVENTS_LOGFILE=/var/log/dokku/events.log
+ DOKKU_EVENTS_LOGFILE=/var/log/dokku/events.log
+ export DOKKU_CONTAINER_LABEL=dokku
+ DOKKU_CONTAINER_LABEL=dokku
+ export DOKKU_GLOBAL_RUN_ARGS=--label=dokku
+ DOKKU_GLOBAL_RUN_ARGS=--label=dokku
+ source /var/lib/dokku/core-plugins/available/common/functions
++ set -eo pipefail
++ [[ -n 1 ]]
++ set -x
+ parse_args git-receive-pack ''\''tiny-web'\'''
+ declare 'desc=top-level cli arg parser'
+ local next_index=1
+ local skip=false
+ args=("$@")
+ local args
+ for arg in '"$@"'
+ [[ false == \t\r\u\e ]]
+ case "$arg" in
+ next_index=2
+ for arg in '"$@"'
+ [[ false == \t\r\u\e ]]
+ case "$arg" in
+ next_index=3
+ return 0
+ args=("$@")
+ skip_arg=false
+ [[ git-receive-pack =~ ^--.* ]]
+ has_tty
+ declare 'desc=return 0 if we have a tty'
++ /usr/bin/tty
++ true
+ [[ not a tty == \n\o\t\ \a\ \t\t\y ]]
+ return 1
+ DOKKU_QUIET_OUTPUT=1
++ id -un
+ [[ dokku != \d\o\k\k\u ]]
+ [[ git-receive-pack =~ ^plugin:.* ]]
+ [[ git-receive-pack == \s\s\h\-\k\e\y\s\:\a\d\d ]]
+ [[ -n git-receive-pack 'tiny-web' ]]
+ export -n SSH_ORIGINAL_COMMAND
+ [[ git-receive-pack =~ config-* ]]
+ [[ git-receive-pack =~ docker-options* ]]
+ set -f
+ /usr/bin/dokku git-receive-pack ''\''tiny-web'\'''
+ export DOKKU_DISTRO
++ . /etc/os-release
++ echo ubuntu
+ DOKKU_DISTRO=ubuntu
+ export DOKKU_IMAGE=gliderlabs/herokuish
+ DOKKU_IMAGE=gliderlabs/herokuish
+ export DOKKU_LIB_ROOT=/var/lib/dokku
+ DOKKU_LIB_ROOT=/var/lib/dokku
+ export PLUGIN_PATH=/var/lib/dokku/plugins
+ PLUGIN_PATH=/var/lib/dokku/plugins
+ export PLUGIN_AVAILABLE_PATH=/var/lib/dokku/plugins/available
+ PLUGIN_AVAILABLE_PATH=/var/lib/dokku/plugins/available
+ export PLUGIN_ENABLED_PATH=/var/lib/dokku/plugins/enabled
+ PLUGIN_ENABLED_PATH=/var/lib/dokku/plugins/enabled
+ export PLUGIN_CORE_PATH=/var/lib/dokku/core-plugins
+ PLUGIN_CORE_PATH=/var/lib/dokku/core-plugins
+ export PLUGIN_CORE_AVAILABLE_PATH=/var/lib/dokku/core-plugins/available
+ PLUGIN_CORE_AVAILABLE_PATH=/var/lib/dokku/core-plugins/available
+ export PLUGIN_CORE_ENABLED_PATH=/var/lib/dokku/core-plugins/enabled
+ PLUGIN_CORE_ENABLED_PATH=/var/lib/dokku/core-plugins/enabled
+ export DOKKU_API_VERSION=1
+ DOKKU_API_VERSION=1
+ export DOKKU_NOT_IMPLEMENTED_EXIT=10
+ DOKKU_NOT_IMPLEMENTED_EXIT=10
+ export DOKKU_VALID_EXIT=0
+ DOKKU_VALID_EXIT=0
+ export DOKKU_LOGS_DIR=/var/log/dokku
+ DOKKU_LOGS_DIR=/var/log/dokku
+ export DOKKU_EVENTS_LOGFILE=/var/log/dokku/events.log
+ DOKKU_EVENTS_LOGFILE=/var/log/dokku/events.log
+ export DOKKU_CONTAINER_LABEL=dokku
+ DOKKU_CONTAINER_LABEL=dokku
+ export DOKKU_GLOBAL_RUN_ARGS=--label=dokku
+ DOKKU_GLOBAL_RUN_ARGS=--label=dokku
+ source /var/lib/dokku/core-plugins/available/common/functions
++ set -eo pipefail
++ [[ -n 1 ]]
++ set -x
+ parse_args git-receive-pack ''\''tiny-web'\'''
+ declare 'desc=top-level cli arg parser'
+ local next_index=1
+ local skip=false
+ args=("$@")
+ local args
+ for arg in '"$@"'
+ [[ false == \t\r\u\e ]]
+ case "$arg" in
+ next_index=2
+ for arg in '"$@"'
+ [[ false == \t\r\u\e ]]
+ case "$arg" in
+ next_index=3
+ return 0
+ args=("$@")
+ skip_arg=false
+ [[ git-receive-pack =~ ^--.* ]]
+ has_tty
+ declare 'desc=return 0 if we have a tty'
++ /usr/bin/tty
++ true
+ [[ not a tty == \n\o\t\ \a\ \t\t\y ]]
+ return 1
+ DOKKU_QUIET_OUTPUT=1
++ id -un
+ [[ dokku != \d\o\k\k\u ]]
+ [[ git-receive-pack =~ ^plugin:.* ]]
+ [[ git-receive-pack == \s\s\h\-\k\e\y\s\:\a\d\d ]]
+ [[ -n '' ]]
+ dokku_auth git-receive-pack ''\''tiny-web'\'''
+ declare 'desc=calls user-auth plugin trigger'
+ export SSH_USER=dokku
+ SSH_USER=dokku
+ export SSH_NAME=admin1
+ SSH_NAME=admin1
+ plugn trigger user-auth dokku admin1 git-receive-pack ''\''tiny-web'\'''
+ source /var/lib/dokku/core-plugins/available/common/functions
++ set -eo pipefail
++ [[ -n 1 ]]
++ set -x
+ [[ ! -n '' ]]
+ source /var/lib/dokku/core-plugins/available/common/functions
++ set -eo pipefail
++ [[ -n 1 ]]
++ set -x
+ [[ git-receive-pack =~ (ssh-keys:add|ssh-keys:remove) ]]
+ return 0
+ case "$1" in
+ execute_dokku_cmd git-receive-pack ''\''tiny-web'\'''
+ declare 'desc=executes dokku sub-commands'
+ local PLUGIN_NAME=git-receive-pack
+ local PLUGIN_CMD=git-receive-pack
+ local implemented=0
+ local script
+ argv=("$@")
+ local argv
+ case "$PLUGIN_NAME" in
++ readlink -f /var/lib/dokku/plugins/enabled/git-receive-pack
+ [[ /var/lib/dokku/plugins/enabled/git-receive-pack == *core-plugins* ]]
+ [[ -x /var/lib/dokku/plugins/enabled/git-receive-pack/subcommands/default ]]
+ [[ -x /var/lib/dokku/plugins/enabled/git-receive-pack/subcommands/git-receive-pack ]]
+ [[ -x /var/lib/dokku/plugins/enabled/git-receive-pack/subcommands/git-receive-pack ]]
+ [[ 0 -eq 0 ]]
+ for script in '$PLUGIN_ENABLED_PATH/*/commands'
+ set +e
+ /var/lib/dokku/plugins/enabled/00_dokku-standard/commands git-receive-pack ''\''tiny-web'\'''
+ exit_code=10
+ set -e
+ [[ 10 -eq 10 ]]
+ continue
+ for script in '$PLUGIN_ENABLED_PATH/*/commands'
+ set +e
+ /var/lib/dokku/plugins/enabled/20_events/commands git-receive-pack ''\''tiny-web'\'''
+ exit_code=10
+ set -e
+ [[ 10 -eq 10 ]]
+ continue
+ for script in '$PLUGIN_ENABLED_PATH/*/commands'
+ set +e
+ /var/lib/dokku/plugins/enabled/apps/commands git-receive-pack ''\''tiny-web'\'''
+ exit_code=10
+ set -e
+ [[ 10 -eq 10 ]]
+ continue
+ for script in '$PLUGIN_ENABLED_PATH/*/commands'
+ set +e
+ /var/lib/dokku/plugins/enabled/certs/commands git-receive-pack ''\''tiny-web'\'''
+ exit_code=10
+ set -e
+ [[ 10 -eq 10 ]]
+ continue
+ for script in '$PLUGIN_ENABLED_PATH/*/commands'
+ set +e
+ /var/lib/dokku/plugins/enabled/checks/commands git-receive-pack ''\''tiny-web'\'''
+ exit_code=10
+ set -e
+ [[ 10 -eq 10 ]]
+ continue
+ for script in '$PLUGIN_ENABLED_PATH/*/commands'
+ set +e
+ /var/lib/dokku/plugins/enabled/config/commands git-receive-pack ''\''tiny-web'\'''
+ exit_code=10
+ set -e
+ [[ 10 -eq 10 ]]
+ continue
+ for script in '$PLUGIN_ENABLED_PATH/*/commands'
+ set +e
+ /var/lib/dokku/plugins/enabled/docker-options/commands git-receive-pack ''\''tiny-web'\'''
+ exit_code=10
+ set -e
+ [[ 10 -eq 10 ]]
+ continue
+ for script in '$PLUGIN_ENABLED_PATH/*/commands'
+ set +e
+ /var/lib/dokku/plugins/enabled/domains/commands git-receive-pack ''\''tiny-web'\'''
+ exit_code=10
+ set -e
+ [[ 10 -eq 10 ]]
+ continue
+ for script in '$PLUGIN_ENABLED_PATH/*/commands'
+ set +e
+ /var/lib/dokku/plugins/enabled/enter/commands git-receive-pack ''\''tiny-web'\'''
+ exit_code=10
+ set -e
+ [[ 10 -eq 10 ]]
+ continue
+ for script in '$PLUGIN_ENABLED_PATH/*/commands'
+ set +e
+ /var/lib/dokku/plugins/enabled/git/commands git-receive-pack ''\''tiny-web'\'''
+ source /var/lib/dokku/plugins/available/git/functions
++ set -eo pipefail
++ [[ -n 1 ]]
++ set -x
++ source /var/lib/dokku/core-plugins/available/common/functions
+++ set -eo pipefail
+++ [[ -n 1 ]]
+++ set -x
++ source /var/lib/dokku/plugins/available/apps/functions
+++ set -eo pipefail
+++ [[ -n 1 ]]
+++ set -x
+++ source /var/lib/dokku/core-plugins/available/common/functions
++++ set -eo pipefail
++++ [[ -n 1 ]]
++++ set -x
+++ source /var/lib/dokku/plugins/available/config/functions
++++ set -eo pipefail
++++ [[ -n 1 ]]
++++ set -x
++++ source /var/lib/dokku/core-plugins/available/common/functions
+++++ set -eo pipefail
+++++ [[ -n 1 ]]
+++++ set -x
++ source /var/lib/dokku/plugins/available/config/functions
+++ set -eo pipefail
+++ [[ -n 1 ]]
+++ set -x
+++ source /var/lib/dokku/core-plugins/available/common/functions
++++ set -eo pipefail
++++ [[ -n 1 ]]
++++ set -x
+ case "$1" in
+ git_glob_cmd git-receive-pack ''\''tiny-web'\'''
+ declare 'desc=catch-all for any other git-* commands'
+ local 'cmd=git-*'
++ sed 's/^\///g'
++ sed 's/\\'\''/'\''/g'
++ perl -pe 's/(?<!\\)'\''//g'
++ echo ''\''tiny-web'\'''
+ local APP=tiny-web
+ local APP_PATH=/home/dokku/tiny-web
+ [[ git-receive-pack == \g\i\t\-\r\e\c\e\i\v\e\-\p\a\c\k ]]
+ [[ ! -d /home/dokku/tiny-web/refs ]]
+ [[ git-receive-pack == \g\i\t\-\r\e\c\e\i\v\e\-\p\a\c\k ]]
+ local 'args=git-receive-pack '\''/home/dokku/tiny-web'\'''
+ git-shell -c 'git-receive-pack '\''/home/dokku/tiny-web'\'''
Counting objects: 37, done.
Delta compression using up to 4 threads.
Compressing objects: 100% (30/30), done.
Writing objects: 100% (37/37), 2.65 MiB | 471.00 KiB/s, done.
Total 37 (delta 7), reused 28 (delta 4)
remote: + export DOKKU_DISTRO
remote: ++ . /etc/os-release
remote: ++ echo ubuntu
remote: + DOKKU_DISTRO=ubuntu
remote: + export DOKKU_IMAGE=gliderlabs/herokuish
remote: + DOKKU_IMAGE=gliderlabs/herokuish
remote: + export DOKKU_LIB_ROOT=/var/lib/dokku
remote: + DOKKU_LIB_ROOT=/var/lib/dokku
remote: + export PLUGIN_PATH=/var/lib/dokku/plugins
remote: + PLUGIN_PATH=/var/lib/dokku/plugins
remote: + export PLUGIN_AVAILABLE_PATH=/var/lib/dokku/plugins/available
remote: + PLUGIN_AVAILABLE_PATH=/var/lib/dokku/plugins/available
remote: + export PLUGIN_ENABLED_PATH=/var/lib/dokku/plugins/enabled
remote: + PLUGIN_ENABLED_PATH=/var/lib/dokku/plugins/enabled
remote: + export PLUGIN_CORE_PATH=/var/lib/dokku/core-plugins
remote: + PLUGIN_CORE_PATH=/var/lib/dokku/core-plugins
remote: + export PLUGIN_CORE_AVAILABLE_PATH=/var/lib/dokku/core-plugins/available
remote: + PLUGIN_CORE_AVAILABLE_PATH=/var/lib/dokku/core-plugins/available
remote: + export PLUGIN_CORE_ENABLED_PATH=/var/lib/dokku/core-plugins/enabled
remote: + PLUGIN_CORE_ENABLED_PATH=/var/lib/dokku/core-plugins/enabled
remote: + export DOKKU_API_VERSION=1
remote: + DOKKU_API_VERSION=1
remote: + export DOKKU_NOT_IMPLEMENTED_EXIT=10
remote: + DOKKU_NOT_IMPLEMENTED_EXIT=10
remote: + export DOKKU_VALID_EXIT=0
remote: + DOKKU_VALID_EXIT=0
remote: + export DOKKU_LOGS_DIR=/var/log/dokku
remote: + DOKKU_LOGS_DIR=/var/log/dokku
remote: + export DOKKU_EVENTS_LOGFILE=/var/log/dokku/events.log
remote: + DOKKU_EVENTS_LOGFILE=/var/log/dokku/events.log
remote: + export DOKKU_CONTAINER_LABEL=dokku
remote: + DOKKU_CONTAINER_LABEL=dokku
remote: + export DOKKU_GLOBAL_RUN_ARGS=--label=dokku
remote: + DOKKU_GLOBAL_RUN_ARGS=--label=dokku
remote: + source /var/lib/dokku/core-plugins/available/common/functions
remote: ++ set -eo pipefail
remote: ++ [[ -n 1 ]]
remote: ++ set -x
remote: + parse_args git-hook tiny-web
remote: + declare 'desc=top-level cli arg parser'
remote: + local next_index=1
remote: + local skip=false
remote: + args=("$@")
remote: + local args
remote: + for arg in '"$@"'
remote: + [[ false == \t\r\u\e ]]
remote: + case "$arg" in
remote: + next_index=2
remote: + for arg in '"$@"'
remote: + [[ false == \t\r\u\e ]]
remote: + case "$arg" in
remote: + next_index=3
remote: + return 0
remote: + args=("$@")
remote: + skip_arg=false
remote: + [[ git-hook =~ ^--.* ]]
remote: + has_tty
remote: + declare 'desc=return 0 if we have a tty'
remote: ++ /usr/bin/tty
remote: ++ true
remote: + [[ not a tty == \n\o\t\ \a\ \t\t\y ]]
remote: + return 1
remote: + DOKKU_QUIET_OUTPUT=1
remote: ++ id -un
remote: + [[ dokku != \d\o\k\k\u ]]
remote: + [[ git-hook =~ ^plugin:.* ]]
remote: + [[ git-hook == \s\s\h\-\k\e\y\s\:\a\d\d ]]
remote: + [[ -n '' ]]
remote: + dokku_auth git-hook tiny-web
remote: + declare 'desc=calls user-auth plugin trigger'
remote: + export SSH_USER=dokku
remote: + SSH_USER=dokku
remote: + export SSH_NAME=admin1
remote: + SSH_NAME=admin1
remote: + plugn trigger user-auth dokku admin1 git-hook tiny-web
remote: + source /var/lib/dokku/core-plugins/available/common/functions
remote: ++ set -eo pipefail
remote: ++ [[ -n 1 ]]
remote: ++ set -x
remote: + [[ ! -n '' ]]
remote: + source /var/lib/dokku/core-plugins/available/common/functions
remote: ++ set -eo pipefail
remote: ++ [[ -n 1 ]]
remote: ++ set -x
remote: + [[ git-hook =~ (ssh-keys:add|ssh-keys:remove) ]]
remote: + return 0
remote: + case "$1" in
remote: + execute_dokku_cmd git-hook tiny-web
remote: + declare 'desc=executes dokku sub-commands'
remote: + local PLUGIN_NAME=git-hook
remote: + local PLUGIN_CMD=git-hook
remote: + local implemented=0
remote: + local script
remote: + argv=("$@")
remote: + local argv
remote: + case "$PLUGIN_NAME" in
remote: ++ readlink -f /var/lib/dokku/plugins/enabled/git-hook
remote: + [[ /var/lib/dokku/plugins/enabled/git-hook == *core-plugins* ]]
remote: + [[ -x /var/lib/dokku/plugins/enabled/git-hook/subcommands/default ]]
remote: + [[ -x /var/lib/dokku/plugins/enabled/git-hook/subcommands/git-hook ]]
remote: + [[ -x /var/lib/dokku/plugins/enabled/git-hook/subcommands/git-hook ]]
remote: + [[ 0 -eq 0 ]]
remote: + for script in '$PLUGIN_ENABLED_PATH/*/commands'
remote: + set +e
remote: + /var/lib/dokku/plugins/enabled/00_dokku-standard/commands git-hook tiny-web
remote: + exit_code=10
remote: + set -e
remote: + [[ 10 -eq 10 ]]
remote: + continue
remote: + for script in '$PLUGIN_ENABLED_PATH/*/commands'
remote: + set +e
remote: + /var/lib/dokku/plugins/enabled/20_events/commands git-hook tiny-web
remote: + exit_code=10
remote: + set -e
remote: + [[ 10 -eq 10 ]]
remote: + continue
remote: + for script in '$PLUGIN_ENABLED_PATH/*/commands'
remote: + set +e
remote: + /var/lib/dokku/plugins/enabled/apps/commands git-hook tiny-web
remote: + exit_code=10
remote: + set -e
remote: + [[ 10 -eq 10 ]]
remote: + continue
remote: + for script in '$PLUGIN_ENABLED_PATH/*/commands'
remote: + set +e
remote: + /var/lib/dokku/plugins/enabled/certs/commands git-hook tiny-web
remote: + exit_code=10
remote: + set -e
remote: + [[ 10 -eq 10 ]]
remote: + continue
remote: + for script in '$PLUGIN_ENABLED_PATH/*/commands'
remote: + set +e
remote: + /var/lib/dokku/plugins/enabled/checks/commands git-hook tiny-web
remote: + exit_code=10
remote: + set -e
remote: + [[ 10 -eq 10 ]]
remote: + continue
remote: + for script in '$PLUGIN_ENABLED_PATH/*/commands'
remote: + set +e
remote: + /var/lib/dokku/plugins/enabled/config/commands git-hook tiny-web
remote: + exit_code=10
remote: + set -e
remote: + [[ 10 -eq 10 ]]
remote: + continue
remote: + for script in '$PLUGIN_ENABLED_PATH/*/commands'
remote: + set +e
remote: + /var/lib/dokku/plugins/enabled/docker-options/commands git-hook tiny-web
remote: + exit_code=10
remote: + set -e
remote: + [[ 10 -eq 10 ]]
remote: + continue
remote: + for script in '$PLUGIN_ENABLED_PATH/*/commands'
remote: + set +e
remote: + /var/lib/dokku/plugins/enabled/domains/commands git-hook tiny-web
remote: + exit_code=10
remote: + set -e
remote: + [[ 10 -eq 10 ]]
remote: + continue
remote: + for script in '$PLUGIN_ENABLED_PATH/*/commands'
remote: + set +e
remote: + /var/lib/dokku/plugins/enabled/enter/commands git-hook tiny-web
remote: + exit_code=10
remote: + set -e
remote: + [[ 10 -eq 10 ]]
remote: + continue
remote: + for script in '$PLUGIN_ENABLED_PATH/*/commands'
remote: + set +e
remote: + /var/lib/dokku/plugins/enabled/git/commands git-hook tiny-web
remote: + source /var/lib/dokku/plugins/available/git/functions
remote: ++ set -eo pipefail
remote: ++ [[ -n 1 ]]
remote: ++ set -x
remote: ++ source /var/lib/dokku/core-plugins/available/common/functions
remote: +++ set -eo pipefail
remote: +++ [[ -n 1 ]]
remote: +++ set -x
remote: ++ source /var/lib/dokku/plugins/available/apps/functions
remote: +++ set -eo pipefail
remote: +++ [[ -n 1 ]]
remote: +++ set -x
remote: +++ source /var/lib/dokku/core-plugins/available/common/functions
remote: ++++ set -eo pipefail
remote: ++++ [[ -n 1 ]]
remote: ++++ set -x
remote: +++ source /var/lib/dokku/plugins/available/config/functions
remote: ++++ set -eo pipefail
remote: ++++ [[ -n 1 ]]
remote: ++++ set -x
remote: ++++ source /var/lib/dokku/core-plugins/available/common/functions
remote: +++++ set -eo pipefail
remote: +++++ [[ -n 1 ]]
remote: +++++ set -x
remote: ++ source /var/lib/dokku/plugins/available/config/functions
remote: +++ set -eo pipefail
remote: +++ [[ -n 1 ]]
remote: +++ set -x
remote: +++ source /var/lib/dokku/core-plugins/available/common/functions
remote: ++++ set -eo pipefail
remote: ++++ [[ -n 1 ]]
remote: ++++ set -x
remote: + case "$1" in
remote: + git_hook_cmd git-hook tiny-web
remote: + declare 'desc=kick off receive-app trigger from git prereceive hook'
remote: + local cmd=git-hook
remote: + local APP=tiny-web
remote: ++ git_deploy_branch tiny-web
remote: ++ declare 'desc=retrieve the deploy branch for a given application'
remote: ++ local cmd=git-hook
remote: ++ local APP=tiny-web
remote: +++ config_get tiny-web DOKKU_DEPLOY_BRANCH
remote: +++ declare 'desc=get value of given config var'
remote: +++ [[ tiny-web == \c\o\n\f\i\g\:\g\e\t ]]
remote: +++ set -- config:get tiny-web DOKKU_DEPLOY_BRANCH
remote: +++ config_parse_args config:get tiny-web DOKKU_DEPLOY_BRANCH
remote: +++ declare 'desc=parse config plugin args'
remote: +++ unset APP ENV_FILE DOKKU_CONFIG_TYPE DOKKU_CONFIG_RESTART DOKKU_CONFIG_EXPORT
remote: +++ for var in '"$@"'
remote: +++ [[ config:get == \-\-\g\l\o\b\a\l ]]
remote: +++ [[ config:get == \-\-\n\o\-\r\e\s\t\a\r\t ]]
remote: +++ [[ config:get == \-\-\e\x\p\o\r\t ]]
remote: +++ [[ config:get == \-\-\s\h\e\l\l ]]
remote: +++ for var in '"$@"'
remote: +++ [[ tiny-web == \-\-\g\l\o\b\a\l ]]
remote: +++ [[ tiny-web == \-\-\n\o\-\r\e\s\t\a\r\t ]]
remote: +++ [[ tiny-web == \-\-\e\x\p\o\r\t ]]
remote: +++ [[ tiny-web == \-\-\s\h\e\l\l ]]
remote: +++ for var in '"$@"'
remote: +++ [[ DOKKU_DEPLOY_BRANCH == \-\-\g\l\o\b\a\l ]]
remote: +++ [[ DOKKU_DEPLOY_BRANCH == \-\-\n\o\-\r\e\s\t\a\r\t ]]
remote: +++ [[ DOKKU_DEPLOY_BRANCH == \-\-\e\x\p\o\r\t ]]
remote: +++ [[ DOKKU_DEPLOY_BRANCH == \-\-\s\h\e\l\l ]]
remote: +++ SANITIZED_ARGS=($(get_sanitized_config_args "$@"))
remote: ++++ get_sanitized_config_args config:get tiny-web DOKKU_DEPLOY_BRANCH
remote: ++++ local 'desc=return sanitized arguments for config plugin'
remote: ++++ SANITIZED_ARGS=("$@")
remote: ++++ local SANITIZED_ARGS
remote: ++++ SANITIZED_ARGS=("${SANITIZED_ARGS[@]//--global/}")
remote: ++++ SANITIZED_ARGS=("${SANITIZED_ARGS[@]//--no-restart/}")
remote: ++++ SANITIZED_ARGS=("${SANITIZED_ARGS[@]//--export/}")
remote: ++++ SANITIZED_ARGS=("${SANITIZED_ARGS[@]//--shell/}")
remote: ++++ echo config:get tiny-web DOKKU_DEPLOY_BRANCH
remote: +++ local SANITIZED_ARGS
remote: +++ set -- config:get tiny-web DOKKU_DEPLOY_BRANCH
remote: +++ DOKKU_CONFIG_TYPE=app
remote: +++ DOKKU_CONFIG_RESTART=true
remote: +++ [[ app == \a\p\p ]]
remote: +++ [[ -z tiny-web ]]
remote: +++ verify_app_name tiny-web
remote: +++ declare 'desc=verify app name format and app existence'
remote: +++ local APP=tiny-web
remote: +++ [[ ! -n tiny-web ]]
remote: +++ [[ ! tiny-web =~ ^[a-z].* ]]
remote: +++ [[ ! -d /home/dokku/tiny-web ]]
remote: +++ return 0
remote: +++ APP=tiny-web
remote: +++ ENV_FILE=/home/dokku/tiny-web/ENV
remote: +++ export APP ENV_FILE DOKKU_CONFIG_TYPE DOKKU_CONFIG_RESTART DOKKU_CONFIG_EXPORT
remote: +++ SANITIZED_ARGS=($(get_sanitized_config_args "$@"))
remote: ++++ get_sanitized_config_args config:get tiny-web DOKKU_DEPLOY_BRANCH
remote: ++++ local 'desc=return sanitized arguments for config plugin'
remote: ++++ SANITIZED_ARGS=("$@")
remote: ++++ local SANITIZED_ARGS
remote: ++++ SANITIZED_ARGS=("${SANITIZED_ARGS[@]//--global/}")
remote: ++++ SANITIZED_ARGS=("${SANITIZED_ARGS[@]//--no-restart/}")
remote: ++++ SANITIZED_ARGS=("${SANITIZED_ARGS[@]//--export/}")
remote: ++++ SANITIZED_ARGS=("${SANITIZED_ARGS[@]//--shell/}")
remote: ++++ echo config:get tiny-web DOKKU_DEPLOY_BRANCH
remote: +++ local SANITIZED_ARGS
remote: +++ set -- config:get tiny-web DOKKU_DEPLOY_BRANCH
remote: +++ [[ -z tiny-web ]]
remote: +++ config_create /home/dokku/tiny-web/ENV
remote: +++ declare 'desc=create config env file'
remote: +++ local ENV_FILE=/home/dokku/tiny-web/ENV
remote: +++ [[ -f /home/dokku/tiny-web/ENV ]]
remote: +++ [[ ! -s /home/dokku/tiny-web/ENV ]]
remote: +++ local KEY=DOKKU_DEPLOY_BRANCH
remote: +++ grep -Eo 'export ([a-zA-Z_][a-zA-Z0-9_]*=.*)' /home/dokku/tiny-web/ENV
remote: +++ sed -e 's/^'\''//' -e 's/'\''$//'
remote: +++ cut -d= -f2-
remote: +++ grep '^export DOKKU_DEPLOY_BRANCH='
remote: +++ true
remote: ++ local DOKKU_DEPLOY_BRANCH=
remote: +++ config_get --global DOKKU_DEPLOY_BRANCH
remote: +++ declare 'desc=get value of given config var'
remote: +++ [[ --global == \c\o\n\f\i\g\:\g\e\t ]]
remote: +++ set -- config:get --global DOKKU_DEPLOY_BRANCH
remote: +++ config_parse_args config:get --global DOKKU_DEPLOY_BRANCH
remote: +++ declare 'desc=parse config plugin args'
remote: +++ unset APP ENV_FILE DOKKU_CONFIG_TYPE DOKKU_CONFIG_RESTART DOKKU_CONFIG_EXPORT
remote: +++ for var in '"$@"'
remote: +++ [[ config:get == \-\-\g\l\o\b\a\l ]]
remote: +++ [[ config:get == \-\-\n\o\-\r\e\s\t\a\r\t ]]
remote: +++ [[ config:get == \-\-\e\x\p\o\r\t ]]
remote: +++ [[ config:get == \-\-\s\h\e\l\l ]]
remote: +++ for var in '"$@"'
remote: +++ [[ --global == \-\-\g\l\o\b\a\l ]]
remote: +++ ENV_FILE=/home/dokku/ENV
remote: +++ DOKKU_CONFIG_TYPE=global
remote: +++ DOKKU_CONFIG_RESTART=false
remote: +++ [[ --global == \-\-\n\o\-\r\e\s\t\a\r\t ]]
remote: +++ [[ --global == \-\-\e\x\p\o\r\t ]]
remote: +++ [[ --global == \-\-\s\h\e\l\l ]]
remote: +++ for var in '"$@"'
remote: +++ [[ DOKKU_DEPLOY_BRANCH == \-\-\g\l\o\b\a\l ]]
remote: +++ [[ DOKKU_DEPLOY_BRANCH == \-\-\n\o\-\r\e\s\t\a\r\t ]]
remote: +++ [[ DOKKU_DEPLOY_BRANCH == \-\-\e\x\p\o\r\t ]]
remote: +++ [[ DOKKU_DEPLOY_BRANCH == \-\-\s\h\e\l\l ]]
remote: +++ SANITIZED_ARGS=($(get_sanitized_config_args "$@"))
remote: ++++ get_sanitized_config_args config:get --global DOKKU_DEPLOY_BRANCH
remote: ++++ local 'desc=return sanitized arguments for config plugin'
remote: ++++ SANITIZED_ARGS=("$@")
remote: ++++ local SANITIZED_ARGS
remote: ++++ SANITIZED_ARGS=("${SANITIZED_ARGS[@]//--global/}")
remote: ++++ SANITIZED_ARGS=("${SANITIZED_ARGS[@]//--no-restart/}")
remote: ++++ SANITIZED_ARGS=("${SANITIZED_ARGS[@]//--export/}")
remote: ++++ SANITIZED_ARGS=("${SANITIZED_ARGS[@]//--shell/}")
remote: ++++ echo config:get '' DOKKU_DEPLOY_BRANCH
remote: +++ local SANITIZED_ARGS
remote: +++ set -- config:get DOKKU_DEPLOY_BRANCH
remote: +++ DOKKU_CONFIG_TYPE=global
remote: +++ DOKKU_CONFIG_RESTART=false
remote: +++ [[ global == \a\p\p ]]
remote: +++ export APP ENV_FILE DOKKU_CONFIG_TYPE DOKKU_CONFIG_RESTART DOKKU_CONFIG_EXPORT
remote: +++ SANITIZED_ARGS=($(get_sanitized_config_args "$@"))
remote: ++++ get_sanitized_config_args config:get --global DOKKU_DEPLOY_BRANCH
remote: ++++ local 'desc=return sanitized arguments for config plugin'
remote: ++++ SANITIZED_ARGS=("$@")
remote: ++++ local SANITIZED_ARGS
remote: ++++ SANITIZED_ARGS=("${SANITIZED_ARGS[@]//--global/}")
remote: ++++ SANITIZED_ARGS=("${SANITIZED_ARGS[@]//--no-restart/}")
remote: ++++ SANITIZED_ARGS=("${SANITIZED_ARGS[@]//--export/}")
remote: ++++ SANITIZED_ARGS=("${SANITIZED_ARGS[@]//--shell/}")
remote: ++++ echo config:get '' DOKKU_DEPLOY_BRANCH
remote: +++ local SANITIZED_ARGS
remote: +++ set -- config:get DOKKU_DEPLOY_BRANCH
remote: +++ [[ -z DOKKU_DEPLOY_BRANCH ]]
remote: +++ config_create /home/dokku/ENV
remote: +++ declare 'desc=create config env file'
remote: +++ local ENV_FILE=/home/dokku/ENV
remote: +++ [[ -f /home/dokku/ENV ]]
remote: +++ [[ ! -s /home/dokku/ENV ]]
remote: +++ local KEY=DOKKU_DEPLOY_BRANCH
remote: +++ cut -d= -f2-
remote: +++ sed -e 's/^'\''//' -e 's/'\''$//'
remote: +++ grep '^export DOKKU_DEPLOY_BRANCH='
remote: +++ grep -Eo 'export ([a-zA-Z_][a-zA-Z0-9_]*=.*)' /home/dokku/ENV
remote: +++ true
remote: ++ local DOKKU_GLOBAL_DEPLOY_BRANCH=
remote: ++ [[ -n '' ]]
remote: ++ [[ -n '' ]]
remote: ++ echo master
remote: + local DOKKU_DEPLOY_BRANCH=master
remote: + git check-ref-format --branch master
remote: + local oldrev newrev refname
remote: + read -r oldrev newrev refname
remote: + [[ refs/heads/master = \r\e\f\s\/\h\e\a\d\s\/\m\a\s\t\e\r ]]
remote: + plugn trigger receive-app tiny-web 16f758bca8eaab07eddd30f3d591f079374c3fbf
remote: + source /var/lib/dokku/core-plugins/available/common/functions
remote: ++ set -eo pipefail
remote: ++ [[ -n 1 ]]
remote: ++ set -x
remote: + [[ ! -n '' ]]
remote: + source /var/lib/dokku/core-plugins/available/common/functions
remote: ++ set -eo pipefail
remote: ++ [[ -n 1 ]]
remote: ++ set -x
remote: + source /var/lib/dokku/plugins/available/git/functions
remote: ++ set -eo pipefail
remote: ++ [[ -n 1 ]]
remote: ++ set -x
remote: ++ source /var/lib/dokku/core-plugins/available/common/functions
remote: +++ set -eo pipefail
remote: +++ [[ -n 1 ]]
remote: +++ set -x
remote: ++ source /var/lib/dokku/plugins/available/apps/functions
remote: +++ set -eo pipefail
remote: +++ [[ -n 1 ]]
remote: +++ set -x
remote: +++ source /var/lib/dokku/core-plugins/available/common/functions
remote: ++++ set -eo pipefail
remote: ++++ [[ -n 1 ]]
remote: ++++ set -x
remote: +++ source /var/lib/dokku/plugins/available/config/functions
remote: ++++ set -eo pipefail
remote: ++++ [[ -n 1 ]]
remote: ++++ set -x
remote: ++++ source /var/lib/dokku/core-plugins/available/common/functions
remote: +++++ set -eo pipefail
remote: +++++ [[ -n 1 ]]
remote: +++++ set -x
remote: ++ source /var/lib/dokku/plugins/available/config/functions
remote: +++ set -eo pipefail
remote: +++ [[ -n 1 ]]
remote: +++ set -x
remote: +++ source /var/lib/dokku/core-plugins/available/common/functions
remote: ++++ set -eo pipefail
remote: ++++ [[ -n 1 ]]
remote: ++++ set -x
remote: + git_receive_app tiny-web 16f758bca8eaab07eddd30f3d591f079374c3fbf
remote: + declare 'desc=git receive-app plugin trigger'
remote: + local trigger=git_receive_app
remote: + local APP=tiny-web
remote: + local REV=16f758bca8eaab07eddd30f3d591f079374c3fbf
remote: + [[ ! -d /home/dokku/tiny-web/refs ]]
remote: + acquire_app_deploy_lock tiny-web exclusive
remote: + declare 'desc=acquire advisory lock for use in git/tar deploys'
remote: + local APP=tiny-web
remote: + verify_app_name tiny-web
remote: + declare 'desc=verify app name format and app existence'
remote: + local APP=tiny-web
remote: + [[ ! -n tiny-web ]]
remote: + [[ ! tiny-web =~ ^[a-z].* ]]
remote: + [[ ! -d /home/dokku/tiny-web ]]
remote: + return 0
remote: + local LOCK_TYPE=exclusive
remote: + local APP_DEPLOY_LOCK_FD=200
remote: + local APP_DEPLOY_LOCK_FILE=/home/dokku/tiny-web/.deploy.lock
remote: + local 'LOCK_WAITING_MSG=tiny-web is currently being deployed. Waiting...'
remote: + local 'LOCK_FAILED_MSG=tiny-web is currently being deployed. Exiting...'
remote: + local SHOW_MSG=true
remote: + eval 'exec 200>/home/dokku/tiny-web/.deploy.lock'
remote: ++ exec
remote: + [[ exclusive == \w\a\i\t\i\n\g ]]
remote: + flock -n 200
remote: + git_build tiny-web 16f758bca8eaab07eddd30f3d591f079374c3fbf
remote: + declare 'desc=setup and call git_build_app_repo'
remote: + local APP=tiny-web
remote: + [[ 2 -ge 2 ]]
remote: + local REF=16f758bca8eaab07eddd30f3d591f079374c3fbf
remote: + git_build_app_repo tiny-web 16f758bca8eaab07eddd30f3d591f079374c3fbf
remote: + declare 'desc=builds local git app repo for app'
remote: + verify_app_name tiny-web
remote: + declare 'desc=verify app name format and app existence'
remote: + local APP=tiny-web
remote: + [[ ! -n tiny-web ]]
remote: + [[ ! tiny-web =~ ^[a-z].* ]]
remote: + [[ ! -d /home/dokku/tiny-web ]]
remote: + return 0
remote: + local APP=tiny-web
remote: + local REV=16f758bca8eaab07eddd30f3d591f079374c3fbf
remote: ++ mktemp -d /tmp/dokku_git.XXXX
remote: + local GIT_BUILD_APP_REPO_TMP_WORK_DIR=/tmp/dokku_git.N7Xp
remote: + trap 'rm -rf "$GIT_BUILD_APP_REPO_TMP_WORK_DIR" > /dev/null' RETURN INT TERM EXIT
remote: + local TMP_TAG=dokku/16f758bca8eaab07eddd30f3d591f079374c3fbf
remote: + chmod 755 /tmp/dokku_git.N7Xp
remote: + unset GIT_DIR GIT_WORK_TREE
remote: + [[ ! -d /home/dokku/tiny-web ]]
remote: + use_git_worktree
remote: + declare 'desc=detects whether to use git worktree'
remote: + local GIT_VERSION MAJOR_VERSION MINOR_VERSION
remote: ++ awk '{split($0,a," "); print a[3]}'
remote: ++ git --version
remote: + GIT_VERSION=2.7.4
remote: ++ awk '{split($0,a,"."); print a[1]}'
remote: ++ echo 2.7.4
remote: + MAJOR_VERSION=2
remote: ++ awk '{split($0,a,"."); print a[2]}'
remote: ++ echo 2.7.4
remote: + MINOR_VERSION=7
remote: + [[ 2 -ge 3 ]]
remote: + [[ 2 -eq 2 ]]
remote: + [[ 7 -ge 11 ]]
remote: + return 1
remote: + pushd /tmp/dokku_git.N7Xp
remote: + GIT_DIR=/home/dokku/tiny-web
remote: + git tag -d dokku/16f758bca8eaab07eddd30f3d591f079374c3fbf
remote: + true
remote: + GIT_DIR=/home/dokku/tiny-web
remote: + git tag dokku/16f758bca8eaab07eddd30f3d591f079374c3fbf 16f758bca8eaab07eddd30f3d591f079374c3fbf
remote: + git init
remote: + git config advice.detachedHead false
remote: + git remote add origin /home/dokku/tiny-web
remote: + git fetch --depth=1 origin refs/tags/dokku/16f758bca8eaab07eddd30f3d591f079374c3fbf
remote: + git reset --hard FETCH_HEAD
remote: + GIT_DIR=/home/dokku/tiny-web
remote: + git tag -d dokku/16f758bca8eaab07eddd30f3d591f079374c3fbf
remote: + suppress_output git submodule update --init --recursive
remote: + declare 'desc=suppress all output from a given command unless there is an error'
remote: + local TMP_COMMAND_OUTPUT
remote: ++ mktemp /tmp/suppress_output.XXXX
remote: + TMP_COMMAND_OUTPUT=/tmp/suppress_output.FX4G
remote: + trap 'rm -rf "$TMP_COMMAND_OUTPUT" > /dev/null' RETURN INT TERM EXIT
remote: + git submodule update --init --recursive
remote: + return 0
remote: ++ rm -rf /tmp/suppress_output.FX4G
remote: + find . -name .git -prune -exec rm -rf '{}' ';'
/'
remote: + plugn trigger post-extract tiny-web /tmp/dokku_git.N7Xp 16f758bca8eaab07eddd30f3d591f079374c3fbf
remote: + [[ -f Dockerfile ]]
remote: + plugn trigger pre-receive-app tiny-web herokuish /tmp/dokku_git.N7Xp 16f758bca8eaab07eddd30f3d591f079374c3fbf
remote: + source /var/lib/dokku/core-plugins/available/common/functions
remote: ++ set -eo pipefail
remote: ++ [[ -n 1 ]]
remote: ++ set -x
remote: + [[ ! -n '' ]]
/'
remote: + dokku_receive tiny-web herokuish /tmp/dokku_git.N7Xp
remote: + declare 'desc=receives an app kicks off deploy process'
remote: + source /var/lib/dokku/plugins/available/config/functions
remote: ++ set -eo pipefail
remote: ++ [[ -n 1 ]]
remote: ++ set -x
remote: ++ source /var/lib/dokku/core-plugins/available/common/functions
remote: +++ set -eo pipefail
remote: +++ [[ -n 1 ]]
remote: +++ set -x
remote: + local APP=tiny-web
remote: ++ get_app_image_name tiny-web
remote: ++ declare 'desc=return image identifier for a given app, tag tuple. validate if tag is presented'
remote: ++ local APP=tiny-web
remote: ++ local IMAGE_TAG=
remote: ++ IMAGE_REPO=
remote: ++ [[ -z tiny-web ]]
remote: ++ [[ -z '' ]]
remote: +++ get_app_image_repo tiny-web
remote: +++ declare 'desc=central definition of image repo pattern'
remote: +++ local APP=tiny-web
remote: +++ local IMAGE_REPO=dokku/tiny-web
remote: +++ [[ -z tiny-web ]]
remote: +++ echo dokku/tiny-web
remote: ++ IMAGE_REPO=dokku/tiny-web
remote: ++ [[ -n '' ]]
remote: ++ local IMAGE=dokku/tiny-web:latest
remote: ++ echo dokku/tiny-web:latest
remote: + local IMAGE=dokku/tiny-web:latest
remote: + local IMAGE_SOURCE_TYPE=herokuish
remote: + local TMP_WORK_DIR=/tmp/dokku_git.N7Xp
remote: + [[ -z '' ]]
remote: + dokku_log_info1 'Cleaning up...'
remote: + declare 'desc=log info1 formatter'
remote: + echo '-----> Cleaning up...'
remote: + docker_cleanup
remote: + declare 'desc=cleans up all exited/dead containers and removes all dangling images'
-----> Cleaning up...
remote: ++ docker ps -a -f status=exited -f label=dokku -q
remote: + docker rm 26c0a588e5f9 e4358f295ea3 041adf6af4b2 2713681663f8
remote: ++ docker ps -a -f status=dead -f label=dokku -q
remote: + docker rm
remote: + true
remote: + dokku_log_info1 'Building tiny-web from herokuish...'
remote: + declare 'desc=log info1 formatter'
remote: + echo '-----> Building tiny-web from herokuish...'
remote: + config_set --no-restart tiny-web DOKKU_APP_TYPE=herokuish
-----> Building tiny-web from herokuish...
remote: ++ docker images -f dangling=true -q
remote: + docker rmi 5007837de955
remote: + dokku_build tiny-web herokuish /tmp/dokku_git.N7Xp
remote: + declare 'desc=build phase'
remote: + source /var/lib/dokku/plugins/available/config/functions
remote: ++ set -eo pipefail
remote: ++ [[ -n 1 ]]
remote: ++ set -x
remote: ++ source /var/lib/dokku/core-plugins/available/common/functions
remote: +++ set -eo pipefail
remote: +++ [[ -n 1 ]]
remote: +++ set -x
remote: + local APP=tiny-web
remote: + local IMAGE_SOURCE_TYPE=herokuish
remote: + local TMP_WORK_DIR=/tmp/dokku_git.N7Xp
remote: ++ get_app_image_name tiny-web
remote: ++ declare 'desc=return image identifier for a given app, tag tuple. validate if tag is presented'
remote: ++ local APP=tiny-web
remote: ++ local IMAGE_TAG=
remote: ++ IMAGE_REPO=
remote: ++ [[ -z tiny-web ]]
remote: ++ [[ -z '' ]]
remote: +++ get_app_image_repo tiny-web
remote: +++ declare 'desc=central definition of image repo pattern'
remote: +++ local APP=tiny-web
remote: +++ local IMAGE_REPO=dokku/tiny-web
remote: +++ [[ -z tiny-web ]]
remote: +++ echo dokku/tiny-web
remote: ++ IMAGE_REPO=dokku/tiny-web
remote: ++ [[ -n '' ]]
remote: ++ local IMAGE=dokku/tiny-web:latest
remote: ++ echo dokku/tiny-web:latest
remote: + local IMAGE=dokku/tiny-web:latest
remote: + verify_app_name tiny-web
remote: + declare 'desc=verify app name format and app existence'
remote: + local APP=tiny-web
remote: + [[ ! -n tiny-web ]]
remote: + [[ ! tiny-web =~ ^[a-z].* ]]
remote: + [[ ! -d /home/dokku/tiny-web ]]
remote: + return 0
remote: + local CACHE_DIR=/home/dokku/tiny-web/cache
remote: ++ config_export app tiny-web
remote: ++ declare 'desc=returns export command for config variable of specified type (app/global)'
remote: ++ local CONFIG_TYPE=app
remote: ++ local APP=tiny-web
remote: ++ local ENV_FILE=/home/dokku/tiny-web/ENV
remote: ++ [[ app == \g\l\o\b\a\l ]]
remote: ++ [[ ! -f /home/dokku/tiny-web/ENV ]]
remote: ++ [[ ! -s /home/dokku/tiny-web/ENV ]]
remote: +++ cut '-d ' -f2-
remote: +++ grep -Eo 'export ([a-zA-Z_][a-zA-Z0-9_]*=.*)' /home/dokku/tiny-web/ENV
remote: ++ local 'VARS=DOKKU_APP_TYPE='\''herokuish'\'''
remote: ++ awk '{print "export " $0}'
remote: ++ echo 'DOKKU_APP_TYPE='\''herokuish'\'''
remote: ++ return 0
remote: + eval 'export DOKKU_APP_TYPE='\''herokuish'\'''
remote: ++ export DOKKU_APP_TYPE=herokuish
remote: ++ DOKKU_APP_TYPE=herokuish
remote: + pushd /tmp/dokku_git.N7Xp
remote: + case "$IMAGE_SOURCE_TYPE" in
remote: ++ docker run --label=dokku -i -a stdin gliderlabs/herokuish /bin/bash -c 'mkdir -p /app && tar -xC /app'
remote: ++ tar -c .
remote: + local id=9cc413ba7145e663a43eb58baa41253d1c9d98a707af6857ae5a46513e5d4242
remote: ++ docker wait 9cc413ba7145e663a43eb58baa41253d1c9d98a707af6857ae5a46513e5d4242
remote: + test 0 -eq 0
remote: + docker commit 9cc413ba7145e663a43eb58baa41253d1c9d98a707af6857ae5a46513e5d4242 dokku/tiny-web:latest
remote: + [[ -d /home/dokku/tiny-web/cache ]]
remote: + plugn trigger pre-build-buildpack tiny-web
remote: + source /var/lib/dokku/core-plugins/available/common/functions
remote: ++ set -eo pipefail
remote: ++ [[ -n 1 ]]
remote: ++ set -x
remote: + [[ ! -n '' ]]
remote: + source /var/lib/dokku/core-plugins/available/common/functions
remote: ++ set -eo pipefail
remote: ++ [[ -n 1 ]]
remote: ++ set -x
remote: + source /var/lib/dokku/plugins/available/config/functions
remote: ++ set -eo pipefail
remote: ++ [[ -n 1 ]]
remote: ++ set -x
remote: ++ source /var/lib/dokku/core-plugins/available/common/functions
remote: +++ set -eo pipefail
remote: +++ [[ -n 1 ]]
remote: +++ set -x
remote: + build_env_pre_build_buildpack tiny-web
remote: + declare 'desc=build-env pre-build-buildpack plugin trigger'
remote: + local trigger=build_env_pre_build_buildpack
remote: + local APP=tiny-web
remote: ++ get_app_image_name tiny-web
remote: ++ declare 'desc=return image identifier for a given app, tag tuple. validate if tag is presented'
remote: ++ local APP=tiny-web
remote: ++ local IMAGE_TAG=
remote: ++ IMAGE_REPO=
remote: ++ [[ -z tiny-web ]]
remote: ++ [[ -z '' ]]
remote: +++ get_app_image_repo tiny-web
remote: +++ declare 'desc=central definition of image repo pattern'
remote: +++ local APP=tiny-web
remote: +++ local IMAGE_REPO=dokku/tiny-web
remote: +++ [[ -z tiny-web ]]
remote: +++ echo dokku/tiny-web
remote: ++ IMAGE_REPO=dokku/tiny-web
remote: ++ [[ -n '' ]]
remote: ++ local IMAGE=dokku/tiny-web:latest
remote: ++ echo dokku/tiny-web:latest
remote: + local IMAGE=dokku/tiny-web:latest
remote: + local BUILD_ENV=
remote: + verify_app_name tiny-web
remote: + declare 'desc=verify app name format and app existence'
remote: + local APP=tiny-web
remote: + [[ ! -n tiny-web ]]
remote: + [[ ! tiny-web =~ ^[a-z].* ]]
remote: + [[ ! -d /home/dokku/tiny-web ]]
remote: + return 0
remote: ++ config_get --global CURL_CONNECT_TIMEOUT
remote: ++ declare 'desc=get value of given config var'
remote: ++ [[ --global == \c\o\n\f\i\g\:\g\e\t ]]
remote: ++ set -- config:get --global CURL_CONNECT_TIMEOUT
remote: ++ config_parse_args config:get --global CURL_CONNECT_TIMEOUT
remote: ++ declare 'desc=parse config plugin args'
remote: ++ unset APP ENV_FILE DOKKU_CONFIG_TYPE DOKKU_CONFIG_RESTART DOKKU_CONFIG_EXPORT
remote: ++ for var in '"$@"'
remote: ++ [[ config:get == \-\-\g\l\o\b\a\l ]]
remote: ++ [[ config:get == \-\-\n\o\-\r\e\s\t\a\r\t ]]
remote: ++ [[ config:get == \-\-\e\x\p\o\r\t ]]
remote: ++ [[ config:get == \-\-\s\h\e\l\l ]]
remote: ++ for var in '"$@"'
remote: ++ [[ --global == \-\-\g\l\o\b\a\l ]]
remote: ++ ENV_FILE=/home/dokku/ENV
remote: ++ DOKKU_CONFIG_TYPE=global
remote: ++ DOKKU_CONFIG_RESTART=false
remote: ++ [[ --global == \-\-\n\o\-\r\e\s\t\a\r\t ]]
remote: ++ [[ --global == \-\-\e\x\p\o\r\t ]]
remote: ++ [[ --global == \-\-\s\h\e\l\l ]]
remote: ++ for var in '"$@"'
remote: ++ [[ CURL_CONNECT_TIMEOUT == \-\-\g\l\o\b\a\l ]]
remote: ++ [[ CURL_CONNECT_TIMEOUT == \-\-\n\o\-\r\e\s\t\a\r\t ]]
remote: ++ [[ CURL_CONNECT_TIMEOUT == \-\-\e\x\p\o\r\t ]]
remote: ++ [[ CURL_CONNECT_TIMEOUT == \-\-\s\h\e\l\l ]]
remote: ++ SANITIZED_ARGS=($(get_sanitized_config_args "$@"))
remote: +++ get_sanitized_config_args config:get --global CURL_CONNECT_TIMEOUT
remote: +++ local 'desc=return sanitized arguments for config plugin'
remote: +++ SANITIZED_ARGS=("$@")
remote: +++ local SANITIZED_ARGS
remote: +++ SANITIZED_ARGS=("${SANITIZED_ARGS[@]//--global/}")
remote: +++ SANITIZED_ARGS=("${SANITIZED_ARGS[@]//--no-restart/}")
remote: +++ SANITIZED_ARGS=("${SANITIZED_ARGS[@]//--export/}")
remote: +++ SANITIZED_ARGS=("${SANITIZED_ARGS[@]//--shell/}")
remote: +++ echo config:get '' CURL_CONNECT_TIMEOUT
remote: ++ local SANITIZED_ARGS
remote: ++ set -- config:get CURL_CONNECT_TIMEOUT
remote: ++ DOKKU_CONFIG_TYPE=global
remote: ++ DOKKU_CONFIG_RESTART=false
remote: ++ [[ global == \a\p\p ]]
remote: ++ export APP ENV_FILE DOKKU_CONFIG_TYPE DOKKU_CONFIG_RESTART DOKKU_CONFIG_EXPORT
remote: ++ SANITIZED_ARGS=($(get_sanitized_config_args "$@"))
remote: +++ get_sanitized_config_args config:get --global CURL_CONNECT_TIMEOUT
remote: +++ local 'desc=return sanitized arguments for config plugin'
remote: +++ SANITIZED_ARGS=("$@")
remote: +++ local SANITIZED_ARGS
remote: +++ SANITIZED_ARGS=("${SANITIZED_ARGS[@]//--global/}")
remote: +++ SANITIZED_ARGS=("${SANITIZED_ARGS[@]//--no-restart/}")
remote: +++ SANITIZED_ARGS=("${SANITIZED_ARGS[@]//--export/}")
remote: +++ SANITIZED_ARGS=("${SANITIZED_ARGS[@]//--shell/}")
remote: +++ echo config:get '' CURL_CONNECT_TIMEOUT
remote: ++ local SANITIZED_ARGS
remote: ++ set -- config:get CURL_CONNECT_TIMEOUT
remote: ++ [[ -z CURL_CONNECT_TIMEOUT ]]
remote: ++ config_create /home/dokku/ENV
remote: ++ declare 'desc=create config env file'
remote: ++ local ENV_FILE=/home/dokku/ENV
remote: ++ [[ -f /home/dokku/ENV ]]
remote: ++ [[ ! -s /home/dokku/ENV ]]
remote: ++ local KEY=CURL_CONNECT_TIMEOUT
remote: ++ sed -e 's/^'\''//' -e 's/'\''$//'
remote: ++ cut -d= -f2-
remote: ++ grep '^export CURL_CONNECT_TIMEOUT='
remote: ++ grep -Eo 'export ([a-zA-Z_][a-zA-Z0-9_]*=.*)' /home/dokku/ENV
remote: + [[ -z 90 ]]
remote: ++ config_get --global CURL_TIMEOUT
remote: ++ declare 'desc=get value of given config var'
remote: ++ [[ --global == \c\o\n\f\i\g\:\g\e\t ]]
remote: ++ set -- config:get --global CURL_TIMEOUT
remote: ++ config_parse_args config:get --global CURL_TIMEOUT
remote: ++ declare 'desc=parse config plugin args'
remote: ++ unset APP ENV_FILE DOKKU_CONFIG_TYPE DOKKU_CONFIG_RESTART DOKKU_CONFIG_EXPORT
remote: ++ for var in '"$@"'
remote: ++ [[ config:get == \-\-\g\l\o\b\a\l ]]
remote: ++ [[ config:get == \-\-\n\o\-\r\e\s\t\a\r\t ]]
remote: ++ [[ config:get == \-\-\e\x\p\o\r\t ]]
remote: ++ [[ config:get == \-\-\s\h\e\l\l ]]
remote: ++ for var in '"$@"'
remote: ++ [[ --global == \-\-\g\l\o\b\a\l ]]
remote: ++ ENV_FILE=/home/dokku/ENV
remote: ++ DOKKU_CONFIG_TYPE=global
remote: ++ DOKKU_CONFIG_RESTART=false
remote: ++ [[ --global == \-\-\n\o\-\r\e\s\t\a\r\t ]]
remote: ++ [[ --global == \-\-\e\x\p\o\r\t ]]
remote: ++ [[ --global == \-\-\s\h\e\l\l ]]
remote: ++ for var in '"$@"'
remote: ++ [[ CURL_TIMEOUT == \-\-\g\l\o\b\a\l ]]
remote: ++ [[ CURL_TIMEOUT == \-\-\n\o\-\r\e\s\t\a\r\t ]]
remote: ++ [[ CURL_TIMEOUT == \-\-\e\x\p\o\r\t ]]
remote: ++ [[ CURL_TIMEOUT == \-\-\s\h\e\l\l ]]
remote: ++ SANITIZED_ARGS=($(get_sanitized_config_args "$@"))
remote: +++ get_sanitized_config_args config:get --global CURL_TIMEOUT
remote: +++ local 'desc=return sanitized arguments for config plugin'
remote: +++ SANITIZED_ARGS=("$@")
remote: +++ local SANITIZED_ARGS
remote: +++ SANITIZED_ARGS=("${SANITIZED_ARGS[@]//--global/}")
remote: +++ SANITIZED_ARGS=("${SANITIZED_ARGS[@]//--no-restart/}")
remote: +++ SANITIZED_ARGS=("${SANITIZED_ARGS[@]//--export/}")
remote: +++ SANITIZED_ARGS=("${SANITIZED_ARGS[@]//--shell/}")
remote: +++ echo config:get '' CURL_TIMEOUT
remote: ++ local SANITIZED_ARGS
remote: ++ set -- config:get CURL_TIMEOUT
remote: ++ DOKKU_CONFIG_TYPE=global
remote: ++ DOKKU_CONFIG_RESTART=false
remote: ++ [[ global == \a\p\p ]]
remote: ++ export APP ENV_FILE DOKKU_CONFIG_TYPE DOKKU_CONFIG_RESTART DOKKU_CONFIG_EXPORT
remote: ++ SANITIZED_ARGS=($(get_sanitized_config_args "$@"))
remote: +++ get_sanitized_config_args config:get --global CURL_TIMEOUT
remote: +++ local 'desc=return sanitized arguments for config plugin'
remote: +++ SANITIZED_ARGS=("$@")
remote: +++ local SANITIZED_ARGS
remote: +++ SANITIZED_ARGS=("${SANITIZED_ARGS[@]//--global/}")
remote: +++ SANITIZED_ARGS=("${SANITIZED_ARGS[@]//--no-restart/}")
remote: +++ SANITIZED_ARGS=("${SANITIZED_ARGS[@]//--export/}")
remote: +++ SANITIZED_ARGS=("${SANITIZED_ARGS[@]//--shell/}")
remote: +++ echo config:get '' CURL_TIMEOUT
remote: ++ local SANITIZED_ARGS
remote: ++ set -- config:get CURL_TIMEOUT
remote: ++ [[ -z CURL_TIMEOUT ]]
remote: ++ config_create /home/dokku/ENV
remote: ++ declare 'desc=create config env file'
remote: ++ local ENV_FILE=/home/dokku/ENV
remote: ++ [[ -f /home/dokku/ENV ]]
remote: ++ [[ ! -s /home/dokku/ENV ]]
remote: ++ local KEY=CURL_TIMEOUT
remote: ++ sed -e 's/^'\''//' -e 's/'\''$//'
remote: ++ cut -d= -f2-
remote: ++ grep '^export CURL_TIMEOUT='
remote: ++ grep -Eo 'export ([a-zA-Z_][a-zA-Z0-9_]*=.*)' /home/dokku/ENV
remote: + [[ -z 60 ]]
remote: ++ config_export global
remote: ++ declare 'desc=returns export command for config variable of specified type (app/global)'
remote: ++ local CONFIG_TYPE=global
remote: ++ local APP=
remote: ++ local ENV_FILE=/home/dokku//ENV
remote: ++ [[ global == \g\l\o\b\a\l ]]
remote: ++ local ENV_FILE=/home/dokku/ENV
remote: ++ [[ ! -f /home/dokku/ENV ]]
remote: ++ [[ ! -s /home/dokku/ENV ]]
remote: +++ cut '-d ' -f2-
remote: +++ grep -Eo 'export ([a-zA-Z_][a-zA-Z0-9_]*=.*)' /home/dokku/ENV
remote: ++ local 'VARS=CURL_CONNECT_TIMEOUT='\''90'\''
remote: CURL_TIMEOUT='\''60'\'''
remote: ++ awk '{print "export " $0}'
remote: ++ echo 'CURL_CONNECT_TIMEOUT='\''90'\''
remote: CURL_TIMEOUT='\''60'\'''
remote: ++ return 0
remote: + [[ -n export CURL_CONNECT_TIMEOUT='90'
remote: export CURL_TIMEOUT='60' ]]
remote: + local 'BUILD_ENV+=
remote: '
remote: ++ config_export global
remote: ++ declare 'desc=returns export command for config variable of specified type (app/global)'
remote: ++ local CONFIG_TYPE=global
remote: ++ local APP=
remote: ++ local ENV_FILE=/home/dokku//ENV
remote: ++ [[ global == \g\l\o\b\a\l ]]
remote: ++ local ENV_FILE=/home/dokku/ENV
remote: ++ [[ ! -f /home/dokku/ENV ]]
remote: ++ [[ ! -s /home/dokku/ENV ]]
remote: +++ cut '-d ' -f2-
remote: +++ grep -Eo 'export ([a-zA-Z_][a-zA-Z0-9_]*=.*)' /home/dokku/ENV
remote: ++ local 'VARS=CURL_CONNECT_TIMEOUT='\''90'\''
remote: CURL_TIMEOUT='\''60'\'''
remote: ++ awk '{print "export " $0}'
remote: ++ echo 'CURL_CONNECT_TIMEOUT='\''90'\''
remote: CURL_TIMEOUT='\''60'\'''
remote: ++ return 0
remote: + local 'BUILD_ENV+=export CURL_CONNECT_TIMEOUT='\''90'\''
remote: export CURL_TIMEOUT='\''60'\'''
remote: + local 'BUILD_ENV+=
remote: '
remote: ++ config_export app tiny-web
remote: ++ declare 'desc=returns export command for config variable of specified type (app/global)'
remote: ++ local CONFIG_TYPE=app
remote: ++ local APP=tiny-web
remote: ++ local ENV_FILE=/home/dokku/tiny-web/ENV
remote: ++ [[ app == \g\l\o\b\a\l ]]
remote: ++ [[ ! -f /home/dokku/tiny-web/ENV ]]
remote: ++ [[ ! -s /home/dokku/tiny-web/ENV ]]
remote: +++ cut '-d ' -f2-
remote: +++ grep -Eo 'export ([a-zA-Z_][a-zA-Z0-9_]*=.*)' /home/dokku/tiny-web/ENV
remote: ++ local 'VARS=DOKKU_APP_TYPE='\''herokuish'\'''
remote: ++ awk '{print "export " $0}'
remote: ++ echo 'DOKKU_APP_TYPE='\''herokuish'\'''
remote: ++ return 0
remote: + [[ -n export DOKKU_APP_TYPE='herokuish' ]]
remote: + local 'BUILD_ENV+=
remote: '
remote: ++ config_export app tiny-web
remote: ++ declare 'desc=returns export command for config variable of specified type (app/global)'
remote: ++ local CONFIG_TYPE=app
remote: ++ local APP=tiny-web
remote: ++ local ENV_FILE=/home/dokku/tiny-web/ENV
remote: ++ [[ app == \g\l\o\b\a\l ]]
remote: ++ [[ ! -f /home/dokku/tiny-web/ENV ]]
remote: ++ [[ ! -s /home/dokku/tiny-web/ENV ]]
remote: +++ cut '-d ' -f2-
remote: +++ grep -Eo 'export ([a-zA-Z_][a-zA-Z0-9_]*=.*)' /home/dokku/tiny-web/ENV
remote: ++ local 'VARS=DOKKU_APP_TYPE='\''herokuish'\'''
remote: ++ awk '{print "export " $0}'
remote: ++ echo 'DOKKU_APP_TYPE='\''herokuish'\'''
remote: ++ return 0
remote: + local 'BUILD_ENV+=export DOKKU_APP_TYPE='\''herokuish'\'''
remote: + local 'BUILD_ENV+=
remote: '
remote: + [[ ! -z
remote: export CURL_CONNECT_TIMEOUT='90'
remote: export CURL_TIMEOUT='60'
remote:
remote: export DOKKU_APP_TYPE='herokuish'
remote: ]]
remote: + dokku_log_info1 'Adding BUILD_ENV to build environment...'
remote: + declare 'desc=log info1 formatter'
remote: + echo '-----> Adding BUILD_ENV to build environment...'
-----> Adding BUILD_ENV to build environment...
remote: ++ sed -e 's@export @@g' -e 's@\\n@ @g'
remote: +++ cat
remote: ++ echo export 'CURL_CONNECT_TIMEOUT='\''90'\''' export 'CURL_TIMEOUT='\''60'\''' export 'DOKKU_APP_TYPE='\''herokuish'\'''
remote: ++ docker run --label=dokku -i -a stdin dokku/tiny-web:latest /bin/bash -c 'mkdir -p /tmp/env; for ENV_VAR in CURL_CONNECT_TIMEOUT='\''90'\'' CURL_TIMEOUT='\''60'\'' DOKKU_APP_TYPE='\''herokuish'\''; do echo $ENV_VAR | cut -d'\''='\'' -f2- > /tmp/env/$(echo $ENV_VAR | cut -d'\''='\'' -f1); done '
remote: + local id=c2588e2b607afe593f0381b63787cd23d1b3f159249474710920a44aa1dff05d
remote: ++ docker wait c2588e2b607afe593f0381b63787cd23d1b3f159249474710920a44aa1dff05d
remote: + test 0 -eq 0
remote: + docker commit c2588e2b607afe593f0381b63787cd23d1b3f159249474710920a44aa1dff05d dokku/tiny-web:latest
remote: ++ docker run --label=dokku -i -a stdin dokku/tiny-web:latest /bin/bash -c 'cat >> /app/.env'
remote: ++ echo -e '
remote: export CURL_CONNECT_TIMEOUT='\''90'\''
remote: export CURL_TIMEOUT='\''60'\''
remote:
remote: export DOKKU_APP_TYPE='\''herokuish'\''
remote: '
remote: + local id=c67a1153a07ec9534fbb81d30075100b431fa9e664c0f30fe16d0112bda74918
remote: ++ docker wait c67a1153a07ec9534fbb81d30075100b431fa9e664c0f30fe16d0112bda74918
remote: + test 0 -eq 0
remote: + docker commit c67a1153a07ec9534fbb81d30075100b431fa9e664c0f30fe16d0112bda74918 dokku/tiny-web:latest
remote: ++ :
remote: ++ plugn trigger docker-args-build tiny-web herokuish
remote: + source /var/lib/dokku/plugins/available/config/functions
remote: ++ set -eo pipefail
remote: ++ [[ -n 1 ]]
remote: ++ set -x
remote: ++ source /var/lib/dokku/core-plugins/available/common/functions
remote: +++ set -eo pipefail
remote: +++ [[ -n 1 ]]
remote: +++ set -x
remote: + app_user_docker_args tiny-web herokuish
remote: + local APP=tiny-web
remote: + local STDIN
remote: + local DOKKU_APP_TYPE
remote: + local DOKKU_APP_USER
remote: ++ cat
remote: + STDIN=
remote: ++ config_get tiny-web DOKKU_APP_TYPE
remote: ++ declare 'desc=get value of given config var'
remote: ++ [[ tiny-web == \c\o\n\f\i\g\:\g\e\t ]]
remote: ++ set -- config:get tiny-web DOKKU_APP_TYPE
remote: ++ config_parse_args config:get tiny-web DOKKU_APP_TYPE
remote: ++ declare 'desc=parse config plugin args'
remote: ++ unset APP ENV_FILE DOKKU_CONFIG_TYPE DOKKU_CONFIG_RESTART DOKKU_CONFIG_EXPORT
remote: ++ for var in '"$@"'
remote: ++ [[ config:get == \-\-\g\l\o\b\a\l ]]
remote: ++ [[ config:get == \-\-\n\o\-\r\e\s\t\a\r\t ]]
remote: ++ [[ config:get == \-\-\e\x\p\o\r\t ]]
remote: ++ [[ config:get == \-\-\s\h\e\l\l ]]
remote: ++ for var in '"$@"'
remote: ++ [[ tiny-web == \-\-\g\l\o\b\a\l ]]
remote: ++ [[ tiny-web == \-\-\n\o\-\r\e\s\t\a\r\t ]]
remote: ++ [[ tiny-web == \-\-\e\x\p\o\r\t ]]
remote: ++ [[ tiny-web == \-\-\s\h\e\l\l ]]
remote: ++ for var in '"$@"'
remote: ++ [[ DOKKU_APP_TYPE == \-\-\g\l\o\b\a\l ]]
remote: ++ [[ DOKKU_APP_TYPE == \-\-\n\o\-\r\e\s\t\a\r\t ]]
remote: ++ [[ DOKKU_APP_TYPE == \-\-\e\x\p\o\r\t ]]
remote: ++ [[ DOKKU_APP_TYPE == \-\-\s\h\e\l\l ]]
remote: ++ SANITIZED_ARGS=($(get_sanitized_config_args "$@"))
remote: +++ get_sanitized_config_args config:get tiny-web DOKKU_APP_TYPE
remote: +++ local 'desc=return sanitized arguments for config plugin'
remote: +++ SANITIZED_ARGS=("$@")
remote: +++ local SANITIZED_ARGS
remote: +++ SANITIZED_ARGS=("${SANITIZED_ARGS[@]//--global/}")
remote: +++ SANITIZED_ARGS=("${SANITIZED_ARGS[@]//--no-restart/}")
remote: +++ SANITIZED_ARGS=("${SANITIZED_ARGS[@]//--export/}")
remote: +++ SANITIZED_ARGS=("${SANITIZED_ARGS[@]//--shell/}")
remote: +++ echo config:get tiny-web DOKKU_APP_TYPE
remote: ++ local SANITIZED_ARGS
remote: ++ set -- config:get tiny-web DOKKU_APP_TYPE
remote: ++ DOKKU_CONFIG_TYPE=app
remote: ++ DOKKU_CONFIG_RESTART=true
remote: ++ [[ app == \a\p\p ]]
remote: ++ [[ -z tiny-web ]]
remote: ++ verify_app_name tiny-web
remote: ++ declare 'desc=verify app name format and app existence'
remote: ++ local APP=tiny-web
remote: ++ [[ ! -n tiny-web ]]
remote: ++ [[ ! tiny-web =~ ^[a-z].* ]]
remote: ++ [[ ! -d /home/dokku/tiny-web ]]
remote: ++ return 0
remote: ++ APP=tiny-web
remote: ++ ENV_FILE=/home/dokku/tiny-web/ENV
remote: ++ export APP ENV_FILE DOKKU_CONFIG_TYPE DOKKU_CONFIG_RESTART DOKKU_CONFIG_EXPORT
remote: ++ SANITIZED_ARGS=($(get_sanitized_config_args "$@"))
remote: +++ get_sanitized_config_args config:get tiny-web DOKKU_APP_TYPE
remote: +++ local 'desc=return sanitized arguments for config plugin'
remote: +++ SANITIZED_ARGS=("$@")
remote: +++ local SANITIZED_ARGS
remote: +++ SANITIZED_ARGS=("${SANITIZED_ARGS[@]//--global/}")
remote: +++ SANITIZED_ARGS=("${SANITIZED_ARGS[@]//--no-restart/}")
remote: +++ SANITIZED_ARGS=("${SANITIZED_ARGS[@]//--export/}")
remote: +++ SANITIZED_ARGS=("${SANITIZED_ARGS[@]//--shell/}")
remote: +++ echo config:get tiny-web DOKKU_APP_TYPE
remote: ++ local SANITIZED_ARGS
remote: ++ set -- config:get tiny-web DOKKU_APP_TYPE
remote: ++ [[ -z tiny-web ]]
remote: ++ config_create /home/dokku/tiny-web/ENV
remote: ++ declare 'desc=create config env file'
remote: ++ local ENV_FILE=/home/dokku/tiny-web/ENV
remote: ++ [[ -f /home/dokku/tiny-web/ENV ]]
remote: ++ [[ ! -s /home/dokku/tiny-web/ENV ]]
remote: ++ local KEY=DOKKU_APP_TYPE
remote: ++ grep -Eo 'export ([a-zA-Z_][a-zA-Z0-9_]*=.*)' /home/dokku/tiny-web/ENV
remote: ++ grep '^export DOKKU_APP_TYPE='
remote: ++ sed -e 's/^'\''//' -e 's/'\''$//'
remote: ++ cut -d= -f2-
remote: + DOKKU_APP_TYPE=herokuish
remote: ++ config_get tiny-web DOKKU_APP_USER
remote: ++ declare 'desc=get value of given config var'
remote: ++ [[ tiny-web == \c\o\n\f\i\g\:\g\e\t ]]
remote: ++ set -- config:get tiny-web DOKKU_APP_USER
remote: ++ config_parse_args config:get tiny-web DOKKU_APP_USER
remote: ++ declare 'desc=parse config plugin args'
remote: ++ unset APP ENV_FILE DOKKU_CONFIG_TYPE DOKKU_CONFIG_RESTART DOKKU_CONFIG_EXPORT
remote: ++ for var in '"$@"'
remote: ++ [[ config:get == \-\-\g\l\o\b\a\l ]]
remote: ++ [[ config:get == \-\-\n\o\-\r\e\s\t\a\r\t ]]
remote: ++ [[ config:get == \-\-\e\x\p\o\r\t ]]
remote: ++ [[ config:get == \-\-\s\h\e\l\l ]]
remote: ++ for var in '"$@"'
remote: ++ [[ tiny-web == \-\-\g\l\o\b\a\l ]]
remote: ++ [[ tiny-web == \-\-\n\o\-\r\e\s\t\a\r\t ]]
remote: ++ [[ tiny-web == \-\-\e\x\p\o\r\t ]]
remote: ++ [[ tiny-web == \-\-\s\h\e\l\l ]]
remote: ++ for var in '"$@"'
remote: ++ [[ DOKKU_APP_USER == \-\-\g\l\o\b\a\l ]]
remote: ++ [[ DOKKU_APP_USER == \-\-\n\o\-\r\e\s\t\a\r\t ]]
remote: ++ [[ DOKKU_APP_USER == \-\-\e\x\p\o\r\t ]]
remote: ++ [[ DOKKU_APP_USER == \-\-\s\h\e\l\l ]]
remote: ++ SANITIZED_ARGS=($(get_sanitized_config_args "$@"))
remote: +++ get_sanitized_config_args config:get tiny-web DOKKU_APP_USER
remote: +++ local 'desc=return sanitized arguments for config plugin'
remote: +++ SANITIZED_ARGS=("$@")
remote: +++ local SANITIZED_ARGS
remote: +++ SANITIZED_ARGS=("${SANITIZED_ARGS[@]//--global/}")
remote: +++ SANITIZED_ARGS=("${SANITIZED_ARGS[@]//--no-restart/}")
remote: +++ SANITIZED_ARGS=("${SANITIZED_ARGS[@]//--export/}")
remote: +++ SANITIZED_ARGS=("${SANITIZED_ARGS[@]//--shell/}")
remote: +++ echo config:get tiny-web DOKKU_APP_USER
remote: ++ local SANITIZED_ARGS
remote: ++ set -- config:get tiny-web DOKKU_APP_USER
remote: ++ DOKKU_CONFIG_TYPE=app
remote: ++ DOKKU_CONFIG_RESTART=true
remote: ++ [[ app == \a\p\p ]]
remote: ++ [[ -z tiny-web ]]
remote: ++ verify_app_name tiny-web
remote: ++ declare 'desc=verify app name format and app existence'
remote: ++ local APP=tiny-web
remote: ++ [[ ! -n tiny-web ]]
remote: ++ [[ ! tiny-web =~ ^[a-z].* ]]
remote: ++ [[ ! -d /home/dokku/tiny-web ]]
remote: ++ return 0
remote: ++ APP=tiny-web
remote: ++ ENV_FILE=/home/dokku/tiny-web/ENV
remote: ++ export APP ENV_FILE DOKKU_CONFIG_TYPE DOKKU_CONFIG_RESTART DOKKU_CONFIG_EXPORT
remote: ++ SANITIZED_ARGS=($(get_sanitized_config_args "$@"))
remote: +++ get_sanitized_config_args config:get tiny-web DOKKU_APP_USER
remote: +++ local 'desc=return sanitized arguments for config plugin'
remote: +++ SANITIZED_ARGS=("$@")
remote: +++ local SANITIZED_ARGS
remote: +++ SANITIZED_ARGS=("${SANITIZED_ARGS[@]//--global/}")
remote: +++ SANITIZED_ARGS=("${SANITIZED_ARGS[@]//--no-restart/}")
remote: +++ SANITIZED_ARGS=("${SANITIZED_ARGS[@]//--export/}")
remote: +++ SANITIZED_ARGS=("${SANITIZED_ARGS[@]//--shell/}")
remote: +++ echo config:get tiny-web DOKKU_APP_USER
remote: ++ local SANITIZED_ARGS
remote: ++ set -- config:get tiny-web DOKKU_APP_USER
remote: ++ [[ -z tiny-web ]]
remote: ++ config_create /home/dokku/tiny-web/ENV
remote: ++ declare 'desc=create config env file'
remote: ++ local ENV_FILE=/home/dokku/tiny-web/ENV
remote: ++ [[ -f /home/dokku/tiny-web/ENV ]]
remote: ++ [[ ! -s /home/dokku/tiny-web/ENV ]]
remote: ++ local KEY=DOKKU_APP_USER
remote: ++ grep -Eo 'export ([a-zA-Z_][a-zA-Z0-9_]*=.*)' /home/dokku/tiny-web/ENV
remote: ++ sed -e 's/^'\''//' -e 's/'\''$//'
remote: ++ cut -d= -f2-
remote: ++ grep '^export DOKKU_APP_USER='
remote: ++ true
remote: + DOKKU_APP_USER=
remote: + DOKKU_APP_USER=herokuishuser
remote: + [[ herokuish == \h\e\r\o\k\u\i\s\h ]]
remote: + local 'docker_args= --env=USER=herokuishuser'
remote: + echo -n ' --env=USER=herokuishuser'
remote: + source /var/lib/dokku/core-plugins/available/common/functions
remote: ++ set -eo pipefail
remote: ++ [[ -n 1 ]]
remote: ++ set -x
remote: + [[ ! -n '' ]]
remote: + docker_args tiny-web herokuish
remote: + declare 'desc=docker args plugin trigger'
remote: + local trigger=/var/lib/dokku/plugins/enabled/docker-options/docker-args-build
remote: ++ cat
remote: + local STDIN=
remote: + local APP=tiny-web
remote: + local IMAGE_SOURCE_TYPE=herokuish
remote: + case "$0" in
remote: + local PHASE=BUILD
remote: + local FILE_PREFIX=DOCKER_OPTIONS_
remote: + local PHASE_FILE_PATH=/home/dokku/tiny-web/DOCKER_OPTIONS_BUILD
remote: + local output=
remote: + [[ -f /home/dokku/tiny-web/DOCKER_OPTIONS_BUILD ]]
remote: + echo -n ''
remote: + local 'DOCKER_ARGS= --env=USER=herokuishuser'
remote: + [[ -n 1 ]]
remote: + DOCKER_ARGS+=' -e TRACE=true '
remote: ++ docker run --label=dokku -d -v /home/dokku/tiny-web/cache:/cache -e CACHE_PATH=/cache --env=USER=herokuishuser -e TRACE=true dokku/tiny-web:latest /build
remote: + local id=96ce4c702a3c435be3cca0511581813058ea4698ddf27d35a162cf27b1faef2b
remote: + docker attach 96ce4c702a3c435be3cca0511581813058ea4698ddf27d35a162cf27b1faef2b
remote: + CMDS["$ns:${as/#$ns-/}"]=herokuish-test
remote: + cmd-export-ns buildpack 'Use and install buildpacks'
remote: + declare ns=buildpack 'desc=Use and install buildpacks'
remote: + eval 'buildpack() {
remote: declare desc="Use and install buildpacks"
remote: cmd-ns buildpack "$@";
remote: }'
remote: + cmd-export buildpack
remote: + declare 'desc=Exports a function as a command'
remote: + declare fn=buildpack as=buildpack
remote: + local ns=
remote: ++ cmd-list-ns
remote: ++ for k in '"${!CMDS[@]}"'
remote: ++ echo :version
remote: ++ for k in '"${!CMDS[@]}"'
remote: ++ echo :help
remote: ++ for k in '"${!CMDS[@]}"'
remote: ++ echo :test
remote: ++ for k in '"${!CMDS[@]}"'
remote: ++ echo :paths
remote: ++ grep -v :
remote: ++ sort
remote: + CMDS["$ns:${as/#$ns-/}"]=buildpack
remote: + CMDS["$1"]=buildpack
remote: + cmd-export buildpack-build
remote: + declare 'desc=Exports a function as a command'
remote: + declare fn=buildpack-build as=buildpack-build
remote: + local ns=
remote: ++ cmd-list-ns
remote: ++ for k in '"${!CMDS[@]}"'
remote: ++ echo :version
remote: ++ for k in '"${!CMDS[@]}"'
remote: ++ echo :help
remote: ++ for k in '"${!CMDS[@]}"'
remote: ++ echo :test
remote: ++ for k in '"${!CMDS[@]}"'
remote: ++ echo :buildpack
remote: ++ for k in '"${!CMDS[@]}"'
remote: ++ echo :paths
remote: ++ for k in '"${!CMDS[@]}"'
remote: ++ echo buildpack
remote: ++ grep -v :
remote: ++ sort
remote: + for n in '$(cmd-list-ns)'
remote: + + grep '^buildpack-'echo
remote: buildpack-build
remote: + ns=buildpack
remote: + CMDS["$ns:${as/#$ns-/}"]=buildpack-build
remote: + cmd-export buildpack-install
remote: + declare 'desc=Exports a function as a command'
remote: + declare fn=buildpack-install as=buildpack-install
remote: + local ns=
remote: ++ cmd-list-ns
remote: ++ sort
remote: ++ for k in '"${!CMDS[@]}"'
remote: ++ echo :version
remote: ++ for k in '"${!CMDS[@]}"'
remote: ++ echo :help
remote: ++ for k in '"${!CMDS[@]}"'
remote: ++ echo :test
remote: ++ for k in '"${!CMDS[@]}"'
remote: ++ echo :buildpack
remote: ++ for k in '"${!CMDS[@]}"'
remote: ++ echo :paths
remote: ++ for k in '"${!CMDS[@]}"'
remote: ++ echo buildpack
remote: ++ for k in '"${!CMDS[@]}"'
remote: ++ echo buildpack:build
remote: ++ grep -v :
remote: + for n in '$(cmd-list-ns)'
remote: + grep '^buildpack-'
remote: + echo buildpack-install
remote: + ns=buildpack
remote: + CMDS["$ns:${as/#$ns-/}"]=buildpack-install
remote: + cmd-export buildpack-list
remote: + declare 'desc=Exports a function as a command'
remote: + declare fn=buildpack-list as=buildpack-list
remote: + local ns=
remote: ++ cmd-list-ns
remote: ++ for k in '"${!CMDS[@]}"'
remote: ++ echo :version
remote: ++ for k in '"${!CMDS[@]}"'
remote: ++ echo :help
remote: ++ for k in '"${!CMDS[@]}"'
remote: ++ echo buildpack:install
remote: ++ for k in '"${!CMDS[@]}"'
remote: ++ echo :test
remote: ++ for k in '"${!CMDS[@]}"'
remote: ++ echo :buildpack
remote: ++ for k in '"${!CMDS[@]}"'
remote: ++ echo :paths
remote: ++ for k in '"${!CMDS[@]}"'
remote: ++ echo buildpack
remote: ++ for k in '"${!CMDS[@]}"'
remote: ++ echo buildpack:build
remote: ++ grep -v :++ sort
remote:
remote: + for n in '$(cmd-list-ns)'
remote: + grep '^buildpack-'
remote: + echo buildpack-list
remote: + ns=buildpack
remote: + CMDS["$ns:${as/#$ns-/}"]=buildpack-list
remote: + cmd-export-ns slug 'Manage application slugs'
remote: + declare ns=slug 'desc=Manage application slugs'
remote: + eval 'slug() {
remote: declare desc="Manage application slugs"
remote: cmd-ns slug "$@";
remote: }'
remote: + cmd-export slug
remote: + declare 'desc=Exports a function as a command'
remote: + declare fn=slug as=slug
remote: + local ns=
remote: ++ cmd-list-ns
remote: ++ sort
remote: ++ for k in '"${!CMDS[@]}"'
remote: ++ echo :version
remote: ++ for k in '"${!CMDS[@]}"'
remote: ++ echo :help
remote: ++ for k in '"${!CMDS[@]}"'
remote: ++ echo buildpack:install
remote: ++ for k in '"${!CMDS[@]}"'
remote: ++ echo :test
remote: ++ for k in '"${!CMDS[@]}"'
remote: ++ echo :buildpack
remote: ++ for k in '"${!CMDS[@]}"'
remote: ++ echo :paths
remote: ++ for k in '"${!CMDS[@]}"'
remote: ++ echo buildpack
remote: ++ for k in '"${!CMDS[@]}"'
remote: ++ echo buildpack:list
remote: ++ for k in '"${!CMDS[@]}"'
remote: ++ echo buildpack:build
remote: ++ grep -v :
remote: + for n in '$(cmd-list-ns)'
remote: + grep '^buildpack-'
remote: + echo slug
remote: + CMDS["$ns:${as/#$ns-/}"]=slug
remote: + CMDS["$1"]=slug
remote: + cmd-export slug-import
remote: + declare 'desc=Exports a function as a command'
remote: + declare fn=slug-import as=slug-import
remote: + local ns=
remote: ++ cmd-list-ns
remote: ++ for k in '"${!CMDS[@]}"'
remote: ++ echo :version
remote: ++ for k in '"${!CMDS[@]}"'
remote: ++ echo :help
remote: ++ for k in '"${!CMDS[@]}"'
remote: ++ echo buildpack:install
remote: ++ for k in '"${!CMDS[@]}"'
remote: ++ echo :test
remote: ++ for k in '"${!CMDS[@]}"'
remote: ++ echo :buildpack
remote: ++ for k in '"${!CMDS[@]}"'
remote: ++ echo :paths
remote: ++ for k in '"${!CMDS[@]}"'
remote: ++ echo slug
remote: ++ for k in '"${!CMDS[@]}"'
remote: ++ echo :slug
remote: ++ for k in '"${!CMDS[@]}"'
remote: ++ echo buildpack
remote: ++ for k in '"${!CMDS[@]}"'
remote: ++ echo buildpack:list
remote: ++ for k in '"${!CMDS[@]}"'
remote: ++ echo buildpack:build
remote: ++ grep -v :
remote: ++ sort
remote: + for n in '$(cmd-list-ns)'
remote: + grep '^buildpack-'
remote: + echo slug-import
remote: + for n in '$(cmd-list-ns)'
remote: + grep '^slug-'
remote: + echo slug-import
remote: + ns=slug
remote: + CMDS["$ns:${as/#$ns-/}"]=slug-import
remote: + cmd-export slug-generate
remote: + declare 'desc=Exports a function as a command'
remote: + declare fn=slug-generate as=slug-generate
remote: + local ns=
remote: ++ cmd-list-ns
remote: ++ for k in '"${!CMDS[@]}"'
remote: ++ echo :version
remote: ++ for k in '"${!CMDS[@]}"'
remote: ++ echo :help
remote: ++ for k in '"${!CMDS[@]}"'
remote: ++ echo buildpack:install
remote: ++ for k in '"${!CMDS[@]}"'
remote: ++ echo :test
remote: ++ for k in '"${!CMDS[@]}"'
remote: ++ echo :buildpack
remote: ++ for k in '"${!CMDS[@]}"'
remote: ++ echo :paths
remote: ++ for k in '"${!CMDS[@]}"'
remote: ++ echo slug
remote: ++ for k in '"${!CMDS[@]}"'
remote: ++ echo :slug
remote: ++ for k in '"${!CMDS[@]}"'
remote: ++ echo buildpack
remote: ++ for k in '"${!CMDS[@]}"'
remote: ++ echo slug:import
remote: ++ for k in '"${!CMDS[@]}"'
remote: ++ echo buildpack:list
remote: ++ for k in '"${!CMDS[@]}"'
remote: ++ echo buildpack:build
remote: ++ grep -v :
remote: ++ sort
remote: + for n in '$(cmd-list-ns)'
remote: + grep '^buildpack-'
remote: + echo slug-generate
remote: + for n in '$(cmd-list-ns)'
remote: + grep '^slug-'
remote: + echo slug-generate
remote: + ns=slug
remote: + CMDS["$ns:${as/#$ns-/}"]=slug-generate
remote: + cmd-export slug-export
remote: + declare 'desc=Exports a function as a command'
remote: + declare fn=slug-export as=slug-export
remote: + local ns=
remote: ++ cmd-list-ns
remote: ++ for k in '"${!CMDS[@]}"'
remote: ++ echo :version
remote: ++ sort
remote: ++ for k in '"${!CMDS[@]}"'
remote: ++ echo :help
remote: ++ for k in '"${!CMDS[@]}"'
remote: ++ echo buildpack:install
remote: ++ for k in '"${!CMDS[@]}"'
remote: ++ echo :test
remote: ++ for k in '"${!CMDS[@]}"'
remote: ++ echo slug:generate
remote: ++ for k in '"${!CMDS[@]}"'
remote: ++ echo :buildpack
remote: ++ for k in '"${!CMDS[@]}"'
remote: ++ echo :paths
remote: ++ for k in '"${!CMDS[@]}"'
remote: ++ echo slug++ grep -v :
remote:
remote: ++ for k in '"${!CMDS[@]}"'
remote: ++ echo :slug
remote: ++ for k in '"${!CMDS[@]}"'
remote: ++ echo buildpack
remote: ++ for k in '"${!CMDS[@]}"'
remote: ++ echo slug:import
remote: ++ for k in '"${!CMDS[@]}"'
remote: ++ echo buildpack:list
remote: ++ for k in '"${!CMDS[@]}"'
remote: ++ echo buildpack:build
remote: + for n in '$(cmd-list-ns)'
remote: + echo slug-export
remote: + grep '^buildpack-'
remote: + for n in '$(cmd-list-ns)'
remote: + grep '^slug-'
remote: + echo slug-export
remote: + ns=slug
remote: + CMDS["$ns:${as/#$ns-/}"]=slug-export
remote: + cmd-export-ns procfile 'Use Procfiles and run app commands'
remote: + declare ns=procfile 'desc=Use Procfiles and run app commands'
remote: + eval 'procfile() {
remote: declare desc="Use Procfiles and run app commands"
remote: cmd-ns procfile "$@";
remote: }'
remote: + cmd-export procfile
remote: + declare 'desc=Exports a function as a command'
remote: + declare fn=procfile as=procfile
remote: + local ns=
remote: ++ cmd-list-ns
remote: ++ for k in '"${!CMDS[@]}"'
remote: ++ ++ sort
remote: ++ grep -v :
remote: echo :version
remote: ++ for k in '"${!CMDS[@]}"'
remote: ++ echo :help
remote: ++ for k in '"${!CMDS[@]}"'
remote: ++ echo buildpack:install
remote: ++ for k in '"${!CMDS[@]}"'
remote: ++ echo :test
remote: ++ for k in '"${!CMDS[@]}"'
remote: ++ echo slug:generate
remote: ++ for k in '"${!CMDS[@]}"'
remote: ++ echo :buildpack
remote: ++ for k in '"${!CMDS[@]}"'
remote: ++ echo :paths
remote: ++ for k in '"${!CMDS[@]}"'
remote: ++ echo slug
remote: ++ for k in '"${!CMDS[@]}"'
remote: ++ echo :slug
remote: ++ for k in '"${!CMDS[@]}"'
remote: ++ echo buildpack
remote: ++ for k in '"${!CMDS[@]}"'
remote: ++ echo slug:import
remote: ++ for k in '"${!CMDS[@]}"'
remote: ++ echo buildpack:list
remote: ++ for k in '"${!CMDS[@]}"'
remote: ++ echo slug:export
remote: ++ for k in '"${!CMDS[@]}"'
remote: ++ echo buildpack:build
remote: + for n in '$(cmd-list-ns)'
remote: + echo procfile
remote: + grep '^buildpack-'
remote: + for n in '$(cmd-list-ns)'
remote: + echo procfile
remote: + grep '^slug-'
remote: + CMDS["$ns:${as/#$ns-/}"]=procfile
remote: + CMDS["$1"]=procfile
remote: + cmd-export procfile-start
remote: + declare 'desc=Exports a function as a command'
remote: + declare fn=procfile-start as=procfile-start
remote: + local ns=
remote: ++ cmd-list-ns
remote: ++ grep -v :
remote: ++ for k in '"${!CMDS[@]}"'
remote: ++ echo :version
remote: ++ for k in '"${!CMDS[@]}"'
remote: ++ echo :help
remote: ++ for k in '"${!CMDS[@]}"'
remote: ++ echo :procfile
remote: ++ for k in '"${!CMDS[@]}"'
remote: ++ echo buildpack:install
remote: ++ for k in '"${!CMDS[@]}"'
remote: ++ echo :test
remote: ++ for k in '"${!CMDS[@]}"'
remote: ++ echo slug:generate
remote: ++ for k in '"${!CMDS[@]}"'
remote: ++ echo :buildpack
remote: ++ for k in '"${!CMDS[@]}"'
remote: ++ echo :paths
remote: ++ for k in '"${!CMDS[@]}"'
remote: ++ echo slug
remote: ++ for k in '"${!CMDS[@]}"'
remote: ++ echo :slug
remote: ++ for k in '"${!CMDS[@]}"'
remote: ++ echo buildpack
remote: ++ ++ sort
remote: for k in '"${!CMDS[@]}"'
remote: ++ echo slug:import
remote: ++ for k in '"${!CMDS[@]}"'
remote: ++ echo buildpack:list
remote: ++ for k in '"${!CMDS[@]}"'
remote: ++ echo slug:export
remote: ++ for k in '"${!CMDS[@]}"'
remote: ++ echo buildpack:build
remote: ++ for k in '"${!CMDS[@]}"'
remote: ++ echo procfile
remote: + for n in '$(cmd-list-ns)'
remote: + echo procfile-start
remote: + grep '^buildpack-'
remote: + for n in '$(cmd-list-ns)'
remote: + grep + '^procfile-'echo
remote: procfile-start
remote: + ns=procfile
remote: + for n in '$(cmd-list-ns)'
remote: + echo procfile-start
remote: + grep '^slug-'
remote: + CMDS["$ns:${as/#$ns-/}"]=procfile-start
remote: + cmd-export procfile-exec
remote: + declare 'desc=Exports a function as a command'
remote: + declare fn=procfile-exec as=procfile-exec
remote: + local ns=
remote: ++ cmd-list-ns
remote: ++ sort
remote: ++ grep -v :
remote: ++ for k in '"${!CMDS[@]}"'
remote: ++ echo :version
remote: ++ for k in '"${!CMDS[@]}"'
remote: ++ echo :help
remote: ++ for k in '"${!CMDS[@]}"'
remote: ++ echo :procfile
remote: ++ for k in '"${!CMDS[@]}"'
remote: ++ echo buildpack:install
remote: ++ for k in '"${!CMDS[@]}"'
remote: ++ echo procfile:start
remote: ++ for k in '"${!CMDS[@]}"'
remote: ++ echo :test
remote: ++ for k in '"${!CMDS[@]}"'
remote: ++ echo slug:generate
remote: ++ for k in '"${!CMDS[@]}"'
remote: ++ echo :buildpack
remote: ++ for k in '"${!CMDS[@]}"'
remote: ++ echo :paths
remote: ++ for k in '"${!CMDS[@]}"'
remote: ++ echo slug
remote: ++ for k in '"${!CMDS[@]}"'
remote: ++ echo :slug
remote: ++ for k in '"${!CMDS[@]}"'
remote: ++ echo buildpack
remote: ++ for k in '"${!CMDS[@]}"'
remote: ++ echo slug:import
remote: ++ for k in '"${!CMDS[@]}"'
remote: ++ echo buildpack:list
remote: ++ for k in '"${!CMDS[@]}"'
remote: ++ echo slug:export
remote: ++ for k in '"${!CMDS[@]}"'
remote: ++ echo buildpack:build
remote: ++ for k in '"${!CMDS[@]}"'
remote: ++ echo procfile
remote: + for n in '$(cmd-list-ns)'
remote: + echo procfile-exec
remote: + grep '^buildpack-'
remote: + for n in '$(cmd-list-ns)'
remote: + + grep '^procfile-'echo
remote: procfile-exec
remote: + ns=procfile
remote: + for n in '$(cmd-list-ns)'
remote: + grep '^slug-'
remote: + echo procfile-exec
remote: + CMDS["$ns:${as/#$ns-/}"]=procfile-exec
remote: + cmd-export procfile-parse
remote: + declare 'desc=Exports a function as a command'
remote: + declare fn=procfile-parse as=procfile-parse
remote: + local ns=
remote: ++ cmd-list-ns
remote: ++ sort
remote: ++ grep -v :
remote: ++ for k in '"${!CMDS[@]}"'
remote: ++ echo :version
remote: ++ for k in '"${!CMDS[@]}"'
remote: ++ echo :help
remote: ++ for k in '"${!CMDS[@]}"'
remote: ++ echo :procfile
remote: ++ for k in '"${!CMDS[@]}"'
remote: ++ echo buildpack:install
remote: ++ for k in '"${!CMDS[@]}"'
remote: ++ echo procfile:start
remote: ++ for k in '"${!CMDS[@]}"'
remote: ++ echo :test
remote: ++ for k in '"${!CMDS[@]}"'
remote: ++ echo slug:generate
remote: ++ for k in '"${!CMDS[@]}"'
remote: ++ echo :buildpack
remote: ++ for k in '"${!CMDS[@]}"'
remote: ++ echo :paths
remote: ++ for k in '"${!CMDS[@]}"'
remote: ++ echo slug
remote: ++ for k in '"${!CMDS[@]}"'
remote: ++ echo :slug
remote: ++ for k in '"${!CMDS[@]}"'
remote: ++ echo buildpack
remote: ++ for k in '"${!CMDS[@]}"'
remote: ++ echo slug:import
remote: ++ for k in '"${!CMDS[@]}"'
remote: ++ echo buildpack:list
remote: ++ for k in '"${!CMDS[@]}"'
remote: ++ echo slug:export
remote: ++ for k in '"${!CMDS[@]}"'
remote: ++ echo buildpack:build
remote: ++ for k in '"${!CMDS[@]}"'
remote: ++ echo procfile:exec
remote: ++ for k in '"${!CMDS[@]}"'
remote: ++ echo procfile
remote: + for n in '$(cmd-list-ns)'
remote: + grep '^buildpack-'
remote: + echo procfile-parse
remote: + for n in '$(cmd-list-ns)'
remote: + echo procfile-parse
remote: + grep '^procfile-'
remote: + ns=procfile
remote: + for n in '$(cmd-list-ns)'
remote: + echo procfile-parse
remote: + grep '^slug-'
remote: + CMDS["$ns:${as/#$ns-/}"]=procfile-parse
remote: + case "$SELF" in
remote: + buildpack-build
remote: + declare 'desc=Build an application using installed buildpacks'
remote: + ensure-paths
remote: + mkdir -p /app /tmp/env /tmp/build /cache /tmp/buildpacks
remote: + [[ -n herokuishuser ]]
remote: + buildpack-setup
remote: + export APP_DIR=/app
remote: + APP_DIR=/app
remote: + export HOME=/app
remote: + HOME=/app
remote: + export REQUEST_ID=build-23769
remote: + REQUEST_ID=build-23769
remote: + export STACK=cedar-14
remote: + STACK=cedar-14
remote: + cp -r /app/. /tmp/build
remote: + usermod --home /app herokuishuser
remote: + chown -R herokuishuser:herokuishuser /app /tmp/build /cache /tmp/env /tmp/buildpacks
remote: + export CURL_CONNECT_TIMEOUT=30
remote: + CURL_CONNECT_TIMEOUT=30
remote: + export CURL_TIMEOUT=180
remote: + CURL_TIMEOUT=180
remote: + [[ -f /app/.env ]]
remote: ++ _envfile-parse
remote: ++ declare 'desc=Parse input into shell export commands'
remote: ++ local key
remote: ++ local value
remote: ++ cat /app/.env
remote: +++ cat
remote: ++ read line
remote: ++ [[ '' =~ ^#.* ]]
remote: ++ [[ '' =~ ^$ ]]
remote: ++ continue
remote: ++ read line
remote: ++ [[ export CURL_CONNECT_TIMEOUT='90' =~ ^#.* ]]
remote: ++ [[ export CURL_CONNECT_TIMEOUT='90' =~ ^$ ]]
remote: ++ key='export CURL_CONNECT_TIMEOUT'
remote: ++ key=CURL_CONNECT_TIMEOUT
remote: ++ value=''\''90'\'''
remote: ++ case "$value" in
remote: ++ value=''\''90'\'''
remote: ++ echo 'export CURL_CONNECT_TIMEOUT='\''90'\'''
remote: ++ read line
remote: ++ [[ export CURL_TIMEOUT='60' =~ ^#.* ]]
remote: ++ [[ export CURL_TIMEOUT='60' =~ ^$ ]]
remote: ++ key='export CURL_TIMEOUT'
remote: ++ key=CURL_TIMEOUT
remote: ++ value=''\''60'\'''
remote: ++ case "$value" in
remote: ++ value=''\''60'\'''
remote: ++ echo 'export CURL_TIMEOUT='\''60'\'''
remote: ++ read line
remote: ++ [[ '' =~ ^#.* ]]
remote: ++ [[ '' =~ ^$ ]]
remote: ++ continue
remote: ++ read line
remote: ++ [[ export DOKKU_APP_TYPE='herokuish' =~ ^#.* ]]
remote: ++ [[ export DOKKU_APP_TYPE='herokuish' =~ ^$ ]]
remote: ++ key='export DOKKU_APP_TYPE'
remote: ++ key=DOKKU_APP_TYPE
remote: ++ value=''\''herokuish'\'''
remote: ++ case "$value" in
remote: ++ value=''\''herokuish'\'''
remote: ++ echo 'export DOKKU_APP_TYPE='\''herokuish'\'''
remote: ++ read line
remote: ++ [[ -n '' ]]
remote: + eval export 'CURL_CONNECT_TIMEOUT='\''90'\''' export 'CURL_TIMEOUT='\''60'\''' export 'DOKKU_APP_TYPE='\''herokuish'\'''
remote: ++ export CURL_CONNECT_TIMEOUT=90 export CURL_TIMEOUT=60 export DOKKU_APP_TYPE=herokuish
remote: ++ CURL_CONNECT_TIMEOUT=90
remote: ++ CURL_TIMEOUT=60
remote: ++ DOKKU_APP_TYPE=herokuish
remote: + indent
remote: + read line
remote: + buildpack-execute
remote: + [[ -n '' ]]
remote: + buildpacks=($buildpack_path/*)
remote: + local buildpacks
remote: + valid_buildpacks=()
remote: + local valid_buildpacks
remote: + for buildpack in '"${buildpacks[@]}"'
remote: + unprivileged /tmp/buildpacks/00_buildpack-multi/bin/detect /tmp/build
remote: + for buildpack in '"${buildpacks[@]}"'
remote: + unprivileged /tmp/buildpacks/01_buildpack-ruby/bin/detect /tmp/build
remote: + for buildpack in '"${buildpacks[@]}"'
remote: + unprivileged /tmp/buildpacks/02_buildpack-nodejs/bin/detect /tmp/build
remote: + for buildpack in '"${buildpacks[@]}"'
remote: + unprivileged /tmp/buildpacks/03_buildpack-clojure/bin/detect /tmp/build
remote: + for buildpack in '"${buildpacks[@]}"'
remote: + unprivileged /tmp/buildpacks/04_buildpack-python/bin/detect /tmp/build
remote: + for buildpack in '"${buildpacks[@]}"'
remote: + unprivileged /tmp/buildpacks/05_buildpack-java/bin/detect /tmp/build
remote: + for buildpack in '"${buildpacks[@]}"'
remote: + unprivileged /tmp/buildpacks/06_buildpack-gradle/bin/detect /tmp/build
remote: + for buildpack in '"${buildpacks[@]}"'
remote: + unprivileged /tmp/buildpacks/07_buildpack-grails/bin/detect /tmp/build
remote: + for buildpack in '"${buildpacks[@]}"'
remote: + unprivileged /tmp/buildpacks/08_buildpack-scala/bin/detect /tmp/build
remote: + for buildpack in '"${buildpacks[@]}"'
remote: + unprivileged /tmp/buildpacks/09_buildpack-play/bin/detect /tmp/build
remote: + for buildpack in '"${buildpacks[@]}"'
remote: + unprivileged /tmp/buildpacks/10_buildpack-php/bin/detect /tmp/build
remote: + for buildpack in '"${buildpacks[@]}"'
remote: + unprivileged /tmp/buildpacks/11_buildpack-go/bin/detect /tmp/build
remote: + for buildpack in '"${buildpacks[@]}"'
remote: + unprivileged /tmp/buildpacks/12_buildpack-erlang/bin/detect /tmp/build
remote: + for buildpack in '"${buildpacks[@]}"'
remote: + unprivileged /tmp/buildpacks/13_buildpack-static/bin/detect /tmp/build
remote: + [[ 0 -gt 1 ]]
remote: + [[ 0 -gt 0 ]]
remote: + [[ -n '' ]]
remote: + title 'Unable to select a buildpack'
----->' Unable to select a buildpack
-----> Unable to select a buildpack == --* ]]
-----> Unable to select a buildpack == ==* ]]
-----> Unable to select a buildpack'
-----> Unable to select a buildpack
remote: read line
remote: + exit 1
remote: + rm -rf ''
remote: + exit_code=1
remote: + set -e
remote: + [[ 1 -eq 10 ]]
remote: + implemented=1
remote: + [[ 1 -ne 0 ]]
remote: + exit 1
+ exit_code=0
+ set -e
+ [[ 0 -eq 10 ]]
+ implemented=1
+ [[ 0 -ne 0 ]]
+ for script in '$PLUGIN_ENABLED_PATH/*/commands'
+ set +e
+ /var/lib/dokku/plugins/enabled/logs/commands git-receive-pack ''\''tiny-web'\'''
+ exit_code=10
+ set -e
+ [[ 10 -eq 10 ]]
+ continue
+ for script in '$PLUGIN_ENABLED_PATH/*/commands'
+ set +e
+ /var/lib/dokku/plugins/enabled/nginx-vhosts/commands git-receive-pack ''\''tiny-web'\'''
+ exit_code=10
+ set -e
+ [[ 10 -eq 10 ]]
+ continue
+ for script in '$PLUGIN_ENABLED_PATH/*/commands'
+ set +e
+ /var/lib/dokku/plugins/enabled/plugin/commands git-receive-pack ''\''tiny-web'\'''
+ exit_code=10
+ set -e
+ [[ 10 -eq 10 ]]
+ continue
+ for script in '$PLUGIN_ENABLED_PATH/*/commands'
+ set +e
+ /var/lib/dokku/plugins/enabled/postgres/commands git-receive-pack ''\''tiny-web'\'''
+ exit_code=10
+ set -e
+ [[ 10 -eq 10 ]]
+ continue
+ for script in '$PLUGIN_ENABLED_PATH/*/commands'
+ set +e
+ /var/lib/dokku/plugins/enabled/proxy/commands git-receive-pack ''\''tiny-web'\'''
+ exit_code=10
+ set -e
+ [[ 10 -eq 10 ]]
+ continue
+ for script in '$PLUGIN_ENABLED_PATH/*/commands'
+ set +e
+ /var/lib/dokku/plugins/enabled/ps/commands git-receive-pack ''\''tiny-web'\'''
+ exit_code=10
+ set -e
+ [[ 10 -eq 10 ]]
+ continue
+ for script in '$PLUGIN_ENABLED_PATH/*/commands'
+ set +e
+ /var/lib/dokku/plugins/enabled/repo/commands git-receive-pack ''\''tiny-web'\'''
+ exit_code=10
+ set -e
+ [[ 10 -eq 10 ]]
+ continue
+ for script in '$PLUGIN_ENABLED_PATH/*/commands'
+ set +e
+ /var/lib/dokku/plugins/enabled/shell/commands git-receive-pack ''\''tiny-web'\'''
+ exit_code=10
+ set -e
+ [[ 10 -eq 10 ]]
+ continue
+ for script in '$PLUGIN_ENABLED_PATH/*/commands'
+ set +e
+ /var/lib/dokku/plugins/enabled/ssh-keys/commands git-receive-pack ''\''tiny-web'\'''
+ exit_code=10
+ set -e
+ [[ 10 -eq 10 ]]
+ continue
+ for script in '$PLUGIN_ENABLED_PATH/*/commands'
+ set +e
+ exit_code=10
+ set -e
+ [[ 10 -eq 10 ]]
+ continue
+ for script in '$PLUGIN_ENABLED_PATH/*/commands'
+ set +e
+ /var/lib/dokku/plugins/enabled/tags/commands git-receive-pack ''\''tiny-web'\'''
+ exit_code=10
+ set -e
+ [[ 10 -eq 10 ]]
+ continue
+ for script in '$PLUGIN_ENABLED_PATH/*/commands'
+ set +e
+ /var/lib/dokku/plugins/enabled/tar/commands git-receive-pack ''\''tiny-web'\'''
+ exit_code=10
+ set -e
+ [[ 10 -eq 10 ]]
+ continue
+ [[ 1 -eq 0 ]]
+ set +f
+ exit 0
To .......:tiny-web
! [remote rejected] dev -> master (prgbpe-receive hook declined)
error: failed to push some refs to 'dokku@.....:tiny-web'
The-Magic-Box:tiny-web gdp$
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment