Created
December 5, 2016 09:13
-
-
Save fruitl00p/c9452e00021af1119d08833b1265f030 to your computer and use it in GitHub Desktop.
This file contains 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
+ 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 | |
+ 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 ''\''testapp'\''' | |
+ 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:.* ]] | |
++ id -un | |
+ [[ dokku != \r\o\o\t ]] | |
+ [[ git-receive-pack == \s\s\h\-\k\e\y\s\:\a\d\d ]] | |
+ [[ -n git-receive-pack 'testapp' ]] | |
+ export -n SSH_ORIGINAL_COMMAND | |
+ [[ git-receive-pack =~ config-* ]] | |
+ [[ git-receive-pack =~ docker-options* ]] | |
+ set -f | |
+ /usr/bin/dokku git-receive-pack ''\''testapp'\''' | |
+ 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 | |
+ 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 ''\''testapp'\''' | |
+ 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:.* ]] | |
++ id -un | |
+ [[ dokku != \r\o\o\t ]] | |
+ [[ git-receive-pack == \s\s\h\-\k\e\y\s\:\a\d\d ]] | |
+ [[ -n '' ]] | |
+ dokku_auth git-receive-pack ''\''testapp'\''' | |
+ declare 'desc=calls user-auth plugin trigger' | |
+ export SSH_USER=dokku | |
+ SSH_USER=dokku | |
+ export SSH_NAME=gekkie | |
+ SSH_NAME=gekkie | |
+ plugn trigger user-auth dokku gekkie git-receive-pack ''\''testapp'\''' | |
+ 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 ''\''testapp'\''' | |
+ 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 ''\''testapp'\''' | |
+ 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 ''\''testapp'\''' | |
+ 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 ''\''testapp'\''' | |
+ 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 ''\''testapp'\''' | |
+ 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 ''\''testapp'\''' | |
+ 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 ''\''testapp'\''' | |
+ 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 ''\''testapp'\''' | |
+ 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 ''\''testapp'\''' | |
+ 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 ''\''testapp'\''' | |
+ 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 ''\''testapp'\''' | |
+ 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 ''\''testapp'\''' | |
+ declare 'desc=catch-all for any other git-* commands' | |
+ local 'cmd=git-*' | |
++ echo ''\''testapp'\''' | |
++ perl -pe 's/(?<!\\)'\''//g' | |
++ sed 's/^\///g' | |
++ sed 's/\\'\''/'\''/g' | |
+ local APP=testapp | |
+ local APP_PATH=/home/dokku/testapp | |
+ [[ git-receive-pack == \g\i\t\-\r\e\c\e\i\v\e\-\p\a\c\k ]] | |
+ [[ ! -d /home/dokku/testapp/refs ]] | |
+ git init --bare /home/dokku/testapp | |
+ local PRERECEIVE_HOOK=/home/dokku/testapp/hooks/pre-receive | |
+ cat | |
+ chmod +x /home/dokku/testapp/hooks/pre-receive | |
+ [[ git-receive-pack == \g\i\t\-\r\e\c\e\i\v\e\-\p\a\c\k ]] | |
+ local 'args=git-receive-pack '\''/home/dokku/testapp'\''' | |
+ git-shell -c 'git-receive-pack '\''/home/dokku/testapp'\''' | |
Counting objects: 15, done. | |
Delta compression using up to 8 threads. | |
Compressing objects: 100% (15/15), done. | |
Writing objects: 100% (15/15), 23.33 KiB | 0 bytes/s, done. | |
Total 15 (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 | |
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 testapp | |
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: ++ id -un | |
remote: + [[ dokku != \r\o\o\t ]] | |
remote: + [[ git-hook == \s\s\h\-\k\e\y\s\:\a\d\d ]] | |
remote: + [[ -n '' ]] | |
remote: + dokku_auth git-hook testapp | |
remote: + declare 'desc=calls user-auth plugin trigger' | |
remote: + export SSH_USER=dokku | |
remote: + SSH_USER=dokku | |
remote: + export SSH_NAME=gekkie | |
remote: + SSH_NAME=gekkie | |
remote: + plugn trigger user-auth dokku gekkie git-hook testapp | |
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 testapp | |
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 testapp | |
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 testapp | |
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 testapp | |
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 testapp | |
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 testapp | |
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 testapp | |
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 testapp | |
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 testapp | |
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 testapp | |
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 testapp | |
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 testapp | |
remote: + declare 'desc=kick off receive-app trigger from git prereceive hook' | |
remote: + local cmd=git-hook | |
remote: + local APP=testapp | |
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 testapp 703889929c4aca18d67453a210afabba46e6d9ca | |
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 testapp 703889929c4aca18d67453a210afabba46e6d9ca | |
remote: + declare 'desc=git receive-app plugin trigger' | |
remote: + local trigger=git_receive_app | |
remote: + local APP=testapp | |
remote: + local REV=703889929c4aca18d67453a210afabba46e6d9ca | |
remote: + [[ ! -d /home/dokku/testapp/refs ]] | |
remote: + acquire_app_deploy_lock testapp exclusive | |
remote: + declare 'desc=acquire advisory lock for use in git/tar deploys' | |
remote: + local APP=testapp | |
remote: + verify_app_name testapp | |
remote: + declare 'desc=verify app name format and app existence' | |
remote: + local APP=testapp | |
remote: + [[ ! -n testapp ]] | |
remote: + [[ ! testapp =~ ^[a-z].* ]] | |
remote: + [[ ! -d /home/dokku/testapp ]] | |
remote: + return 0 | |
remote: + local LOCK_TYPE=exclusive | |
remote: + local APP_DEPLOY_LOCK_FD=200 | |
remote: + local APP_DEPLOY_LOCK_FILE=/home/dokku/testapp/.deploy.lock | |
remote: + local 'LOCK_WAITING_MSG=testapp is currently being deployed. Waiting...' | |
remote: + local 'LOCK_FAILED_MSG=testapp is currently being deployed. Exiting...' | |
remote: + local SHOW_MSG=true | |
remote: + eval 'exec 200>/home/dokku/testapp/.deploy.lock' | |
remote: ++ exec | |
remote: + [[ exclusive == \w\a\i\t\i\n\g ]] | |
remote: + flock -n 200 | |
remote: + git_build testapp 703889929c4aca18d67453a210afabba46e6d9ca | |
remote: + declare 'desc=setup and call git_build_app_repo' | |
remote: + local APP=testapp | |
remote: + [[ 2 -ge 2 ]] | |
remote: + local REF=703889929c4aca18d67453a210afabba46e6d9ca | |
remote: + git_build_app_repo testapp 703889929c4aca18d67453a210afabba46e6d9ca | |
remote: + declare 'desc=builds local git app repo for app' | |
remote: + verify_app_name testapp | |
remote: + declare 'desc=verify app name format and app existence' | |
remote: + local APP=testapp | |
remote: + [[ ! -n testapp ]] | |
remote: + [[ ! testapp =~ ^[a-z].* ]] | |
remote: + [[ ! -d /home/dokku/testapp ]] | |
remote: + return 0 | |
remote: + local APP=testapp | |
remote: + local REV=703889929c4aca18d67453a210afabba46e6d9ca | |
remote: ++ mktemp -d /tmp/dokku_git.XXXX | |
remote: + local GIT_BUILD_APP_REPO_TMP_WORK_DIR=/tmp/dokku_git.ZkeJ | |
remote: + trap 'rm -rf "$GIT_BUILD_APP_REPO_TMP_WORK_DIR" > /dev/null' RETURN INT TERM EXIT | |
remote: + local TMP_TAG=dokku/703889929c4aca18d67453a210afabba46e6d9ca | |
remote: + chmod 755 /tmp/dokku_git.ZkeJ | |
remote: + unset GIT_DIR GIT_WORK_TREE | |
remote: + pushd /tmp/dokku_git.ZkeJ | |
remote: + [[ ! -d /home/dokku/testapp ]] | |
remote: + GIT_DIR=/home/dokku/testapp | |
remote: + git tag -d dokku/703889929c4aca18d67453a210afabba46e6d9ca | |
remote: + true | |
remote: + GIT_DIR=/home/dokku/testapp | |
remote: + git tag dokku/703889929c4aca18d67453a210afabba46e6d9ca 703889929c4aca18d67453a210afabba46e6d9ca | |
remote: + git init | |
remote: + git config advice.detachedHead false | |
remote: + git remote add origin /home/dokku/testapp | |
remote: + git fetch --depth=1 origin refs/tags/dokku/703889929c4aca18d67453a210afabba46e6d9ca | |
remote: + rm -rf /tmp/dokku_git.ZkeJ | |
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 ''\''testapp'\''' | |
+ 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 ''\''testapp'\''' | |
+ 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 ''\''testapp'\''' | |
+ 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 ''\''testapp'\''' | |
+ 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 ''\''testapp'\''' | |
+ 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 ''\''testapp'\''' | |
+ 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 ''\''testapp'\''' | |
+ 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 ''\''testapp'\''' | |
+ 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 ''\''testapp'\''' | |
+ 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 ''\''testapp'\''' | |
+ 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 ''\''testapp'\''' | |
+ exit_code=10 | |
+ set -e | |
+ [[ 10 -eq 10 ]] | |
+ continue | |
+ [[ 1 -eq 0 ]] | |
+ set +f | |
+ exit 0 | |
To plunger:testapp | |
! [remote rejected] master -> master (pre-receive hook declined) | |
error: failed to push some refs to 'dokku@plunger:testapp' |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment