Skip to content

Instantly share code, notes, and snippets.

@alfetopito
Created February 26, 2015 13:46
Show Gist options
  • Save alfetopito/8888693b3bc5ee442e8f to your computer and use it in GitHub Desktop.
Save alfetopito/8888693b3bc5ee442e8f to your computer and use it in GitHub Desktop.
+ parse_args git-receive-pack ''\''myapp'\'''
+ for arg in '"$@"'
+ case "$arg" in
+ for arg in '"$@"'
+ case "$arg" in
+ return 0
+ for arg in '"$@"'
+ [[ git-receive-pack =~ ^--.* ]]
+ for arg in '"$@"'
+ [[ 'myapp' =~ ^--.* ]]
+ has_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 ]]
+ [[ -n git-receive-pack 'myapp' ]]
+ export -n SSH_ORIGINAL_COMMAND
+ [[ git-receive-pack =~ config-* ]]
+ /usr/local/bin/dokku git-receive-pack ''\''myapp'\'''
+ [[ -f /home/dokku/dokkurc ]]
+ [[ -d /home/dokku/.dokkurc ]]
+ for f in '$DOKKU_ROOT/.dokkurc/*'
+ source /home/dokku/.dokkurc/DOKKU_TRACE
++ export DOKKU_TRACE=1
++ DOKKU_TRACE=1
+ [[ -n 1 ]]
+ set -x
+ parse_args git-receive-pack ''\''myapp'\'''
+ for arg in '"$@"'
+ case "$arg" in
+ for arg in '"$@"'
+ case "$arg" in
+ return 0
+ for arg in '"$@"'
+ [[ git-receive-pack =~ ^--.* ]]
+ for arg in '"$@"'
+ [[ 'myapp' =~ ^--.* ]]
+ has_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 ]]
+ [[ -n '' ]]
+ case "$1" in
+ implemented=0
+ for script in '$PLUGIN_PATH/*/commands'
+ set +e
+ /var/lib/dokku/plugins/00_dokku-standard/commands git-receive-pack ''\''myapp'\'''
++ dirname /var/lib/dokku/plugins/00_dokku-standard/commands
+ source /var/lib/dokku/plugins/00_dokku-standard/../common/functions
++ set -eo pipefail
++ [[ -n 1 ]]
++ set -x
+ case "$1" in
+ exit 10
+ exit_code=10
+ set -e
+ '[' 10 -eq 10 ']'
+ continue
+ for script in '$PLUGIN_PATH/*/commands'
+ set +e
+ /var/lib/dokku/plugins/apps/commands git-receive-pack ''\''myapp'\'''
++ dirname /var/lib/dokku/plugins/apps/commands
+ source /var/lib/dokku/plugins/apps/../common/functions
++ set -eo pipefail
++ [[ -n 1 ]]
++ set -x
+ case "$1" in
+ exit 10
+ exit_code=10
+ set -e
+ '[' 10 -eq 10 ']'
+ continue
+ for script in '$PLUGIN_PATH/*/commands'
+ set +e
+ /var/lib/dokku/plugins/backup/commands git-receive-pack ''\''myapp'\'''
+ CURRENT_BACKUP_VERSION=1
+ case "$1" in
+ exit 10
+ exit_code=10
+ set -e
+ '[' 10 -eq 10 ']'
+ continue
+ for script in '$PLUGIN_PATH/*/commands'
+ set +e
+ /var/lib/dokku/plugins/config/commands git-receive-pack ''\''myapp'\'''
++ dirname /var/lib/dokku/plugins/config/commands
+ source /var/lib/dokku/plugins/config/../common/functions
++ set -eo pipefail
++ [[ -n 1 ]]
++ set -x
+ ENV_FILE='/home/dokku/'\''myapp'\''/ENV'
+ ENV_FILE_TEMP='/home/dokku/'\''myapp'\''/ENV.tmp'
+ case "$1" in
+ exit 10
+ exit_code=10
+ set -e
+ '[' 10 -eq 10 ']'
+ continue
+ for script in '$PLUGIN_PATH/*/commands'
+ set +e
+ /var/lib/dokku/plugins/domains/commands git-receive-pack ''\''myapp'\'''
++ dirname /var/lib/dokku/plugins/domains/commands
+ source /var/lib/dokku/plugins/domains/../common/functions
++ set -eo pipefail
++ [[ -n 1 ]]
++ set -x
+ RE_IPV4='([0-9]{1,3}[\.]){3}[0-9]{1,3}'
+ RE_IPV6='([0-9a-fA-F]{1,4}:){7,7}[0-9a-fA-F]{1,4}|'
+ RE_IPV6='([0-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2,2}%[0-9a-zA-Z]{1,}|::(ffff(:0{1,4}){0,1}:){0,1}([0-9]{1,3}[\.]){3}[0-9]{1,3}|([0-9a-fA-F]{1,4}:){1,4}:([0-9]{1,3}[\.]){3}[0-9]{1,3}'
+ case "$1" in
+ exit 10
+ exit_code=10
+ set -e
+ '[' 10 -eq 10 ']'
+ continue
+ for script in '$PLUGIN_PATH/*/commands'
+ set +e
+ /var/lib/dokku/plugins/git/commands git-receive-pack ''\''myapp'\'''
++ dirname /var/lib/dokku/plugins/git/commands
+ source /var/lib/dokku/plugins/git/../common/functions
++ set -eo pipefail
++ [[ -n 1 ]]
++ set -x
+ case "$1" in
++ sed 's/\\'\''/'\''/g'
++ perl -pe 's/(?<!\\)'\''//g'
++ echo ''\''myapp'\'''
+ APP=myapp
+ APP_PATH=/home/dokku/myapp
+ [[ git-receive-pack == \g\i\t\-\r\e\c\e\i\v\e\-\p\a\c\k ]]
+ [[ ! -d /home/dokku/myapp/refs ]]
+ args='git-receive-pack '\''myapp'\'''
+ git-shell -c 'git-receive-pack '\''myapp'\'''
remote: + [[ -f /home/dokku/dokkurc ]]
remote: + [[ -d /home/dokku/.dokkurc ]]
remote: + for f in '$DOKKU_ROOT/.dokkurc/*'
remote: + source /home/dokku/.dokkurc/DOKKU_TRACE
remote: ++ export DOKKU_TRACE=1
remote: ++ DOKKU_TRACE=1
remote: + [[ -n 1 ]]
remote: + set -x
remote: + parse_args git-hook myapp
remote: + for arg in '"$@"'
remote: + case "$arg" in
remote: + for arg in '"$@"'
remote: + case "$arg" in
remote: + return 0
remote: + for arg in '"$@"'
remote: + [[ git-hook =~ ^--.* ]]
remote: + for arg in '"$@"'
remote: + [[ myapp =~ ^--.* ]]
remote: + has_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: + [[ -n '' ]]
remote: + case "$1" in
remote: + implemented=0
remote: + for script in '$PLUGIN_PATH/*/commands'
remote: + set +e
remote: + /var/lib/dokku/plugins/00_dokku-standard/commands git-hook myapp
remote: ++ dirname /var/lib/dokku/plugins/00_dokku-standard/commands
remote: + source /var/lib/dokku/plugins/00_dokku-standard/../common/functions
remote: ++ set -eo pipefail
remote: ++ [[ -n 1 ]]
remote: ++ set -x
remote: + case "$1" in
remote: + exit 10
remote: + exit_code=10
remote: + set -e
remote: + '[' 10 -eq 10 ']'
remote: + continue
remote: + for script in '$PLUGIN_PATH/*/commands'
remote: + set +e
remote: + /var/lib/dokku/plugins/apps/commands git-hook myapp
remote: ++ dirname /var/lib/dokku/plugins/apps/commands
remote: + source /var/lib/dokku/plugins/apps/../common/functions
remote: ++ set -eo pipefail
remote: ++ [[ -n 1 ]]
remote: ++ set -x
remote: + case "$1" in
remote: + exit 10
remote: + exit_code=10
remote: + set -e
remote: + '[' 10 -eq 10 ']'
remote: + continue
remote: + for script in '$PLUGIN_PATH/*/commands'
remote: + set +e
remote: + /var/lib/dokku/plugins/backup/commands git-hook myapp
remote: + CURRENT_BACKUP_VERSION=1
remote: + case "$1" in
remote: + exit 10
remote: + exit_code=10
remote: + set -e
remote: + '[' 10 -eq 10 ']'
remote: + continue
remote: + for script in '$PLUGIN_PATH/*/commands'
remote: + set +e
remote: + /var/lib/dokku/plugins/config/commands git-hook myapp
remote: ++ dirname /var/lib/dokku/plugins/config/commands
remote: + source /var/lib/dokku/plugins/config/../common/functions
remote: ++ set -eo pipefail
remote: ++ [[ -n 1 ]]
remote: ++ set -x
remote: + ENV_FILE=/home/dokku/myapp/ENV
remote: + ENV_FILE_TEMP=/home/dokku/myapp/ENV.tmp
remote: + case "$1" in
remote: + exit 10
remote: + exit_code=10
remote: + set -e
remote: + '[' 10 -eq 10 ']'
remote: + continue
remote: + for script in '$PLUGIN_PATH/*/commands'
remote: + set +e
remote: + /var/lib/dokku/plugins/domains/commands git-hook myapp
remote: ++ dirname /var/lib/dokku/plugins/domains/commands
remote: + source /var/lib/dokku/plugins/domains/../common/functions
remote: ++ set -eo pipefail
remote: ++ [[ -n 1 ]]
remote: ++ set -x
remote: + RE_IPV4='([0-9]{1,3}[\.]){3}[0-9]{1,3}'
remote: + RE_IPV6='([0-9a-fA-F]{1,4}:){7,7}[0-9a-fA-F]{1,4}|'
remote: + RE_IPV6='([0-9a-fA-F]{1,4}:){7,7}[0-9a-fA-F]{1,4}|([0-9a-fA-F]{1,4}:){1,7}:|'
remote: + RE_IPV6='([0-9a-fA-F]{1,4}:){7,7}[0-9a-fA-F]{1,4}|([0-9a-fA-F]{1,4}:){1,7}:|([0-9a-fA-F]{1,4}:){1,6}:[0-9a-fA-F]{1,4}|'
remote: + RE_IPV6='([0-9a-fA-F]{1,4}:){7,7}[0-9a-fA-F]{1,4}|([0-9a-fA-F]{1,4}:){1,7}:|([0-9a-fA-F]{1,4}:){1,6}:[0-9a-fA-F]{1,4}|([0-9a-fA-F]{1,4}:){1,5}(:[0-9a-fA-F]{1,4}){1,2}|'
remote: + RE_IPV6='([0-9a-fA-F]{1,4}:){7,7}[0-9a-fA-F]{1,4}|([0-9a-fA-F]{1,4}:){1,7}:|([0-9a-fA-F]{1,4}:){1,6}:[0-9a-fA-F]{1,4}|([0-9a-fA-F]{1,4}:){1,5}(:[0-9a-fA-F]{1,4}){1,2}|([0-9a-fA-F]{1,4}:){1,4}(:[0-9a-fA-F]{1,4}){1,3}|'
remote: + RE_IPV6='([0-9a-fA-F]{1,4}:){7,7}[0-9a-fA-F]{1,4}|([0-9a-fA-F]{1,4}:){1,7}:|([0-9a-fA-F]{1,4}:){1,6}:[0-9a-fA-F]{1,4}|([0-9a-fA-F]{1,4}:){1,5}(:[0-9a-fA-F]{1,4}){1,2}|([0-9a-fA-F]{1,4}:){1,4}(:[0-9a-fA-F]{1,4}){1,3}|([0-9a-fA-F]{1,4}:){1,3}(:[0-9a-fA-F]{1,4}){1,4}|'
remote: + RE_IPV6='([0-9a-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]{1,4}:){1,4}(:[0-9a-fA-F]{1,4}){1,3}|([0-9a-fA-F]{1,4}:){1,3}(:[0-9a-fA-F]{1,4}){1,4}|([0-9a-fA-F]{1,4}:){1,2}(:[0-9a-fA-F]{1,4}){1,5}|[0-9a-fA-F]{1,4}:((:[0-9a-fA-F]{1,4}){1,6})|:((:[0-9a-fA-F]{1,4}){1,7}|:)|fe08:(:[0-9a-fA-F]{1,4}){2,2}%[0-9a-zA-Z]{1,}|::(ffff(:0{1,4}){0,1}:){0,1}([0-9]{1,3}[\.]){3}[0-9]{1,3}|([0-9a-fA-F]{1,4}:){1,4}:([0-9]{1,3}[\.]){3}[0-9]{1,3}'
remote: + case "$1" in
remote: + exit 10
remote: + exit_code=10
remote: + set -e
remote: + '[' 10 -eq 10 ']'
remote: + continue
remote: + for script in '$PLUGIN_PATH/*/commands'
remote: + set +e
remote: + /var/lib/dokku/plugins/git/commands git-hook myapp
remote: ++ dirname /var/lib/dokku/plugins/git/commands
remote: + source /var/lib/dokku/plugins/git/../common/functions
remote: ++ set -eo pipefail
remote: ++ [[ -n 1 ]]
remote: ++ set -x
remote: + case "$1" in
remote: + APP=myapp
remote: + read oldrev newrev refname
remote: + [[ refs/heads/master = \r\e\f\s\/\h\e\a\d\s\/\m\a\s\t\e\r ]]
remote: + pluginhook receive-app myapp 5e025f8d0d2856a58c740b757ff66d7a831bdbb3
remote: ++ dirname /var/lib/dokku/plugins/git/receive-app
remote: + source /var/lib/dokku/plugins/git/../common/functions
remote: ++ set -eo pipefail
remote: ++ [[ -n 1 ]]
remote: ++ set -x
remote: + APP=myapp
remote: + REV=5e025f8d0d2856a58c740b757ff66d7a831bdbb3
remote: + dokku git-build myapp 5e025f8d0d2856a58c740b757ff66d7a831bdbb3
remote: + [[ -f /home/dokku/dokkurc ]]
remote: + [[ -d /home/dokku/.dokkurc ]]
remote: + for f in '$DOKKU_ROOT/.dokkurc/*'
remote: + source /home/dokku/.dokkurc/DOKKU_TRACE
remote: ++ export DOKKU_TRACE=1
remote: ++ DOKKU_TRACE=1
remote: + [[ -n 1 ]]
remote: + set -x
remote: + parse_args git-build myapp 5e025f8d0d2856a58c740b757ff66d7a831bdbb3
remote: + for arg in '"$@"'
remote: + case "$arg" in
remote: + for arg in '"$@"'
remote: + case "$arg" in
remote: + for arg in '"$@"'
remote: + case "$arg" in
remote: + return 0
remote: + for arg in '"$@"'
remote: + [[ git-build =~ ^--.* ]]
remote: + for arg in '"$@"'
remote: + [[ myapp =~ ^--.* ]]
remote: + for arg in '"$@"'
remote: + [[ 5e025f8d0d2856a58c740b757ff66d7a831bdbb3 =~ ^--.* ]]
remote: + has_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: + [[ -n '' ]]
remote: + case "$1" in
remote: + implemented=0
remote: + for script in '$PLUGIN_PATH/*/commands'
remote: + set +e
remote: + /var/lib/dokku/plugins/00_dokku-standard/commands git-build myapp 5e025f8d0d2856a58c740b757ff66d7a831bdbb3
remote: ++ dirname /var/lib/dokku/plugins/00_dokku-standard/commands
remote: + source /var/lib/dokku/plugins/00_dokku-standard/../common/functions
remote: ++ set -eo pipefail
remote: ++ [[ -n 1 ]]
remote: ++ set -x
remote: + case "$1" in
remote: + exit 10
remote: + exit_code=10
remote: + set -e
remote: + '[' 10 -eq 10 ']'
remote: + continue
remote: + for script in '$PLUGIN_PATH/*/commands'
remote: + set +e
remote: + /var/lib/dokku/plugins/apps/commands git-build myapp 5e025f8d0d2856a58c740b757ff66d7a831bdbb3
remote: ++ dirname /var/lib/dokku/plugins/apps/commands
remote: + source /var/lib/dokku/plugins/apps/../common/functions
remote: ++ set -eo pipefail
remote: ++ [[ -n 1 ]]
remote: ++ set -x
remote: + case "$1" in
remote: + exit 10
remote: + exit_code=10
remote: + set -e
remote: + '[' 10 -eq 10 ']'
remote: + continue
remote: + for script in '$PLUGIN_PATH/*/commands'
remote: + set +e
remote: + /var/lib/dokku/plugins/backup/commands git-build myapp 5e025f8d0d2856a58c740b757ff66d7a831bdbb3
remote: + CURRENT_BACKUP_VERSION=1
remote: + case "$1" in
remote: + exit 10
remote: + exit_code=10
remote: + set -e
remote: + '[' 10 -eq 10 ']'
remote: + continue
remote: + for script in '$PLUGIN_PATH/*/commands'
remote: + set +e
remote: + /var/lib/dokku/plugins/config/commands git-build myapp 5e025f8d0d2856a58c740b757ff66d7a831bdbb3
remote: ++ dirname /var/lib/dokku/plugins/config/commands
remote: + source /var/lib/dokku/plugins/config/../common/functions
remote: ++ set -eo pipefail
remote: ++ [[ -n 1 ]]
remote: ++ set -x
remote: + ENV_FILE=/home/dokku/myapp/ENV
remote: + ENV_FILE_TEMP=/home/dokku/myapp/ENV.tmp
remote: + case "$1" in
remote: + exit 10
remote: + exit_code=10
remote: + set -e
remote: + '[' 10 -eq 10 ']'
remote: + continue
remote: + for script in '$PLUGIN_PATH/*/commands'
remote: + set +e
remote: + /var/lib/dokku/plugins/domains/commands git-build myapp 5e025f8d0d2856a58c740b757ff66d7a831bdbb3
remote: ++ dirname /var/lib/dokku/plugins/domains/commands
remote: + source /var/lib/dokku/plugins/domains/../common/functions
remote: ++ set -eo pipefail
remote: ++ [[ -n 1 ]]
remote: ++ set -x
remote: + RE_IPV4='([0-9]{1,3}[\.]){3}[0-9]{1,3}'
remote: + RE_IPV6='([0-9a-fA-F]{1,4}:){7,7}[0-9a-fA-F]{1,4}|'
remote: + RE_IPV6='([0-9a-fA-F]{1,4}:){7,7}[0-9a-fA-F]{1,4}|([0-9a-fA-F]{1,4}:){1,7}:|'
remote: + RE_IPV6='([0-9a-fA-F]{1,4}:){7,7}[0-9a-fA-F]{1,4}|([0-9a-fA-F]{1,4}:){1,7}:|([0-9a-fA-F]{1,4}:){1,6}:[0-9a-fA-F]{1,4}|'
remote: + RE_IPV6='([0-9a-fA-F]{1,4}:){7,7}[0-9a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7}[0-9a-fA-F]{1,4}|([0-9a-fA-F]{1,4}:){1,7}:|([0-9a-fA-F]{1,4}:){1,6}:[0-9a-fA-F]{1,4}|([0-9a-fA-F]{1,4}:){1,5}(:[0-9a-fA-F]{1,4}){1,2}|([0-9a-fA-F]{1,4}:){1,4}(:[0-9a-fA-F]{1,4}){1,3}|([0-9a-fA-F]{1,4}:){1,3}(:[0-9a-fA-F]{1,4}){1,4}|([0-9a-fA-F]{1,4}:){1,2}(:[0-9a-fA-F]{1,4}){1,5}|[0-9a-fA-F]{1,4}:((:[0-9a-fA-F]{1,4}){1,6})|:((:[0-9a-fA-F]{1,4}){1,7}|:)|fe08:(:[0-9a-fA-F]{1,4}){2,2}%[0-9a-zA-Z]{1,}|::(ffff(:0{1,4}){0,1}:){0,1}([0-9]{1,3}[\.]){3}[0-9]{1,3}|'
remote: + RE_IPV6='([0-9a-fA-F]{1,4}:){7,7}[0-9a-fA-F]{1,4}|([0-9a-fA-F]{1,4}:){1,7}:|([0-9a-fA-F]{1,4}:){1,6}:[0-9a-fA-F]{1,4}|([0-9a-fA-F]{1,4}:){1,5}(:[0-9a-fA-F]{1,4}){1,2}|([0-9a-fA-F]{1,4}:){1,4}(:[0-9a-fA-F]{1,4}){1,3}|([0-9a-fA-F]{1,4}:){1,3}(:[0-9a-fA-F]{1,4}){1,4}|([0-9a-fA-F]{1,4}:){1,2}(:[0-9a-fA-F]{1,4}){1,5}|[0-9a-fA-F]{1,4}:((:[0-9a-fA-F]{1,4}){1,6})|:((:[0-9a-fA-F]{1,4}){1,7}|:)|fe08:(:[0-9a-fA-F]{1,4}){2,2}%[0-9a-zA-Z]{1,}|::(ffff(:0{1,4}){0,1}:){0,1}([0-9]{1,3}[\.]){3}[0-9]{1,3}|([0-9a-fA-F]{1,4}:){1,4}:([0-9]{1,3}[\.]){3}[0-9]{1,3}'
remote: + case "$1" in
remote: + exit 10
remote: + exit_code=10
remote: + set -e
remote: + '[' 10 -eq 10 ']'
remote: + continue
remote: + for script in '$PLUGIN_PATH/*/commands'
remote: + set +e
remote: + /var/lib/dokku/plugins/git/commands git-build myapp 5e025f8d0d2856a58c740b757ff66d7a831bdbb3
remote: ++ dirname /var/lib/dokku/plugins/git/commands
remote: + source /var/lib/dokku/plugins/git/../common/functions
remote: ++ set -eo pipefail
remote: ++ [[ -n 1 ]]
remote: ++ set -x
remote: + case "$1" in
remote: + APP=myapp
remote: + APP_BUILD_LOCK=/home/dokku/myapp/.build.lock
remote: + APP_BUILD_LOCK_MSG='myapp is currently being deployed or locked. Waiting...'
remote: ++ flock -n /home/dokku/myapp/.build.lock true
remote: ++ echo 0
remote: + [[ 0 -ne 0 ]]
remote: + shift 1
remote: + flock -o /home/dokku/myapp/.build.lock dokku git-build-locked myapp 5e025f8d0d2856a58c740b757ff66d7a831bdbb3
remote: + [[ -f /home/dokku/dokkurc ]]
remote: + [[ -d /home/dokku/.dokkurc ]]
remote: + for f in '$DOKKU_ROOT/.dokkurc/*'
remote: + source /home/dokku/.dokkurc/DOKKU_TRACE
remote: ++ export DOKKU_TRACE=1
remote: ++ DOKKU_TRACE=1
remote: + [[ -n 1 ]]
remote: + set -x
remote: + parse_args git-build-locked myapp 5e025f8d0d2856a58c740b757ff66d7a831bdbb3
remote: + for arg in '"$@"'
remote: + case "$arg" in
remote: + for arg in '"$@"'
remote: + case "$arg" in
remote: + for arg in '"$@"'
remote: + case "$arg" in
remote: + return 0
remote: + for arg in '"$@"'
+ exit_code=0
+ set -e
+ '[' 0 -eq 10 ']'
+ iremote: + for arg in '"$@"'
remote: + [[ myapp =~ ^--.* ]]
remote: + for arg in '"$@"'
remote: + [[ 5e025f8d0d2856a58c740b757ff66d7a831bdbb3 =~ ^--.* ]]
remote: + has_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: + [[ -n '' ]]
remote: + case "$1" in
remote: + implemented=0
remote: + for script in '$PLUGIN_PATH/*/commands'
remote: + set +e
remote: + /var/lib/dokku/plugins/00_dokku-standard/commands git-build-locked myapp 5e025f8d0d2856a58c740b757ff66d7a831bdbb3
remote: ++ dirname /var/lib/dokku/plugins/00_dokku-standard/commands
remote: + source /var/lib/dokku/plugins/00_dokku-standard/../common/functions
remote: ++ set -eo pipefail
remote: ++ [[ -n 1 ]]
remote: ++ set -x
remote: + case "$1" in
remote: + exit 10
remote: + exit_code=10
remote: + set -e
remote: + '[' 10 -eq 10 ']'
remote: + continue
remote: + for script in '$PLUGIN_PATH/*/commands'
remote: + set +e
remote: + /var/lib/dokku/plugins/apps/commands git-build-locked myapp 5e025f8d0d2856a58c740b757ff66d7a831bdbb3
remote: ++ dirname /var/lib/dokku/plugins/apps/commands
remote: + source /var/lib/dokku/plugins/apps/../common/functions
remote: ++ set -eo pipefail
remote: ++ [[ -n 1 ]]
remote: ++ set -x
remote: + case "$1" in
remote: + exit 10
remote: + exit_code=10
remote: + set -e
remote: + '[' 10 -eq 10 ']'
remote: + continue
remote: + for script in '$PLUGIN_PATH/*/commands'
remote: + set +e
remote: + /var/lib/dokku/plugins/backup/commands git-build-locked myapp 5e025f8d0d2856a58c740b757ff66d7a831bdbb3
remote: + CURRENT_BACKUP_VERSION=1
remote: + case "$1" in
remote: + exit 10
remote: + exit_code=10
remote: + set -e
remote: + '[' 10 -eq 10 ']'
remote: + continue
remote: + for script in '$PLUGIN_PATH/*/commands'
remote: + set +e
remote: + /var/lib/dokku/plugins/config/commands git-build-locked myapp 5e025f8d0d2856a58c740b757ff66d7a831bdbb3
remote: ++ dirname /var/lib/dokku/plugins/config/commands
remote: + source /var/lib/dokku/plugins/config/../common/functions
remote: ++ set -eo pipefail
remote: ++ [[ -n 1 ]]
remote: ++ set -x
remote: + ENV_FILE=/home/dokku/myapp/ENV
remote: + ENV_FILE_TEMP=/home/dokku/myapp/ENV.tmp
remote: + case "$1" in
remote: + exit 10
remote: + exit_code=10
remote: + set -e
remote: + '[' 10 -eq 10 ']'
remote: + continue
remote: + for script in '$PLUGIN_PATH/*/commands'
remote: + set +e
remote: + /var/lib/dokku/plugins/domains/commands git-build-locked myapp 5e025f8d0d2856a58c740b757ff66d7a831bdbb3
remote: ++ dirname /var/lib/dokku/plugins/domains/commands
remote: + source /var/lib/dokku/plugins/domains/../common/functions
remote: ++ set -eo pipefail
remote: ++ [[ -n 1 ]]
remote: ++ set -x
remote: + RE_IPV4='([0-9]{1,3}[\.]){3}[0-9]{1,3}'
remote: + RE_IPV6='([0-9a-fA-F]{1,4}:){7,7}[0-9a-fA-F]{1,4}|'
remote: + RE_IPV6='([0-9a-fA-F]{1,4}:){7,7}[0-9a-fA-F]{1,4}|([0-9a-fA-F]{1,4}:){1,7}:|'
remote: + RE_IPV6='([0-9a-fA-F]{1,4}:){7,7}[0-9a-fA-F]{1,4}|([0-9a-fA-F]{1,4}:){1,7}:|([0-9a-fA-F]{1,4}:){1,6}:[0-9a-fA-F]{1,4}|'
remote: + RE_IPV6='([0-9a-fA-F]{1,4}:){7,7}[0-9a-fA-F]{1,4}|([0-9a-fA-F]{1,4}:){1,7}:|([0-9a-fA-F]{1,4}:){1,6}:[0-9a-fA-F]{1,4}|([0-9a-fA-F]{1,4}:){1,5}(:[0-9a-fA-F]{1,4}){1,2}|'
remote: + RE_IPV6='([0-9a-fA-F]{1,4}:){7,7}[0-9a-fA-F]{1,4}|([0-9a-fA-F]{1,4}:){1,7}:|([0-9a-fA-F]{1,4}:){1,6}:[0-9a-fA-F]{1,4}|([0-9a-fA-F]{1,4}:){1,5}(:[0-9a-fA-F]{1,4}){1,2}|([0-9a-fA-F]{1,4}:){1,4}(:[0-9a-fA-F]{1,4}){1,3}|'
remote: + RE_IPV6='([0-9a-fA-F]{1,4}:){7,7}[0-9a-fA-F]{1,4}|([0-9a-fA-F]{1,4}:){1,7}:|([0-9a-fA-F]{1,4}:){1,6}:[0-9a-fA-F]{1,4}|([0-9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-fA-F]{1,4}:){7,7}[0-9a-fA-F]{1,4}|([0-9a-fA-F]{1,4}:){1,7}:|([0-9a-fA-F]{1,4}:){1,6}:[0-9a-fA-F]{1,4}|([0-9a-fA-F]{1,4}:){1,5}(:[0-9a-fA-F]{1,4}){1,2}|([0-9a-fA-F]{1,4}:){1,4}(:[0-9a-fA-F]{1,4}){1,3}|([0-9a-fA-F]{1,4}:){1,3}(:[0-9a-fA-F]{1,4}){1,4}|([0-9a-fA-F]{1,4}:){1,2}(:[0-9a-fA-F]{1,4}){1,5}|[0-9a-fA-F]{1,4}:((:[0-9a-fA-F]{1,4}){1,6})|:((:[0-9a-fA-F]{1,4}){1,7}|:)|fe08:(:[0-9a-fA-F]{1,4}){2,2}%[0-9a-zA-Z]{1,}|::(ffff(:0{1,4}){0,1}:){0,1}([0-9]{1,3}[\.]){3}[0-9]{1,3}|([0-9a-fA-F]{1,4}:){1,4}:([0-9]{1,3}[\.]){3}[0-9]{1,3}'
remote: + case "$1" in
remote: + exit 10
remote: + exit_code=10
remote: + set -e
remote: + '[' 10 -eq 10 ']'
remote: + continue
remote: + for script in '$PLUGIN_PATH/*/commands'
remote: + set +e
remote: + /var/lib/dokku/plugins/git/commands git-build-locked myapp 5e025f8d0d2856a58c740b757ff66d7a831bdbb3
remote: ++ dirname /var/lib/dokku/plugins/git/commands
remote: + source /var/lib/dokku/plugins/git/../common/functions
remote: ++ set -eo pipefail
remote: ++ [[ -n 1 ]]
remote: ++ set -x
remote: + case "$1" in
remote: + APP=myapp
remote: + [[ 3 -ge 3 ]]
remote: + REF=5e025f8d0d2856a58c740b757ff66d7a831bdbb3
remote: + git_build_app_repo myapp 5e025f8d0d2856a58c740b757ff66d7a831bdbb3
remote: + verify_app_name myapp
remote: + local APP=myapp
remote: + [[ ! -d /home/dokku/myapp ]]
remote: + IMAGE=dokku/myapp
remote: + return 0
remote: + APP=myapp
remote: + REV=5e025f8d0d2856a58c740b757ff66d7a831bdbb3
remote: ++ mktemp -d
remote: + TMP_WORK_DIR=/tmp/tmp.fkmoxRiNSw
remote: + trap 'rm -rf "$TMP_WORK_DIR" > /dev/null' RETURN
remote: + chmod 755 /tmp/tmp.fkmoxRiNSw
remote: + unset GIT_DIR GIT_WORK_TREE
remote: + pushd /tmp/tmp.fkmoxRiNSw
remote: + git clone -q /home/dokku/myapp /tmp/tmp.fkmoxRiNSw
remote: + exit_code=128
remote: + set -e
remote: + '[' 128 -eq 10 ']'
remote: + implemented=1
remote: + '[' 128 -ne 0 ']'
remote: + exit 128
remote: + exit_code=128
remote: + set -e
remote: + '[' 128 -eq 10 ']'
remote: + implemented=1
remote: + '[' 128 -ne 0 ']'
remote: + exit 128
remote: + exit_code=128
remote: + set -e
remote: + '[' 128 -eq 10 ']'
remote: + implemented=1
remote: + '[' 128 -ne 0 ']'
remote: + exit 128
To [email protected]:myapp
! [remote rejected] master -> master (pre-receive hook declined)
error: failed to push some refs to '[email protected]:myapp'
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment