Skip to content

Instantly share code, notes, and snippets.

@paulusm
Created May 5, 2018 18:08
Show Gist options
  • Save paulusm/4901dfaed2b53c80f44c42d5ef716450 to your computer and use it in GitHub Desktop.
Save paulusm/4901dfaed2b53c80f44c42d5ef716450 to your computer and use it in GitHub Desktop.
git push dokku master
+ export DOKKU_HOST_ROOT=/home/dokku
+ DOKKU_HOST_ROOT=/home/dokku
+ 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 ''\''/twall'\'''
+ 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 '/twall' ]]
+ export -n SSH_ORIGINAL_COMMAND
+ [[ git-receive-pack =~ config-* ]]
+ [[ git-receive-pack =~ docker-options* ]]
+ set -f
+ /usr/bin/dokku git-receive-pack ''\''/twall'\'''
+ export DOKKU_HOST_ROOT=/home/dokku
+ DOKKU_HOST_ROOT=/home/dokku
+ 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 ''\''/twall'\'''
+ 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 ''\''/twall'\'''
+ declare 'desc=calls user-auth plugin trigger'
+ export SSH_USER=dokku
+ SSH_USER=dokku
+ export SSH_NAME=admin
+ SSH_NAME=admin
+ plugn trigger user-auth dokku admin git-receive-pack ''\''/twall'\'''
+ 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 ''\''/twall'\'''
+ 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 ''\''/twall'\'''
+ 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 ''\''/twall'\'''
+ 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 ''\''/twall'\'''
+ 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 ''\''/twall'\'''
+ 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 ''\''/twall'\'''
+ 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 ''\''/twall'\'''
+ 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 ''\''/twall'\'''
+ 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 ''\''/twall'\'''
+ 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 ''\''/twall'\'''
+ 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 ''\''/twall'\'''
+ source /var/lib/dokku/plugins/available/git/functions
++ source /var/lib/dokku/core-plugins/available/common/functions
+++ set -eo pipefail
+++ [[ -n 1 ]]
+++ set -x
++ source /var/lib/dokku/core-plugins/available/common/property-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
++ set -eo pipefail
++ [[ -n 1 ]]
++ set -x
+ source /var/lib/dokku/plugins/available/git/internal-functions
++ source /var/lib/dokku/core-plugins/available/common/functions
+++ set -eo pipefail
+++ [[ -n 1 ]]
+++ set -x
++ source /var/lib/dokku/core-plugins/available/common/property-functions
+++ set -eo pipefail
+++ [[ -n 1 ]]
+++ set -x
++ set -eo pipefail
++ [[ -n 1 ]]
++ set -x
+ case "$1" in
+ git_glob_cmd git-receive-pack ''\''/twall'\'''
+ declare 'desc=catch-all for any other git-* commands'
+ local 'cmd=git-*'
++ echo ''\''/twall'\'''
++ perl -pe 's/(?<!\\)'\''//g'
++ sed 's/^\///g'
++ sed 's/\\'\''/'\''/g'
+ local APP=twall
+ local APP_PATH=/home/dokku/twall
+ is_valid_app_name twall
+ declare 'desc=verify app name format'
+ local APP=twall
+ [[ ! -n twall ]]
+ [[ twall =~ ^[a-z].* ]]
+ [[ ! twall =~ [A-Z] ]]
+ [[ ! twall =~ [:] ]]
+ return 0
+ [[ git-receive-pack == \g\i\t\-\r\e\c\e\i\v\e\-\p\a\c\k ]]
+ [[ ! -d /home/dokku/twall/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/twall'\'''
+ git-shell -c 'git-receive-pack '\''/home/dokku/twall'\'''
Counting objects: 3594, done.
Delta compression using up to 4 threads.
Compressing objects: 100% (2534/2534), done.
Writing objects: 100% (3594/3594), 16.35 MiB | 782.00 KiB/s, done.
Total 3594 (delta 1030), reused 3321 (delta 873)
remote: + export DOKKU_HOST_ROOT=/home/dokku
remote: + DOKKU_HOST_ROOT=/home/dokku
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 twall
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 twall
remote: + declare 'desc=calls user-auth plugin trigger'
remote: + export SSH_USER=dokku
remote: + SSH_USER=dokku
remote: + export SSH_NAME=admin
remote: + SSH_NAME=admin
remote: + plugn trigger user-auth dokku admin git-hook twall
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 twall
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 twall
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 twall
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 twall
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 twall
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 twall
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 twall
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 twall
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 twall
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 twall
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 twall
remote: + source /var/lib/dokku/plugins/available/git/functions
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/core-plugins/available/common/property-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: ++ set -eo pipefail
remote: ++ [[ -n 1 ]]
remote: ++ set -x
remote: + source /var/lib/dokku/plugins/available/git/internal-functions
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/core-plugins/available/common/property-functions
remote: +++ set -eo pipefail
remote: +++ [[ -n 1 ]]
remote: +++ set -x
remote: ++ set -eo pipefail
remote: ++ [[ -n 1 ]]
remote: ++ set -x
remote: + case "$1" in
remote: + git_hook_cmd git-hook twall
remote: + declare 'desc=kick off receive-app trigger from git prereceive hook'
remote: + local cmd=git-hook
remote: + local APP=twall
remote: + local DOKKU_DEPLOY_BRANCH
remote: + is_valid_app_name twall
remote: + declare 'desc=verify app name format'
remote: + local APP=twall
remote: + [[ ! -n twall ]]
remote: + [[ twall =~ ^[a-z].* ]]
remote: + [[ ! twall =~ [A-Z] ]]
remote: + [[ ! twall =~ [:] ]]
remote: + return 0
remote: ++ git_deploy_branch twall
remote: ++ declare 'desc=retrieve the deploy branch for a given application'
remote: ++ local cmd=git-hook
remote: ++ local APP=twall
remote: +++ fn-plugin-property-get git twall deploy-branch ''
remote: +++ declare 'desc=returns the property store value for an app'
remote: +++ declare PLUGIN=git APP=twall KEY=deploy-branch DEFAULT=
remote: +++ local CONFIG_VALUE
remote: +++ [[ -z git ]]
remote: +++ [[ -z twall ]]
remote: +++ [[ -z deploy-branch ]]
remote: ++++ fn-plugin-property-read git twall deploy-branch
remote: ++++ declare 'desc=read a key from the property store for an app'
remote: ++++ declare PLUGIN=git APP=twall KEY=deploy-branch
remote: ++++ [[ -z git ]]
remote: ++++ [[ -z twall ]]
remote: ++++ [[ -z deploy-branch ]]
remote: ++++ [[ ! -f /var/lib/dokku/config/git/twall/deploy-branch ]]
remote: ++++ return 1
remote: ++++ true
remote: +++ CONFIG_VALUE=
remote: +++ [[ -z '' ]]
remote: +++ CONFIG_VALUE=
remote: +++ echo ''
remote: ++ local DOKKU_DEPLOY_BRANCH=
remote: +++ fn-plugin-property-get git --global deploy-branch ''
remote: +++ declare 'desc=returns the property store value for an app'
remote: +++ declare PLUGIN=git APP=--global KEY=deploy-branch DEFAULT=
remote: +++ local CONFIG_VALUE
remote: +++ [[ -z git ]]
remote: +++ [[ -z --global ]]
remote: +++ [[ -z deploy-branch ]]
remote: ++++ fn-plugin-property-read git --global deploy-branch
remote: ++++ declare 'desc=read a key from the property store for an app'
remote: ++++ declare PLUGIN=git APP=--global KEY=deploy-branch
remote: ++++ [[ -z git ]]
remote: ++++ [[ -z --global ]]
remote: ++++ [[ -z deploy-branch ]]
remote: ++++ [[ ! -f /var/lib/dokku/config/git/--global/deploy-branch ]]
remote: ++++ return 1
remote: ++++ true
remote: +++ CONFIG_VALUE=
remote: +++ [[ -z '' ]]
remote: +++ CONFIG_VALUE=
remote: +++ echo ''
remote: ++ local DOKKU_GLOBAL_DEPLOY_BRANCH=
remote: ++ [[ -n '' ]]
remote: ++ [[ -n '' ]]
remote: ++ echo master
remote: + 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: + git_receive_app twall ecb16dbfd65ab8261fb1b35b8d10014e36c57056
remote: + declare 'desc=git receive-app plugin trigger'
remote: + declare APP=twall REV=ecb16dbfd65ab8261fb1b35b8d10014e36c57056
remote: + [[ ! -d /home/dokku/twall/refs ]]
remote: + acquire_app_deploy_lock twall exclusive
remote: + declare 'desc=acquire advisory lock for use in git/tar deploys'
remote: + local APP=twall
remote: + verify_app_name twall
remote: + declare 'desc=verify app name format and app existence'
remote: + local APP=twall
remote: + is_valid_app_name twall
remote: + declare 'desc=verify app name format'
remote: + local APP=twall
remote: + [[ ! -n twall ]]
remote: + [[ twall =~ ^[a-z].* ]]
remote: + [[ ! twall =~ [A-Z] ]]
remote: + [[ ! twall =~ [:] ]]
remote: + return 0
remote: + [[ ! -d /home/dokku/twall ]]
remote: + return 0
remote: + local LOCK_TYPE=exclusive
remote: + local APP_DEPLOY_LOCK_FD=200
remote: + local APP_DEPLOY_LOCK_FILE=/home/dokku/twall/.deploy.lock
remote: + local 'LOCK_WAITING_MSG=twall currently has a deploy lock in place. Waiting...'
remote: + local 'LOCK_FAILED_MSG=twall currently has a deploy lock in place. Exiting...'
remote: + local SHOW_MSG=true
remote: + eval 'exec 200>/home/dokku/twall/.deploy.lock'
remote: ++ exec
remote: + [[ exclusive == \w\a\i\t\i\n\g ]]
remote: + flock -n 200
remote: + git_build twall ecb16dbfd65ab8261fb1b35b8d10014e36c57056
remote: + declare 'desc=setup and call git_build_app_repo'
remote: + local APP=twall REV=ecb16dbfd65ab8261fb1b35b8d10014e36c57056
remote: + local DOKKU_DEPLOY_BRANCH ENV_VAR_NAME REF
remote: + [[ 2 -ge 2 ]]
remote: ++ fn-plugin-property-get git twall rev-env-var
remote: ++ declare 'desc=returns the property store value for an app'
remote: ++ declare PLUGIN=git APP=twall KEY=rev-env-var DEFAULT=
remote: ++ local CONFIG_VALUE
remote: ++ [[ -z git ]]
remote: ++ [[ -z twall ]]
remote: ++ [[ -z rev-env-var ]]
remote: +++ fn-plugin-property-read git twall rev-env-var
remote: +++ declare 'desc=read a key from the property store for an app'
remote: +++ declare PLUGIN=git APP=twall KEY=rev-env-var
remote: +++ [[ -z git ]]
remote: +++ [[ -z twall ]]
remote: +++ [[ -z rev-env-var ]]
remote: +++ [[ ! -f /var/lib/dokku/config/git/twall/rev-env-var ]]
remote: +++ return 1
remote: +++ true
remote: ++ CONFIG_VALUE=
remote: ++ [[ -z '' ]]
remote: ++ CONFIG_VALUE=
remote: ++ echo ''
remote: + ENV_VAR_NAME=
remote: + [[ -z '' ]]
remote: + fn-plugin-property-exists git twall rev-env-var
remote: + declare 'desc=returns whether the property store has a value for an app'
remote: + declare PLUGIN=git APP=twall KEY=rev-env-var DEFAULT=
remote: + local CONFIG_VALUE
remote: + [[ -z git ]]
remote: + [[ -z twall ]]
remote: + [[ -z rev-env-var ]]
remote: + [[ ! -f /var/lib/dokku/config/git/twall/rev-env-var ]]
remote: + return 1
remote: + ENV_VAR_NAME=GIT_REV
remote: + [[ -n GIT_REV ]]
remote: + config_set --no-restart twall GIT_REV=ecb16dbfd65ab8261fb1b35b8d10014e36c57056
remote: + declare 'desc=set value of given config var'
remote: + config_sub set --no-restart twall GIT_REV=ecb16dbfd65ab8261fb1b35b8d10014e36c57056
remote: + declare 'desc=executes a config subcommand'
remote: + local name=set
remote: + shift
remote: + /var/lib/dokku/plugins/available/config/subcommands/set config:set --no-restart twall GIT_REV=ecb16dbfd65ab8261fb1b35b8d10014e36c57056
remote: + source /var/lib/dokku/core-plugins/available/common/functions
remote: ++ set -eo pipefail
remote: ++ [[ -n 1 ]]
remote: ++ set -x
remote: + [[ ! -n '' ]]
remote: + local REF=ecb16dbfd65ab8261fb1b35b8d10014e36c57056
remote: + git_build_app_repo twall ecb16dbfd65ab8261fb1b35b8d10014e36c57056
remote: + declare 'desc=builds local git app repo for app'
remote: + declare APP=twall REV=ecb16dbfd65ab8261fb1b35b8d10014e36c57056
remote: + local DOKKU_GLOBAL_DISABLE_AUTOCREATE
remote: + verify_app_name twall
remote: + declare 'desc=verify app name format and app existence'
remote: + local APP=twall
remote: + is_valid_app_name twall
remote: + declare 'desc=verify app name format'
remote: + local APP=twall
remote: + [[ ! -n twall ]]
remote: + [[ twall =~ ^[a-z].* ]]
remote: + [[ ! twall =~ [A-Z] ]]
remote: + [[ ! twall =~ [:] ]]
remote: + return 0
remote: + [[ ! -d /home/dokku/twall ]]
remote: + return 0
remote: ++ mktemp -d /tmp/dokku_git.XXXX
remote: + local GIT_BUILD_APP_REPO_TMP_WORK_DIR=/tmp/dokku_git.SI3q
remote: + trap 'rm -rf "$GIT_BUILD_APP_REPO_TMP_WORK_DIR" > /dev/null' RETURN INT TERM EXIT
remote: + local TMP_TAG=dokku/ecb16dbfd65ab8261fb1b35b8d10014e36c57056
remote: + chmod 755 /tmp/dokku_git.SI3q
remote: + unset GIT_DIR GIT_WORK_TREE
remote: + apps_exists twall
remote: + use_git_worktree
remote: + declare 'desc=detects whether to use git worktree'
remote: + local GIT_VERSION MAJOR_VERSION MINOR_VERSION
remote: ++ git --version
remote: ++ awk '{split($0,a," "); print a[3]}'
remote: + GIT_VERSION=2.7.4
remote: ++ echo 2.7.4
remote: ++ awk '{split($0,a,"."); print a[1]}'
remote: + MAJOR_VERSION=2
remote: ++ echo 2.7.4
remote: ++ awk '{split($0,a,"."); print a[2]}'
remote: + MINOR_VERSION=7
remote: + [[ 2 -ge 3 ]]
remote: + [[ 2 -eq 2 ]]
remote: + [[ 7 -ge 11 ]]
remote: + return 1
remote: + pushd /tmp/dokku_git.SI3q
remote: + GIT_DIR=/home/dokku/twall
remote: + git tag -d dokku/ecb16dbfd65ab8261fb1b35b8d10014e36c57056
remote: + true
remote: + GIT_DIR=/home/dokku/twall
remote: + git tag dokku/ecb16dbfd65ab8261fb1b35b8d10014e36c57056 ecb16dbfd65ab8261fb1b35b8d10014e36c57056
remote: + git init
remote: + git config advice.detachedHead false
remote: + git remote add origin /home/dokku/twall
remote: + git fetch --depth=1 origin refs/tags/dokku/ecb16dbfd65ab8261fb1b35b8d10014e36c57056
remote: + git reset --hard FETCH_HEAD
remote: + GIT_DIR=/home/dokku/twall
remote: + git tag -d dokku/ecb16dbfd65ab8261fb1b35b8d10014e36c57056
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.c28U
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.c28U
remote: + find . -name .git -prune -exec rm -rf '{}' ';'
remote: + use_git_worktree
remote: + declare 'desc=detects whether to use git worktree'
remote: + local GIT_VERSION MAJOR_VERSION MINOR_VERSION
remote: ++ git --version
remote: ++ awk '{split($0,a," "); print a[3]}'
remote: + GIT_VERSION=2.7.4
remote: ++ echo 2.7.4
remote: ++ awk '{split($0,a,"."); print a[1]}'
remote: + MAJOR_VERSION=2
remote: ++ echo 2.7.4
remote: ++ awk '{split($0,a,"."); print a[2]}'
remote: + MINOR_VERSION=7
remote: + [[ 2 -ge 3 ]]
remote: + [[ 2 -eq 2 ]]
remote: + [[ 7 -ge 11 ]]
remote: + return 1
remote: + local DOKKU_APP_DISABLE_ANSI_PREFIX_REMOVAL DOKKU_GLOBAL_DISABLE_ANSI_PREFIX_REMOVAL DOKKU_DISABLE_ANSI_PREFIX_REMOVAL
remote: ++ config_get twall DOKKU_DISABLE_ANSI_PREFIX_REMOVAL
remote: ++ declare 'desc=get value of given config var'
remote: ++ config_sub get twall DOKKU_DISABLE_ANSI_PREFIX_REMOVAL
remote: ++ declare 'desc=executes a config subcommand'
remote: ++ local name=get
remote: ++ shift
remote: ++ /var/lib/dokku/plugins/available/config/subcommands/get config:get twall DOKKU_DISABLE_ANSI_PREFIX_REMOVAL
remote: ++ true
remote: + DOKKU_APP_DISABLE_ANSI_PREFIX_REMOVAL=
remote: ++ config_get --global DOKKU_DISABLE_ANSI_PREFIX_REMOVAL
remote: ++ declare 'desc=get value of given config var'
remote: ++ config_sub get --global DOKKU_DISABLE_ANSI_PREFIX_REMOVAL
remote: ++ declare 'desc=executes a config subcommand'
remote: ++ local name=get
remote: ++ shift
remote: ++ /var/lib/dokku/plugins/available/config/subcommands/get config:get --global DOKKU_DISABLE_ANSI_PREFIX_REMOVAL
remote: ++ true
remote: + DOKKU_GLOBAL_DISABLE_ANSI_PREFIX_REMOVAL=
remote: + DOKKU_DISABLE_ANSI_PREFIX_REMOVAL=
remote: + [[ '' == \t\r\u\e ]]
remote: + git_trigger_build twall /tmp/dokku_git.SI3q ecb16dbfd65ab8261fb1b35b8d10014e36c57056
/'
remote: + declare 'desc=triggers the actual build process for a given app within a directory at a particular revision'
remote: + declare APP=twall TMP_WORK_DIR=/tmp/dokku_git.SI3q REV=ecb16dbfd65ab8261fb1b35b8d10014e36c57056
remote: + plugn trigger post-extract twall /tmp/dokku_git.SI3q ecb16dbfd65ab8261fb1b35b8d10014e36c57056
remote: + source /var/lib/dokku/core-plugins/available/common/functions
remote: ++ set -eo pipefail
remote: ++ [[ -n 1 ]]
remote: ++ set -x
remote: + [[ ! -n '' ]]
remote: + [[ -f Dockerfile ]]
remote: + plugn trigger pre-receive-app twall herokuish /tmp/dokku_git.SI3q ecb16dbfd65ab8261fb1b35b8d10014e36c57056
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 twall herokuish /tmp/dokku_git.SI3q
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=twall
remote: ++ get_app_image_name twall
remote: ++ declare 'desc=return image identifier for a given app, tag tuple. validate if tag is presented'
remote: ++ local APP=twall
remote: ++ local IMAGE_TAG=
remote: ++ IMAGE_REPO=
remote: ++ is_valid_app_name twall
remote: ++ declare 'desc=verify app name format'
remote: ++ local APP=twall
remote: ++ [[ ! -n twall ]]
remote: ++ [[ twall =~ ^[a-z].* ]]
remote: ++ [[ ! twall =~ [A-Z] ]]
remote: ++ [[ ! twall =~ [:] ]]
remote: ++ return 0
remote: ++ [[ -z '' ]]
remote: +++ get_app_image_repo twall
remote: +++ declare 'desc=central definition of image repo pattern'
remote: +++ local APP=twall
remote: +++ local IMAGE_REPO=dokku/twall
remote: +++ is_valid_app_name twall
remote: +++ declare 'desc=verify app name format'
remote: +++ local APP=twall
remote: +++ [[ ! -n twall ]]
remote: +++ [[ twall =~ ^[a-z].* ]]
remote: +++ [[ ! twall =~ [A-Z] ]]
remote: +++ [[ ! twall =~ [:] ]]
remote: +++ return 0
remote: +++ echo dokku/twall
remote: ++ IMAGE_REPO=dokku/twall
remote: ++ [[ -n '' ]]
remote: ++ local IMAGE=dokku/twall:latest
remote: ++ echo dokku/twall:latest
remote: + local IMAGE=dokku/twall:latest
remote: + local IMAGE_SOURCE_TYPE=herokuish
remote: + local TMP_WORK_DIR=/tmp/dokku_git.SI3q
remote: ++ config_get twall DOKKU_SKIP_CLEANUP
remote: ++ declare 'desc=get value of given config var'
remote: ++ config_sub get twall DOKKU_SKIP_CLEANUP
remote: ++ declare 'desc=executes a config subcommand'
remote: ++ local name=get
remote: ++ shift
remote: ++ /var/lib/dokku/plugins/available/config/subcommands/get config:get twall DOKKU_SKIP_CLEANUP
remote: ++ true
remote: + local DOKKU_SKIP_CLEANUP=
remote: + docker_cleanup twall
remote: + declare 'desc=cleans up all exited/dead containers and removes all dangling images'
remote: + declare APP=twall FORCE_CLEANUP=
remote: + local DOKKU_APP_SKIP_CLEANUP
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: + [[ '' != \t\r\u\e ]]
remote: + [[ -z twall ]]
remote: + [[ -n '' ]]
remote: + [[ -n '' ]]
remote: + dokku_log_info1 'Cleaning up...'
remote: + declare 'desc=log info1 formatter'
remote: + echo '-----> Cleaning up...'
-----> Cleaning up...
remote: + local DOKKU_SCHEDULER=docker-local
remote: + [[ -n twall ]]
remote: ++ config_get twall DOKKU_SCHEDULER
remote: ++ declare 'desc=get value of given config var'
remote: ++ config_sub get twall DOKKU_SCHEDULER
remote: ++ declare 'desc=executes a config subcommand'
remote: ++ local name=get
remote: ++ shift
remote: ++ /var/lib/dokku/plugins/available/config/subcommands/get config:get twall DOKKU_SCHEDULER
remote: ++ echo docker-local
remote: + DOKKU_SCHEDULER=docker-local
remote: + plugn trigger scheduler-docker-cleanup docker-local twall ''
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: + scheduler-docker-local-scheduler-docker-cleanup docker-local twall ''
remote: + declare 'desc=scheduler-docker-local scheduler-docker-cleanup plugin trigger'
remote: + declare 'trigger=scheduler-docker-local scheduler-docker-cleanup'
remote: + declare DOKKU_SCHEDULER=docker-local APP=twall FORCE_CLEANUP=
remote: + [[ docker-local != \d\o\c\k\e\r\-\l\o\c\a\l ]]
remote: ++ docker ps -a -f status=exited -f label=dokku -q
remote: + docker rm 8cd006a8f8d3 c8229d237676 3757a059c9f6 afdc97233249
remote: ++ docker ps -a -f status=dead -f label=dokku -q
remote: + docker rm
remote: + true
remote: ++ docker images -f dangling=true -q
remote: ++ docker ps -a -f status=exited -f label=dokku -q
remote: + docker rmi aab1979f1065
remote: + docker rm
remote: + true
remote: ++ docker ps -a -f status=dead -f label=dokku -q
remote: + docker rm
remote: + true
remote: + dokku_log_info1 'Building twall from herokuish...'
remote: + declare 'desc=log info1 formatter'
remote: + echo '-----> Building twall from herokuish...'
remote: + config_set --no-restart twall DOKKU_APP_TYPE=herokuish
-----> Building twall from herokuish...
remote: ++ docker images -f dangling=true -q
remote: + docker rmi
remote: + dokku_build twall herokuish /tmp/dokku_git.SI3q
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=twall
remote: + local IMAGE_SOURCE_TYPE=herokuish
remote: + local TMP_WORK_DIR=/tmp/dokku_git.SI3q
remote: ++ get_app_image_name twall
remote: ++ declare 'desc=return image identifier for a given app, tag tuple. validate if tag is presented'
remote: ++ local APP=twall
remote: ++ local IMAGE_TAG=
remote: ++ IMAGE_REPO=
remote: ++ is_valid_app_name twall
remote: ++ declare 'desc=verify app name format'
remote: ++ local APP=twall
remote: ++ [[ ! -n twall ]]
remote: ++ [[ twall =~ ^[a-z].* ]]
remote: ++ [[ ! twall =~ [A-Z] ]]
remote: ++ [[ ! twall =~ [:] ]]
remote: ++ return 0
remote: ++ [[ -z '' ]]
remote: +++ get_app_image_repo twall
remote: +++ declare 'desc=central definition of image repo pattern'
remote: +++ local APP=twall
remote: +++ local IMAGE_REPO=dokku/twall
remote: +++ is_valid_app_name twall
remote: +++ declare 'desc=verify app name format'
remote: +++ local APP=twall
remote: +++ [[ ! -n twall ]]
remote: +++ [[ twall =~ ^[a-z].* ]]
remote: +++ [[ ! twall =~ [A-Z] ]]
remote: +++ [[ ! twall =~ [:] ]]
remote: +++ return 0
remote: +++ echo dokku/twall
remote: ++ IMAGE_REPO=dokku/twall
remote: ++ [[ -n '' ]]
remote: ++ local IMAGE=dokku/twall:latest
remote: ++ echo dokku/twall:latest
remote: + local IMAGE=dokku/twall:latest
remote: + local cid
remote: + verify_app_name twall
remote: + declare 'desc=verify app name format and app existence'
remote: + local APP=twall
remote: + is_valid_app_name twall
remote: + declare 'desc=verify app name format'
remote: + local APP=twall
remote: + [[ ! -n twall ]]
remote: + [[ twall =~ ^[a-z].* ]]
remote: + [[ ! twall =~ [A-Z] ]]
remote: + [[ ! twall =~ [:] ]]
remote: + return 0
remote: + [[ ! -d /home/dokku/twall ]]
remote: + return 0
remote: + local DOKKU_APP_CACHE_DIR=/home/dokku/twall/cache
remote: + local DOKKU_APP_HOST_CACHE_DIR=/home/dokku/twall/cache
remote: ++ config_export app twall
remote: ++ declare 'desc=returns export command for config variable of specified type (app/global)'
remote: ++ local CONFIG_TYPE=app
remote: ++ shift
remote: ++ local APP=twall
remote: ++ [[ app == \g\l\o\b\a\l ]]
remote: ++ shift
remote: ++ config_sub export twall
remote: ++ declare 'desc=executes a config subcommand'
remote: ++ local name=export
remote: ++ shift
remote: ++ /var/lib/dokku/plugins/available/config/subcommands/export config:export twall
remote: ++ return 0
remote: + eval 'export DOKKU_APP_TYPE='\''herokuish'\''
remote: export GIT_REV='\''ecb16dbfd65ab8261fb1b35b8d10014e36c57056'\'''
remote: ++ export DOKKU_APP_TYPE=herokuish
remote: ++ DOKKU_APP_TYPE=herokuish
remote: ++ export GIT_REV=ecb16dbfd65ab8261fb1b35b8d10014e36c57056
remote: ++ GIT_REV=ecb16dbfd65ab8261fb1b35b8d10014e36c57056
remote: + pushd /tmp/dokku_git.SI3q
remote: + case "$IMAGE_SOURCE_TYPE" in
remote: ++ config_get twall DOKKU_IMAGE
remote: ++ declare 'desc=get value of given config var'
remote: ++ config_sub get twall DOKKU_IMAGE
remote: ++ declare 'desc=executes a config subcommand'
remote: ++ local name=get
remote: ++ shift
remote: ++ /var/lib/dokku/plugins/available/config/subcommands/get config:get twall DOKKU_IMAGE
remote: ++ echo gliderlabs/herokuish
remote: + DOKKU_IMAGE=gliderlabs/herokuish
remote: ++ tar -c .
remote: ++ docker run --label=dokku -i -a stdin gliderlabs/herokuish /bin/bash -c 'mkdir -p /app && tar -xC /app'
remote: + cid=9b3cb48eeaa2689a5ccf58c5dbea1e118296f329c0808fd77d4d41a5a1141ac1
remote: ++ docker wait 9b3cb48eeaa2689a5ccf58c5dbea1e118296f329c0808fd77d4d41a5a1141ac1
remote: + test 0 -eq 0
remote: + docker commit 9b3cb48eeaa2689a5ccf58c5dbea1e118296f329c0808fd77d4d41a5a1141ac1 dokku/twall:latest
remote: + [[ -d /home/dokku/twall/cache ]]
remote: + plugn trigger pre-build-buildpack twall
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 twall
remote: + declare 'desc=build-env pre-build-buildpack plugin trigger'
remote: + local trigger=build_env_pre_build_buildpack
remote: + local APP=twall
remote: + local IMAGE id
remote: + verify_app_name twall
remote: + declare 'desc=verify app name format and app existence'
remote: + local APP=twall
remote: + is_valid_app_name twall
remote: + declare 'desc=verify app name format'
remote: + local APP=twall
remote: + [[ ! -n twall ]]
remote: + [[ twall =~ ^[a-z].* ]]
remote: + [[ ! twall =~ [A-Z] ]]
remote: + [[ ! twall =~ [:] ]]
remote: + return 0
remote: + [[ ! -d /home/dokku/twall ]]
remote: + return 0
remote: ++ get_app_image_name twall
remote: ++ declare 'desc=return image identifier for a given app, tag tuple. validate if tag is presented'
remote: ++ local APP=twall
remote: ++ local IMAGE_TAG=
remote: ++ IMAGE_REPO=
remote: ++ is_valid_app_name twall
remote: ++ declare 'desc=verify app name format'
remote: ++ local APP=twall
remote: ++ [[ ! -n twall ]]
remote: ++ [[ twall =~ ^[a-z].* ]]
remote: ++ [[ ! twall =~ [A-Z] ]]
remote: ++ [[ ! twall =~ [:] ]]
remote: ++ return 0
remote: ++ [[ -z '' ]]
remote: +++ get_app_image_repo twall
remote: +++ declare 'desc=central definition of image repo pattern'
remote: +++ local APP=twall
remote: +++ local IMAGE_REPO=dokku/twall
remote: +++ is_valid_app_name twall
remote: +++ declare 'desc=verify app name format'
remote: +++ local APP=twall
remote: +++ [[ ! -n twall ]]
remote: +++ [[ twall =~ ^[a-z].* ]]
remote: +++ [[ ! twall =~ [A-Z] ]]
remote: +++ [[ ! twall =~ [:] ]]
remote: +++ return 0
remote: +++ echo dokku/twall
remote: ++ IMAGE_REPO=dokku/twall
remote: ++ [[ -n '' ]]
remote: ++ local IMAGE=dokku/twall:latest
remote: ++ echo dokku/twall:latest
remote: + IMAGE=dokku/twall:latest
remote: ++ config_get --global CURL_CONNECT_TIMEOUT
remote: ++ declare 'desc=get value of given config var'
remote: ++ config_sub get --global CURL_CONNECT_TIMEOUT
remote: ++ declare 'desc=executes a config subcommand'
remote: ++ local name=get
remote: ++ shift
remote: ++ /var/lib/dokku/plugins/available/config/subcommands/get config:get --global CURL_CONNECT_TIMEOUT
remote: + [[ -z 90 ]]
remote: ++ config_get --global CURL_TIMEOUT
remote: ++ declare 'desc=get value of given config var'
remote: ++ config_sub get --global CURL_TIMEOUT
remote: ++ declare 'desc=executes a config subcommand'
remote: ++ local name=get
remote: ++ shift
remote: ++ /var/lib/dokku/plugins/available/config/subcommands/get config:get --global CURL_TIMEOUT
remote: + [[ -z 600 ]]
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: ++ config_bundle --merged twall
remote: ++ declare 'desc=export tar bundle of config'
remote: ++ docker run --label=dokku -i -a stdin dokku/twall:latest /bin/bash -c 'mkdir -p /tmp/env; cat | tar -x -C /tmp/env'
remote: ++ config_sub bundle --merged twall
remote: ++ declare 'desc=executes a config subcommand'
remote: ++ local name=bundle
remote: ++ shift
remote: ++ /var/lib/dokku/plugins/available/config/subcommands/bundle config:bundle --merged twall
remote: + id=3da30d2ad1339a5249d4feb2ab559f72767c8cd9bedfdbfcfb9b750b5da4cb1a
remote: ++ docker wait 3da30d2ad1339a5249d4feb2ab559f72767c8cd9bedfdbfcfb9b750b5da4cb1a
remote: + test 0 -eq 0
remote: + docker commit 3da30d2ad1339a5249d4feb2ab559f72767c8cd9bedfdbfcfb9b750b5da4cb1a dokku/twall:latest
remote: ++ config_export app twall --format envfile --merged
remote: ++ docker run --label=dokku -i -a stdin dokku/twall:latest /bin/bash -c 'cat >> /app/.env'
remote: ++ declare 'desc=returns export command for config variable of specified type (app/global)'
remote: ++ local CONFIG_TYPE=app
remote: ++ shift
remote: ++ local APP=twall
remote: ++ [[ app == \g\l\o\b\a\l ]]
remote: ++ shift
remote: ++ config_sub export --format envfile --merged twall
remote: ++ declare 'desc=executes a config subcommand'
remote: ++ local name=export
remote: ++ shift
remote: ++ /var/lib/dokku/plugins/available/config/subcommands/export config:export --format envfile --merged twall
remote: ++ return 0
remote: + id=125990f74decee7ebefd0e550bfa1f4df1145e2fe9cc04902ba455fd1c3215c0
remote: ++ docker wait 125990f74decee7ebefd0e550bfa1f4df1145e2fe9cc04902ba455fd1c3215c0
remote: + test 0 -eq 0
remote: + docker commit 125990f74decee7ebefd0e550bfa1f4df1145e2fe9cc04902ba455fd1c3215c0 dokku/twall:latest
remote: ++ :
remote: ++ plugn trigger docker-args-build twall 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 twall herokuish
remote: + local APP=twall
remote: + local STDIN
remote: + local DOKKU_APP_TYPE
remote: + local DOKKU_APP_USER
remote: ++ cat
remote: + STDIN=
remote: ++ config_get twall DOKKU_APP_TYPE
remote: ++ declare 'desc=get value of given config var'
remote: ++ config_sub get twall DOKKU_APP_TYPE
remote: ++ declare 'desc=executes a config subcommand'
remote: ++ local name=get
remote: ++ shift
remote: ++ /var/lib/dokku/plugins/available/config/subcommands/get config:get twall DOKKU_APP_TYPE
remote: + DOKKU_APP_TYPE=herokuish
remote: ++ config_get twall DOKKU_APP_USER
remote: ++ declare 'desc=get value of given config var'
remote: ++ config_sub get twall DOKKU_APP_USER
remote: ++ declare 'desc=executes a config subcommand'
remote: ++ local name=get
remote: ++ shift
remote: ++ /var/lib/dokku/plugins/available/config/subcommands/get config:get twall 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 twall 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=twall
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/twall/DOCKER_OPTIONS_BUILD
remote: + local output=
remote: + [[ -f /home/dokku/twall/DOCKER_OPTIONS_BUILD ]]
remote: + echo -n ''
remote: + local 'DOCKER_ARGS= --env=USER=herokuishuser'
remote: + [[ -n 1 ]]
remote: + DOCKER_ARGS+=' -e TRACE=true '
remote: + declare -a ARG_ARRAY
remote: + eval 'ARG_ARRAY=( --env=USER=herokuishuser -e TRACE=true )'
remote: ++ ARG_ARRAY=(--env=USER=herokuishuser -e TRACE=true)
remote: ++ docker run --label=dokku -d -v /home/dokku/twall/cache:/cache -e CACHE_PATH=/cache --env=USER=herokuishuser -e TRACE=true dokku/twall:latest /build
remote: + cid=aedcdbabcbd77b0aa392cafd053839bbde4fd8c6557228c1442022e18ccddd3d
remote: + docker attach aedcdbabcbd77b0aa392cafd053839bbde4fd8c6557228c1442022e18ccddd3d
remote: echo ++ sort
remote: :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 buildpack: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: + echo procfile-parse
remote: + grep '^buildpack-'
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-17208
remote: + REQUEST_ID=build-17208
remote: + export STACK=heroku-16
remote: + STACK=heroku-16
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: ++ ++ cat /app/.env
remote: _envfile-parse
remote: ++ declare 'desc=Parse input into shell export commands'
remote: ++ local key
remote: ++ local value
remote: +++ cat
remote: ++ read -r line
remote: ++ [[ CURL_CONNECT_TIMEOUT="90" =~ ^#.* ]]
remote: ++ [[ CURL_CONNECT_TIMEOUT="90" =~ ^$ ]]
remote: ++ key=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 -r line
remote: ++ [[ CURL_TIMEOUT="600" =~ ^#.* ]]
remote: ++ [[ CURL_TIMEOUT="600" =~ ^$ ]]
remote: ++ key=CURL_TIMEOUT
remote: ++ key=CURL_TIMEOUT
remote: ++ value='"600"'
remote: ++ case "$value" in
remote: ++ value='"600"'
remote: ++ echo 'export CURL_TIMEOUT="600"'
remote: ++ read -r line
remote: ++ [[ DOKKU_APP_TYPE="herokuish" =~ ^#.* ]]
remote: ++ [[ DOKKU_APP_TYPE="herokuish" =~ ^$ ]]
remote: ++ key=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 -r line
remote: ++ [[ GIT_REV="ecb16dbfd65ab8261fb1b35b8d10014e36c57056" =~ ^#.* ]]
remote: ++ [[ GIT_REV="ecb16dbfd65ab8261fb1b35b8d10014e36c57056" =~ ^$ ]]
remote: ++ key=GIT_REV
remote: ++ key=GIT_REV
remote: ++ value='"ecb16dbfd65ab8261fb1b35b8d10014e36c57056"'
remote: ++ case "$value" in
remote: ++ value='"ecb16dbfd65ab8261fb1b35b8d10014e36c57056"'
remote: ++ echo 'export GIT_REV="ecb16dbfd65ab8261fb1b35b8d10014e36c57056"'
remote: ++ read -r line
remote: ++ [[ -n '' ]]
remote: + eval export 'CURL_CONNECT_TIMEOUT="90"' export 'CURL_TIMEOUT="600"' export 'DOKKU_APP_TYPE="herokuish"' export 'GIT_REV="ecb16dbfd65ab8261fb1b35b8d10014e36c57056"'
remote: ++ export CURL_CONNECT_TIMEOUT=90 export CURL_TIMEOUT=600 export DOKKU_APP_TYPE=herokuish export GIT_REV=ecb16dbfd65ab8261fb1b35b8d10014e36c57056
remote: ++ CURL_CONNECT_TIMEOUT=90
remote: ++ CURL_TIMEOUT=600
remote: ++ DOKKU_APP_TYPE=herokuish
remote: ++ GIT_REV=ecb16dbfd65ab8261fb1b35b8d10014e36c57056
remote: + buildpack-execute
remote: + _select-buildpack
remote: + [[ -n '' ]]
remote: + buildpacks=($buildpack_path/*)
remote: + indent
remote: + local buildpacks
remote: + valid_buildpacks=()
remote: + local valid_buildpacks
remote: + read -r line
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: + valid_buildpacks+=("$buildpack")
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-scala/bin/detect /tmp/build
remote: + for buildpack in '"${buildpacks[@]}"'
remote: + unprivileged /tmp/buildpacks/08_buildpack-play/bin/detect /tmp/build
remote: + for buildpack in '"${buildpacks[@]}"'
remote: + unprivileged /tmp/buildpacks/09_buildpack-php/bin/detect /tmp/build
remote: + for buildpack in '"${buildpacks[@]}"'
remote: + unprivileged /tmp/buildpacks/10_buildpack-go/bin/detect /tmp/build
remote: + for buildpack in '"${buildpacks[@]}"'
remote: + unprivileged /tmp/buildpacks/11_buildpack-static/bin/detect /tmp/build
remote: + [[ 1 -gt 1 ]]
remote: + [[ 1 -gt 0 ]]
remote: + selected_path=/tmp/buildpacks/02_buildpack-nodejs
remote: ++ unprivileged /tmp/buildpacks/02_buildpack-nodejs/bin/detect /tmp/build
remote: ++ setuidgid herokuishuser /tmp/buildpacks/02_buildpack-nodejs/bin/detect /tmp/build
remote: + selected_name=Node.js
remote: + [[ -n /tmp/buildpacks/02_buildpack-nodejs ]]
remote: + [[ -n Node.js ]]
remote: + title 'Node.js app detected'
----->' 'Node.js app detected'
remote: + cd /tmp/build
remote: + unprivileged /tmp/buildpacks/02_buildpack-nodejs/bin/compile /tmp/build /cache /tmp/env
remote: + setuidgid herokuishuser /tmp/buildpacks/02_buildpack-nodejs/bin/compile /tmp/build /cache /tmp/env
-----> Node.js app detected
-----> Node.js app detected == --* ]]
-----> Node.js app detected == ==* ]]
-----> Node.js app detected'
remote: + read -r line
remote: mktemp: failed to create file via template '/tmp/stdlib.XXXXX': Permission denied
remote: + rm -rf ''
+ 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 ''\''/twall'\'''
+ exit_code=10
+ set -e
+ [[ 10 -eq 10 ]]
+ continue
+ for script in '$PLUGIN_ENABLED_PATH/*/commands'
+ set +e
+ /var/lib/dokku/plugins/enabled/network/commands git-receive-pack ''\''/twall'\'''
remote: + exit_code=1
remote: + set -e
remote: + [[ 1 -eq 10 ]]
remote: + implemented=1
remote: + [[ 1 -ne 0 ]]
remote: + exit 1
+ 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 ''\''/twall'\'''
+ 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 ''\''/twall'\'''
+ 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 ''\''/twall'\'''
+ 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 ''\''/twall'\'''
+ 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 ''\''/twall'\'''
+ 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 ''\''/twall'\'''
+ 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 ''\''/twall'\'''
+ exit_code=10
+ set -e
+ [[ 10 -eq 10 ]]
+ continue
+ for script in '$PLUGIN_ENABLED_PATH/*/commands'
+ set +e
+ /var/lib/dokku/plugins/enabled/storage/commands git-receive-pack ''\''/twall'\'''
+ 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 ''\''/twall'\'''
+ 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 ''\''/twall'\'''
+ exit_code=10
+ set -e
+ [[ 10 -eq 10 ]]
+ continue
+ [[ 1 -eq 0 ]]
+ set +f
+ exit 0
To ssh://dokku@localhost:2023/twall
! [remote rejected] master -> master (pre-receive hook declined)
error: failed to push some refs to 'ssh://dokku@localhost:2023/twall'
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment