Created
May 12, 2016 16:23
-
-
Save benmarten/b80017ba1f30d8a3bcaf5dfd3c8726f1 to your computer and use it in GitHub Desktop.
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
~/d/l/L/L/dist (master) $ gp box 09:21:59 | |
+ 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 ''\''status'\''' | |
+ 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 'status' ]] | |
+ export -n SSH_ORIGINAL_COMMAND | |
+ [[ git-receive-pack =~ config-* ]] | |
+ [[ git-receive-pack =~ docker-options* ]] | |
+ set -f | |
+ /usr/local/bin/dokku git-receive-pack ''\''status'\''' | |
+ 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 ''\''status'\''' | |
+ 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 ''\''status'\''' | |
+ 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 ''\''status'\''' | |
+ source /var/lib/dokku/core-plugins/available/common/functions | |
++ set -eo pipefail | |
++ [[ -n 1 ]] | |
++ set -x | |
+ [[ ! -n '' ]] | |
+ return 0 | |
+ case "$1" in | |
+ execute_dokku_cmd git-receive-pack ''\''status'\''' | |
+ 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 ''\''status'\''' | |
+ 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 ''\''status'\''' | |
+ 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 ''\''status'\''' | |
+ 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 ''\''status'\''' | |
+ 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 ''\''status'\''' | |
+ 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 ''\''status'\''' | |
+ 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 ''\''status'\''' | |
+ 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 ''\''status'\''' | |
+ 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 ''\''status'\''' | |
+ 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 ''\''status'\''' | |
+ 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 ''\''status'\''' | |
+ declare 'desc=catch-all for any other git-* commands' | |
+ local 'cmd=git-*' | |
++ sed 's/^\///g' | |
++ sed 's/\\'\''/'\''/g' | |
++ perl -pe 's/(?<!\\)'\''//g' | |
++ echo ''\''status'\''' | |
+ local APP=status | |
+ local APP_PATH=/home/dokku/status | |
+ [[ git-receive-pack == \g\i\t\-\r\e\c\e\i\v\e\-\p\a\c\k ]] | |
+ [[ ! -d /home/dokku/status/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/status'\''' | |
+ git-shell -c 'git-receive-pack '\''/home/dokku/status'\''' | |
Counting objects: 12, done. | |
Delta compression using up to 8 threads. | |
Compressing objects: 100% (10/10), done. | |
Writing objects: 100% (12/12), 1.14 KiB | 0 bytes/s, done. | |
Total 12 (delta 4), 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 status | |
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 status | |
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 status | |
remote: + source /var/lib/dokku/core-plugins/available/common/functions | |
remote: ++ set -eo pipefail | |
remote: ++ [[ -n 1 ]] | |
remote: ++ set -x | |
remote: + [[ ! -n '' ]] | |
remote: + return 0 | |
remote: + case "$1" in | |
remote: + execute_dokku_cmd git-hook status | |
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 status | |
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 status | |
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 status | |
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 status | |
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 status | |
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 status | |
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 status | |
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 status | |
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 status | |
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 status | |
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 status | |
remote: + declare 'desc=kick off receive-app trigger from git prereceive hook' | |
remote: + local cmd=git-hook | |
remote: + local APP=status | |
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 status d4fed052c94c7a374fc17ecbe00aa2f559995aed | |
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_receive_app status d4fed052c94c7a374fc17ecbe00aa2f559995aed | |
remote: + declare 'desc=git receive-app plugin trigger' | |
remote: + local trigger=git_receive_app | |
remote: + local APP=status | |
remote: + local REV=d4fed052c94c7a374fc17ecbe00aa2f559995aed | |
remote: + [[ ! -d /home/dokku/status/refs ]] | |
remote: + dokku git-build status d4fed052c94c7a374fc17ecbe00aa2f559995aed | |
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-build status d4fed052c94c7a374fc17ecbe00aa2f559995aed | |
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: + for arg in '"$@"' | |
remote: + false | |
remote: + case "$arg" in | |
remote: + local next_index=4 | |
remote: + return 0 | |
remote: + args=("$@") | |
remote: + [[ git-build =~ ^--.* ]] | |
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-build =~ ^plugin:.* ]] | |
remote: + [[ -n '' ]] | |
remote: + dokku_auth git-build status d4fed052c94c7a374fc17ecbe00aa2f559995aed | |
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-build status d4fed052c94c7a374fc17ecbe00aa2f559995aed | |
remote: + source /var/lib/dokku/core-plugins/available/common/functions | |
remote: ++ set -eo pipefail | |
remote: ++ [[ -n 1 ]] | |
remote: ++ set -x | |
remote: + [[ ! -n '' ]] | |
remote: + return 0 | |
remote: + case "$1" in | |
remote: + execute_dokku_cmd git-build status d4fed052c94c7a374fc17ecbe00aa2f559995aed | |
remote: + declare 'desc=executes dokku sub-commands' | |
remote: + local PLUGIN_NAME=git-build | |
remote: + local PLUGIN_CMD=git-build | |
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-build | |
remote: + [[ /var/lib/dokku/plugins/enabled/git-build == *core-plugins* ]] | |
remote: + [[ -x /var/lib/dokku/plugins/enabled/git-build/subcommands/default ]] | |
remote: + [[ -x /var/lib/dokku/plugins/enabled/git-build/subcommands/git-build ]] | |
remote: + [[ -x /var/lib/dokku/plugins/enabled/git-build/subcommands/git-build ]] | |
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-build status d4fed052c94c7a374fc17ecbe00aa2f559995ae | |
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-build status d4fed052c94c7a374fc17ecbe00aa2f559995aed | |
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-build status d4fed052c94c7a374fc17ecbe00aa2f559995aed | |
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-build status d4fed052c94c7a374fc17ecbe00aa2f559995aed | |
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-build status d4fed052c94c7a374fc17ecbe00aa2f559995aed | |
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-build status d4fed052c94c7a374fc17ecbe00aa2f559995aed | |
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-build status d4fed052c94c7a374fc17ecbe00aa2f559995aed | |
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-build status d4fed052c94c7a374fc17ecbe00aa2f559995aed | |
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-build status d4fed052c94c7a374fc17ecbe00aa2f559995aed | |
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-build status d4fed052c94c7a374fc17ecbe00aa2f559995aed | |
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_build_cmd git-build status d4fed052c94c7a374fc17ecbe00aa2f559995aed | |
remote: + declare 'desc=lock git-build' | |
remote: + local cmd=git-build | |
remote: + local APP=status | |
remote: + local APP_BUILD_LOCK=/home/dokku/status/.build.lock | |
remote: + local 'APP_BUILD_LOCK_MSG=status is currently being deployed or locked. Waiting...' | |
remote: ++ flock -n /home/dokku/status/.build.lock true | |
remote: ++ echo 0 | |
remote: + [[ 0 -ne 0 ]] | |
remote: + shift 1 | |
remote: + flock -o /home/dokku/status/.build.lock dokku git-build-locked status d4fed052c94c7a374fc17ecbe00aa2f559995aed | |
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-build-locked status d4fed052c94c7a374fc17ecbe00aa2f559995aed | |
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: + for arg in '"$@"' | |
remote: + false | |
remote: + case "$arg" in | |
remote: + local next_index=4 | |
remote: + return 0 | |
remote: + args=("$@") | |
remote: + [[ git-build-locked =~ ^--.* ]] | |
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-build-locked =~ ^plugin:.* ]] | |
remote: + [[ -n '' ]] | |
remote: + dokku_auth git-build-locked status d4fed052c94c7a374fc17ecbe00aa2f559995aed | |
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-build-locked status d4fed052c94c7a374fc17ecbe00aa2f559995aed | |
remote: + source /var/lib/dokku/core-plugins/available/common/functions | |
remote: ++ set -eo pipefail | |
remote: ++ [[ -n 1 ]] | |
remote: ++ set -x | |
remote: + [[ ! -n '' ]] | |
remote: + return 0 | |
remote: + case "$1" in | |
remote: + execute_dokku_cmd git-build-locked status d4fed052c94c7a374fc17ecbe00aa2f559995aed | |
remote: + declare 'desc=executes dokku sub-commands' | |
remote: + local PLUGIN_NAME=git-build-locked | |
remote: + local PLUGIN_CMD=git-build-locked | |
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-build-locked | |
remote: + [[ /var/lib/dokku/plugins/enabled/git-build-locked == *core-plugins* ]] | |
remote: + [[ -x /var/lib/dokku/plugins/enabled/git-build-locked/subcommands/default ]] | |
remote: + [[ -x /var/lib/dokku/plugins/enabled/git-build-locked/subcommands/git-build-locked ]] | |
remote: + [[ -x /var/lib/dokku/plugins/enabled/git-build-locked/subcommands/git-build-locked ]] | |
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-build-locked status d4fed052c94c7a374fc17ecbe00aa2f559995aed | |
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-build-locked status d4fed052c94c7a374fc17ecbe00aa2f559995aed | |
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-build-locked status d4fed052c94c7a374fc17ecbe00aa2f559995aed | |
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-build-locked status d4fed052c94c7a374fc17ecbe00aa2f559995aed | |
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-build-locked status d4fed052c94c7a374fc17ecbe00aa2f559995aed | |
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-build-locked status d4fed052c94c7a374fc17ecbe00aa2f559995aed | |
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-build-locked status d4fed052c94c7a374fc17ecbe00aa2f559995aed | |
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-build-locked status d4fed052c94c7a374fc17ecbe00aa2f559995aed | |
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-build-locked status d4fed052c94c7a374fc17ecbe00aa2f559995aed | |
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-build-locked status d4fed052c94c7a374fc17ecbe00aa2f559995aed | |
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_build_locked_cmd git-build-locked status d4fed052c94c7a374fc17ecbe00aa2f559995aed | |
remote: + declare 'desc=setup and call git_build_app_repo' | |
remote: + local cmd=git-build-locked | |
remote: + local APP=status | |
remote: + [[ 3 -ge 3 ]] | |
remote: + local REF=d4fed052c94c7a374fc17ecbe00aa2f559995aed | |
remote: + git_build_app_repo status d4fed052c94c7a374fc17ecbe00aa2f559995aed | |
remote: + declare 'desc=builds local git app repo for app' | |
remote: + verify_app_name status | |
remote: + declare 'desc=verify app name format and app existence' | |
remote: + local APP=status | |
remote: + [[ ! -n status ]] | |
remote: + [[ ! status =~ ^[a-z].* ]] | |
remote: + [[ ! -d /home/dokku/status ]] | |
remote: + return 0 | |
remote: + local APP=status | |
remote: + local REV=d4fed052c94c7a374fc17ecbe00aa2f559995aed | |
remote: ++ mktemp -d /tmp/dokku_git.XXXX | |
remote: + local GIT_BUILD_APP_REPO_TMP_WORK_DIR=/tmp/dokku_git.ceKp | |
remote: + trap 'rm -rf "$GIT_BUILD_APP_REPO_TMP_WORK_DIR" > /dev/null' RETURN INT TERM EXIT | |
remote: + local TMP_TAG=dokku/d4fed052c94c7a374fc17ecbe00aa2f559995aed | |
remote: + chmod 755 /tmp/dokku_git.ceKp | |
remote: + unset GIT_DIR GIT_WORK_TREE | |
remote: + pushd /tmp/dokku_git.ceKp | |
remote: + [[ ! -d /home/dokku/status ]] | |
remote: + GIT_DIR=/home/dokku/status | |
remote: + git tag -d dokku/d4fed052c94c7a374fc17ecbe00aa2f559995aed | |
remote: + true | |
remote: + GIT_DIR=/home/dokku/status | |
remote: + git tag dokku/d4fed052c94c7a374fc17ecbe00aa2f559995aed d4fed052c94c7a374fc17ecbe00aa2f559995aed | |
remote: + git init | |
remote: + git config advice.detachedHead false | |
remote: + git remote add origin /home/dokku/status | |
remote: + git fetch --depth=1 origin refs/tags/dokku/d4fed052c94c7a374fc17ecbe00aa2f559995aed | |
remote: + git reset --hard FETCH_HEAD | |
remote: + git submodule update --init --recursive | |
remote: + GIT_DIR=/home/dokku/status | |
remote: + git tag -d dokku/d4fed052c94c7a374fc17ecbe00aa2f559995aed | |
remote: + find -name .git -prune -exec rm -rf '{}' ';' | |
remote: + [[ -f Dockerfile ]] | |
remote: + plugn trigger pre-receive-app status herokuish /tmp/dokku_git.ceKp d4fed052c94c7a374fc17ecbe00aa2f559995aed | |
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 status herokuish /tmp/dokku_git.ceKp | |
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 receive status herokuish /tmp/dokku_git.ceKp | |
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: + for arg in '"$@"' | |
remote: + false | |
remote: + case "$arg" in | |
remote: + local next_index=4 | |
remote: + for arg in '"$@"' | |
remote: + false | |
remote: + case "$arg" in | |
remote: + local next_index=5 | |
remote: + return 0 | |
remote: + args=("$@") | |
remote: + [[ receive =~ ^--.* ]] | |
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: + [[ receive =~ ^plugin:.* ]] | |
remote: + [[ -n '' ]] | |
remote: + dokku_auth receive status herokuish /tmp/dokku_git.ceKp | |
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 receive status herokuish /tmp/dokku_git.ceKp | |
remote: + source /var/lib/dokku/core-plugins/available/common/functions | |
remote: ++ set -eo pipefail | |
remote: ++ [[ -n 1 ]] | |
remote: ++ set -x | |
remote: + [[ ! -n '' ]] | |
remote: + return 0 | |
remote: + case "$1" in | |
remote: + execute_dokku_cmd receive status herokuish /tmp/dokku_git.ceKp | |
remote: + declare 'desc=executes dokku sub-commands' | |
remote: + local PLUGIN_NAME=receive | |
remote: + local PLUGIN_CMD=receive | |
remote: + local implemented=0 | |
remote: + local script | |
remote: + argv=("$@") | |
remote: + local argv | |
remote: + case "$PLUGIN_NAME" in | |
remote: + local PLUGIN_NAME=00_dokku-standard | |
remote: ++ readlink -f /var/lib/dokku/plugins/enabled/00_dokku-standard | |
remote: + [[ /var/lib/dokku/core-plugins/available/00_dokku-standard == *core-plugins* ]] | |
remote: + [[ receive == \r\e\c\e\i\v\e ]] | |
remote: + shift 1 | |
remote: + [[ ! -z '' ]] | |
remote: + set -- receive status herokuish /tmp/dokku_git.ceKp | |
remote: + [[ -x /var/lib/dokku/plugins/enabled/00_dokku-standard/subcommands/default ]] | |
remote: + [[ -x /var/lib/dokku/plugins/enabled/00_dokku-standard/subcommands/receive ]] | |
remote: + /var/lib/dokku/plugins/enabled/00_dokku-standard/subcommands/receive receive status herokuish /tmp/dokku_git.ceKp | |
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: + dokku_receive_cmd receive status herokuish /tmp/dokku_git.ceKp | |
remote: + declare 'desc=receives an app kicks off deploy process' | |
remote: + local cmd=receive | |
remote: + local APP=status | |
remote: ++ get_app_image_name status | |
remote: ++ declare 'desc=return image identifier for a given app, tag tuple. validate if tag is presented' | |
remote: ++ local APP=status | |
remote: ++ local IMAGE_TAG= | |
remote: +++ get_app_image_repo status | |
remote: +++ declare 'desc=central definition of image repo pattern' | |
remote: +++ local APP=status | |
remote: +++ local IMAGE_REPO=dokku/status | |
remote: +++ [[ -z status ]] | |
remote: +++ echo dokku/status | |
remote: ++ local IMAGE_REPO=dokku/status | |
remote: ++ [[ -z status ]] | |
remote: ++ [[ -n '' ]] | |
remote: ++ local IMAGE=dokku/status:latest | |
remote: ++ echo dokku/status:latest | |
remote: + local IMAGE=dokku/status:latest | |
remote: + local IMAGE_SOURCE_TYPE=herokuish | |
remote: + local TMP_WORK_DIR=/tmp/dokku_git.ceKp | |
remote: + [[ -z '' ]] | |
remote: + dokku_log_info1 'Cleaning up...' | |
remote: + declare 'desc=log info1 formatter' | |
remote: + echo '-----> Cleaning up...' | |
remote: + docker_cleanup | |
remote: + declare 'desc=cleans up all exited/dead containers and removes all dangling images' | |
-----> Cleaning up... | |
remote: ++ docker ps -a -f status=exited -f label=dokku -q | |
remote: + docker rm 0912e433813c 446e64190166 | |
remote: ++ docker ps -a -f status=dead -f label=dokku -q | |
remote: + docker rm | |
remote: + true | |
remote: + dokku_log_info1 'Building status from herokuish...' | |
remote: + declare 'desc=log info1 formatter' | |
remote: + echo '-----> Building status from herokuish...' | |
remote: + config_set --no-restart status DOKKU_APP_TYPE=herokuish | |
-----> Building status from herokuish... | |
remote: ++ docker images -f dangling=true -q | |
remote: + docker rmi 9aced30731a9 b5ec832b4459 | |
remote: + dokku build status herokuish /tmp/dokku_git.ceKp | |
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 build status herokuish /tmp/dokku_git.ceKp | |
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: + for arg in '"$@"' | |
remote: + false | |
remote: + case "$arg" in | |
remote: + local next_index=4 | |
remote: + for arg in '"$@"' | |
remote: + false | |
remote: + case "$arg" in | |
remote: + local next_index=5 | |
remote: + return 0 | |
remote: + args=("$@") | |
remote: + [[ build =~ ^--.* ]] | |
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: + [[ build =~ ^plugin:.* ]] | |
remote: + [[ -n '' ]] | |
remote: + dokku_auth build status herokuish /tmp/dokku_git.ceKp | |
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 build status herokuish /tmp/dokku_git.ceKp | |
remote: + source /var/lib/dokku/core-plugins/available/common/functions | |
remote: ++ set -eo pipefail | |
remote: ++ [[ -n 1 ]] | |
remote: ++ set -x | |
remote: + [[ ! -n '' ]] | |
remote: + return 0 | |
remote: + case "$1" in | |
remote: + execute_dokku_cmd build status herokuish /tmp/dokku_git.ceKp | |
remote: + declare 'desc=executes dokku sub-commands' | |
remote: + local PLUGIN_NAME=build | |
remote: + local PLUGIN_CMD=build | |
remote: + local implemented=0 | |
remote: + local script | |
remote: + argv=("$@") | |
remote: + local argv | |
remote: + case "$PLUGIN_NAME" in | |
remote: + local PLUGIN_NAME=00_dokku-standard | |
remote: ++ readlink -f /var/lib/dokku/plugins/enabled/00_dokku-standard | |
remote: + [[ /var/lib/dokku/core-plugins/available/00_dokku-standard == *core-plugins* ]] | |
remote: + [[ build == \b\u\i\l\d ]] | |
remote: + shift 1 | |
remote: + [[ ! -z '' ]] | |
remote: + set -- build status herokuish /tmp/dokku_git.ceKp | |
remote: + [[ -x /var/lib/dokku/plugins/enabled/00_dokku-standard/subcommands/default ]] | |
remote: + [[ -x /var/lib/dokku/plugins/enabled/00_dokku-standard/subcommands/build ]] | |
remote: + /var/lib/dokku/plugins/enabled/00_dokku-standard/subcommands/build build status herokuish /tmp/dokku_git.ceKp | |
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: + dokku_build_cmd build status herokuish /tmp/dokku_git.ceKp | |
remote: + declare 'desc=build phase' | |
remote: + local cmd=build | |
remote: + local APP=status | |
remote: + local IMAGE_SOURCE_TYPE=herokuish | |
remote: + local TMP_WORK_DIR=/tmp/dokku_git.ceKp | |
remote: ++ get_app_image_name status | |
remote: ++ declare 'desc=return image identifier for a given app, tag tuple. validate if tag is presented' | |
remote: ++ local APP=status | |
remote: ++ local IMAGE_TAG= | |
remote: +++ get_app_image_repo status | |
remote: +++ declare 'desc=central definition of image repo pattern' | |
remote: +++ local APP=status | |
remote: +++ local IMAGE_REPO=dokku/status | |
remote: +++ [[ -z status ]] | |
remote: +++ echo dokku/status | |
remote: ++ local IMAGE_REPO=dokku/status | |
remote: ++ [[ -z status ]] | |
remote: ++ [[ -n '' ]] | |
remote: ++ local IMAGE=dokku/status:latest | |
remote: ++ echo dokku/status:latest | |
remote: + local IMAGE=dokku/status:latest | |
remote: + verify_app_name status | |
remote: + declare 'desc=verify app name format and app existence' | |
remote: + local APP=status | |
remote: + [[ ! -n status ]] | |
remote: + [[ ! status =~ ^[a-z].* ]] | |
remote: + [[ ! -d /home/dokku/status ]] | |
remote: + return 0 | |
remote: + local CACHE_DIR=/home/dokku/status/cache | |
remote: ++ config_export app status | |
remote: ++ declare 'desc=returns export command for config variable of specified type (app/global)' | |
remote: ++ local CONFIG_TYPE=app | |
remote: ++ local APP=status | |
remote: ++ local ENV_FILE=/home/dokku/status/ENV | |
remote: ++ [[ app == \g\l\o\b\a\l ]] | |
remote: ++ [[ ! -f /home/dokku/status/ENV ]] | |
remote: ++ [[ ! -s /home/dokku/status/ENV ]] | |
remote: +++ cut '-d ' -f2- | |
remote: +++ grep -Eo 'export ([a-zA-Z_][a-zA-Z0-9_]*=.*)' /home/dokku/status/ENV | |
remote: ++ local 'VARS=DOKKU_APP_RESTORE='\''1'\'' | |
remote: DOKKU_APP_TYPE='\''herokuish'\'' | |
remote: DOKKU_NGINX_PORT='\''37483'\'' | |
remote: MONGO_URL='\''mongodb://status:b610a0caf4628690be33d6ac6d0405af@dokku-mongo-status:27017/status'\'' | |
remote: NODE_ENV='\''production'\'' | |
remote: NO_VHOST='\''1'\'' | |
remote: RUN_MOCHA='\''1'\''' | |
remote: ++ awk '{print "export " $0}' | |
remote: ++ echo 'DOKKU_APP_RESTORE='\''1'\'' | |
remote: DOKKU_APP_TYPE='\''herokuish'\'' | |
remote: DOKKU_NGINX_PORT='\''37483'\'' | |
remote: MONGO_URL='\''mongodb://status:b610a0caf4628690be33d6ac6d0405af@dokku-mongo-status:27017/status'\'' | |
remote: NODE_ENV='\''production'\'' | |
remote: NO_VHOST='\''1'\'' | |
remote: RUN_MOCHA='\''1'\''' | |
remote: ++ return 0 | |
remote: + eval 'export DOKKU_APP_RESTORE='\''1'\'' | |
remote: export DOKKU_APP_TYPE='\''herokuish'\'' | |
remote: export DOKKU_NGINX_PORT='\''37483'\'' | |
remote: export MONGO_URL='\''mongodb://status:b610a0caf4628690be33d6ac6d0405af@dokku-mongo-status:27017/status'\'' | |
remote: export NODE_ENV='\''production'\'' | |
remote: export NO_VHOST='\''1'\'' | |
remote: export RUN_MOCHA='\''1'\''' | |
remote: ++ export DOKKU_APP_RESTORE=1 | |
remote: ++ DOKKU_APP_RESTORE=1 | |
remote: ++ export DOKKU_APP_TYPE=herokuish | |
remote: ++ DOKKU_APP_TYPE=herokuish | |
remote: ++ export DOKKU_NGINX_PORT=37483 | |
remote: ++ DOKKU_NGINX_PORT=37483 | |
remote: ++ export MONGO_URL=mongodb://status:b610a0caf4628690be33d6ac6d0405af@dokku-mongo-status:27017/status | |
remote: ++ MONGO_URL=mongodb://status:b610a0caf4628690be33d6ac6d0405af@dokku-mongo-status:27017/status | |
remote: ++ export NODE_ENV=production | |
remote: ++ NODE_ENV=production | |
remote: ++ export NO_VHOST=1 | |
remote: ++ NO_VHOST=1 | |
remote: ++ export RUN_MOCHA=1 | |
remote: ++ RUN_MOCHA=1 | |
remote: + pushd /tmp/dokku_git.ceKp | |
remote: + case "$IMAGE_SOURCE_TYPE" in | |
remote: ++ docker run --label=dokku -i -a stdin gliderlabs/herokuish /bin/bash -c 'mkdir -p /app && tar -xC /app' | |
remote: ++ tar -c . | |
remote: + local id=6dcdc6986ec0c4446fde2fba958fa132540761fd8975294f986a41d849fd151b | |
remote: ++ docker wait 6dcdc6986ec0c4446fde2fba958fa132540761fd8975294f986a41d849fd151b | |
remote: + test 0 -eq 0 | |
remote: + docker commit 6dcdc6986ec0c4446fde2fba958fa132540761fd8975294f986a41d849fd151b dokku/status:latest | |
remote: + [[ -d /home/dokku/status/cache ]] | |
remote: + plugn trigger pre-build-buildpack status | |
remote: + source /var/lib/dokku/core-plugins/available/common/functions | |
remote: ++ set -eo pipefail | |
remote: ++ [[ -n 1 ]] | |
remote: ++ set -x | |
remote: + [[ ! -n '' ]] | |
remote: + APP=status | |
remote: + IMAGE=dokku/status | |
remote: + echo '-----> Injecting apt repositories and packages ...' | |
-----> Injecting apt repositories and packages ... | |
remote: + DIR=/app | |
remote: ++ cat | |
remote: + COMMAND='export DEBIAN_FRONTEND=noninteractive | |
remote: if [ -f /app/apt-repositories ]; then | |
remote: apt-get update | |
remote: apt-get install -y software-properties-common | |
remote: cat "/app/apt-repositories" | while read repository; do | |
remote: add-apt-repository -y "$repository" | |
remote: done | |
remote: fi | |
remote: if [ -f /app/apt-debconf ]; then | |
remote: cat "/app/apt-debconf" | while read conf; do | |
remote: echo $conf | debconf-set-selections | |
remote: done | |
remote: fi | |
remote: if [ -f /app/apt-packages ]; then | |
remote: PACKAGES=$(cat "/app/apt-packages" | tr "\n" " ") | |
remote: apt-get update | |
remote: apt-get install -y $PACKAGES | |
remote: echo "-----> Injected packages: $PACKAGES" | |
remote: fi | |
remote: if [ -d /app/dpkg-packages ]; then | |
remote: for pkg in /app/dpkg-packages/*.deb; do | |
remote: dpkg -i $pkg | |
remote: echo "-----> Injected package: $pkg" | |
remote: done | |
remote: fi | |
remote: sleep 1 # wait so that docker run has not exited before docker attach' | |
remote: ++ docker run -d dokku/status /bin/bash -e -c 'export DEBIAN_FRONTEND=noninteractive | |
remote: if [ -f /app/apt-repositories ]; then | |
remote: apt-get update | |
remote: apt-get install -y software-properties-common | |
remote: cat "/app/apt-repositories" | while read repository; do | |
remote: add-apt-repository -y "$repository" | |
remote: done | |
remote: fi | |
remote: if [ -f /app/apt-debconf ]; then | |
remote: cat "/app/apt-debconf" | while read conf; do | |
remote: echo $conf | debconf-set-selections | |
remote: done | |
remote: fi | |
remote: if [ -f /app/apt-packages ]; then | |
remote: PACKAGES=$(cat "/app/apt-packages" | tr "\n" " ") | |
remote: apt-get update | |
remote: apt-get install -y $PACKAGES | |
remote: echo "-----> Injected packages: $PACKAGES" | |
remote: fi | |
remote: if [ -d /app/dpkg-packages ]; then | |
remote: for pkg in /app/dpkg-packages/*.deb; do | |
remote: dpkg -i $pkg | |
remote: echo "-----> Injected package: $pkg" | |
remote: done | |
remote: fi | |
remote: sleep 1 # wait so that docker run has not exited before docker attach' | |
remote: + id=049b54a5826e1766b73ec79086041b0be8ff760318b4e218485b84cfa05f6902 | |
remote: + docker attach 049b54a5826e1766b73ec79086041b0be8ff760318b4e218485b84cfa05f6902 | |
Get:1 http://apt.postgresql.org trusty-pgdg InRelease [30.1 kB] | |
Ign http://archive.ubuntu.com trusty InRelease | |
Get:2 http://archive.ubuntu.com trusty-security InRelease [65.9 kB] | |
Get:3 http://apt.postgresql.org trusty-pgdg/main amd64 Packages [97.2 kB] | |
Get:4 http://archive.ubuntu.com trusty-updates InRelease [65.9 kB] | |
Get:5 http://archive.ubuntu.com trusty Release.gpg [933 B] | |
Get:6 http://archive.ubuntu.com trusty-security/main amd64 Packages [583 kB] | |
Get:7 http://archive.ubuntu.com trusty-updates/main amd64 Packages [964 kB] | |
Get:8 http://archive.ubuntu.com trusty Release [58.5 kB] | |
Get:9 http://archive.ubuntu.com trusty/main amd64 Packages [1743 kB] | |
Get:10 http://archive.ubuntu.com trusty/universe amd64 Packages [7589 kB] | |
Fetched 11.2 MB in 3s (3182 kB/s) | |
Reading package lists... | |
Reading package lists... | |
Building dependency tree... | |
Reading state information... | |
The following extra packages will be installed: | |
apt-utils iso-codes libapt-inst1.5 python-apt-common python3-apt | |
python3-dbus python3-gi python3-pycurl python3-software-properties | |
unattended-upgrades | |
Suggested packages: | |
isoquery python3-apt-dbg python-apt-doc python-dbus-doc python3-dbus-dbg | |
libcurl4-gnutls-dev python3-pycurl-dbg bsd-mailx mail-transport-agent | |
The following NEW packages will be installed: | |
apt-utils iso-codes libapt-inst1.5 python-apt-common python3-apt | |
python3-dbus python3-gi python3-pycurl python3-software-properties | |
software-properties-common unattended-upgrades | |
0 upgraded, 11 newly installed, 0 to remove and 17 not upgraded. | |
Need to get 2796 kB of archives. | |
After this operation, 19.8 MB of additional disk space will be used. | |
Get:1 http://archive.ubuntu.com/ubuntu/ trusty-security/main libapt-inst1.5 amd64 1.0.1ubuntu2.13 [58.6 kB] | |
Get:2 http://archive.ubuntu.com/ubuntu/ trusty-security/main apt-utils amd64 1.0.1ubuntu2.13 [172 kB] | |
Get:3 http://archive.ubuntu.com/ubuntu/ trusty/main iso-codes all 3.52-1 [2073 kB] | |
Get:4 http://archive.ubuntu.com/ubuntu/ trusty-updates/main python-apt-common all 0.9.3.5ubuntu2 [16.6 kB] | |
Get:5 http://archive.ubuntu.com/ubuntu/ trusty-updates/main python3-apt amd64 0.9.3.5ubuntu2 [139 kB] | |
Get:6 http://archive.ubuntu.com/ubuntu/ trusty/main python3-dbus amd64 1.2.0-2build2 [82.1 kB] | |
Get:7 http://archive.ubuntu.com/ubuntu/ trusty-updates/main python3-gi amd64 3.12.0-1ubuntu1 [154 kB] | |
Get:8 http://archive.ubuntu.com/ubuntu/ trusty/main python3-pycurl amd64 7.19.3-0ubuntu3 [47.5 kB] | |
Get:9 http://archive.ubuntu.com/ubuntu/ trusty-updates/main unattended-upgrades all 0.82.1ubuntu2.4 [25.9 kB] | |
Get:10 http://archive.ubuntu.com/ubuntu/ trusty-updates/main python3-software-properties all 0.92.37.7 [19.1 kB] | |
Get:11 http://archive.ubuntu.com/ubuntu/ trusty-updates/main software-properties-common all 0.92.37.7 [9356 B] | |
remote: debconf: delaying package configuration, since apt-utils is not installed | |
Fetched 2796 kB in 2s (965 kB/s) | |
Selecting previously unselected package libapt-inst1.5:amd64. | |
(Reading database ... 48689 files and directories currently installed.) | |
Preparing to unpack .../libapt-inst1.5_1.0.1ubuntu2.13_amd64.deb ... | |
Unpacking libapt-inst1.5:amd64 (1.0.1ubuntu2.13) ... | |
Selecting previously unselected package apt-utils. | |
Preparing to unpack .../apt-utils_1.0.1ubuntu2.13_amd64.deb ... | |
Unpacking apt-utils (1.0.1ubuntu2.13) ... | |
Selecting previously unselected package iso-codes. | |
Preparing to unpack .../iso-codes_3.52-1_all.deb ... | |
Unpacking iso-codes (3.52-1) ... | |
Selecting previously unselected package python-apt-common. | |
Preparing to unpack .../python-apt-common_0.9.3.5ubuntu2_all.deb ... | |
Unpacking python-apt-common (0.9.3.5ubuntu2) ... | |
Selecting previously unselected package python3-apt. | |
Preparing to unpack .../python3-apt_0.9.3.5ubuntu2_amd64.deb ... | |
Unpacking python3-apt (0.9.3.5ubuntu2) ... | |
Selecting previously unselected package python3-dbus. | |
Preparing to unpack .../python3-dbus_1.2.0-2build2_amd64.deb ... | |
Unpacking python3-dbus (1.2.0-2build2) ... | |
Selecting previously unselected package python3-gi. | |
Preparing to unpack .../python3-gi_3.12.0-1ubuntu1_amd64.deb ... | |
Unpacking python3-gi (3.12.0-1ubuntu1) ... | |
Selecting previously unselected package python3-pycurl. | |
Preparing to unpack .../python3-pycurl_7.19.3-0ubuntu3_amd64.deb ... | |
Unpacking python3-pycurl (7.19.3-0ubuntu3) ... | |
Selecting previously unselected package unattended-upgrades. | |
Preparing to unpack .../unattended-upgrades_0.82.1ubuntu2.4_all.deb ... | |
Unpacking unattended-upgrades (0.82.1ubuntu2.4) ... | |
Selecting previously unselected package python3-software-properties. | |
Preparing to unpack .../python3-software-properties_0.92.37.7_all.deb ... | |
Unpacking python3-software-properties (0.92.37.7) ... | |
Selecting previously unselected package software-properties-common. | |
Preparing to unpack .../software-properties-common_0.92.37.7_all.deb ... | |
Unpacking software-properties-common (0.92.37.7) ... | |
Setting up libapt-inst1.5:amd64 (1.0.1ubuntu2.13) ... | |
Setting up apt-utils (1.0.1ubuntu2.13) ... | |
Setting up iso-codes (3.52-1) ... | |
Setting up python-apt-common (0.9.3.5ubuntu2) ... | |
Setting up python3-apt (0.9.3.5ubuntu2) ... | |
Setting up python3-dbus (1.2.0-2build2) ... | |
Setting up python3-gi (3.12.0-1ubuntu1) ... | |
Setting up python3-pycurl (7.19.3-0ubuntu3) ... | |
Setting up unattended-upgrades (0.82.1ubuntu2.4) ... | |
Setting up python3-software-properties (0.92.37.7) ... | |
Setting up software-properties-common (0.92.37.7) ... | |
Processing triggers for libc-bin (2.19-0ubuntu6.7) ... | |
remote: gpg: keyring `/tmp/tmph294h5te/secring.gpg' created | |
remote: gpg: keyring `/tmp/tmph294h5te/pubring.gpg' created | |
remote: gpg: requesting key BA9EF27F from hkp server keyserver.ubuntu.com | |
remote: gpg: /tmp/tmph294h5te/trustdb.gpg: trustdb created | |
remote: gpg: key BA9EF27F: public key "Launchpad Toolchain builds" imported | |
remote: gpg: Total number processed: 1 | |
remote: gpg: imported: 1 (RSA: 1) | |
OK | |
Error: '' invalid | |
remote: + rm -rf /tmp/dokku_git.ceKp | |
remote: + exit_code=1 | |
remote: + set -e | |
remote: + [[ 1 -eq 10 ]] | |
remote: + implemented=1 | |
remote: + [[ 1 -ne 0 ]] | |
remote: + exit 1 | |
remote: + exit_code=1 | |
remote: + set -e | |
remote: + [[ 1 -eq 10 ]] | |
remote: + implemented=1 | |
remote: + [[ 1 -ne 0 ]] | |
remote: + exit 1 | |
remote: + exit_code=1 | |
remote: + set -e | |
remote: + [[ 1 -eq 10 ]] | |
remote: + implemented=1 | |
remote: + [[ 1 -ne 0 ]] | |
remote: + exit 1 | |
+ exit_code=0 | |
+ set -e | |
+ [[ 0 -eq 10 ]] | |
+ implemented=1 | |
+ [[ 0 -ne 0 ]] | |
+ for script in '$PLUGIN_ENABLED_PATH/*/commands' | |
+ set +e | |
+ /var/lib/dokku/plugins/enabled/logs/commands git-receive-pack ''\''status'\''' | |
+ exit_code=10 | |
+ set -e | |
+ [[ 10 -eq 10 ]] | |
+ continue | |
+ for script in '$PLUGIN_ENABLED_PATH/*/commands' | |
+ set +e | |
+ /var/lib/dokku/plugins/enabled/mongo/commands git-receive-pack ''\''status'\''' | |
+ 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 ''\''status'\''' | |
+ 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 ''\''status'\''' | |
+ 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 ''\''status'\''' | |
+ 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 ''\''status'\''' | |
+ 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 ''\''status'\''' | |
+ 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 ''\''status'\''' | |
+ 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 ''\''status'\''' | |
+ 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 ''\''status'\''' | |
+ exit_code=10 | |
+ set -e | |
+ [[ 10 -eq 10 ]] | |
+ continue | |
+ [[ 1 -eq 0 ]] | |
+ set +f | |
+ exit 0 | |
To [email protected]:status | |
! [remote rejected] master -> master (pre-receive hook declined) | |
error: failed to push some refs to '[email protected]:status' |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment