Created
August 15, 2016 22:47
-
-
Save abnt713/2c535bf4f7ab7f9899662cc446fad125 to your computer and use it in GitHub Desktop.
Dokku trace
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
$ git push dokku master | |
+ case "$(lsb_release -si)" in | |
++ lsb_release -si | |
+ export DOKKU_DISTRO=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 --env=USER=herokuishuser' | |
+ DOKKU_GLOBAL_RUN_ARGS='--label=dokku --env=USER=herokuishuser' | |
+ source /var/lib/dokku/core-plugins/available/common/functions | |
++ set -eo pipefail | |
++ [[ -n 1 ]] | |
++ set -x | |
+ parse_args git-receive-pack ''\''apiteste'\''' | |
+ declare 'desc=top-level cli arg parser' | |
+ local next_index=1 | |
+ local skip=false | |
+ args=("$@") | |
+ local args | |
+ for arg in '"$@"' | |
+ false | |
+ case "$arg" in | |
+ local next_index=2 | |
+ for arg in '"$@"' | |
+ false | |
+ case "$arg" in | |
+ local next_index=3 | |
+ return 0 | |
+ args=("$@") | |
+ [[ 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 ]] | |
++ id -un | |
+ [[ dokku != \r\o\o\t ]] | |
+ [[ git-receive-pack =~ ^plugin:.* ]] | |
+ [[ -n git-receive-pack 'apiteste' ]] | |
+ export -n SSH_ORIGINAL_COMMAND | |
+ [[ git-receive-pack =~ config-* ]] | |
+ [[ git-receive-pack =~ docker-options* ]] | |
+ set -f | |
+ /usr/bin/dokku git-receive-pack ''\''apiteste'\''' | |
+ case "$(lsb_release -si)" in | |
++ lsb_release -si | |
+ export DOKKU_DISTRO=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 --env=USER=herokuishuser' | |
+ DOKKU_GLOBAL_RUN_ARGS='--label=dokku --env=USER=herokuishuser' | |
+ source /var/lib/dokku/core-plugins/available/common/functions | |
++ set -eo pipefail | |
++ [[ -n 1 ]] | |
++ set -x | |
+ parse_args git-receive-pack ''\''apiteste'\''' | |
+ declare 'desc=top-level cli arg parser' | |
+ local next_index=1 | |
+ local skip=false | |
+ args=("$@") | |
+ local args | |
+ for arg in '"$@"' | |
+ false | |
+ case "$arg" in | |
+ local next_index=2 | |
+ for arg in '"$@"' | |
+ false | |
+ case "$arg" in | |
+ local next_index=3 | |
+ return 0 | |
+ args=("$@") | |
+ [[ 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 ]] | |
++ id -un | |
+ [[ dokku != \r\o\o\t ]] | |
+ [[ git-receive-pack =~ ^plugin:.* ]] | |
+ [[ -n '' ]] | |
+ dokku_auth git-receive-pack ''\''apiteste'\''' | |
+ declare 'desc=calls user-auth plugin trigger' | |
+ export SSH_USER=dokku | |
+ SSH_USER=dokku | |
+ export SSH_NAME=alison | |
+ SSH_NAME=alison | |
+ plugn trigger user-auth dokku alison git-receive-pack ''\''apiteste'\''' | |
+ 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* ]] | |
+ return 0 | |
+ case "$1" in | |
+ execute_dokku_cmd git-receive-pack ''\''apiteste'\''' | |
+ 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 ''\''apiteste'\''' | |
+ 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 ''\''apiteste'\''' | |
+ 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 ''\''apiteste'\''' | |
+ 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 ''\''apiteste'\''' | |
+ 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 ''\''apiteste'\''' | |
+ 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 ''\''apiteste'\''' | |
+ 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 ''\''apiteste'\''' | |
+ 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 ''\''apiteste'\''' | |
+ 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 ''\''apiteste'\''' | |
+ 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 ''\''apiteste'\''' | |
+ 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 ''\''apiteste'\''' | |
+ declare 'desc=catch-all for any other git-* commands' | |
+ local 'cmd=git-*' | |
++ sed 's/^\///g' | |
++ sed 's/\\'\''/'\''/g' | |
++ perl -pe 's/(?<!\\)'\''//g' | |
++ echo ''\''apiteste'\''' | |
+ local APP=apiteste | |
+ local APP_PATH=/home/dokku/apiteste | |
+ [[ git-receive-pack == \g\i\t\-\r\e\c\e\i\v\e\-\p\a\c\k ]] | |
+ [[ ! -d /home/dokku/apiteste/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/apiteste'\''' | |
+ git-shell -c 'git-receive-pack '\''/home/dokku/apiteste'\''' | |
Total 0 (delta 0), reused 0 (delta 0) | |
remote: + case "$(lsb_release -si)" in | |
remote: ++ lsb_release -si | |
remote: + export DOKKU_DISTRO=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 --env=USER=herokuishuser' | |
remote: + DOKKU_GLOBAL_RUN_ARGS='--label=dokku --env=USER=herokuishuser' | |
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 apiteste | |
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 | |
remote: + case "$arg" in | |
remote: + local next_index=2 | |
remote: + for arg in '"$@"' | |
remote: + false | |
remote: + case "$arg" in | |
remote: + local next_index=3 | |
remote: + return 0 | |
remote: + args=("$@") | |
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: ++ id -un | |
remote: + [[ dokku != \r\o\o\t ]] | |
remote: + [[ git-hook =~ ^plugin:.* ]] | |
remote: + [[ -n '' ]] | |
remote: + dokku_auth git-hook apiteste | |
remote: + declare 'desc=calls user-auth plugin trigger' | |
remote: + export SSH_USER=dokku | |
remote: + SSH_USER=dokku | |
remote: + export SSH_NAME=alison | |
remote: + SSH_NAME=alison | |
remote: + plugn trigger user-auth dokku alison git-hook apiteste | |
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* ]] | |
remote: + return 0 | |
remote: + case "$1" in | |
remote: + execute_dokku_cmd git-hook apiteste | |
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 apiteste | |
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 apiteste | |
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 apiteste | |
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 apiteste | |
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 apiteste | |
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 apiteste | |
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 apiteste | |
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 apiteste | |
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 apiteste | |
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 apiteste | |
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 apiteste | |
remote: + declare 'desc=kick off receive-app trigger from git prereceive hook' | |
remote: + local cmd=git-hook | |
remote: + local APP=apiteste | |
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 apiteste 145458cf9bc55f1e5cdb06ab7e1b60ed0499778f | |
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 apiteste 145458cf9bc55f1e5cdb06ab7e1b60ed0499778f | |
remote: + declare 'desc=git receive-app plugin trigger' | |
remote: + local trigger=git_receive_app | |
remote: + local APP=apiteste | |
remote: + local REV=145458cf9bc55f1e5cdb06ab7e1b60ed0499778f | |
remote: + [[ ! -d /home/dokku/apiteste/refs ]] | |
remote: + acquire_app_deploy_lock apiteste exclusive | |
remote: + declare 'desc=acquire advisory lock for use in git/tar deploys' | |
remote: + local APP=apiteste | |
remote: + verify_app_name apiteste | |
remote: + declare 'desc=verify app name format and app existence' | |
remote: + local APP=apiteste | |
remote: + [[ ! -n apiteste ]] | |
remote: + [[ ! apiteste =~ ^[a-z].* ]] | |
remote: + [[ ! -d /home/dokku/apiteste ]] | |
remote: + return 0 | |
remote: + local LOCK_TYPE=exclusive | |
remote: + local APP_DEPLOY_LOCK_FD=200 | |
remote: + local APP_DEPLOY_LOCK_FILE=/home/dokku/apiteste/.deploy.lock | |
remote: + local 'LOCK_WAITING_MSG=apiteste is currently being deployed. Waiting...' | |
remote: + local 'LOCK_FAILED_MSG=apiteste is currently being deployed. Exiting...' | |
remote: + local SHOW_MSG=true | |
remote: + eval 'exec 200>/home/dokku/apiteste/.deploy.lock' | |
remote: ++ exec | |
remote: + [[ exclusive == \w\a\i\t\i\n\g ]] | |
remote: + flock -n 200 | |
remote: + git_build apiteste 145458cf9bc55f1e5cdb06ab7e1b60ed0499778f | |
remote: + declare 'desc=setup and call git_build_app_repo' | |
remote: + local APP=apiteste | |
remote: + [[ 2 -ge 2 ]] | |
remote: + local REF=145458cf9bc55f1e5cdb06ab7e1b60ed0499778f | |
remote: + git_build_app_repo apiteste 145458cf9bc55f1e5cdb06ab7e1b60ed0499778f | |
remote: + declare 'desc=builds local git app repo for app' | |
remote: + verify_app_name apiteste | |
remote: + declare 'desc=verify app name format and app existence' | |
remote: + local APP=apiteste | |
remote: + [[ ! -n apiteste ]] | |
remote: + [[ ! apiteste =~ ^[a-z].* ]] | |
remote: + [[ ! -d /home/dokku/apiteste ]] | |
remote: + return 0 | |
remote: + local APP=apiteste | |
remote: + local REV=145458cf9bc55f1e5cdb06ab7e1b60ed0499778f | |
remote: ++ mktemp -d /tmp/dokku_git.XXXX | |
remote: + local GIT_BUILD_APP_REPO_TMP_WORK_DIR=/tmp/dokku_git.4PLq | |
remote: + trap 'rm -rf "$GIT_BUILD_APP_REPO_TMP_WORK_DIR" > /dev/null' RETURN INT TERM EXIT | |
remote: + local TMP_TAG=dokku/145458cf9bc55f1e5cdb06ab7e1b60ed0499778f | |
remote: + chmod 755 /tmp/dokku_git.4PLq | |
remote: + unset GIT_DIR GIT_WORK_TREE | |
remote: + pushd /tmp/dokku_git.4PLq | |
remote: + [[ ! -d /home/dokku/apiteste ]] | |
remote: + GIT_DIR=/home/dokku/apiteste | |
remote: + git tag -d dokku/145458cf9bc55f1e5cdb06ab7e1b60ed0499778f | |
remote: + GIT_DIR=/home/dokku/apiteste | |
remote: + git tag dokku/145458cf9bc55f1e5cdb06ab7e1b60ed0499778f 145458cf9bc55f1e5cdb06ab7e1b60ed0499778f | |
remote: + git init | |
remote: + git config advice.detachedHead false | |
remote: + git remote add origin /home/dokku/apiteste | |
remote: + git fetch --depth=1 origin refs/tags/dokku/145458cf9bc55f1e5cdb06ab7e1b60ed0499778f | |
remote: + git reset --hard FETCH_HEAD | |
remote: + git submodule update --init --recursive | |
remote: + rm -rf /tmp/dokku_git.4PLq | |
remote: + exit_code=128 | |
remote: + set -e | |
remote: + [[ 128 -eq 10 ]] | |
remote: + implemented=1 | |
remote: + [[ 128 -ne 0 ]] | |
remote: + exit 128 | |
+ 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 ''\''apiteste'\''' | |
+ 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 ''\''apiteste'\''' | |
+ 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 ''\''apiteste'\''' | |
+ 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 ''\''apiteste'\''' | |
+ 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 ''\''apiteste'\''' | |
+ 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 ''\''apiteste'\''' | |
+ 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 ''\''apiteste'\''' | |
+ 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 ''\''apiteste'\''' | |
+ 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 ''\''apiteste'\''' | |
+ 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 ''\''apiteste'\''' | |
+ 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 ''\''apiteste'\''' | |
+ 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 ''\''apiteste'\''' | |
+ exit_code=10 | |
+ set -e | |
+ [[ 10 -eq 10 ]] | |
+ continue | |
+ [[ 1 -eq 0 ]] | |
+ set +f | |
+ exit 0 | |
To dokku@{domain}:apiteste | |
! [remote rejected] master -> master (pre-receive hook declined) | |
error: failed to push some refs to 'dokku@{domain}:apiteste's |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment