Created
May 12, 2020 15:56
-
-
Save pythdasch/096664f838e4bf61a4b603ef63e18801 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
MBP-de-david:admeet-front davidscheck (staging_deploy)$ git push dokku staging_deploy:master | |
Enumerating objects: 7, done. | |
Counting objects: 100% (7/7), done. | |
Delta compression using up to 16 threads | |
Compressing objects: 100% (6/6), done. | |
Writing objects: 100% (6/6), 896 bytes | 896.00 KiB/s, done. | |
Total 6 (delta 3), reused 0 (delta 0) | |
-----> Cleaning up... | |
-----> Building frontend from herokuish... | |
-----> Adding BUILD_ENV to build environment... | |
-----> Warning: Multiple default buildpacks reported the ability to handle this app. The first buildpack in the list below will be used. | |
Detected buildpacks: multi nodejs | |
-----> Multipack app detected | |
=====> Downloading Buildpack: https://github.com/heroku/heroku-buildpack-nodejs.git | |
=====> Detected Framework: Node.js | |
-----> Creating runtime environment | |
NPM_CONFIG_LOGLEVEL=error | |
NODE_PATH=src | |
NODE_ENV=production | |
NODE_MODULES_CACHE=true | |
NODE_VERBOSE=false | |
-----> Installing binaries | |
engines.node (package.json): >= 8.11.3 | |
engines.npm (package.json): >= 5.6.0 | |
engines.yarn (package.json): unspecified (use default) | |
Resolving node version >= 8.11.3... | |
Downloading and installing node 14.2.0... | |
Bootstrapping npm >= 5.6.0 (replacing 6.14.4)... | |
npm >= 5.6.0 installed | |
Resolving yarn version 1.x... | |
Downloading and installing yarn (1.22.4)... | |
Installed yarn 1.22.4 | |
-----> Restoring cache | |
- yarn cache | |
-----> Installing dependencies | |
Installing node modules (yarn.lock) | |
yarn install v1.22.4 | |
[1/4] Resolving packages... | |
[2/4] Fetching packages... | |
info [email protected]: The platform "linux" is incompatible with this module. | |
info "[email protected]" is an optional dependency and failed compatibility check. Excluding it from installation. | |
info [email protected]: The platform "linux" is incompatible with this module. | |
info "[email protected]" is an optional dependency and failed compatibility check. Excluding it from installation. | |
[3/4] Linking dependencies... | |
warning " > [email protected]" has unmet peer dependency "jquery@>=2.2.0". | |
warning " > [email protected]" has unmet peer dependency "what-input@>=4.1.0". | |
warning "graphql.macro > [email protected]" has unmet peer dependency "@babel/core@^7.1.2". | |
warning "react-pdf > [email protected]" has unmet peer dependency "webpack@^3.0.0 || ^4.0.0-alpha.0 || ^4.0.0". | |
warning "react-pdf > pdfjs-dist > [email protected]" has unmet peer dependency "webpack@^3.0.0 || ^4.0.0-alpha.0 || ^4.0.0". | |
[4/4] Building fresh packages... | |
Done in 132.12s. | |
-----> Build | |
-----> Pruning devDependencies | |
yarn install v1.22.4 | |
[1/4] Resolving packages... | |
[2/4] Fetching packages... | |
info [email protected]: The platform "linux" is incompatible with this module. | |
info "[email protected]" is an optional dependency and failed compatibility check. Excluding it from installation. | |
info [email protected]: The platform "linux" is incompatible with this module. | |
info "[email protected]" is an optional dependency and failed compatibility check. Excluding it from installation. | |
[3/4] Linking dependencies... | |
warning " > [email protected]" has unmet peer dependency "jquery@>=2.2.0". | |
warning " > [email protected]" has unmet peer dependency "what-input@>=4.1.0". | |
warning "graphql.macro > [email protected]" has unmet peer dependency "@babel/core@^7.1.2". | |
warning "react-pdf > [email protected]" has unmet peer dependency "webpack@^3.0.0 || ^4.0.0-alpha.0 || ^4.0.0". | |
warning "react-pdf > pdfjs-dist > [email protected]" has unmet peer dependency "webpack@^3.0.0 || ^4.0.0-alpha.0 || ^4.0.0". | |
[4/4] Building fresh packages... | |
warning Ignored scripts due to flag. | |
Done in 6.33s. | |
-----> Caching build | |
- yarn cache | |
-----> Build succeeded! | |
! Unmet dependencies don't fail yarn install but may cause runtime issues | |
https://github.com/npm/npm/issues/7494 | |
=====> Downloading Buildpack: https://github.com/heroku/heroku-buildpack-static.git | |
=====> Detected Framework: Static HTML | |
remote: % Total % Received % Xferd Average Speed Time Time Time Current | |
remote: Dload Upload Total Spent Left Speed | |
remote: 100 838k 100 838k 0 0 1131k 0 --:--:-- --:--:-- --:--:-- 1131k | |
-----> Installed directory to /app/bin | |
Using release configuration from last framework (Static HTML). | |
-----> Discovering process types | |
Default types for -> web | |
-----> Releasing frontend (dokku/frontend:latest)... | |
-----> Deploying frontend (dokku/frontend:latest)... | |
-----> App Procfile file found (/home/dokku/frontend/DOKKU_PROCFILE) | |
DOKKU_SCALE declares scale -> web=1 | |
=====> Processing deployment checks | |
No CHECKS file found. Simple container checks will be performed. | |
For more efficient zero downtime deployments, create a CHECKS file. See http://dokku.viewdocs.io/dokku/deployment/zero-downtime-deploys/ for examples | |
-----> Attempting pre-flight checks (web.1) | |
Waiting for 10 seconds ... | |
Default container check successful! | |
-----> Running post-deploy | |
-----> Overriding default nginx.conf with detected nginx.conf.sigil | |
-----> Configuring staging.admet.eu...(using app-supplied template) | |
-----> Creating http nginx.conf | |
Reloading nginx | |
remote: ! No nginx config found for admeet-back | |
remote: ! Failed to validate nginx config for frontend. Contents below... | |
server { | |
listen [::]:; | |
listen ; | |
server_name staging.admet.eu; | |
access_log /var/log/nginx/frontend-access.log; | |
error_log /var/log/nginx/frontend-error.log; | |
location / { | |
proxy_pass http://staging.admet.eu; | |
proxy_http_version 1.1; | |
proxy_set_header Upgrade $http_upgrade; | |
proxy_set_header Connection $http_connection; | |
proxy_set_header Host $http_host; | |
proxy_set_header X-Forwarded-Proto $http_x_forwarded_proto; | |
proxy_set_header X-Forwarded-For $http_x_forwarded_for; | |
proxy_set_header X-Forwarded-Port $http_x_forwarded_port; | |
proxy_set_header X-Request-Start $msec; | |
} | |
include /home/dokku/frontend/nginx.conf.d/*.conf; | |
} | |
upstream frontend { | |
server 172.17.0.7:5000; | |
} | |
remote: nginx: [emerg] invalid port in "[::]:" of the "listen" directive in /home/dokku/frontend/nginx.conf:2 | |
remote: nginx: configuration file /etc/nginx/nginx.conf test failed | |
To dokku.aws.me:frontend | |
--------------------- TRACE:ON-------------------- | |
+ export DOKKU_HOST_ROOT=/home/dokku | |
+ DOKKU_HOST_ROOT=/home/dokku | |
+ export DOKKU_DISTRO | |
++ . /etc/os-release | |
++ echo ubuntu | |
+ DOKKU_DISTRO=ubuntu | |
+ export DOCKER_BIN=docker | |
+ DOCKER_BIN=docker | |
+ export DOKKU_IMAGE=gliderlabs/herokuish:latest | |
+ DOKKU_IMAGE=gliderlabs/herokuish:latest | |
+ 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_SYSTEM_GROUP=dokku | |
+ DOKKU_SYSTEM_GROUP=dokku | |
+ export DOKKU_SYSTEM_USER=dokku | |
+ DOKKU_SYSTEM_USER=dokku | |
+ 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_PID=5093 | |
+ DOKKU_PID=5093 | |
+ 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_BUILD_ARGS=--label=org.label-schema.schema-version=1.0 --label=org.label-schema.vendor=dokku --label=dokku' | |
+ DOKKU_GLOBAL_BUILD_ARGS='--label=org.label-schema.schema-version=1.0 --label=org.label-schema.vendor=dokku --label=dokku' | |
+ export 'DOKKU_GLOBAL_RUN_ARGS=--label=org.label-schema.schema-version=1.0 --label=org.label-schema.vendor=dokku --label=dokku' | |
+ DOKKU_GLOBAL_RUN_ARGS='--label=org.label-schema.schema-version=1.0 --label=org.label-schema.vendor=dokku --label=dokku' | |
+ source /var/lib/dokku/core-plugins/available/common/functions | |
++ set -eo pipefail | |
++ [[ -n 1 ]] | |
++ set -x | |
+ parse_args git-receive-pack ''\''frontend'\''' | |
+ declare 'desc=top-level cli arg parser' | |
+ local next_index=1 | |
+ local skip=false | |
+ args=("$@") | |
+ local args | |
+ local flags | |
+ for arg in '"$@"' | |
+ [[ false == \t\r\u\e ]] | |
+ case "$arg" in | |
+ [[ false == \t\r\u\e ]] | |
+ [[ git-receive-pack == \-\-\a\p\p ]] | |
+ [[ git-receive-pack =~ ^--.* ]] | |
+ next_index=2 | |
+ for arg in '"$@"' | |
+ [[ false == \t\r\u\e ]] | |
+ case "$arg" in | |
+ [[ false == \t\r\u\e ]] | |
+ [[ 'frontend' == \-\-\a\p\p ]] | |
+ [[ 'frontend' =~ ^--.* ]] | |
+ next_index=3 | |
+ [[ -z '' ]] | |
++ echo -e '' | |
++ sed -e 's/^[[:space:]]*//' -e 's/[[:space:]]*$//' | |
+ export DOKKU_GLOBAL_FLAGS= | |
+ DOKKU_GLOBAL_FLAGS= | |
+ return 0 | |
+ args=("$@") | |
+ skip_arg=false | |
+ [[ git-receive-pack =~ ^--.* ]] | |
+ has_tty | |
+ declare 'desc=return 0 if we have a tty' | |
++ LC_ALL=C | |
++ /usr/bin/tty | |
++ true | |
+ [[ not a tty == \n\o\t\ \a\ \t\t\y ]] | |
+ return 1 | |
+ DOKKU_QUIET_OUTPUT=1 | |
++ id -un | |
+ [[ dokku != \d\o\k\k\u ]] | |
+ [[ git-receive-pack =~ ^plugin:.* ]] | |
+ [[ git-receive-pack == \s\s\h\-\k\e\y\s\:\a\d\d ]] | |
+ [[ git-receive-pack == \s\s\h\-\k\e\y\s\:\r\e\m\o\v\e ]] | |
+ [[ -n git-receive-pack 'frontend' ]] | |
+ export -n SSH_ORIGINAL_COMMAND | |
+ [[ git-receive-pack =~ config-* ]] | |
+ [[ git-receive-pack =~ docker-options* ]] | |
+ set -f | |
+ /usr/bin/dokku git-receive-pack ''\''frontend'\''' | |
+ export DOKKU_HOST_ROOT=/home/dokku | |
+ DOKKU_HOST_ROOT=/home/dokku | |
+ export DOKKU_DISTRO | |
++ . /etc/os-release | |
++ echo ubuntu | |
+ DOKKU_DISTRO=ubuntu | |
+ export DOCKER_BIN=docker | |
+ DOCKER_BIN=docker | |
+ export DOKKU_IMAGE=gliderlabs/herokuish:latest | |
+ DOKKU_IMAGE=gliderlabs/herokuish:latest | |
+ 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_SYSTEM_GROUP=dokku | |
+ DOKKU_SYSTEM_GROUP=dokku | |
+ export DOKKU_SYSTEM_USER=dokku | |
+ DOKKU_SYSTEM_USER=dokku | |
+ 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_PID=5103 | |
+ DOKKU_PID=5103 | |
+ 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_BUILD_ARGS=--label=org.label-schema.schema-version=1.0 --label=org.label-schema.vendor=dokku --label=dokku' | |
+ DOKKU_GLOBAL_BUILD_ARGS='--label=org.label-schema.schema-version=1.0 --label=org.label-schema.vendor=dokku --label=dokku' | |
+ export 'DOKKU_GLOBAL_RUN_ARGS=--label=org.label-schema.schema-version=1.0 --label=org.label-schema.vendor=dokku --label=dokku' | |
+ DOKKU_GLOBAL_RUN_ARGS='--label=org.label-schema.schema-version=1.0 --label=org.label-schema.vendor=dokku --label=dokku' | |
+ source /var/lib/dokku/core-plugins/available/common/functions | |
++ set -eo pipefail | |
++ [[ -n 1 ]] | |
++ set -x | |
+ parse_args git-receive-pack ''\''frontend'\''' | |
+ declare 'desc=top-level cli arg parser' | |
+ local next_index=1 | |
+ local skip=false | |
+ args=("$@") | |
+ local args | |
+ local flags | |
+ for arg in '"$@"' | |
+ [[ false == \t\r\u\e ]] | |
+ case "$arg" in | |
+ [[ false == \t\r\u\e ]] | |
+ [[ git-receive-pack == \-\-\a\p\p ]] | |
+ [[ git-receive-pack =~ ^--.* ]] | |
+ next_index=2 | |
+ for arg in '"$@"' | |
+ [[ false == \t\r\u\e ]] | |
+ case "$arg" in | |
+ [[ false == \t\r\u\e ]] | |
+ [[ 'frontend' == \-\-\a\p\p ]] | |
+ [[ 'frontend' =~ ^--.* ]] | |
+ next_index=3 | |
+ [[ -z '' ]] | |
++ echo -e '' | |
++ sed -e 's/^[[:space:]]*//' -e 's/[[:space:]]*$//' | |
+ export DOKKU_GLOBAL_FLAGS= | |
+ DOKKU_GLOBAL_FLAGS= | |
+ return 0 | |
+ args=("$@") | |
+ skip_arg=false | |
+ [[ git-receive-pack =~ ^--.* ]] | |
+ has_tty | |
+ declare 'desc=return 0 if we have a tty' | |
++ LC_ALL=C | |
++ /usr/bin/tty | |
++ true | |
+ [[ not a tty == \n\o\t\ \a\ \t\t\y ]] | |
+ return 1 | |
+ DOKKU_QUIET_OUTPUT=1 | |
++ id -un | |
+ [[ dokku != \d\o\k\k\u ]] | |
+ [[ git-receive-pack =~ ^plugin:.* ]] | |
+ [[ git-receive-pack == \s\s\h\-\k\e\y\s\:\a\d\d ]] | |
+ [[ git-receive-pack == \s\s\h\-\k\e\y\s\:\r\e\m\o\v\e ]] | |
+ [[ -n '' ]] | |
+ dokku_auth git-receive-pack ''\''frontend'\''' | |
+ declare 'desc=calls user-auth plugin trigger' | |
+ export SSH_USER=dokku | |
+ SSH_USER=dokku | |
+ export SSH_NAME=dokku | |
+ SSH_NAME=dokku | |
++ wc -l | |
++ find /var/lib/dokku/plugins/enabled/20_events/user-auth | |
+ [[ 1 == 1 ]] | |
+ return 0 | |
+ case "$1" in | |
+ execute_dokku_cmd git-receive-pack ''\''frontend'\''' | |
+ 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 ''\''frontend'\''' | |
+ 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 ''\''frontend'\''' | |
+ 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 ''\''frontend'\''' | |
+ exit_code=10 | |
+ set -e | |
+ [[ 10 -eq 10 ]] | |
+ continue | |
+ for script in '$PLUGIN_ENABLED_PATH/*/commands' | |
+ set +e | |
+ /var/lib/dokku/plugins/enabled/buildpacks/commands git-receive-pack ''\''frontend'\''' | |
+ 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 ''\''frontend'\''' | |
+ 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 ''\''frontend'\''' | |
+ 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 ''\''frontend'\''' | |
+ 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 ''\''frontend'\''' | |
+ 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 ''\''frontend'\''' | |
+ 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 ''\''frontend'\''' | |
+ 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 ''\''frontend'\''' | |
+ source /var/lib/dokku/plugins/available/git/functions | |
++ source /var/lib/dokku/core-plugins/available/common/functions | |
+++ set -eo pipefail | |
+++ [[ -n 1 ]] | |
+++ set -x | |
++ source /var/lib/dokku/core-plugins/available/common/property-functions | |
+++ set -eo pipefail | |
+++ [[ -n 1 ]] | |
+++ set -x | |
++ source /var/lib/dokku/plugins/available/apps/functions | |
+++ set -eo pipefail | |
+++ [[ -n 1 ]] | |
+++ set -x | |
+++ source /var/lib/dokku/core-plugins/available/common/functions | |
++++ set -eo pipefail | |
++++ [[ -n 1 ]] | |
++++ set -x | |
+++ source /var/lib/dokku/plugins/available/config/functions | |
++++ set -eo pipefail | |
++++ [[ -n 1 ]] | |
++++ set -x | |
++++ source /var/lib/dokku/core-plugins/available/common/functions | |
+++++ set -eo pipefail | |
+++++ [[ -n 1 ]] | |
+++++ set -x | |
++ source /var/lib/dokku/plugins/available/config/functions | |
+++ set -eo pipefail | |
+++ [[ -n 1 ]] | |
+++ set -x | |
+++ source /var/lib/dokku/core-plugins/available/common/functions | |
++++ set -eo pipefail | |
++++ [[ -n 1 ]] | |
++++ set -x | |
++ set -eo pipefail | |
++ [[ -n 1 ]] | |
++ set -x | |
+ source /var/lib/dokku/plugins/available/git/internal-functions | |
++ source /var/lib/dokku/core-plugins/available/common/functions | |
+++ set -eo pipefail | |
+++ [[ -n 1 ]] | |
+++ set -x | |
++ source /var/lib/dokku/core-plugins/available/common/property-functions | |
+++ set -eo pipefail | |
+++ [[ -n 1 ]] | |
+++ set -x | |
++ set -eo pipefail | |
++ [[ -n 1 ]] | |
++ set -x | |
+ source /var/lib/dokku/plugins/available/git/help-functions | |
++ set -eo pipefail | |
++ [[ -n 1 ]] | |
++ set -x | |
+ case "$1" in | |
+ cmd-git-glob git-receive-pack ''\''frontend'\''' | |
+ declare 'desc=catch-all for any other git-* commands' | |
+ declare 'cmd=git-*' | |
++ echo ''\''frontend'\''' | |
++ sed 's/^\///g' | |
++ sed 's/\\'\''/'\''/g' | |
++ perl -pe 's/(?<!\\)'\''//g' | |
+ local APP=frontend | |
+ local APP_PATH=/home/dokku/frontend | |
+ is_valid_app_name frontend | |
+ declare 'desc=verify app name format' | |
+ local APP=frontend | |
+ [[ -z frontend ]] | |
+ [[ frontend =~ ^[a-z].* ]] | |
+ [[ ! frontend =~ [A-Z] ]] | |
+ [[ ! frontend =~ [:] ]] | |
+ return 0 | |
+ [[ git-receive-pack == \g\i\t\-\r\e\c\e\i\v\e\-\p\a\c\k ]] | |
+ [[ ! -d /home/dokku/frontend/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/frontend'\''' | |
+ git-shell -c 'git-receive-pack '\''/home/dokku/frontend'\''' | |
Enumerating objects: 7, done. | |
Counting objects: 100% (7/7), done. | |
Delta compression using up to 16 threads | |
Compressing objects: 100% (6/6), done. | |
Writing objects: 100% (6/6), 896 bytes | 896.00 KiB/s, done. | |
Total 6 (delta 3), reused 0 (delta 0) | |
remote: + export DOKKU_HOST_ROOT=/home/dokku | |
remote: + DOKKU_HOST_ROOT=/home/dokku | |
remote: + export DOKKU_DISTRO | |
remote: ++ . /etc/os-release | |
remote: ++ echo ubuntu | |
remote: + DOKKU_DISTRO=ubuntu | |
remote: + export DOCKER_BIN=docker | |
remote: + DOCKER_BIN=docker | |
remote: + export DOKKU_IMAGE=gliderlabs/herokuish:latest | |
remote: + DOKKU_IMAGE=gliderlabs/herokuish:latest | |
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_SYSTEM_GROUP=dokku | |
remote: + DOKKU_SYSTEM_GROUP=dokku | |
remote: + export DOKKU_SYSTEM_USER=dokku | |
remote: + DOKKU_SYSTEM_USER=dokku | |
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_PID=5150 | |
remote: + DOKKU_PID=5150 | |
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_BUILD_ARGS=--label=org.label-schema.schema-version=1.0 --label=org.label-schema.vendor=dokku --label=dokku' | |
remote: + DOKKU_GLOBAL_BUILD_ARGS='--label=org.label-schema.schema-version=1.0 --label=org.label-schema.vendor=dokku --label=dokku' | |
remote: + export 'DOKKU_GLOBAL_RUN_ARGS=--label=org.label-schema.schema-version=1.0 --label=org.label-schema.vendor=dokku --label=dokku' | |
remote: + DOKKU_GLOBAL_RUN_ARGS='--label=org.label-schema.schema-version=1.0 --label=org.label-schema.vendor=dokku --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 frontend | |
remote: + declare 'desc=top-level cli arg parser' | |
remote: + local next_index=1 | |
remote: + local skip=false | |
remote: + args=("$@") | |
remote: + local args | |
remote: + local flags | |
remote: + for arg in '"$@"' | |
remote: + [[ false == \t\r\u\e ]] | |
remote: + case "$arg" in | |
remote: + [[ false == \t\r\u\e ]] | |
remote: + [[ git-hook == \-\-\a\p\p ]] | |
remote: + [[ git-hook =~ ^--.* ]] | |
remote: + next_index=2 | |
remote: + for arg in '"$@"' | |
remote: + [[ false == \t\r\u\e ]] | |
remote: + case "$arg" in | |
remote: + [[ false == \t\r\u\e ]] | |
remote: + [[ frontend == \-\-\a\p\p ]] | |
remote: + [[ frontend =~ ^--.* ]] | |
remote: + next_index=3 | |
remote: + [[ -z '' ]] | |
remote: ++ echo -e '' | |
remote: ++ sed -e 's/^[[:space:]]*//' -e 's/[[:space:]]*$//' | |
remote: + export DOKKU_GLOBAL_FLAGS= | |
remote: + DOKKU_GLOBAL_FLAGS= | |
remote: + return 0 | |
remote: + args=("$@") | |
remote: + skip_arg=false | |
remote: + [[ git-hook =~ ^--.* ]] | |
remote: + has_tty | |
remote: + declare 'desc=return 0 if we have a tty' | |
remote: ++ LC_ALL=C | |
remote: ++ /usr/bin/tty | |
remote: ++ true | |
remote: + [[ not a tty == \n\o\t\ \a\ \t\t\y ]] | |
remote: + return 1 | |
remote: + DOKKU_QUIET_OUTPUT=1 | |
remote: ++ id -un | |
remote: + [[ dokku != \d\o\k\k\u ]] | |
remote: + [[ git-hook =~ ^plugin:.* ]] | |
remote: + [[ git-hook == \s\s\h\-\k\e\y\s\:\a\d\d ]] | |
remote: + [[ git-hook == \s\s\h\-\k\e\y\s\:\r\e\m\o\v\e ]] | |
remote: + [[ -n '' ]] | |
remote: + dokku_auth git-hook frontend | |
remote: + declare 'desc=calls user-auth plugin trigger' | |
remote: + export SSH_USER=dokku | |
remote: + SSH_USER=dokku | |
remote: + export SSH_NAME=dokku | |
remote: + SSH_NAME=dokku | |
remote: ++ wc -l | |
remote: ++ find /var/lib/dokku/plugins/enabled/20_events/user-auth | |
remote: + [[ 1 == 1 ]] | |
remote: + return 0 | |
remote: + case "$1" in | |
remote: + execute_dokku_cmd git-hook frontend | |
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 frontend | |
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 frontend | |
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 frontend | |
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/buildpacks/commands git-hook frontend | |
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 frontend | |
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 frontend | |
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 frontend | |
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 frontend | |
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 frontend | |
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 frontend | |
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 frontend | |
remote: + source /var/lib/dokku/plugins/available/git/functions | |
remote: ++ source /var/lib/dokku/core-plugins/available/common/functions | |
remote: +++ set -eo pipefail | |
remote: +++ [[ -n 1 ]] | |
remote: +++ set -x | |
remote: ++ source /var/lib/dokku/core-plugins/available/common/property-functions | |
remote: +++ set -eo pipefail | |
remote: +++ [[ -n 1 ]] | |
remote: +++ set -x | |
remote: ++ source /var/lib/dokku/plugins/available/apps/functions | |
remote: +++ set -eo pipefail | |
remote: +++ [[ -n 1 ]] | |
remote: +++ set -x | |
remote: +++ source /var/lib/dokku/core-plugins/available/common/functions | |
remote: ++++ set -eo pipefail | |
remote: ++++ [[ -n 1 ]] | |
remote: ++++ set -x | |
remote: +++ source /var/lib/dokku/plugins/available/config/functions | |
remote: ++++ set -eo pipefail | |
remote: ++++ [[ -n 1 ]] | |
remote: ++++ set -x | |
remote: ++++ source /var/lib/dokku/core-plugins/available/common/functions | |
remote: +++++ set -eo pipefail | |
remote: +++++ [[ -n 1 ]] | |
remote: +++++ set -x | |
remote: ++ source /var/lib/dokku/plugins/available/config/functions | |
remote: +++ set -eo pipefail | |
remote: +++ [[ -n 1 ]] | |
remote: +++ set -x | |
remote: +++ source /var/lib/dokku/core-plugins/available/common/functions | |
remote: ++++ set -eo pipefail | |
remote: ++++ [[ -n 1 ]] | |
remote: ++++ set -x | |
remote: ++ set -eo pipefail | |
remote: ++ [[ -n 1 ]] | |
remote: ++ set -x | |
remote: + source /var/lib/dokku/plugins/available/git/internal-functions | |
remote: ++ source /var/lib/dokku/core-plugins/available/common/functions | |
remote: +++ set -eo pipefail | |
remote: +++ [[ -n 1 ]] | |
remote: +++ set -x | |
remote: ++ source /var/lib/dokku/core-plugins/available/common/property-functions | |
remote: +++ set -eo pipefail | |
remote: +++ [[ -n 1 ]] | |
remote: +++ set -x | |
remote: ++ set -eo pipefail | |
remote: ++ [[ -n 1 ]] | |
remote: ++ set -x | |
remote: + source /var/lib/dokku/plugins/available/git/help-functions | |
remote: ++ set -eo pipefail | |
remote: ++ [[ -n 1 ]] | |
remote: ++ set -x | |
remote: + case "$1" in | |
remote: + cmd-git-hook git-hook frontend | |
remote: + declare 'desc=kick off receive-app trigger from git prereceive hook' | |
remote: + declare cmd=git-hook | |
remote: + [[ git-hook == \g\i\t\-\h\o\o\k ]] | |
remote: + shift 1 | |
remote: + declare APP=frontend | |
remote: + local DOKKU_DEPLOY_BRANCH | |
remote: + is_valid_app_name frontend | |
remote: + declare 'desc=verify app name format' | |
remote: + local APP=frontend | |
remote: + [[ -z frontend ]] | |
remote: + [[ frontend =~ ^[a-z].* ]] | |
remote: + [[ ! frontend =~ [A-Z] ]] | |
remote: + [[ ! frontend =~ [:] ]] | |
remote: + return 0 | |
remote: ++ git_deploy_branch frontend | |
remote: ++ declare 'desc=retrieve the deploy branch for a given application' | |
remote: ++ declare cmd=git-hook | |
remote: ++ local APP=frontend | |
remote: +++ fn-plugin-property-get git frontend deploy-branch '' | |
remote: +++ declare 'desc=returns the value for a given property' | |
remote: +++ declare PLUGIN=git APP=frontend KEY=deploy-branch DEFAULT= | |
remote: +++ fn-plugin-property-get-default git frontend deploy-branch '' | |
remote: +++ declare 'desc=returns the value for a given property with a specified default value' | |
remote: +++ declare PLUGIN=git APP=frontend KEY=deploy-branch DEFAULT= | |
remote: +++ /var/lib/dokku/core-plugins/available/common/prop get-with-default git frontend deploy-branch '' | |
remote: ++ local DOKKU_DEPLOY_BRANCH= | |
remote: +++ fn-plugin-property-get git --global deploy-branch '' | |
remote: +++ declare 'desc=returns the value for a given property' | |
remote: +++ declare PLUGIN=git APP=--global KEY=deploy-branch DEFAULT= | |
remote: +++ fn-plugin-property-get-default git --global deploy-branch '' | |
remote: +++ declare 'desc=returns the value for a given property with a specified default value' | |
remote: +++ declare PLUGIN=git APP=--global KEY=deploy-branch DEFAULT= | |
remote: +++ /var/lib/dokku/core-plugins/available/common/prop get-with-default git --global deploy-branch '' | |
remote: ++ local DOKKU_GLOBAL_DEPLOY_BRANCH= | |
remote: ++ [[ -n '' ]] | |
remote: ++ [[ -n '' ]] | |
remote: ++ echo master | |
remote: + DOKKU_DEPLOY_BRANCH=master | |
remote: + git check-ref-format --branch master | |
remote: + local oldrev newrev refname | |
remote: + read -r oldrev newrev refname | |
remote: + [[ refs/heads/master == \r\e\f\s\/\h\e\a\d\s\/\m\a\s\t\e\r ]] | |
remote: + git_receive_app frontend 6fa53725ac224b1637fb830ecca258d89a7c4db1 | |
remote: + declare 'desc=git receive-app plugin trigger' | |
remote: + declare APP=frontend REV=6fa53725ac224b1637fb830ecca258d89a7c4db1 | |
remote: + [[ ! -d /home/dokku/frontend/refs ]] | |
remote: + acquire_app_deploy_lock frontend exclusive | |
remote: + declare 'desc=acquire advisory lock for use in git/tar deploys' | |
remote: + local APP=frontend | |
remote: + verify_app_name frontend | |
remote: + declare 'desc=verify app name format and app existence' | |
remote: + local APP=frontend | |
remote: + is_valid_app_name frontend | |
remote: + declare 'desc=verify app name format' | |
remote: + local APP=frontend | |
remote: + [[ -z frontend ]] | |
remote: + [[ frontend =~ ^[a-z].* ]] | |
remote: + [[ ! frontend =~ [A-Z] ]] | |
remote: + [[ ! frontend =~ [:] ]] | |
remote: + return 0 | |
remote: + [[ ! -d /home/dokku/frontend ]] | |
remote: + return 0 | |
remote: + local LOCK_TYPE=exclusive | |
remote: + local APP_DEPLOY_LOCK_FILE=/home/dokku/frontend/.deploy.lock | |
remote: + local 'LOCK_WAITING_MSG=frontend currently has a deploy lock in place. Waiting...' | |
remote: + local 'LOCK_FAILED_MSG=frontend currently has a deploy lock in place. Exiting...' | |
remote: + acquire_advisory_lock /home/dokku/frontend/.deploy.lock exclusive 'frontend currently has a deploy lock in place. Waiting...' 'frontend currently has a deploy lock in place. Exiting...' | |
remote: + declare 'desc=acquire advisory lock' | |
remote: + local LOCK_FILE=/home/dokku/frontend/.deploy.lock LOCK_TYPE=exclusive 'LOCK_WAITING_MSG=frontend currently has a deploy lock in place. Waiting...' 'LOCK_FAILED_MSG=frontend currently has a deploy lock in place. Exiting...' | |
remote: + local LOCK_FD=200 | |
remote: + local SHOW_MSG=true | |
remote: + eval 'exec 200>/home/dokku/frontend/.deploy.lock' | |
remote: ++ exec | |
remote: + [[ exclusive == \w\a\i\t\i\n\g ]] | |
remote: + flock -n 200 | |
remote: + git_build frontend 6fa53725ac224b1637fb830ecca258d89a7c4db1 | |
remote: + declare 'desc=setup and call git_build_app_repo' | |
remote: + local APP=frontend REV=6fa53725ac224b1637fb830ecca258d89a7c4db1 | |
remote: + local DOKKU_DEPLOY_BRANCH ENV_VAR_NAME REF | |
remote: + [[ 2 -ge 2 ]] | |
remote: ++ fn-plugin-property-get git frontend rev-env-var | |
remote: ++ declare 'desc=returns the value for a given property' | |
remote: ++ declare PLUGIN=git APP=frontend KEY=rev-env-var DEFAULT= | |
remote: ++ fn-plugin-property-get-default git frontend rev-env-var '' | |
remote: ++ declare 'desc=returns the value for a given property with a specified default value' | |
remote: ++ declare PLUGIN=git APP=frontend KEY=rev-env-var DEFAULT= | |
remote: ++ /var/lib/dokku/core-plugins/available/common/prop get-with-default git frontend rev-env-var '' | |
remote: + ENV_VAR_NAME= | |
remote: + [[ -z '' ]] | |
remote: + fn-plugin-property-exists git frontend rev-env-var | |
remote: + declare 'desc=returns whether the property store has a value for an app' | |
remote: + declare PLUGIN=git APP=frontend KEY=rev-env-var | |
remote: + /var/lib/dokku/core-plugins/available/common/prop exists git frontend rev-env-var | |
remote: + ENV_VAR_NAME=GIT_REV | |
remote: + [[ -n GIT_REV ]] | |
remote: + DOKKU_QUIET_OUTPUT=1 | |
remote: + config_set --no-restart frontend GIT_REV=6fa53725ac224b1637fb830ecca258d89a7c4db1 | |
remote: + declare 'desc=set value of given config var' | |
remote: + config_sub set --no-restart frontend GIT_REV=6fa53725ac224b1637fb830ecca258d89a7c4db1 | |
remote: + declare 'desc=executes a config subcommand' | |
remote: + local name=set | |
remote: + shift | |
remote: + /var/lib/dokku/plugins/available/config/subcommands/set config:set --no-restart frontend GIT_REV=6fa53725ac224b1637fb830ecca258d89a7c4db1 | |
remote: + source /var/lib/dokku/core-plugins/available/common/functions | |
remote: ++ set -eo pipefail | |
remote: ++ [[ -n 1 ]] | |
remote: ++ set -x | |
remote: + [[ ! -n '' ]] | |
remote: + local REF=6fa53725ac224b1637fb830ecca258d89a7c4db1 | |
remote: + git_build_app_repo frontend 6fa53725ac224b1637fb830ecca258d89a7c4db1 | |
remote: + declare 'desc=builds local git app repo for app' | |
remote: + declare APP=frontend REV=6fa53725ac224b1637fb830ecca258d89a7c4db1 | |
remote: + local DOKKU_GLOBAL_DISABLE_AUTOCREATE | |
remote: + verify_app_name frontend | |
remote: + declare 'desc=verify app name format and app existence' | |
remote: + local APP=frontend | |
remote: + is_valid_app_name frontend | |
remote: + declare 'desc=verify app name format' | |
remote: + local APP=frontend | |
remote: + [[ -z frontend ]] | |
remote: + [[ frontend =~ ^[a-z].* ]] | |
remote: + [[ ! frontend =~ [A-Z] ]] | |
remote: + [[ ! frontend =~ [:] ]] | |
remote: + return 0 | |
remote: + [[ ! -d /home/dokku/frontend ]] | |
remote: + return 0 | |
remote: ++ mktemp -d /tmp/dokku-5150-git_build_app_repo.XXXXXX | |
remote: + local GIT_BUILD_APP_REPO_TMP_WORK_DIR=/tmp/dokku-5150-git_build_app_repo.bIseoO | |
remote: + trap 'rm -rf '\''/tmp/dokku-5150-git_build_app_repo.bIseoO'\'' >/dev/null' RETURN INT TERM EXIT | |
remote: + local TMP_TAG=dokku/6fa53725ac224b1637fb830ecca258d89a7c4db1 | |
remote: + chmod 755 /tmp/dokku-5150-git_build_app_repo.bIseoO | |
remote: + unset GIT_DIR GIT_WORK_TREE | |
remote: + plugn trigger app-exists frontend | |
remote: + use_git_worktree | |
remote: + declare 'desc=detects whether to use git worktree' | |
remote: + local GIT_VERSION MAJOR_VERSION MINOR_VERSION | |
remote: ++ git --version | |
remote: ++ awk '{split($0,a," "); print a[3]}' | |
remote: + GIT_VERSION=2.7.4 | |
remote: ++ echo 2.7.4 | |
remote: ++ awk '{split($0,a,"."); print a[1]}' | |
remote: + MAJOR_VERSION=2 | |
remote: ++ echo 2.7.4 | |
remote: ++ awk '{split($0,a,"."); print a[2]}' | |
remote: + MINOR_VERSION=7 | |
remote: + [[ 2 -ge 3 ]] | |
remote: + [[ 2 -eq 2 ]] | |
remote: + [[ 7 -ge 11 ]] | |
remote: + return 1 | |
remote: + pushd /tmp/dokku-5150-git_build_app_repo.bIseoO | |
remote: + GIT_DIR=/home/dokku/frontend | |
remote: + git tag -d dokku/6fa53725ac224b1637fb830ecca258d89a7c4db1 | |
remote: + true | |
remote: + GIT_DIR=/home/dokku/frontend | |
remote: + git tag dokku/6fa53725ac224b1637fb830ecca258d89a7c4db1 6fa53725ac224b1637fb830ecca258d89a7c4db1 | |
remote: + git init | |
remote: + git config advice.detachedHead false | |
remote: + git remote add origin /home/dokku/frontend | |
remote: + git fetch --depth=1 origin refs/tags/dokku/6fa53725ac224b1637fb830ecca258d89a7c4db1 | |
remote: + git reset --hard FETCH_HEAD | |
remote: + GIT_DIR=/home/dokku/frontend | |
remote: + git tag -d dokku/6fa53725ac224b1637fb830ecca258d89a7c4db1 | |
remote: + suppress_output env -u GIT_QUARANTINE_PATH git submodule update --init --recursive | |
remote: + declare 'desc=suppress all output from a given command unless there is an error' | |
remote: + local TMP_COMMAND_OUTPUT | |
remote: ++ mktemp /tmp/dokku-5150-suppress_output.XXXXXX | |
remote: + TMP_COMMAND_OUTPUT=/tmp/dokku-5150-suppress_output.1jyMgM | |
remote: + trap 'rm -rf '\''/tmp/dokku-5150-suppress_output.1jyMgM'\'' >/dev/null' RETURN | |
remote: + env -u GIT_QUARANTINE_PATH git submodule update --init --recursive | |
remote: + return 0 | |
remote: ++ rm -rf /tmp/dokku-5150-suppress_output.1jyMgM | |
remote: ++ fn-plugin-property-get git frontend keep-git-dir '' | |
remote: ++ declare 'desc=returns the value for a given property' | |
remote: ++ declare PLUGIN=git APP=frontend KEY=keep-git-dir DEFAULT= | |
remote: ++ fn-plugin-property-get-default git frontend keep-git-dir '' | |
remote: ++ declare 'desc=returns the value for a given property with a specified default value' | |
remote: ++ declare PLUGIN=git APP=frontend KEY=keep-git-dir DEFAULT= | |
remote: ++ /var/lib/dokku/core-plugins/available/common/prop get-with-default git frontend keep-git-dir '' | |
remote: + local DOKKU_KEEP_GIT_DIR= | |
remote: + [[ '' != \t\r\u\e ]] | |
remote: + find . -name .git -prune -exec rm -rf '{}' ';' | |
remote: + use_git_worktree | |
remote: + declare 'desc=detects whether to use git worktree' | |
remote: + local GIT_VERSION MAJOR_VERSION MINOR_VERSION | |
remote: ++ git --version | |
remote: ++ awk '{split($0,a," "); print a[3]}' | |
remote: + GIT_VERSION=2.7.4 | |
remote: ++ echo 2.7.4 | |
remote: ++ awk '{split($0,a,"."); print a[1]}' | |
remote: + MAJOR_VERSION=2 | |
remote: ++ echo 2.7.4 | |
remote: ++ awk '{split($0,a,"."); print a[2]}' | |
remote: + MINOR_VERSION=7 | |
remote: + [[ 2 -ge 3 ]] | |
remote: + [[ 2 -eq 2 ]] | |
remote: + [[ 7 -ge 11 ]] | |
remote: + return 1 | |
remote: + local DOKKU_APP_DISABLE_ANSI_PREFIX_REMOVAL DOKKU_GLOBAL_DISABLE_ANSI_PREFIX_REMOVAL DOKKU_DISABLE_ANSI_PREFIX_REMOVAL | |
remote: ++ config_get frontend DOKKU_DISABLE_ANSI_PREFIX_REMOVAL | |
remote: ++ declare 'desc=get value of given config var' | |
remote: ++ config_sub get frontend DOKKU_DISABLE_ANSI_PREFIX_REMOVAL | |
remote: ++ declare 'desc=executes a config subcommand' | |
remote: ++ local name=get | |
remote: ++ shift | |
remote: ++ /var/lib/dokku/plugins/available/config/subcommands/get config:get frontend DOKKU_DISABLE_ANSI_PREFIX_REMOVAL | |
remote: ++ true | |
remote: + DOKKU_APP_DISABLE_ANSI_PREFIX_REMOVAL= | |
remote: ++ config_get --global DOKKU_DISABLE_ANSI_PREFIX_REMOVAL | |
remote: ++ declare 'desc=get value of given config var' | |
remote: ++ config_sub get --global DOKKU_DISABLE_ANSI_PREFIX_REMOVAL | |
remote: ++ declare 'desc=executes a config subcommand' | |
remote: ++ local name=get | |
remote: ++ shift | |
remote: ++ /var/lib/dokku/plugins/available/config/subcommands/get config:get --global DOKKU_DISABLE_ANSI_PREFIX_REMOVAL | |
remote: ++ true | |
remote: + DOKKU_GLOBAL_DISABLE_ANSI_PREFIX_REMOVAL= | |
remote: + DOKKU_DISABLE_ANSI_PREFIX_REMOVAL= | |
remote: + [[ '' == \t\r\u\e ]] | |
remote: + git_trigger_build frontend /tmp/dokku-5150-git_build_app_repo.bIseoO 6fa53725ac224b1637fb830ecca258d89a7c4db1 | |
/' | |
remote: + declare 'desc=triggers the actual build process for a given app within a directory at a particular revision' | |
remote: + declare APP=frontend TMP_WORK_DIR=/tmp/dokku-5150-git_build_app_repo.bIseoO REV=6fa53725ac224b1637fb830ecca258d89a7c4db1 | |
remote: + plugn trigger post-extract frontend /tmp/dokku-5150-git_build_app_repo.bIseoO 6fa53725ac224b1637fb830ecca258d89a7c4db1 | |
remote: + source /var/lib/dokku/core-plugins/available/common/functions | |
remote: ++ set -eo pipefail | |
remote: ++ [[ -n 1 ]] | |
remote: ++ set -x | |
remote: + [[ ! -n '' ]] | |
remote: + [[ -f Dockerfile ]] | |
remote: + plugn trigger pre-receive-app frontend herokuish /tmp/dokku-5150-git_build_app_repo.bIseoO 6fa53725ac224b1637fb830ecca258d89a7c4db1 | |
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 frontend herokuish /tmp/dokku-5150-git_build_app_repo.bIseoO | |
remote: + declare 'desc=receives an app kicks off deploy process' | |
remote: + source /var/lib/dokku/plugins/available/config/functions | |
remote: ++ set -eo pipefail | |
remote: ++ [[ -n 1 ]] | |
remote: ++ set -x | |
remote: ++ source /var/lib/dokku/core-plugins/available/common/functions | |
remote: +++ set -eo pipefail | |
remote: +++ [[ -n 1 ]] | |
remote: +++ set -x | |
remote: + local APP=frontend | |
remote: ++ get_app_image_name frontend | |
remote: ++ declare 'desc=return image identifier for a given app, tag tuple. validate if tag is presented' | |
remote: ++ local APP=frontend | |
remote: ++ local IMAGE_TAG= | |
remote: ++ IMAGE_REPO= | |
remote: ++ is_valid_app_name frontend | |
remote: ++ declare 'desc=verify app name format' | |
remote: ++ local APP=frontend | |
remote: ++ [[ -z frontend ]] | |
remote: ++ [[ frontend =~ ^[a-z].* ]] | |
remote: ++ [[ ! frontend =~ [A-Z] ]] | |
remote: ++ [[ ! frontend =~ [:] ]] | |
remote: ++ return 0 | |
remote: ++ [[ -z '' ]] | |
remote: +++ get_app_image_repo frontend | |
remote: +++ declare 'desc=central definition of image repo pattern' | |
remote: +++ local APP=frontend | |
remote: +++ local IMAGE_REPO=dokku/frontend | |
remote: +++ is_valid_app_name frontend | |
remote: +++ declare 'desc=verify app name format' | |
remote: +++ local APP=frontend | |
remote: +++ [[ -z frontend ]] | |
remote: +++ [[ frontend =~ ^[a-z].* ]] | |
remote: +++ [[ ! frontend =~ [A-Z] ]] | |
remote: +++ [[ ! frontend =~ [:] ]] | |
remote: +++ return 0 | |
remote: +++ echo dokku/frontend | |
remote: ++ IMAGE_REPO=dokku/frontend | |
remote: ++ [[ -n '' ]] | |
remote: ++ local IMAGE=dokku/frontend:latest | |
remote: ++ echo dokku/frontend:latest | |
remote: + local IMAGE=dokku/frontend:latest | |
remote: + local IMAGE_SOURCE_TYPE=herokuish | |
remote: + local TMP_WORK_DIR=/tmp/dokku-5150-git_build_app_repo.bIseoO | |
remote: ++ config_get frontend DOKKU_SKIP_CLEANUP | |
remote: ++ declare 'desc=get value of given config var' | |
remote: ++ config_sub get frontend DOKKU_SKIP_CLEANUP | |
remote: ++ declare 'desc=executes a config subcommand' | |
remote: ++ local name=get | |
remote: ++ shift | |
remote: ++ /var/lib/dokku/plugins/available/config/subcommands/get config:get frontend DOKKU_SKIP_CLEANUP | |
remote: ++ true | |
remote: + local DOKKU_SKIP_CLEANUP= | |
remote: + docker_cleanup frontend | |
remote: + declare 'desc=cleans up all exited/dead containers and removes all dangling images' | |
remote: + declare APP=frontend FORCE_CLEANUP= | |
remote: + local DOKKU_APP_SKIP_CLEANUP | |
remote: + source /var/lib/dokku/plugins/available/config/functions | |
remote: ++ set -eo pipefail | |
remote: ++ [[ -n 1 ]] | |
remote: ++ set -x | |
remote: ++ source /var/lib/dokku/core-plugins/available/common/functions | |
remote: +++ set -eo pipefail | |
remote: +++ [[ -n 1 ]] | |
remote: +++ set -x | |
remote: + [[ '' != \t\r\u\e ]] | |
remote: + [[ -n frontend ]] | |
remote: ++ config_get frontend DOKKU_SKIP_CLEANUP | |
remote: ++ declare 'desc=get value of given config var' | |
remote: ++ config_sub get frontend DOKKU_SKIP_CLEANUP | |
remote: ++ declare 'desc=executes a config subcommand' | |
remote: ++ local name=get | |
remote: ++ shift | |
remote: ++ /var/lib/dokku/plugins/available/config/subcommands/get config:get frontend DOKKU_SKIP_CLEANUP | |
remote: ++ true | |
remote: + DOKKU_APP_SKIP_CLEANUP= | |
remote: + [[ -n '' ]] | |
remote: + [[ -n '' ]] | |
remote: + dokku_log_info1 'Cleaning up...' | |
remote: + declare 'desc=log info1 formatter' | |
remote: + echo '-----> Cleaning up...' | |
-----> Cleaning up... | |
remote: ++ get_app_scheduler frontend | |
remote: ++ declare 'desc=fetch the scheduler for a given application' | |
remote: ++ declare APP=frontend | |
remote: ++ local DOKKU_APP_SCHEDULER DOKKU_GLOBAL_SCHEDULER DOKKU_SCHEDULER | |
remote: ++ [[ frontend == \-\-\g\l\o\b\a\l ]] | |
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: ++ [[ -n frontend ]] | |
remote: +++ config_get frontend DOKKU_SCHEDULER | |
remote: +++ declare 'desc=get value of given config var' | |
remote: +++ config_sub get frontend DOKKU_SCHEDULER | |
remote: +++ declare 'desc=executes a config subcommand' | |
remote: +++ local name=get | |
remote: +++ shift | |
remote: +++ /var/lib/dokku/plugins/available/config/subcommands/get config:get frontend DOKKU_SCHEDULER | |
remote: +++ true | |
remote: ++ DOKKU_APP_SCHEDULER= | |
remote: +++ config_get --global DOKKU_SCHEDULER | |
remote: +++ declare 'desc=get value of given config var' | |
remote: +++ config_sub get --global DOKKU_SCHEDULER | |
remote: +++ declare 'desc=executes a config subcommand' | |
remote: +++ local name=get | |
remote: +++ shift | |
remote: +++ /var/lib/dokku/plugins/available/config/subcommands/get config:get --global DOKKU_SCHEDULER | |
remote: +++ true | |
remote: ++ DOKKU_GLOBAL_SCHEDULER= | |
remote: ++ DOKKU_SCHEDULER= | |
remote: ++ [[ -z '' ]] | |
remote: ++ DOKKU_SCHEDULER=docker-local | |
remote: ++ echo docker-local | |
remote: + local DOKKU_SCHEDULER=docker-local | |
remote: + [[ frontend == \-\-\g\l\o\b\a\l ]] | |
remote: + plugn trigger scheduler-docker-cleanup docker-local frontend '' | |
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: + trigger-scheduler-docker-local-scheduler-docker-cleanup docker-local frontend '' | |
remote: + declare 'desc=scheduler-docker-local scheduler-docker-cleanup plugin trigger' | |
remote: + declare trigger=scheduler-docker-cleanup | |
remote: + declare DOKKU_SCHEDULER=docker-local APP=frontend FORCE_CLEANUP= | |
remote: + [[ docker-local != \d\o\c\k\e\r\-\l\o\c\a\l ]] | |
remote: + [[ -n frontend ]] | |
remote: ++ docker container list --all --filter status=exited --filter label=dokku --filter label=com.dokku.app-name=frontend --quiet | |
remote: + docker container rm d8fa9fbe97f2 ed9bc11f2837 8856cc82b960 38c9fffc30ef 59e935a5539b 4a9dc757a101 | |
remote: ++ docker container list --all --filter status=dead --filter label=dokku --filter label=com.dokku.app-name=frontend --quiet | |
remote: + docker container rm | |
remote: + true | |
remote: ++ docker image list --filter dangling=true --filter label=com.dokku.app-name=frontend --quiet | |
remote: + docker image rm 699f4d8539d5 fab301fd3a0a | |
remote: + true | |
remote: + docker image prune --all --filter label=com.dokku.app-name=frontend --force | |
remote: + [[ -n frontend ]] | |
remote: ++ docker container list --all --filter status=exited --filter label=dokku --filter label=com.dokku.app-name=frontend --quiet | |
remote: + docker container rm | |
remote: + true | |
remote: ++ docker container list --all --filter status=dead --filter label=dokku --filter label=com.dokku.app-name=frontend --quiet | |
remote: + docker container rm | |
remote: + true | |
remote: ++ docker image list --filter dangling=true --filter label=com.dokku.app-name=frontend --quiet | |
remote: + docker image rm 699f4d8539d5 fab301fd3a0a | |
remote: + true | |
remote: + docker image prune --all --filter label=com.dokku.app-name=frontend --force | |
remote: + dokku_log_info1 'Building frontend from herokuish...' | |
remote: + declare 'desc=log info1 formatter' | |
remote: + echo '-----> Building frontend from herokuish...' | |
remote: + DOKKU_QUIET_OUTPUT=1 | |
remote: + config_set --no-restart frontend DOKKU_APP_TYPE=herokuish | |
remote: + declare 'desc=set value of given config var' | |
remote: + config_sub set --no-restart frontend DOKKU_APP_TYPE=herokuish | |
remote: + declare 'desc=executes a config subcommand' | |
remote: + local name=set | |
remote: + shift | |
remote: + /var/lib/dokku/plugins/available/config/subcommands/set config:set --no-restart frontend DOKKU_APP_TYPE=herokuish | |
-----> Building frontend from herokuish... | |
remote: + source /var/lib/dokku/core-plugins/available/common/functions | |
remote: ++ set -eo pipefail | |
remote: ++ [[ -n 1 ]] | |
remote: ++ set -x | |
remote: + [[ ! -n '' ]] | |
remote: + dokku_build frontend herokuish /tmp/dokku-5150-git_build_app_repo.bIseoO | |
remote: + declare 'desc=build phase' | |
remote: + declare APP=frontend IMAGE_SOURCE_TYPE=herokuish SOURCECODE_WORK_DIR=/tmp/dokku-5150-git_build_app_repo.bIseoO | |
remote: + verify_app_name frontend | |
remote: + declare 'desc=verify app name format and app existence' | |
remote: + local APP=frontend | |
remote: + is_valid_app_name frontend | |
remote: + declare 'desc=verify app name format' | |
remote: + local APP=frontend | |
remote: + [[ -z frontend ]] | |
remote: + [[ frontend =~ ^[a-z].* ]] | |
remote: + [[ ! frontend =~ [A-Z] ]] | |
remote: + [[ ! frontend =~ [:] ]] | |
remote: + return 0 | |
remote: + [[ ! -d /home/dokku/frontend ]] | |
remote: + return 0 | |
remote: + plugn trigger builder-build herokuish frontend /tmp/dokku-5150-git_build_app_repo.bIseoO | |
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/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: + trigger-builder-dockerfile-builder-build herokuish frontend /tmp/dokku-5150-git_build_app_repo.bIseoO | |
remote: + declare 'desc=builder-dockerfile builder-build plugin trigger' | |
remote: + declare trigger=builder-build | |
remote: + declare BUILDER_TYPE=herokuish APP=frontend SOURCECODE_WORK_DIR=/tmp/dokku-5150-git_build_app_repo.bIseoO | |
remote: + [[ herokuish != \d\o\c\k\e\r\f\i\l\e ]] | |
remote: + return | |
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: + trigger-builder-herokuish-builder-build herokuish frontend /tmp/dokku-5150-git_build_app_repo.bIseoO | |
remote: + declare 'desc=builder-herokuish builder-build plugin trigger' | |
remote: + declare trigger=builder-build | |
remote: + declare BUILDER_TYPE=herokuish APP=frontend SOURCECODE_WORK_DIR=/tmp/dokku-5150-git_build_app_repo.bIseoO | |
remote: + [[ herokuish != \h\e\r\o\k\u\i\s\h ]] | |
remote: ++ get_app_image_name frontend | |
remote: ++ declare 'desc=return image identifier for a given app, tag tuple. validate if tag is presented' | |
remote: ++ local APP=frontend | |
remote: ++ local IMAGE_TAG= | |
remote: ++ IMAGE_REPO= | |
remote: ++ is_valid_app_name frontend | |
remote: ++ declare 'desc=verify app name format' | |
remote: ++ local APP=frontend | |
remote: ++ [[ -z frontend ]] | |
remote: ++ [[ frontend =~ ^[a-z].* ]] | |
remote: ++ [[ ! frontend =~ [A-Z] ]] | |
remote: ++ [[ ! frontend =~ [:] ]] | |
remote: ++ return 0 | |
remote: ++ [[ -z '' ]] | |
remote: +++ get_app_image_repo frontend | |
remote: +++ declare 'desc=central definition of image repo pattern' | |
remote: +++ local APP=frontend | |
remote: +++ local IMAGE_REPO=dokku/frontend | |
remote: +++ is_valid_app_name frontend | |
remote: +++ declare 'desc=verify app name format' | |
remote: +++ local APP=frontend | |
remote: +++ [[ -z frontend ]] | |
remote: +++ [[ frontend =~ ^[a-z].* ]] | |
remote: +++ [[ ! frontend =~ [A-Z] ]] | |
remote: +++ [[ ! frontend =~ [:] ]] | |
remote: +++ return 0 | |
remote: +++ echo dokku/frontend | |
remote: ++ IMAGE_REPO=dokku/frontend | |
remote: ++ [[ -n '' ]] | |
remote: ++ local IMAGE=dokku/frontend:latest | |
remote: ++ echo dokku/frontend:latest | |
remote: + local IMAGE=dokku/frontend:latest | |
remote: + local DOKKU_APP_CACHE_DIR=/home/dokku/frontend/cache | |
remote: + local DOKKU_APP_HOST_CACHE_DIR=/home/dokku/frontend/cache | |
remote: + DOCKER_COMMIT_LABEL_ARGS=("--change" "LABEL org.label-schema.schema-version=1.0" "--change" "LABEL org.label-schema.vendor=dokku" "--change" "LABEL com.dokku.app-name=$APP") | |
remote: + local DOCKER_COMMIT_LABEL_ARGS | |
remote: + local DOCKER_RUN_LABEL_ARGS=--label=com.dokku.app-name=frontend | |
remote: + local CID | |
remote: + pushd /tmp/dokku-5150-git_build_app_repo.bIseoO | |
remote: ++ config_export app frontend | |
remote: ++ declare 'desc=returns export command for config variable of specified type (app/global)' | |
remote: ++ local CONFIG_TYPE=app | |
remote: ++ shift | |
remote: ++ local APP=frontend | |
remote: ++ [[ app == \g\l\o\b\a\l ]] | |
remote: ++ shift | |
remote: ++ config_sub export frontend | |
remote: ++ declare 'desc=executes a config subcommand' | |
remote: ++ local name=export | |
remote: ++ shift | |
remote: ++ /var/lib/dokku/plugins/available/config/subcommands/export config:export frontend | |
remote: ++ return 0 | |
remote: + eval 'export DOKKU_APP_RESTORE='\''1'\'' | |
remote: export DOKKU_APP_TYPE='\''herokuish'\'' | |
remote: export DOKKU_DOCKERFILE_CMD='\''CMD yarn start'\'' | |
remote: export DOKKU_DOCKERFILE_PORTS='\''3030'\'' | |
remote: export DOKKU_PROXY_PORT_MAP='\''http:3030:3030 '\'' | |
remote: export GIT_REV='\''6fa53725ac224b1637fb830ecca258d89a7c4db1'\''' | |
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_DOCKERFILE_CMD=CMD yarn start' | |
remote: ++ DOKKU_DOCKERFILE_CMD='CMD yarn start' | |
remote: ++ export DOKKU_DOCKERFILE_PORTS=3030 | |
remote: ++ DOKKU_DOCKERFILE_PORTS=3030 | |
remote: ++ export 'DOKKU_PROXY_PORT_MAP=http:3030:3030 ' | |
remote: ++ DOKKU_PROXY_PORT_MAP='http:3030:3030 ' | |
remote: ++ export GIT_REV=6fa53725ac224b1637fb830ecca258d89a7c4db1 | |
remote: ++ GIT_REV=6fa53725ac224b1637fb830ecca258d89a7c4db1 | |
remote: ++ config_get frontend DOKKU_IMAGE | |
remote: ++ declare 'desc=get value of given config var' | |
remote: ++ config_sub get frontend DOKKU_IMAGE | |
remote: ++ declare 'desc=executes a config subcommand' | |
remote: ++ local name=get | |
remote: ++ shift | |
remote: ++ /var/lib/dokku/plugins/available/config/subcommands/get config:get frontend DOKKU_IMAGE | |
remote: ++ echo gliderlabs/herokuish:latest | |
remote: + DOKKU_IMAGE=gliderlabs/herokuish:latest | |
remote: + plugn trigger builder-create-dokku-image herokuish frontend /tmp/dokku-5150-git_build_app_repo.bIseoO gliderlabs/herokuish:latest | |
remote: + source /var/lib/dokku/core-plugins/available/common/functions | |
remote: ++ set -eo pipefail | |
remote: ++ [[ -n 1 ]] | |
remote: ++ set -x | |
remote: + [[ ! -n '' ]] | |
remote: ++ plugn trigger builder-dokku-image herokuish frontend /tmp/dokku-5150-git_build_app_repo.bIseoO gliderlabs/herokuish:latest | |
remote: + source /var/lib/dokku/core-plugins/available/common/functions | |
remote: ++ set -eo pipefail | |
remote: ++ [[ -n 1 ]] | |
remote: ++ set -x | |
remote: + [[ ! -n '' ]] | |
remote: + NEW_DOKKU_IMAGE= | |
remote: + [[ -n '' ]] | |
remote: ++ tar -c . | |
remote: ++ docker container run --label=com.dokku.app-name=frontend --label=org.label-schema.schema-version=1.0 --label=org.label-schema.vendor=dokku --label=dokku -i -a stdin gliderlabs/herokuish:latest /bin/bash -c 'mkdir -p /app && tar -xC /app' | |
remote: + CID=7a9ae857297efc906451342d64d6b3c742a119cbf70145dc8a03287f9f04cd6f | |
remote: ++ docker container wait 7a9ae857297efc906451342d64d6b3c742a119cbf70145dc8a03287f9f04cd6f | |
remote: + test 0 -ne 0 | |
remote: + docker container commit --change 'LABEL org.label-schema.schema-version=1.0' --change 'LABEL org.label-schema.vendor=dokku' --change 'LABEL com.dokku.app-name=frontend' 7a9ae857297efc906451342d64d6b3c742a119cbf70145dc8a03287f9f04cd6f dokku/frontend:latest | |
remote: + [[ -d /home/dokku/frontend/cache ]] | |
remote: + plugn trigger pre-build-buildpack frontend /tmp/dokku-5150-git_build_app_repo.bIseoO | |
remote: + source /var/lib/dokku/core-plugins/available/common/functions | |
remote: ++ set -eo pipefail | |
remote: ++ [[ -n 1 ]] | |
remote: ++ set -x | |
remote: + [[ ! -n '' ]] | |
remote: + source /var/lib/dokku/core-plugins/available/common/functions | |
remote: ++ set -eo pipefail | |
remote: ++ [[ -n 1 ]] | |
remote: ++ set -x | |
remote: + source /var/lib/dokku/plugins/available/config/functions | |
remote: ++ set -eo pipefail | |
remote: ++ [[ -n 1 ]] | |
remote: ++ set -x | |
remote: ++ source /var/lib/dokku/core-plugins/available/common/functions | |
remote: +++ set -eo pipefail | |
remote: +++ [[ -n 1 ]] | |
remote: +++ set -x | |
remote: + trigger-builder-herokuish-pre-build-buildpack frontend /tmp/dokku-5150-git_build_app_repo.bIseoO | |
remote: + declare 'desc=builder-herokuish pre-build-buildpack plugin trigger' | |
remote: + declare trigger=pre-build-buildpack | |
remote: + declare APP=frontend | |
remote: + local IMAGE CID | |
remote: + DOCKER_COMMIT_LABEL_ARGS=("--change" "LABEL org.label-schema.schema-version=1.0" "--change" "LABEL org.label-schema.vendor=dokku" "--change" "LABEL com.dokku.app-name=$APP") | |
remote: + local DOCKER_COMMIT_LABEL_ARGS | |
remote: + local DOCKER_RUN_LABEL_ARGS=--label=com.dokku.app-name=frontend | |
remote: + verify_app_name frontend | |
remote: + declare 'desc=verify app name format and app existence' | |
remote: + local APP=frontend | |
remote: + is_valid_app_name frontend | |
remote: + declare 'desc=verify app name format' | |
remote: + local APP=frontend | |
remote: + [[ -z frontend ]] | |
remote: + [[ frontend =~ ^[a-z].* ]] | |
remote: + [[ ! frontend =~ [A-Z] ]] | |
remote: + [[ ! frontend =~ [:] ]] | |
remote: + return 0 | |
remote: + [[ ! -d /home/dokku/frontend ]] | |
remote: + return 0 | |
remote: ++ get_app_image_name frontend | |
remote: ++ declare 'desc=return image identifier for a given app, tag tuple. validate if tag is presented' | |
remote: ++ local APP=frontend | |
remote: ++ local IMAGE_TAG= | |
remote: ++ IMAGE_REPO= | |
remote: ++ is_valid_app_name frontend | |
remote: ++ declare 'desc=verify app name format' | |
remote: ++ local APP=frontend | |
remote: ++ [[ -z frontend ]] | |
remote: ++ [[ frontend =~ ^[a-z].* ]] | |
remote: ++ [[ ! frontend =~ [A-Z] ]] | |
remote: ++ [[ ! frontend =~ [:] ]] | |
remote: ++ return 0 | |
remote: ++ [[ -z '' ]] | |
remote: +++ get_app_image_repo frontend | |
remote: +++ declare 'desc=central definition of image repo pattern' | |
remote: +++ local APP=frontend | |
remote: +++ local IMAGE_REPO=dokku/frontend | |
remote: +++ is_valid_app_name frontend | |
remote: +++ declare 'desc=verify app name format' | |
remote: +++ local APP=frontend | |
remote: +++ [[ -z frontend ]] | |
remote: +++ [[ frontend =~ ^[a-z].* ]] | |
remote: +++ [[ ! frontend =~ [A-Z] ]] | |
remote: +++ [[ ! frontend =~ [:] ]] | |
remote: +++ return 0 | |
remote: +++ echo dokku/frontend | |
remote: ++ IMAGE_REPO=dokku/frontend | |
remote: ++ [[ -n '' ]] | |
remote: ++ local IMAGE=dokku/frontend:latest | |
remote: ++ echo dokku/frontend:latest | |
remote: + IMAGE=dokku/frontend:latest | |
remote: ++ config_get --global CURL_CONNECT_TIMEOUT | |
remote: ++ declare 'desc=get value of given config var' | |
remote: ++ config_sub get --global CURL_CONNECT_TIMEOUT | |
remote: ++ declare 'desc=executes a config subcommand' | |
remote: ++ local name=get | |
remote: ++ shift | |
remote: ++ /var/lib/dokku/plugins/available/config/subcommands/get config:get --global CURL_CONNECT_TIMEOUT | |
remote: + [[ -z 90 ]] | |
remote: ++ config_get --global CURL_TIMEOUT | |
remote: ++ declare 'desc=get value of given config var' | |
remote: ++ config_sub get --global CURL_TIMEOUT | |
remote: ++ declare 'desc=executes a config subcommand' | |
remote: ++ local name=get | |
remote: ++ shift | |
remote: ++ /var/lib/dokku/plugins/available/config/subcommands/get config:get --global CURL_TIMEOUT | |
remote: + [[ -z 600 ]] | |
remote: + dokku_log_info1 'Adding BUILD_ENV to build environment...' | |
remote: + declare 'desc=log info1 formatter' | |
remote: + echo '-----> Adding BUILD_ENV to build environment...' | |
-----> Adding BUILD_ENV to build environment... | |
remote: ++ config_bundle --merged frontend | |
remote: ++ docker container run --label=com.dokku.app-name=frontend --label=org.label-schema.schema-version=1.0 --label=org.label-schema.vendor=dokku --label=dokku -i -a stdin dokku/frontend:latest /bin/bash -c 'mkdir -p /tmp/env; cat | tar -x -C /tmp/env' | |
remote: ++ declare 'desc=export tar bundle of config' | |
remote: ++ config_sub bundle --merged frontend | |
remote: ++ declare 'desc=executes a config subcommand' | |
remote: ++ local name=bundle | |
remote: ++ shift | |
remote: ++ /var/lib/dokku/plugins/available/config/subcommands/bundle config:bundle --merged frontend | |
remote: + CID=65dcc8981e9287dc6442f0ded9fc4d47338e5f1206b43c83322f8b5ecd3dcfe9 | |
remote: ++ docker container wait 65dcc8981e9287dc6442f0ded9fc4d47338e5f1206b43c83322f8b5ecd3dcfe9 | |
remote: + test 0 -ne 0 | |
remote: + docker container commit --change 'LABEL org.label-schema.schema-version=1.0' --change 'LABEL org.label-schema.vendor=dokku' --change 'LABEL com.dokku.app-name=frontend' 65dcc8981e9287dc6442f0ded9fc4d47338e5f1206b43c83322f8b5ecd3dcfe9 dokku/frontend:latest | |
remote: ++ config_export app frontend --format envfile --merged | |
remote: ++ declare 'desc=returns export command for config variable of specified type (app/global)' | |
remote: ++ local CONFIG_TYPE=app | |
remote: ++ shift | |
remote: ++ local APP=frontend | |
remote: ++ [[ app == \g\l\o\b\a\l ]] | |
remote: ++ shift | |
remote: ++ config_sub export --format envfile --merged frontend | |
remote: ++ declare 'desc=executes a config subcommand' | |
remote: ++ local name=export | |
remote: ++ shift | |
remote: ++ /var/lib/dokku/plugins/available/config/subcommands/export config:export --format envfile --merged frontend | |
remote: ++ docker container run --label=com.dokku.app-name=frontend --label=org.label-schema.schema-version=1.0 --label=org.label-schema.vendor=dokku --label=dokku -i -a stdin dokku/frontend:latest /bin/bash -c 'cat >> /app/.env' | |
remote: ++ return 0 | |
remote: + CID=7e684bfacc9c55067d83cb1c3eac00852b3b4c79809c16ece404e4270d87af5b | |
remote: ++ docker container wait 7e684bfacc9c55067d83cb1c3eac00852b3b4c79809c16ece404e4270d87af5b | |
remote: + test 0 -ne 0 | |
remote: + docker container commit --change 'LABEL org.label-schema.schema-version=1.0' --change 'LABEL org.label-schema.vendor=dokku' --change 'LABEL com.dokku.app-name=frontend' 7e684bfacc9c55067d83cb1c3eac00852b3b4c79809c16ece404e4270d87af5b dokku/frontend:latest | |
remote: ++ : | |
remote: ++ plugn trigger docker-args-build frontend herokuish | |
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/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: + trigger-builder-herokuish-docker-args frontend herokuish | |
remote: + declare 'desc=builder-herokuish docker-args plugin trigger' | |
remote: + declare trigger=docker-args | |
remote: + declare APP=frontend | |
remote: + local STDIN DOKKU_APP_TYPE DOKKU_APP_USER | |
remote: ++ cat | |
remote: + STDIN= | |
remote: ++ config_get frontend DOKKU_APP_TYPE | |
remote: ++ declare 'desc=get value of given config var' | |
remote: ++ config_sub get frontend DOKKU_APP_TYPE | |
remote: ++ declare 'desc=executes a config subcommand' | |
remote: ++ local name=get | |
remote: ++ shift | |
remote: ++ /var/lib/dokku/plugins/available/config/subcommands/get config:get frontend DOKKU_APP_TYPE | |
remote: + DOKKU_APP_TYPE=herokuish | |
remote: ++ config_get frontend DOKKU_APP_USER | |
remote: ++ declare 'desc=get value of given config var' | |
remote: ++ config_sub get frontend DOKKU_APP_USER | |
remote: ++ declare 'desc=executes a config subcommand' | |
remote: ++ local name=get | |
remote: ++ shift | |
remote: ++ /var/lib/dokku/plugins/available/config/subcommands/get config:get frontend DOKKU_APP_USER | |
remote: ++ true | |
remote: + DOKKU_APP_USER= | |
remote: + DOKKU_APP_USER=herokuishuser | |
remote: + [[ herokuish == \h\e\r\o\k\u\i\s\h ]] | |
remote: + local 'docker_args= --env=USER=herokuishuser' | |
remote: + echo -n ' --env=USER=herokuishuser' | |
remote: + trigger-docker-options-docker-args frontend herokuish | |
remote: + declare 'desc=docker args plugin trigger' | |
remote: + declare trigger=/var/lib/dokku/plugins/enabled/docker-options/docker-args-build | |
remote: + declare APP=frontend IMAGE_SOURCE_TYPE=herokuish | |
remote: ++ cat | |
remote: + local STDIN= | |
remote: + case "$0" in | |
remote: + local PHASE=BUILD | |
remote: + local FILE_PREFIX=DOCKER_OPTIONS_ | |
remote: + local PHASE_FILE_PATH=/home/dokku/frontend/DOCKER_OPTIONS_BUILD | |
remote: + local output= | |
remote: + [[ -f /home/dokku/frontend/DOCKER_OPTIONS_BUILD ]] | |
remote: + echo -n '' | |
remote: + local 'DOCKER_ARGS= --env=USER=herokuishuser' | |
remote: + [[ -n 1 ]] | |
remote: + DOCKER_ARGS+=' -e TRACE=true ' | |
remote: ++ : | |
remote: ++ plugn trigger docker-args-process-build frontend herokuish | |
remote: + source /var/lib/dokku/core-plugins/available/common/functions | |
remote: ++ set -eo pipefail | |
remote: ++ [[ -n 1 ]] | |
remote: ++ set -x | |
remote: + [[ ! -n '' ]] | |
remote: + DOCKER_ARGS+= | |
remote: + declare -a ARG_ARRAY | |
remote: + eval 'ARG_ARRAY=( --env=USER=herokuishuser -e TRACE=true )' | |
remote: ++ ARG_ARRAY=(--env=USER=herokuishuser -e TRACE=true) | |
remote: + local DOKKU_CONTAINER_EXIT_CODE=0 | |
remote: ++ docker container create --label=com.dokku.app-name=frontend --label=org.label-schema.schema-version=1.0 --label=org.label-schema.vendor=dokku --label=dokku -v /home/dokku/frontend/cache:/cache -e CACHE_PATH=/cache --env=USER=herokuishuser -e TRACE=true dokku/frontend:latest /build | |
remote: + local CID=ec4be18e6ee9d85e721bab87c5884591377c5d5ccd53b2b582b8b5f51a669ba1 | |
remote: + plugn trigger post-container-create app ec4be18e6ee9d85e721bab87c5884591377c5d5ccd53b2b582b8b5f51a669ba1 frontend build | |
remote: + source /var/lib/dokku/core-plugins/available/common/functions | |
remote: ++ set -eo pipefail | |
remote: ++ [[ -n 1 ]] | |
remote: ++ set -x | |
remote: + [[ ! -n '' ]] | |
remote: + docker container start ec4be18e6ee9d85e721bab87c5884591377c5d5ccd53b2b582b8b5f51a669ba1 | |
remote: + docker container attach ec4be18e6ee9d85e721bab87c5884591377c5d5ccd53b2b582b8b5f51a669ba1 | |
remote: + CMDS["$ns:${as/#$ns-/}"]=herokuish-test | |
remote: + cmd-export-ns buildpack 'Use and install buildpacks' | |
remote: + declare ns=buildpack 'desc=Use and install buildpacks' | |
remote: + eval 'buildpack() { | |
remote: declare desc="Use and install buildpacks" | |
remote: cmd-ns buildpack "$@"; | |
remote: }' | |
remote: + cmd-export buildpack | |
remote: + declare 'desc=Exports a function as a command' | |
remote: + declare fn=buildpack as=buildpack | |
remote: + local ns= | |
remote: ++ cmd-list-ns | |
remote: ++ sort | |
remote: ++ grep -v : | |
remote: ++ for k in "${!CMDS[@]}" | |
remote: ++ echo :version | |
remote: ++ for k in "${!CMDS[@]}" | |
remote: ++ echo :help | |
remote: ++ for k in "${!CMDS[@]}" | |
remote: ++ echo :test | |
remote: ++ for k in "${!CMDS[@]}" | |
remote: ++ echo :paths | |
remote: + CMDS["$ns:${as/#$ns-/}"]=buildpack | |
remote: + CMDS["$1"]=buildpack | |
remote: + cmd-export buildpack-build | |
remote: + declare 'desc=Exports a function as a command' | |
remote: + declare fn=buildpack-build as=buildpack-build | |
remote: + local ns= | |
remote: ++ cmd-list-ns | |
remote: ++ for k in "${!CMDS[@]}" | |
remote: ++ echo buildpack | |
remote: ++ for k in "${!CMDS[@]}" | |
remote: ++ echo :version | |
remote: ++ for k in "${!CMDS[@]}" | |
remote: ++ echo :help | |
remote: ++ for k in "${!CMDS[@]}" | |
remote: ++ echo :test | |
remote: ++ for k in "${!CMDS[@]}" | |
remote: ++ echo :paths | |
remote: ++ for k in "${!CMDS[@]}" | |
remote: ++ echo :buildpack | |
remote: ++ grep -v : | |
remote: ++ sort | |
remote: + for n in $(cmd-list-ns) | |
remote: + echo buildpack-build | |
remote: + grep '^buildpack-' | |
remote: + ns=buildpack | |
remote: + CMDS["$ns:${as/#$ns-/}"]=buildpack-build | |
remote: + cmd-export buildpack-install | |
remote: + declare 'desc=Exports a function as a command' | |
remote: + declare fn=buildpack-install as=buildpack-install | |
remote: + local ns= | |
remote: ++ cmd-list-ns | |
remote: ++ for k in "${!CMDS[@]}" | |
remote: ++ echo buildpack | |
remote: ++ for k in "${!CMDS[@]}" | |
remote: ++ echo :version | |
remote: ++ for k in "${!CMDS[@]}" | |
remote: ++ echo :help | |
remote: ++ for k in "${!CMDS[@]}" | |
remote: ++ echo buildpack:build | |
remote: ++ for k in "${!CMDS[@]}" | |
remote: ++ echo :test | |
remote: ++ for k in "${!CMDS[@]}" | |
remote: ++ echo :paths | |
remote: ++ for k in "${!CMDS[@]}" | |
remote: ++ echo :buildpack | |
remote: ++ sort | |
remote: ++ grep -v : | |
remote: + for n in $(cmd-list-ns) | |
remote: + echo buildpack-install | |
remote: + grep '^buildpack-' | |
remote: + ns=buildpack | |
remote: + CMDS["$ns:${as/#$ns-/}"]=buildpack-install | |
remote: + cmd-export buildpack-list | |
remote: + declare 'desc=Exports a function as a command' | |
remote: + declare fn=buildpack-list as=buildpack-list | |
remote: + local ns= | |
remote: ++ cmd-list-ns | |
remote: ++ ++ grep -v : | |
remote: for k in "${!CMDS[@]}" | |
remote: ++ echo buildpack | |
remote: ++ for k in "${!CMDS[@]}" | |
remote: ++ echo :version | |
remote: ++ for k in "${!CMDS[@]}" | |
remote: ++ echo :help | |
remote: ++ for k in "${!CMDS[@]}" | |
remote: ++ echo buildpack:build | |
remote: ++ for k in "${!CMDS[@]}" | |
remote: ++ echo :test | |
remote: ++ for k in "${!CMDS[@]}" | |
remote: ++ echo :paths | |
remote: ++ for k in "${!CMDS[@]}" | |
remote: ++ echo buildpack:install | |
remote: ++ for k in "${!CMDS[@]}" | |
remote: ++ ++ sort | |
remote: echo :buildpack | |
remote: + for n in $(cmd-list-ns) | |
remote: + echo buildpack-list | |
remote: + grep '^buildpack-' | |
remote: + ns=buildpack | |
remote: + CMDS["$ns:${as/#$ns-/}"]=buildpack-list | |
remote: + cmd-export buildpack-test | |
remote: + declare 'desc=Exports a function as a command' | |
remote: + declare fn=buildpack-test as=buildpack-test | |
remote: + local ns= | |
remote: ++ cmd-list-ns | |
remote: ++ for k in "${!CMDS[@]}" | |
remote: ++ echo buildpack | |
remote: ++ for k in "${!CMDS[@]}" | |
remote: ++ echo :version | |
remote: ++ for k in "${!CMDS[@]}" | |
remote: ++ ++ sort | |
remote: echo :help | |
remote: ++ for k in "${!CMDS[@]}" | |
remote: ++ echo buildpack:build | |
remote: ++ for k in "${!CMDS[@]}" | |
remote: ++ echo :test | |
remote: ++ for k in "${!CMDS[@]}" | |
remote: ++ echo :paths | |
remote: ++ for k in "${!CMDS[@]}" | |
remote: ++ echo buildpack:list | |
remote: ++ for k in "${!CMDS[@]}" | |
remote: ++ echo buildpack:install | |
remote: ++ for k in "${!CMDS[@]}" | |
remote: ++ echo :buildpack | |
remote: ++ grep -v : | |
remote: + for n in $(cmd-list-ns) | |
remote: + echo buildpack-test | |
remote: + grep '^buildpack-' | |
remote: + ns=buildpack | |
remote: + CMDS["$ns:${as/#$ns-/}"]=buildpack-test | |
remote: + cmd-export-ns slug 'Manage application slugs' | |
remote: + declare ns=slug 'desc=Manage application slugs' | |
remote: + eval 'slug() { | |
remote: declare desc="Manage application slugs" | |
remote: cmd-ns slug "$@"; | |
remote: }' | |
remote: + cmd-export slug | |
remote: + declare 'desc=Exports a function as a command' | |
remote: + declare fn=slug as=slug | |
remote: + local ns= | |
remote: ++ cmd-list-ns | |
remote: ++ ++ grep ++ sort | |
remote: -v : | |
remote: for k in "${!CMDS[@]}" | |
remote: ++ echo buildpack:test | |
remote: ++ for k in "${!CMDS[@]}" | |
remote: ++ echo buildpack | |
remote: ++ for k in "${!CMDS[@]}" | |
remote: ++ echo :version | |
remote: ++ for k in "${!CMDS[@]}" | |
remote: ++ echo :help | |
remote: ++ for k in "${!CMDS[@]}" | |
remote: ++ echo buildpack:build | |
remote: ++ for k in "${!CMDS[@]}" | |
remote: ++ echo :test | |
remote: ++ for k in "${!CMDS[@]}" | |
remote: ++ echo :paths | |
remote: ++ for k in "${!CMDS[@]}" | |
remote: ++ echo buildpack:list | |
remote: ++ for k in "${!CMDS[@]}" | |
remote: ++ echo buildpack:install | |
remote: ++ for k in "${!CMDS[@]}" | |
remote: ++ echo :buildpack | |
remote: + for n in $(cmd-list-ns) | |
remote: + echo slug | |
remote: + grep '^buildpack-' | |
remote: + CMDS["$ns:${as/#$ns-/}"]=slug | |
remote: + CMDS["$1"]=slug | |
remote: + cmd-export slug-import | |
remote: + declare 'desc=Exports a function as a command' | |
remote: + declare fn=slug-import as=slug-import | |
remote: + local ns= | |
remote: ++ cmd-list-ns | |
remote: ++ for k in "${!CMDS[@]}" | |
remote: ++ echo buildpack:test | |
remote: ++ for k in "${!CMDS[@]}" | |
remote: ++ echo buildpack | |
remote: ++ for k in "${!CMDS[@]}" | |
remote: ++ echo :version | |
remote: ++ for k in "${!CMDS[@]}" | |
remote: ++ echo :help | |
remote: ++ for k in "${!CMDS[@]}" | |
remote: ++ echo :slug | |
remote: ++ for k in "${!CMDS[@]}" | |
remote: ++ echo buildpack:build | |
remote: ++ for k in "${!CMDS[@]}" | |
remote: ++ echo :test | |
remote: ++ for k in "${!CMDS[@]}" | |
remote: ++ echo :paths | |
remote: ++ for k in "${!CMDS[@]}" | |
remote: ++ echo buildpack:list | |
remote: ++ for k in "${!CMDS[@]}" | |
remote: ++ echo slug | |
remote: ++ for k in "${!CMDS[@]}" | |
remote: ++ echo buildpack:install | |
remote: ++ for k in "${!CMDS[@]}" | |
remote: ++ echo :buildpack | |
remote: ++ grep -v :++ sort | |
remote: | |
remote: + for n in $(cmd-list-ns) | |
remote: + echo slug-import | |
remote: + grep '^buildpack-' | |
remote: + for n in $(cmd-list-ns) | |
remote: + echo slug-import | |
remote: + grep '^slug-' | |
remote: + ns=slug | |
remote: + CMDS["$ns:${as/#$ns-/}"]=slug-import | |
remote: + cmd-export slug-generate | |
remote: + declare 'desc=Exports a function as a command' | |
remote: + declare fn=slug-generate as=slug-generate | |
remote: + local ns= | |
remote: ++ cmd-list-ns | |
remote: ++ grep -v : | |
remote: ++ for k in "${!CMDS[@]}" | |
remote: ++ echo buildpack:test | |
remote: ++ for k in "${!CMDS[@]}" | |
remote: ++ echo buildpack | |
remote: ++ for k in "${!CMDS[@]}" | |
remote: ++ echo :version | |
remote: ++ for k in "${!CMDS[@]}" | |
remote: ++ echo slug:import | |
remote: ++ for k in "${!CMDS[@]}" | |
remote: ++ echo :help | |
remote: ++ for k in "${!CMDS[@]}" | |
remote: ++ echo :slug | |
remote: ++ for k in "${!CMDS[@]}" | |
remote: ++ echo buildpack:build | |
remote: ++ for k in "${!CMDS[@]}" | |
remote: ++ echo :test | |
remote: ++ for k in "${!CMDS[@]}" | |
remote: ++ echo :paths | |
remote: ++ for k in "${!CMDS[@]}" | |
remote: ++ echo buildpack:list | |
remote: ++ for k in "${!CMDS[@]}" | |
remote: ++ echo slug | |
remote: ++ for k in "${!CMDS[@]}" | |
remote: ++ echo buildpack:install | |
remote: ++ for k in "${!CMDS[@]}" | |
remote: ++ echo :buildpack | |
remote: ++ sort | |
remote: + for n in $(cmd-list-ns) | |
remote: + grep '^buildpack-' | |
remote: + echo slug-generate | |
remote: + for n in $(cmd-list-ns) | |
remote: + grep '^slug-' | |
remote: + echo slug-generate | |
remote: + ns=slug | |
remote: + CMDS["$ns:${as/#$ns-/}"]=slug-generate | |
remote: + cmd-export slug-export | |
remote: + declare 'desc=Exports a function as a command' | |
remote: + declare fn=slug-export as=slug-export | |
remote: + local ns= | |
remote: ++ cmd-list-ns | |
remote: ++ for k in "${!CMDS[@]}" | |
remote: ++ echo buildpack:test | |
remote: ++ for k in "${!CMDS[@]}" | |
remote: ++ echo buildpack | |
remote: ++ for k in "${!CMDS[@]}" | |
remote: ++ echo :version | |
remote: ++ for k in "${!CMDS[@]}" | |
remote: ++ echo slug:import++ grep -v : | |
remote: | |
remote: ++ for k in "${!CMDS[@]}" | |
remote: ++ echo :help | |
remote: ++ for k in "${!CMDS[@]}" | |
remote: ++ echo :slug | |
remote: ++ for k in "${!CMDS[@]}" | |
remote: ++ echo buildpack:build | |
remote: ++ for k in "${!CMDS[@]}" | |
remote: ++ echo :test | |
remote: ++ for k in "${!CMDS[@]}" | |
remote: ++ echo :paths | |
remote: ++ for k in "${!CMDS[@]}" | |
remote: ++ echo buildpack:list | |
remote: ++ for k in "${!CMDS[@]}" | |
remote: ++ echo slug | |
remote: ++ for k in "${!CMDS[@]}" | |
remote: ++ echo slug:generate | |
remote: ++ for k in "${!CMDS[@]}" | |
remote: ++ echo buildpack:install | |
remote: ++ for k in "${!CMDS[@]}" | |
remote: ++ echo :buildpack | |
remote: ++ sort | |
remote: + for n in $(cmd-list-ns) | |
remote: + echo slug-export | |
remote: + grep '^buildpack-' | |
remote: + for n in $(cmd-list-ns) | |
remote: + grep '^slug-' | |
remote: + echo slug-export | |
remote: + ns=slug | |
remote: + CMDS["$ns:${as/#$ns-/}"]=slug-export | |
remote: + cmd-export-ns procfile 'Use Procfiles and run app commands' | |
remote: + declare ns=procfile 'desc=Use Procfiles and run app commands' | |
remote: + eval 'procfile() { | |
remote: declare desc="Use Procfiles and run app commands" | |
remote: cmd-ns procfile "$@"; | |
remote: }' | |
remote: + cmd-export procfile | |
remote: + declare 'desc=Exports a function as a command' | |
remote: + declare fn=procfile as=procfile | |
remote: + local ns= | |
remote: ++ cmd-list-ns | |
remote: ++ for k in "${!CMDS[@]}" | |
remote: ++ echo buildpack:test | |
remote: ++ for k in "${!CMDS[@]}" | |
remote: ++ echo buildpack | |
remote: ++ for k in "${!CMDS[@]}" | |
remote: ++ echo :version | |
remote: ++ for k in "${!CMDS[@]}" | |
remote: ++ echo slug:import | |
remote: ++ for k in "${!CMDS[@]}" | |
remote: ++ echo :help | |
remote: ++ for k in "${!CMDS[@]}" | |
remote: ++ echo :slug | |
remote: ++ for k in "${!CMDS[@]}" | |
remote: ++ ++ sortecho | |
remote: buildpack:build | |
remote: ++ for k in "${!CMDS[@]}" | |
remote: ++ echo :test | |
remote: ++ for k in "${!CMDS[@]}" | |
remote: ++ echo :paths | |
remote: ++ for k in "${!CMDS[@]}" | |
remote: ++ echo slug:export | |
remote: ++ for k in "${!CMDS[@]}" | |
remote: ++ echo buildpack:list | |
remote: ++ for k in "${!CMDS[@]}" | |
remote: ++ echo slug | |
remote: ++ for k in "${!CMDS[@]}" | |
remote: ++ echo slug:generate | |
remote: ++ for k in "${!CMDS[@]}" | |
remote: ++ echo buildpack:install | |
remote: ++ for k in "${!CMDS[@]}" | |
remote: ++ echo :buildpack | |
remote: ++ grep -v : | |
remote: + for n in $(cmd-list-ns) | |
remote: + echo procfile+ | |
remote: grep '^buildpack-' | |
remote: + for n in $(cmd-list-ns) | |
remote: + + grep '^slug-'echo | |
remote: procfile | |
remote: + CMDS["$ns:${as/#$ns-/}"]=procfile | |
remote: + CMDS["$1"]=procfile | |
remote: + cmd-export procfile-start | |
remote: + declare 'desc=Exports a function as a command' | |
remote: + declare fn=procfile-start as=procfile-start | |
remote: + local ns= | |
remote: ++ cmd-list-ns | |
remote: ++ ++ sortgrep | |
remote: ++ for k in "${!CMDS[@]}" | |
remote: -v ++ :echo buildpack:test | |
remote: ++ | |
remote: for k in "${!CMDS[@]}" | |
remote: ++ echo buildpack | |
remote: ++ for k in "${!CMDS[@]}" | |
remote: ++ echo :version | |
remote: ++ for k in "${!CMDS[@]}" | |
remote: ++ echo slug:import | |
remote: ++ for k in "${!CMDS[@]}" | |
remote: ++ echo :help | |
remote: ++ for k in "${!CMDS[@]}" | |
remote: ++ echo :slug | |
remote: ++ for k in "${!CMDS[@]}" | |
remote: ++ echo buildpack:build | |
remote: ++ for k in "${!CMDS[@]}" | |
remote: ++ echo :test | |
remote: ++ for k in "${!CMDS[@]}" | |
remote: ++ echo :paths | |
remote: ++ for k in "${!CMDS[@]}" | |
remote: ++ echo slug:export | |
remote: ++ for k in "${!CMDS[@]}" | |
remote: ++ echo buildpack:list | |
remote: ++ for k in "${!CMDS[@]}" | |
remote: ++ echo slug | |
remote: ++ for k in "${!CMDS[@]}" | |
remote: ++ echo :procfile | |
remote: ++ for k in "${!CMDS[@]}" | |
remote: ++ echo slug:generate | |
remote: ++ for k in "${!CMDS[@]}" | |
remote: ++ echo buildpack:install | |
remote: ++ for k in "${!CMDS[@]}" | |
remote: ++ echo :buildpack | |
remote: ++ for k in "${!CMDS[@]}" | |
remote: ++ echo procfile | |
remote: + for n in $(cmd-list-ns) | |
remote: + echo procfile-start | |
remote: + grep '^buildpack-' | |
remote: + for n in $(cmd-list-ns) | |
remote: + grep '^procfile-' | |
remote: + echo procfile-start | |
remote: + ns=procfile | |
remote: + for n in $(cmd-list-ns) | |
remote: + grep '^slug-' | |
remote: + echo procfile-start | |
remote: + CMDS["$ns:${as/#$ns-/}"]=procfile-start | |
remote: + cmd-export procfile-exec | |
remote: + declare 'desc=Exports a function as a command' | |
remote: + declare fn=procfile-exec as=procfile-exec | |
remote: + local ns= | |
remote: ++ cmd-list-ns | |
remote: ++ for k in "${!CMDS[@]}" | |
remote: ++ echo buildpack:test | |
remote: ++ for k in "${!CMDS[@]}" | |
remote: ++ echo buildpack | |
remote: ++ for k in "${!CMDS[@]}" | |
remote: ++ echo :version | |
remote: ++ for k in "${!CMDS[@]}" | |
remote: ++ echo slug:import | |
remote: ++ for k in "${!CMDS[@]}" | |
remote: ++ echo :help | |
remote: ++ for k in "${!CMDS[@]}" | |
remote: ++ echo :slug | |
remote: ++ for k in "${!CMDS[@]}" | |
remote: ++ echo buildpack:build | |
remote: ++ for k in "${!CMDS[@]}" | |
remote: ++ echo :test | |
remote: ++ for k in "${!CMDS[@]}"++ | |
remote: sort | |
remote: ++ echo :paths | |
remote: ++ for k in "${!CMDS[@]}" | |
remote: ++ echo slug:export | |
remote: ++ for k in "${!CMDS[@]}" | |
remote: ++ echo buildpack:list | |
remote: ++ for k in "${!CMDS[@]}" | |
remote: ++ echo slug | |
remote: ++ for k in "${!CMDS[@]}" | |
remote: ++ echo :procfile | |
remote: ++ for k in "${!CMDS[@]}" | |
remote: ++ echo slug:generate | |
remote: ++ for k in "${!CMDS[@]}" | |
remote: ++ echo procfile:start | |
remote: ++ for k in "${!CMDS[@]}" | |
remote: ++ echo buildpack:install | |
remote: ++ for k in "${!CMDS[@]}" | |
remote: ++ echo :buildpack | |
remote: ++ for k in "${!CMDS[@]}" | |
remote: ++ echo procfile | |
remote: ++ grep -v : | |
remote: + for n in $(cmd-list-ns) | |
remote: + + echo procfile-exec | |
remote: grep '^buildpack-' | |
remote: + for n in $(cmd-list-ns) | |
remote: + echo procfile-exec | |
remote: + grep '^procfile-' | |
remote: + ns=procfile | |
remote: + for n in $(cmd-list-ns) | |
remote: + echo procfile-exec | |
remote: + grep '^slug-' | |
remote: + CMDS["$ns:${as/#$ns-/}"]=procfile-exec | |
remote: + cmd-export procfile-parse | |
remote: + declare 'desc=Exports a function as a command' | |
remote: + declare fn=procfile-parse as=procfile-parse | |
remote: + local ns= | |
remote: ++ cmd-list-ns | |
remote: ++ ++ ++ grep sort | |
remote: -v : | |
remote: for k in "${!CMDS[@]}" | |
remote: ++ echo buildpack:test | |
remote: ++ for k in "${!CMDS[@]}" | |
remote: ++ echo buildpack | |
remote: ++ for k in "${!CMDS[@]}" | |
remote: ++ echo :version | |
remote: ++ for k in "${!CMDS[@]}" | |
remote: ++ echo slug:import | |
remote: ++ for k in "${!CMDS[@]}" | |
remote: ++ echo :help | |
remote: ++ for k in "${!CMDS[@]}" | |
remote: ++ echo :slug | |
remote: ++ for k in "${!CMDS[@]}" | |
remote: ++ echo procfile:exec | |
remote: ++ for k in "${!CMDS[@]}" | |
remote: ++ echo buildpack:build | |
remote: ++ for k in "${!CMDS[@]}" | |
remote: ++ echo :test | |
remote: ++ for k in "${!CMDS[@]}" | |
remote: ++ echo :paths | |
remote: ++ for k in "${!CMDS[@]}" | |
remote: ++ echo slug:export | |
remote: ++ for k in "${!CMDS[@]}" | |
remote: ++ echo buildpack:list | |
remote: ++ for k in "${!CMDS[@]}" | |
remote: ++ echo slug | |
remote: ++ for k in "${!CMDS[@]}" | |
remote: ++ echo :procfile | |
remote: ++ for k in "${!CMDS[@]}" | |
remote: ++ echo slug:generate | |
remote: ++ for k in "${!CMDS[@]}" | |
remote: ++ echo procfile:start | |
remote: ++ for k in "${!CMDS[@]}" | |
remote: ++ echo buildpack:install | |
remote: ++ for k in "${!CMDS[@]}" | |
remote: ++ echo :buildpack | |
remote: ++ for k in "${!CMDS[@]}" | |
remote: ++ echo procfile | |
remote: + for n in $(cmd-list-ns) | |
remote: + echo procfile-parse+ grep '^buildpack-' | |
remote: | |
remote: + for n in $(cmd-list-ns) | |
remote: + + grep '^procfile-' | |
remote: echo procfile-parse | |
remote: + ns=procfile | |
remote: + for n in $(cmd-list-ns) | |
remote: + echo procfile-parse+ grep '^slug-' | |
remote: | |
remote: + CMDS["$ns:${as/#$ns-/}"]=procfile-parse | |
remote: + case "$SELF" in | |
remote: + buildpack-build | |
remote: + declare 'desc=Build an application using installed buildpacks' | |
remote: + ensure-paths | |
remote: + mkdir -p /app /tmp/env /tmp/build /cache /tmp/buildpacks | |
remote: + [[ -n herokuishuser ]] | |
remote: + buildpack-setup | |
remote: + export APP_DIR=/app | |
remote: + APP_DIR=/app | |
remote: + export HOME=/app | |
remote: + HOME=/app | |
remote: + export REQUEST_ID=build-25911 | |
remote: + REQUEST_ID=build-25911 | |
remote: + export STACK=heroku-18 | |
remote: + STACK=heroku-18 | |
remote: + cp -r /app/. /tmp/build | |
remote: + usermod --home /app herokuishuser | |
remote: + chown -R herokuishuser:herokuishuser /app /tmp/build /cache /tmp/env /tmp/buildpacks | |
remote: + export CURL_CONNECT_TIMEOUT=30 | |
remote: + CURL_CONNECT_TIMEOUT=30 | |
remote: + export CURL_TIMEOUT=180 | |
remote: + CURL_TIMEOUT=180 | |
remote: + [[ -f /app/.env ]] | |
remote: ++ cat /app/.env | |
remote: ++ _envfile-parse | |
remote: ++ declare 'desc=Parse input into shell export commands' | |
remote: ++ local key | |
remote: ++ local value | |
remote: +++ cat | |
remote: ++ read -r line | |
remote: ++ [[ NODE_PATH=src =~ ^#.* ]] | |
remote: ++ [[ NODE_PATH=src =~ ^$ ]] | |
remote: ++ key=NODE_PATH | |
remote: ++ key=NODE_PATH | |
remote: ++ value=src | |
remote: ++ case "$value" in | |
remote: ++ value='"src"' | |
remote: ++ echo 'export NODE_PATH="src"' | |
remote: ++ read -r line | |
remote: ++ [[ REACT_APP_BASE_URL="https://api.staging.admeet.eu" =~ ^#.* ]] | |
remote: ++ [[ REACT_APP_BASE_URL="https://api.staging.admeet.eu" =~ ^$ ]] | |
remote: ++ key=REACT_APP_BASE_URL | |
remote: ++ key=REACT_APP_BASE_URL | |
remote: ++ value='"https://api.staging.admeet.eu"' | |
remote: ++ case "$value" in | |
remote: ++ value='"https://api.staging.admeet.eu"' | |
remote: ++ echo 'export REACT_APP_BASE_URL="https://api.staging.admeet.eu"' | |
remote: ++ read -r line | |
remote: ++ [[ CURL_CONNECT_TIMEOUT="90" =~ ^#.* ]] | |
remote: ++ [[ CURL_CONNECT_TIMEOUT="90" =~ ^$ ]] | |
remote: ++ key=CURL_CONNECT_TIMEOUT | |
remote: ++ key=CURL_CONNECT_TIMEOUT | |
remote: ++ value='"90"' | |
remote: ++ case "$value" in | |
remote: ++ value='"90"' | |
remote: ++ echo 'export CURL_CONNECT_TIMEOUT="90"' | |
remote: ++ read -r line | |
remote: ++ [[ CURL_TIMEOUT="600" =~ ^#.* ]] | |
remote: ++ [[ CURL_TIMEOUT="600" =~ ^$ ]] | |
remote: ++ key=CURL_TIMEOUT | |
remote: ++ key=CURL_TIMEOUT | |
remote: ++ value='"600"' | |
remote: ++ case "$value" in | |
remote: ++ value='"600"' | |
remote: ++ echo 'export CURL_TIMEOUT="600"' | |
remote: ++ read -r line | |
remote: ++ [[ DOKKU_APP_RESTORE="1" =~ ^#.* ]] | |
remote: ++ [[ DOKKU_APP_RESTORE="1" =~ ^$ ]] | |
remote: ++ key=DOKKU_APP_RESTORE | |
remote: ++ key=DOKKU_APP_RESTORE | |
remote: ++ value='"1"' | |
remote: ++ case "$value" in | |
remote: ++ value='"1"' | |
remote: ++ echo 'export DOKKU_APP_RESTORE="1"' | |
remote: ++ read -r line | |
remote: ++ [[ DOKKU_APP_TYPE="herokuish" =~ ^#.* ]] | |
remote: ++ [[ DOKKU_APP_TYPE="herokuish" =~ ^$ ]] | |
remote: ++ key=DOKKU_APP_TYPE | |
remote: ++ key=DOKKU_APP_TYPE | |
remote: ++ value='"herokuish"' | |
remote: ++ case "$value" in | |
remote: ++ value='"herokuish"' | |
remote: ++ echo 'export DOKKU_APP_TYPE="herokuish"' | |
remote: ++ read -r line | |
remote: ++ [[ DOKKU_DOCKERFILE_CMD="CMD yarn start" =~ ^#.* ]] | |
remote: ++ [[ DOKKU_DOCKERFILE_CMD="CMD yarn start" =~ ^$ ]] | |
remote: ++ key=DOKKU_DOCKERFILE_CMD | |
remote: ++ key=DOKKU_DOCKERFILE_CMD | |
remote: ++ value='"CMD yarn start"' | |
remote: ++ case "$value" in | |
remote: ++ value='"CMD yarn start"' | |
remote: ++ echo 'export DOKKU_DOCKERFILE_CMD="CMD yarn start"' | |
remote: ++ read -r line | |
remote: ++ [[ DOKKU_DOCKERFILE_PORTS="3030" =~ ^#.* ]] | |
remote: ++ [[ DOKKU_DOCKERFILE_PORTS="3030" =~ ^$ ]] | |
remote: ++ key=DOKKU_DOCKERFILE_PORTS | |
remote: ++ key=DOKKU_DOCKERFILE_PORTS | |
remote: ++ value='"3030"' | |
remote: ++ case "$value" in | |
remote: ++ value='"3030"' | |
remote: ++ echo 'export DOKKU_DOCKERFILE_PORTS="3030"' | |
remote: ++ read -r line | |
remote: ++ [[ DOKKU_LETSENCRYPT_EMAIL="[email protected]" =~ ^#.* ]] | |
remote: ++ [[ DOKKU_LETSENCRYPT_EMAIL="[email protected]" =~ ^$ ]] | |
remote: ++ key=DOKKU_LETSENCRYPT_EMAIL | |
remote: ++ key=DOKKU_LETSENCRYPT_EMAIL | |
remote: ++ value='"[email protected]"' | |
remote: ++ case "$value" in | |
remote: ++ value='"[email protected]"' | |
remote: ++ echo 'export DOKKU_LETSENCRYPT_EMAIL="[email protected]"' | |
remote: ++ read -r line | |
remote: ++ [[ DOKKU_PROXY_PORT_MAP="http:3030:3030 " =~ ^#.* ]] | |
remote: ++ [[ DOKKU_PROXY_PORT_MAP="http:3030:3030 " =~ ^$ ]] | |
remote: ++ key=DOKKU_PROXY_PORT_MAP | |
remote: ++ key=DOKKU_PROXY_PORT_MAP | |
remote: ++ value='"http:3030:3030 "' | |
remote: ++ case "$value" in | |
remote: ++ value='"http:3030:3030 "' | |
remote: ++ echo 'export DOKKU_PROXY_PORT_MAP="http:3030:3030 "' | |
remote: ++ read -r line | |
remote: ++ [[ GIT_REV="6fa53725ac224b1637fb830ecca258d89a7c4db1" =~ ^#.* ]] | |
remote: ++ [[ GIT_REV="6fa53725ac224b1637fb830ecca258d89a7c4db1" =~ ^$ ]] | |
remote: ++ key=GIT_REV | |
remote: ++ key=GIT_REV | |
remote: ++ value='"6fa53725ac224b1637fb830ecca258d89a7c4db1"' | |
remote: ++ case "$value" in | |
remote: ++ value='"6fa53725ac224b1637fb830ecca258d89a7c4db1"' | |
remote: ++ echo 'export GIT_REV="6fa53725ac224b1637fb830ecca258d89a7c4db1"' | |
remote: ++ read -r line | |
remote: ++ [[ -n '' ]] | |
remote: + eval export 'NODE_PATH="src"' export 'REACT_APP_BASE_URL="https://api.staging.admeet.eu"' export 'CURL_CONNECT_TIMEOUT="90"' export 'CURL_TIMEOUT="600"' export 'DOKKU_APP_RESTORE="1"' export 'DOKKU_APP_TYPE="herokuish"' export 'DOKKU_DOCKERFILE_CMD="CMD' yarn 'start"' export 'DOKKU_DOCKERFILE_PORTS="3030"' export 'DOKKU_LETSENCRYPT_EMAIL="[email protected]"' export 'DOKKU_PROXY_PORT_MAP="http:3030:3030' '"' export 'GIT_REV="6fa53725ac224b1637fb830ecca258d89a7c4db1"' | |
remote: ++ export NODE_PATH=src export REACT_APP_BASE_URL=https://api.staging.admeet.eu export CURL_CONNECT_TIMEOUT=90 export CURL_TIMEOUT=600 export DOKKU_APP_RESTORE=1 export DOKKU_APP_TYPE=herokuish export 'DOKKU_DOCKERFILE_CMD=CMD yarn start' export DOKKU_DOCKERFILE_PORTS=3030 export [email protected] export 'DOKKU_PROXY_PORT_MAP=http:3030:3030 ' export GIT_REV=6fa53725ac224b1637fb830ecca258d89a7c4db1 | |
remote: ++ NODE_PATH=src | |
remote: ++ REACT_APP_BASE_URL=https://api.staging.admeet.eu | |
remote: ++ CURL_CONNECT_TIMEOUT=90 | |
remote: ++ CURL_TIMEOUT=600 | |
remote: ++ DOKKU_APP_RESTORE=1 | |
remote: ++ DOKKU_APP_TYPE=herokuish | |
remote: ++ DOKKU_DOCKERFILE_CMD='CMD yarn start' | |
remote: ++ DOKKU_DOCKERFILE_PORTS=3030 | |
remote: ++ [email protected] | |
remote: ++ DOKKU_PROXY_PORT_MAP='http:3030:3030 ' | |
remote: ++ GIT_REV=6fa53725ac224b1637fb830ecca258d89a7c4db1 | |
remote: + buildpack-execute | |
remote: + indent | |
remote: + read -r line | |
remote: + _select-buildpack | |
remote: + [[ -n '' ]] | |
remote: + buildpacks=($buildpack_path/*) | |
remote: + local buildpacks | |
remote: + valid_buildpacks=() | |
remote: + local valid_buildpacks | |
remote: + for buildpack in "${buildpacks[@]}" | |
remote: + unprivileged /tmp/buildpacks/00_buildpack-multi/bin/detect /tmp/build | |
remote: + valid_buildpacks+=("$buildpack") | |
remote: + for buildpack in "${buildpacks[@]}" | |
remote: + unprivileged /tmp/buildpacks/01_buildpack-ruby/bin/detect /tmp/build | |
remote: + for buildpack in "${buildpacks[@]}" | |
remote: + unprivileged /tmp/buildpacks/02_buildpack-nodejs/bin/detect /tmp/build | |
remote: + valid_buildpacks+=("$buildpack") | |
remote: + for buildpack in "${buildpacks[@]}" | |
remote: + unprivileged /tmp/buildpacks/03_buildpack-clojure/bin/detect /tmp/build | |
remote: + for buildpack in "${buildpacks[@]}" | |
remote: + unprivileged /tmp/buildpacks/04_buildpack-python/bin/detect /tmp/build | |
remote: + for buildpack in "${buildpacks[@]}" | |
remote: + unprivileged /tmp/buildpacks/05_buildpack-java/bin/detect /tmp/build | |
remote: + for buildpack in "${buildpacks[@]}" | |
remote: + unprivileged /tmp/buildpacks/06_buildpack-gradle/bin/detect /tmp/build | |
remote: + for buildpack in "${buildpacks[@]}" | |
remote: + unprivileged /tmp/buildpacks/07_buildpack-scala/bin/detect /tmp/build | |
remote: + for buildpack in "${buildpacks[@]}" | |
remote: + unprivileged /tmp/buildpacks/08_buildpack-play/bin/detect /tmp/build | |
remote: + for buildpack in "${buildpacks[@]}" | |
remote: + unprivileged /tmp/buildpacks/09_buildpack-php/bin/detect /tmp/build | |
remote: + for buildpack in "${buildpacks[@]}" | |
remote: + unprivileged /tmp/buildpacks/10_buildpack-go/bin/detect /tmp/build | |
remote: + for buildpack in "${buildpacks[@]}" | |
remote: + unprivileged /tmp/buildpacks/11_buildpack-static/bin/detect /tmp/build | |
remote: + [[ 2 -gt 1 ]] | |
remote: + title 'Warning: Multiple default buildpacks reported the ability to handle this app. The first buildpack in the list below will be used.' | |
----->' 'Warning: Multiple default buildpacks reported the ability to handle this app. The first buildpack in the list below will be used.' | |
-----> Warning: Multiple default buildpacks reported the ability to handle this app. The first buildpack in the list below will be used. == --* ]] | |
-----> Warning: Multiple default buildpacks reported the ability to handle this app. The first buildpack in the list below will be used. == ==* ]] | |
-----> Warning: Multiple default buildpacks reported the ability to handle this app. The first buildpack in the list below will be used.' | |
remote: + read -r line | |
-----> Warning: Multiple default buildpacks reported the ability to handle this app. The first buildpack in the list below will be used. | |
remote: + indent | |
remote: ++ sed -e 's:/tmp/buildpacks/[0-9][0-9]_buildpack-::g' | |
remote: + read -r line | |
remote: + echo 'Detected buildpacks: multi nodejs' | |
remote: + [[ Detected buildpacks: multi nodejs == --* ]] | |
remote: + [[ Detected buildpacks: multi nodejs == ==* ]] | |
' 'Detected buildpacks: multi nodejs' | |
Detected buildpacks: multi nodejs == --* ]] | |
Detected buildpacks: multi nodejs == ==* ]] | |
Detected buildpacks: multi nodejs' | |
remote: + read -r line | |
remote: + read -r line | |
Detected buildpacks: multi nodejs | |
remote: + [[ 2 -gt 0 ]] | |
remote: + selected_path=/tmp/buildpacks/00_buildpack-multi | |
remote: ++ unprivileged /tmp/buildpacks/00_buildpack-multi/bin/detect /tmp/build | |
remote: ++ setuidgid herokuishuser /tmp/buildpacks/00_buildpack-multi/bin/detect /tmp/build | |
remote: + selected_name=Multipack | |
remote: + [[ -n /tmp/buildpacks/00_buildpack-multi ]] | |
remote: + [[ -n Multipack ]] | |
remote: + title 'Multipack app detected' | |
----->' 'Multipack app detected' | |
remote: + cd /tmp/build | |
-----> Multipack app detected == --* ]] | |
-----> Multipack app detected == ==* ]] | |
-----> Multipack app detected' | |
remote: + read -r line | |
remote: + unprivileged /tmp/buildpacks/00_buildpack-multi/bin/compile /tmp/build /cache /tmp/env | |
remote: + setuidgid herokuishuser /tmp/buildpacks/00_buildpack-multi/bin/compile /tmp/build /cache /tmp/env | |
-----> Multipack app detected | |
remote: + [[ =====> Downloading Buildpack: https://github.com/heroku/heroku-buildpack-nodejs.git == --* ]] | |
remote: + [[ =====> Downloading Buildpack: https://github.com/heroku/heroku-buildpack-nodejs.git == ==* ]] | |
=====>' Downloading Buildpack: https://github.com/heroku/heroku-buildpack-nodejs.git | |
remote: + read -r line | |
=====> Downloading Buildpack: https://github.com/heroku/heroku-buildpack-nodejs.git | |
remote: + [[ =====> Detected Framework: Node.js == --* ]] | |
remote: + [[ =====> Detected Framework: Node.js == ==* ]] | |
=====>' Detected Framework: Node.js | |
remote: + read -r line | |
=====> Detected Framework: Node.js | |
remote: + [[ '' == --* ]] | |
remote: + [[ '' == ==* ]] | |
' '' | |
remote: + read -r line | |
remote: + [[ -----> Creating runtime environment == --* ]] | |
----->' Creating runtime environment | |
remote: + read -r line | |
-----> Creating runtime environment | |
remote: + [[ '' == --* ]] | |
remote: + [[ '' == ==* ]] | |
' '' | |
remote: + read -r line | |
remote: + [[ NPM_CONFIG_LOGLEVEL=error == --* ]] | |
remote: + [[ NPM_CONFIG_LOGLEVEL=error == ==* ]] | |
' NPM_CONFIG_LOGLEVEL=error | |
remote: + read -r line | |
NPM_CONFIG_LOGLEVEL=error | |
remote: + [[ NODE_PATH=src == --* ]] | |
remote: + [[ NODE_PATH=src == ==* ]] | |
' NODE_PATH=src | |
NODE_PATH=src | |
remote: + read -r line | |
remote: + [[ NODE_ENV=production == --* ]] | |
remote: + [[ NODE_ENV=production == ==* ]] | |
' NODE_ENV=production | |
NODE_ENV=production | |
remote: + read -r line | |
remote: + [[ NODE_MODULES_CACHE=true == --* ]] | |
remote: + [[ NODE_MODULES_CACHE=true == ==* ]] | |
' NODE_MODULES_CACHE=true | |
NODE_MODULES_CACHE=true | |
remote: + read -r line | |
remote: + [[ NODE_VERBOSE=false == --* ]] | |
remote: + [[ NODE_VERBOSE=false == ==* ]] | |
' NODE_VERBOSE=false | |
NODE_VERBOSE=false | |
remote: + read -r line | |
remote: + [[ '' == --* ]] | |
remote: + [[ '' == ==* ]] | |
' '' | |
remote: read -r line | |
remote: + [[ -----> Installing binaries == --* ]] | |
----->' Installing binaries | |
remote: + read -r line | |
-----> Installing binaries | |
remote: + [[ engines.node (package.json): >= 8.11.3 == --* ]] | |
remote: + [[ engines.node (package.json): >= 8.11.3 == ==* ]] | |
' 'engines.node (package.json): >= 8.11.3' | |
remote: + read -r line | |
remote: + [[ engines.npm (package.json): >= 5.6.0 == --* ]] | |
remote: + [[ engines.npm (package.json): >= 5.6.0 == ==* ]] | |
' 'engines.npm (package.json): >= 5.6.0' | |
remote: + read -r line | |
engines.node (package.json): >= 8.11.3 | |
engines.npm (package.json): >= 5.6.0 | |
remote: engines.yarn (package.json): unspecified (use default) == --* ]] | |
remote: + [[ engines.yarn (package.json): unspecified (use default) == ==* ]] | |
' 'engines.yarn (package.json): unspecified (use default)' | |
engines.yarn (package.json): unspecified (use default) | |
remote: read -r line | |
remote: + [[ '' == --* ]] | |
remote: + [[ '' == ==* ]] | |
' '' | |
remote: + read -r line | |
remote: + [[ Resolving node version >= 8.11.3... == --* ]] | |
remote: + [[ Resolving node version >= 8.11.3... == ==* ]] | |
' 'Resolving node version >= 8.11.3...' | |
remote: + read -r line | |
Resolving node version >= 8.11.3... | |
remote: + [[ Downloading and installing node 14.2.0... == --* ]] | |
remote: + [[ Downloading and installing node 14.2.0... == ==* ]] | |
' 'Downloading and installing node 14.2.0...' | |
remote: + read -r line | |
Downloading and installing node 14.2.0... | |
remote: + [[ Bootstrapping npm >= 5.6.0 (replacing 6.14.4)... == --* ]] | |
remote: + [[ Bootstrapping npm >= 5.6.0 (replacing 6.14.4)... == ==* ]] | |
' 'Bootstrapping npm >= 5.6.0 (replacing 6.14.4)...' | |
Bootstrapping npm >= 5.6.0 (replacing 6.14.4)... | |
remote: + read -r line | |
remote: + [[ npm >= 5.6.0 installed == --* ]] | |
remote: + [[ npm >= 5.6.0 installed == ==* ]] | |
' 'npm >= 5.6.0 installed' | |
npm >= 5.6.0 installed | |
remote: read -r line | |
remote: + [[ Resolving yarn version 1.x... == --* ]] | |
remote: + [[ Resolving yarn version 1.x... == ==* ]] | |
' 'Resolving yarn version 1.x...' | |
Resolving yarn version 1.x... | |
remote: + read -r line | |
remote: + [[ Downloading and installing yarn (1.22.4)... == --* ]] | |
remote: + [[ Downloading and installing yarn (1.22.4)... == ==* ]] | |
' 'Downloading and installing yarn (1.22.4)...' | |
Downloading and installing yarn (1.22.4)... | |
remote: read -r line | |
remote: + [[ Installed yarn 1.22.4 == --* ]] | |
remote: + [[ Installed yarn 1.22.4 == ==* ]] | |
' 'Installed yarn 1.22.4' | |
remote: + read -r line | |
Installed yarn 1.22.4 | |
remote: + [[ '' == --* ]] | |
remote: + [[ '' == ==* ]] | |
' '' | |
remote: + read -r line | |
remote: + [[ -----> Restoring cache == --* ]] | |
----->' Restoring cache | |
-----> Restoring cache | |
remote: -r line | |
remote: + [[ - yarn cache == --* ]] | |
remote: + [[ - yarn cache == ==* ]] | |
- yarn cache | |
remote: | |
remote: + read -r line | |
remote: + [[ '' == --* ]] | |
remote: ]] | |
' '' | |
remote: + read -r line | |
remote: + [[ -----> Installing dependencies == --* ]] | |
----->' Installing dependencies | |
-----> Installing dependencies | |
remote: + read -r line | |
remote: + [[ Installing node modules (yarn.lock) == --* ]] | |
remote: + [[ Installing node modules (yarn.lock) == ==* ]] | |
' 'Installing node modules (yarn.lock)' | |
remote: + read -r line | |
Installing node modules (yarn.lock) | |
remote: + [[ yarn install v1.22.4 == --* ]] | |
remote: + [[ yarn install v1.22.4 == ==* ]] | |
' 'yarn install v1.22.4' | |
yarn install v1.22.4 | |
remote: + read -r line | |
remote: + [[ [1/4] Resolving packages... == --* ]] | |
remote: + [[ [1/4] Resolving packages... == ==* ]] | |
' '[1/4] Resolving packages...' | |
[1/4] Resolving packages... | |
remote: + read -r line | |
remote: + [[ [2/4] Fetching packages... == --* ]] | |
remote: + [[ [2/4] Fetching packages... == ==* ]] | |
' '[2/4] Fetching packages...' | |
[2/4] Fetching packages... | |
remote: line | |
remote: + [[ info [email protected]: The platform "linux" is incompatible with this module. == --* ]] | |
remote: + [[ info [email protected]: The platform "linux" is incompatible with this module. == ==* ]] | |
' 'info [email protected]: The platform "linux" is incompatible with this module.' | |
remote: + read -r line | |
info [email protected]: The platform "linux" is incompatible with this module. | |
remote: + [[ info "[email protected]" is an optional dependency and failed compatibility check. Excluding it from installation. == --* ]] | |
remote: + [[ info "[email protected]" is an optional dependency and failed compatibility check. Excluding it from installation. == ==* ]] | |
' 'info "[email protected]" is an optional dependency and failed compatibility check. Excluding it from installation.' | |
remote: + read -r line | |
info "[email protected]" is an optional dependency and failed compatibility check. Excluding it from installation. | |
remote: + [[ info [email protected]: The platform "linux" is incompatible with this module. == --* ]] | |
remote: + [[ info [email protected]: The platform "linux" is incompatible with this module. == ==* ]] | |
' 'info [email protected]: The platform "linux" is incompatible with this module.' | |
info [email protected]: The platform "linux" is incompatible with this module. | |
remote: + read -r line | |
remote: + [[ info "[email protected]" is an optional dependency and failed compatibility check. Excluding it from installation. == --* ]] | |
remote: + [[ info "[email protected]" is an optional dependency and failed compatibility check. Excluding it from installation. == ==* ]] | |
' 'info "[email protected]" is an optional dependency and failed compatibility check. Excluding it from installation.' | |
remote: + read -r line | |
info "[email protected]" is an optional dependency and failed compatibility check. Excluding it from installation. | |
remote: + [[ [3/4] Linking dependencies... == --* ]] | |
remote: + [[ [3/4] Linking dependencies... == ==* ]] | |
' '[3/4] Linking dependencies...' | |
[3/4] Linking dependencies... | |
remote: line | |
remote: + [[ warning " > [email protected]" has unmet peer dependency "jquery@>=2.2.0". == --* ]] | |
remote: + [[ warning " > [email protected]" has unmet peer dependency "jquery@>=2.2.0". == ==* ]] | |
' 'warning " > [email protected]" has unmet peer dependency "jquery@>=2.2.0".' | |
warning " > [email protected]" has unmet peer dependency "jquery@>=2.2.0". | |
remote: + read -r line | |
remote: + [[ warning " > [email protected]" has unmet peer dependency "what-input@>=4.1.0". == --* ]] | |
remote: + [[ warning " > [email protected]" has unmet peer dependency "what-input@>=4.1.0". == ==* ]] | |
' 'warning " > [email protected]" has unmet peer dependency "what-input@>=4.1.0".' | |
warning " > [email protected]" has unmet peer dependency "what-input@>=4.1.0". | |
remote: + read -r line | |
remote: + [[ warning "graphql.macro > [email protected]" has unmet peer dependency "@babel/core@^7.1.2". == --* ]] | |
remote: + [[ warning "graphql.macro > [email protected]" has unmet peer dependency "@babel/core@^7.1.2". == ==* ]] | |
' 'warning "graphql.macro > [email protected]" has unmet peer dependency "@babel/core@^7.1.2".' | |
warning "graphql.macro > [email protected]" has unmet peer dependency "@babel/core@^7.1.2". | |
remote: + read -r line | |
remote: + [[ warning "react-pdf > [email protected]" has unmet peer dependency "webpack@^3.0.0 || ^4.0.0-alpha.0 || ^4.0.0". == --* ]] | |
remote: + [[ warning "react-pdf > [email protected]" has unmet peer dependency "webpack@^3.0.0 || ^4.0.0-alpha.0 || ^4.0.0". == ==* ]] | |
' 'warning "react-pdf > [email protected]" has unmet peer dependency "webpack@^3.0.0 || ^4.0.0-alpha.0 || ^4.0.0".' | |
warning "react-pdf > [email protected]" has unmet peer dependency "webpack@^3.0.0 || ^4.0.0-alpha.0 || ^4.0.0". | |
remote: + read -r line | |
remote: + [[ warning "react-pdf > pdfjs-dist > [email protected]" has unmet peer dependency "webpack@^3.0.0 || ^4.0.0-alpha.0 || ^4.0.0". == --* ]] | |
remote: + [[ warning "react-pdf > pdfjs-dist > [email protected]" has unmet peer dependency "webpack@^3.0.0 || ^4.0.0-alpha.0 || ^4.0.0". == ==* ]] | |
' 'warning "react-pdf > pdfjs-dist > [email protected]" has unmet peer dependency "webpack@^3.0.0 || ^4.0.0-alpha.0 || ^4.0.0".' | |
warning "react-pdf > pdfjs-dist > [email protected]" has unmet peer dependency "webpack@^3.0.0 || ^4.0.0-alpha.0 || ^4.0.0". | |
remote: + read -r line | |
remote: + [[ [4/4] Building fresh packages... == --* ]] | |
remote: + [[ [4/4] Building fresh packages... == ==* ]] | |
' '[4/4] Building fresh packages...' | |
[4/4] Building fresh packages... | |
remote: + read -r line | |
remote: + [[ Done in 133.94s. == --* ]] | |
remote: + [[ Done in 133.94s. == ==* ]] | |
' 'Done in 133.94s.' | |
remote: + read -r line | |
Done in 133.94s. | |
remote: + [[ '' == --* ]] | |
remote: + [[ '' == ==* ]] | |
' '' | |
remote: + read -r line | |
remote: + [[ -----> Build == --* ]] | |
----->' Buildo ' | |
-----> Build | |
remote: + read -r line | |
remote: + [[ '' == --* ]] | |
remote: + [[ '' == ==* ]] | |
' '' | |
remote: + read -r line | |
remote: + [[ -----> Pruning devDependencies == --* ]] | |
----->' Pruning devDependencies | |
-----> Pruning devDependencies | |
remote: + read -r line | |
remote: + [[ yarn install v1.22.4 == --* ]] | |
remote: + [[ yarn install v1.22.4 == ==* ]] | |
' 'yarn install v1.22.4' | |
remote: + read -r line | |
yarn install v1.22.4 | |
[1/4] Resolving packages... | |
remote: + [[ [1/4] Resolving packages... == --* ]] | |
remote: + [[ [1/4] Resolving packages... == ==* ]] | |
' '[1/4] Resolving packages...' | |
remote: + read -r line | |
remote: + [[ [2/4] Fetching packages... == --* ]] | |
remote: + [[ [2/4] Fetching packages... == ==* ]] | |
[2/4] Fetching packages... | |
' '[2/4] Fetching packages...' | |
remote: + read -r line | |
remote: + [[ info [email protected]: The platform "linux" is incompatible with this module. == --* ]] | |
remote: + [[ info [email protected]: The platform "linux" is incompatible with this module. == ==* ]] | |
' 'info [email protected]: The platform "linux" is incompatible with this module.' | |
info [email protected]: The platform "linux" is incompatible with this module. | |
remote: + read -r line | |
remote: + [[ info "[email protected]" is an optional dependency and failed compatibility check. Excluding it from installation. == --* ]] | |
remote: + [[ info "[email protected]" is an optional dependency and failed compatibility check. Excluding it from installation. == ==* ]] | |
' 'info "[email protected]" is an optional dependency and failed compatibility check. Excluding it from installation.' | |
info "[email protected]" is an optional dependency and failed compatibility check. Excluding it from installation. | |
remote: + read -r line | |
remote: + [[ info [email protected]: The platform "linux" is incompatible with this module. == --* ]] | |
remote: + [[ info [email protected]: The platform "linux" is incompatible with this module. == ==* ]] | |
' 'info [email protected]: The platform "linux" is incompatible with this module.' | |
info [email protected]: The platform "linux" is incompatible with this module. | |
remote: line | |
remote: + [[ info "[email protected]" is an optional dependency and failed compatibility check. Excluding it from installation. == --* ]] | |
remote: + [[ info "[email protected]" is an optional dependency and failed compatibility check. Excluding it from installation. == ==* ]] | |
' 'info "[email protected]" is an optional dependency and failed compatibility check. Excluding it from installation.' | |
remote: + read -r line | |
info "[email protected]" is an optional dependency and failed compatibility check. Excluding it from installation. | |
remote: + [[ [3/4] Linking dependencies... == --* ]] | |
remote: + [[ [3/4] Linking dependencies... == ==* ]] | |
' '[3/4] Linking dependencies...' | |
[3/4] Linking dependencies... | |
remote: + read -r line | |
remote: + [[ warning " > [email protected]" has unmet peer dependency "jquery@>=2.2.0". == --* ]] | |
remote: + [[ warning " > [email protected]" has unmet peer dependency "jquery@>=2.2.0". == ==* ]] | |
' 'warning " > [email protected]" has unmet peer dependency "jquery@>=2.2.0".' | |
warning " > [email protected]" has unmet peer dependency "jquery@>=2.2.0". | |
remote: + read -r line | |
remote: + [[ warning " > [email protected]" has unmet peer dependency "what-input@>=4.1.0". == --* ]] | |
remote: + [[ warning " > [email protected]" has unmet peer dependency "what-input@>=4.1.0". == ==* ]] | |
' 'warning " > [email protected]" has unmet peer dependency "what-input@>=4.1.0".' | |
warning " > [email protected]" has unmet peer dependency "what-input@>=4.1.0". | |
remote: + read -r line | |
remote: + [[ warning "graphql.macro > [email protected]" has unmet peer dependency "@babel/core@^7.1.2". == --* ]] | |
remote: + [[ warning "graphql.macro > [email protected]" has unmet peer dependency "@babel/core@^7.1.2". == ==* ]] | |
' 'warning "graphql.macro > [email protected]" has unmet peer dependency "@babel/core@^7.1.2".' | |
warning "graphql.macro > [email protected]" has unmet peer dependency "@babel/core@^7.1.2". | |
remote: + read -r line | |
remote: + [[ warning "react-pdf > [email protected]" has unmet peer dependency "webpack@^3.0.0 || ^4.0.0-alpha.0 || ^4.0.0". == --* ]] | |
remote: + [[ warning "react-pdf > [email protected]" has unmet peer dependency "webpack@^3.0.0 || ^4.0.0-alpha.0 || ^4.0.0". == ==* ]] | |
' 'warning "react-pdf > [email protected]" has unmet peer dependency "webpack@^3.0.0 || ^4.0.0-alpha.0 || ^4.0.0".' | |
warning "react-pdf > [email protected]" has unmet peer dependency "webpack@^3.0.0 || ^4.0.0-alpha.0 || ^4.0.0". | |
remote: + read -r line | |
remote: + [[ warning "react-pdf > pdfjs-dist > [email protected]" has unmet peer dependency "webpack@^3.0.0 || ^4.0.0-alpha.0 || ^4.0.0". == --* ]] | |
remote: + [[ warning "react-pdf > pdfjs-dist > [email protected]" has unmet peer dependency "webpack@^3.0.0 || ^4.0.0-alpha.0 || ^4.0.0". == ==* ]] | |
' 'warning "react-pdf > pdfjs-dist > [email protected]" has unmet peer dependency "webpack@^3.0.0 || ^4.0.0-alpha.0 || ^4.0.0".' | |
warning "react-pdf > pdfjs-dist > [email protected]" has unmet peer dependency "webpack@^3.0.0 || ^4.0.0-alpha.0 || ^4.0.0". | |
remote: + read -r line | |
remote: + [[ [4/4] Building fresh packages... == --* ]] | |
remote: + [[ [4/4] Building fresh packages... == ==* ]] | |
' '[4/4] Building fresh packages...' | |
[4/4] Building fresh packages... | |
remote: + read -r line | |
remote: + [[ warning Ignored scripts due to flag. == --* ]] | |
remote: + [[ warning Ignored scripts due to flag. == ==* ]] | |
' 'warning Ignored scripts due to flag.' | |
warning Ignored scripts due to flag. | |
remote: + read -r line | |
remote: + [[ Done in 6.27s. == --* ]] | |
remote: + [[ Done in 6.27s. == ==* ]] | |
' 'Done in 6.27s.' | |
Done in 6.27s. | |
remote: + read -r line | |
remote: + [[ '' == --* ]] | |
remote: + [[ '' == ==* ]] | |
' '' | |
remote: + read -r line | |
remote: + [[ -----> Caching build == --* ]] | |
----->' Caching build | |
remote: + read -r line | |
-----> Caching build | |
remote: + [[ - yarn cache == --* ]] | |
remote: + [[ - yarn cache == ==* ]] | |
' '- yarn cache' | |
remote: + read -r line | |
- yarn cache | |
remote: + [[ '' == --* ]] | |
remote: + [[ '' == ==* ]] | |
' '' | |
remote: + read -r line | |
remote: + [[ -----> Build succeeded! == --* ]] | |
----->' Build 'succeeded!' | |
-----> Build succeeded! | |
remote: + read -r line | |
remote: + [[ ! Unmet dependencies don't fail yarn install but may cause runtime issues == --* ]] | |
remote: + [[ ! Unmet dependencies don't fail yarn install but may cause runtime issues == ==* ]] | |
' '! Unmet dependencies don'\''t fail yarn install but may cause runtime issues' | |
! Unmet dependencies don't fail yarn install but may cause runtime issues | |
remote: read -r line | |
remote: + [[ https://github.com/npm/npm/issues/7494 == --* ]] | |
remote: + [[ https://github.com/npm/npm/issues/7494 == ==* ]] | |
' https://github.com/npm/npm/issues/7494 | |
remote: + read -r line | |
remote: + [[ '' == --* ]] | |
remote: + [[ '' == ==* ]] | |
' '' | |
remote: + read -r line | |
https://github.com/npm/npm/issues/7494 | |
remote: + [[ =====> Downloading Buildpack: https://github.com/heroku/heroku-buildpack-static.git == --* ]] | |
remote: + [[ =====> Downloading Buildpack: https://github.com/heroku/heroku-buildpack-static.git == ==* ]] | |
=====>' Downloading Buildpack: https://github.com/heroku/heroku-buildpack-static.git | |
=====> Downloading Buildpack: https://github.com/heroku/heroku-buildpack-static.git | |
remote: line | |
remote: + [[ =====> Detected Framework: Static HTML == --* ]] | |
remote: + [[ =====> Detected Framework: Static HTML == ==* ]] | |
=====>' Detected Framework: Static HTML | |
remote: + read -r line | |
=====> Detected Framework: Static HTML | |
remote: % Total % Received % Xferd Average Speed Time Time Time Current | |
remote: Dload Upload Total Spent Left Speed | |
remote: 100 838k 100 838k 0 0 1086k 0 --:--:-- --:--:-- --:--:-- 1086k | |
remote: + [[ -----> Installed directory to /app/bin == --* ]] | |
----->' Installed directory to /app/bin | |
remote: + read -r line | |
-----> Installed directory to /app/bin | |
remote: + [[ Using release configuration from last framework (Static HTML). == --* ]] | |
remote: + [[ Using release configuration from last framework (Static HTML). == ==* ]] | |
' 'Using release configuration from last framework (Static HTML).' | |
remote: + read -r line | |
Using release configuration from last framework (Static HTML). | |
remote: + [[ -f /tmp/buildpacks/00_buildpack-multi/bin/release ]] | |
remote: + unprivileged /tmp/buildpacks/00_buildpack-multi/bin/release /tmp/build /cache | |
remote: + setuidgid herokuishuser /tmp/buildpacks/00_buildpack-multi/bin/release /tmp/build /cache | |
remote: + [[ -f /tmp/build/.release ]] | |
remote: ++ cat /tmp/build/.release | |
remote: ++ yaml-get config_vars | |
remote: ++ /bin/herokuish ::: yaml-get config_vars | |
remote: + config_vars= | |
remote: + [[ -n '' ]] | |
remote: + cd - | |
remote: + _move-build-to-app | |
remote: + shopt -s dotglob nullglob | |
remote: + rm -rf /app/.babelrc /app/.basher /app/.buildpacks /app/.config /app/.env /app/.env.default /app/.env.production /app/.env.staging /app/.eslintrc /app/.gitignore /app/.node-gyp /app/.prettierrc /app/.travis.yml /app/.yarn /app/DOC.md /app/LICENSE.md /app/README.md /app/build /app/deploy /app/doc /app/jsconfig.json /app/nginx.conf.sigil /app/package.json /app/postcss.config.js /app/public /app/robots.txt /app/src /app/static.json /app/test /app/yarn.lock | |
remote: + mv /tmp/build/.babelrc /tmp/build/.buildpacks /tmp/build/.env /tmp/build/.env.default /tmp/build/.env.production /tmp/build/.env.staging /tmp/build/.eslintrc /tmp/build/.gitignore /tmp/build/.heroku /tmp/build/.prettierrc /tmp/build/.profile.d /tmp/build/.release /tmp/build/.travis.yml /tmp/build/@1 /tmp/build/DOC.md /tmp/build/LICENSE.md /tmp/build/README.md /tmp/build/bin /tmp/build/build /tmp/build/config /tmp/build/deploy /tmp/build/doc /tmp/build/jsconfig.json /tmp/build/logs /tmp/build/nginx.conf.sigil /tmp/build/node_modules /tmp/build/package.json /tmp/build/postcss.config.js /tmp/build/public /tmp/build/robots.txt /tmp/build/src /tmp/build/static.json /tmp/build/test /tmp/build/yarn.lock /app | |
remote: + shopt -u dotglob nullglob | |
remote: + procfile-types | |
remote: + title 'Discovering process types' | |
----->' 'Discovering process types' | |
remote: + [[ -f /app/Procfile ]] | |
remote: + [[ -s /app/.release ]] | |
remote: + local default_types | |
remote: + indent | |
remote: + read -r line | |
remote: + ++ yaml-keys default_process_types | |
remote: [[ ++ xargs echo | |
-----> Discovering process types++ /bin/herokuish ::: yaml-keys default_process_types | |
remote: == --* ]] | |
-----> Discovering process types == ==* ]] | |
remote: + ++ cat /app/.release | |
-----> Discovering process types' | |
-----> Discovering process types | |
remote: + read -r line | |
remote: + default_types=web | |
remote: + [[ -n web ]] | |
remote: + echo 'Default types for -> web' | |
remote: + for type in $default_types | |
remote: + [[ Default types for -> web == --* ]] | |
remote: + [[ Default types for -> web == ==* ]] | |
' 'Default types for -> web' | |
remote: + read -r line | |
Default types for -> web | |
remote: ++ ++ yaml-get default_process_types web | |
remote: cat ++ /bin/herokuish ::: yaml-get default_process_types web | |
remote: /app/.release | |
remote: + echo 'web: bin/boot' | |
remote: + return | |
remote: ++ docker container wait ec4be18e6ee9d85e721bab87c5884591377c5d5ccd53b2b582b8b5f51a669ba1 | |
remote: + DOKKU_CONTAINER_EXIT_CODE=0 | |
remote: + [[ 0 -ne 0 ]] | |
remote: + docker container commit --change 'LABEL org.label-schema.schema-version=1.0' --change 'LABEL org.label-schema.vendor=dokku' --change 'LABEL com.dokku.app-name=frontend' ec4be18e6ee9d85e721bab87c5884591377c5d5ccd53b2b582b8b5f51a669ba1 dokku/frontend:latest | |
remote: + plugn trigger post-build-buildpack frontend /tmp/dokku-5150-git_build_app_repo.bIseoO | |
remote: + source /var/lib/dokku/core-plugins/available/common/functions | |
remote: ++ set -eo pipefail | |
remote: ++ [[ -n 1 ]] | |
remote: ++ set -x | |
remote: + [[ ! -n '' ]] | |
remote: + release_and_deploy frontend | |
remote: + declare 'desc=main function for releasing and deploying an app' | |
remote: + source /var/lib/dokku/plugins/available/config/functions | |
remote: ++ set -eo pipefail | |
remote: ++ [[ -n 1 ]] | |
remote: ++ set -x | |
remote: ++ source /var/lib/dokku/core-plugins/available/common/functions | |
remote: +++ set -eo pipefail | |
remote: +++ [[ -n 1 ]] | |
remote: +++ set -x | |
remote: + local APP=frontend | |
remote: + local IMAGE_TAG= | |
remote: ++ get_app_image_name frontend '' | |
remote: ++ declare 'desc=return image identifier for a given app, tag tuple. validate if tag is presented' | |
remote: ++ local APP=frontend | |
remote: ++ local IMAGE_TAG= | |
remote: ++ IMAGE_REPO= | |
remote: ++ is_valid_app_name frontend | |
remote: ++ declare 'desc=verify app name format' | |
remote: ++ local APP=frontend | |
remote: ++ [[ -z frontend ]] | |
remote: ++ [[ frontend =~ ^[a-z].* ]] | |
remote: ++ [[ ! frontend =~ [A-Z] ]] | |
remote: ++ [[ ! frontend =~ [:] ]] | |
remote: ++ return 0 | |
remote: ++ [[ -z '' ]] | |
remote: +++ get_app_image_repo frontend | |
remote: +++ declare 'desc=central definition of image repo pattern' | |
remote: +++ local APP=frontend | |
remote: +++ local IMAGE_REPO=dokku/frontend | |
remote: +++ is_valid_app_name frontend | |
remote: +++ declare 'desc=verify app name format' | |
remote: +++ local APP=frontend | |
remote: +++ [[ -z frontend ]] | |
remote: +++ [[ frontend =~ ^[a-z].* ]] | |
remote: +++ [[ ! frontend =~ [A-Z] ]] | |
remote: +++ [[ ! frontend =~ [:] ]] | |
remote: +++ return 0 | |
remote: +++ echo dokku/frontend | |
remote: ++ IMAGE_REPO=dokku/frontend | |
remote: ++ [[ -n '' ]] | |
remote: ++ local IMAGE=dokku/frontend:latest | |
remote: ++ echo dokku/frontend:latest | |
remote: + local IMAGE=dokku/frontend:latest | |
remote: + local DOKKU_DOCKERFILE_PORTS | |
remote: + verify_app_name frontend | |
remote: + declare 'desc=verify app name format and app existence' | |
remote: + local APP=frontend | |
remote: + is_valid_app_name frontend | |
remote: + declare 'desc=verify app name format' | |
remote: + local APP=frontend | |
remote: + [[ -z frontend ]] | |
remote: + [[ frontend =~ ^[a-z].* ]] | |
remote: + [[ ! frontend =~ [A-Z] ]] | |
remote: + [[ ! frontend =~ [:] ]] | |
remote: + return 0 | |
remote: + [[ ! -d /home/dokku/frontend ]] | |
remote: + return 0 | |
remote: + verify_image dokku/frontend:latest | |
remote: + declare 'desc=verify image existence' | |
remote: + local IMAGE=dokku/frontend:latest | |
remote: + docker image inspect dokku/frontend:latest | |
remote: + return 0 | |
remote: + is_image_herokuish_based dokku/frontend:latest frontend | |
remote: + declare 'desc=returns true if app image is based on herokuish' | |
remote: + declare IMAGE=dokku/frontend:latest APP=frontend | |
remote: + local DOKKU_APP_USER | |
remote: + [[ -n frontend ]] | |
remote: ++ config_get frontend DOKKU_APP_USER | |
remote: ++ declare 'desc=get value of given config var' | |
remote: ++ config_sub get frontend DOKKU_APP_USER | |
remote: ++ declare 'desc=executes a config subcommand' | |
remote: ++ local name=get | |
remote: ++ shift | |
remote: ++ /var/lib/dokku/plugins/available/config/subcommands/get config:get frontend DOKKU_APP_USER | |
remote: ++ true | |
remote: + DOKKU_APP_USER= | |
remote: + DOKKU_APP_USER=herokuishuser | |
remote: + local USER_VALUE | |
remote: + [[ -z dokku/frontend:latest ]] | |
remote: ++ docker image inspect --format '{{range .Config.Env}}{{if eq . "USER=herokuishuser"}}{{println .}}{{end}}{{end}}' dokku/frontend:latest | |
remote: + USER_VALUE=USER=herokuishuser | |
remote: + [[ USER=herokuishuser == '' ]] | |
remote: + return 0 | |
remote: + local IMAGE_SOURCE_TYPE=herokuish | |
remote: ++ config_get frontend DOKKU_SKIP_DEPLOY | |
remote: ++ declare 'desc=get value of given config var' | |
remote: ++ config_sub get frontend DOKKU_SKIP_DEPLOY | |
remote: ++ declare 'desc=executes a config subcommand' | |
remote: ++ local name=get | |
remote: ++ shift | |
remote: ++ /var/lib/dokku/plugins/available/config/subcommands/get config:get frontend DOKKU_SKIP_DEPLOY | |
remote: ++ true | |
remote: + local DOKKU_APP_SKIP_DEPLOY= | |
remote: ++ config_get --global DOKKU_SKIP_DEPLOY | |
remote: ++ declare 'desc=get value of given config var' | |
remote: ++ config_sub get --global DOKKU_SKIP_DEPLOY | |
remote: ++ declare 'desc=executes a config subcommand' | |
remote: ++ local name=get | |
remote: ++ shift | |
remote: ++ /var/lib/dokku/plugins/available/config/subcommands/get config:get --global DOKKU_SKIP_DEPLOY | |
remote: ++ true | |
remote: + local DOKKU_GLOBAL_SKIP_DEPLOY= | |
remote: + local DOKKU_SKIP_DEPLOY= | |
remote: + dokku_log_info1 'Releasing frontend (dokku/frontend:latest)...' | |
remote: + declare 'desc=log info1 formatter' | |
remote: + echo '-----> Releasing frontend (dokku/frontend:latest)...' | |
remote: + dokku_release frontend herokuish '' | |
-----> Releasing frontend (dokku/frontend:latest)... | |
remote: + declare 'desc=release phase' | |
remote: + declare APP=frontend IMAGE_SOURCE_TYPE=herokuish IMAGE_TAG= | |
remote: + plugn trigger builder-release herokuish frontend '' | |
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: + trigger-builder-dockerfile-builder-release herokuish frontend '' | |
remote: + declare 'desc=builder-dockerfile builder-release plugin trigger' | |
remote: + declare trigger=builder-release | |
remote: + declare BUILDER_TYPE=herokuish APP=frontend IMAGE_TAG= | |
remote: + [[ herokuish != \d\o\c\k\e\r\f\i\l\e ]] | |
remote: + return | |
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: + trigger-builder-herokuish-builder-release herokuish frontend '' | |
remote: + declare 'desc=builder-herokuish builder-release plugin trigger' | |
remote: + declare trigger=builder-release | |
remote: + declare BUILDER_TYPE=herokuish APP=frontend IMAGE_TAG= | |
remote: + [[ herokuish != \h\e\r\o\k\u\i\s\h ]] | |
remote: + local CID | |
remote: ++ get_app_image_name frontend '' | |
remote: ++ declare 'desc=return image identifier for a given app, tag tuple. validate if tag is presented' | |
remote: ++ local APP=frontend | |
remote: ++ local IMAGE_TAG= | |
remote: ++ IMAGE_REPO= | |
remote: ++ is_valid_app_name frontend | |
remote: ++ declare 'desc=verify app name format' | |
remote: ++ local APP=frontend | |
remote: ++ [[ -z frontend ]] | |
remote: ++ [[ frontend =~ ^[a-z].* ]] | |
remote: ++ [[ ! frontend =~ [A-Z] ]] | |
remote: ++ [[ ! frontend =~ [:] ]] | |
remote: ++ return 0 | |
remote: ++ [[ -z '' ]] | |
remote: +++ get_app_image_repo frontend | |
remote: +++ declare 'desc=central definition of image repo pattern' | |
remote: +++ local APP=frontend | |
remote: +++ local IMAGE_REPO=dokku/frontend | |
remote: +++ is_valid_app_name frontend | |
remote: +++ declare 'desc=verify app name format' | |
remote: +++ local APP=frontend | |
remote: +++ [[ -z frontend ]] | |
remote: +++ [[ frontend =~ ^[a-z].* ]] | |
remote: +++ [[ ! frontend =~ [A-Z] ]] | |
remote: +++ [[ ! frontend =~ [:] ]] | |
remote: +++ return 0 | |
remote: +++ echo dokku/frontend | |
remote: ++ IMAGE_REPO=dokku/frontend | |
remote: ++ [[ -n '' ]] | |
remote: ++ local IMAGE=dokku/frontend:latest | |
remote: ++ echo dokku/frontend:latest | |
remote: + local IMAGE=dokku/frontend:latest | |
remote: + DOCKER_COMMIT_LABEL_ARGS=("--change" "LABEL org.label-schema.schema-version=1.0" "--change" "LABEL org.label-schema.vendor=dokku" "--change" "LABEL com.dokku.app-name=$APP") | |
remote: + local DOCKER_COMMIT_LABEL_ARGS | |
remote: + local DOCKER_RUN_LABEL_ARGS=--label=com.dokku.app-name=frontend | |
remote: + plugn trigger pre-release-buildpack frontend '' | |
remote: + source /var/lib/dokku/core-plugins/available/common/functions | |
remote: ++ set -eo pipefail | |
remote: ++ [[ -n 1 ]] | |
remote: ++ set -x | |
remote: + [[ ! -n '' ]] | |
remote: ++ config_export global | |
remote: ++ declare 'desc=returns export command for config variable of specified type (app/global)' | |
remote: ++ local CONFIG_TYPE=global | |
remote: ++ shift | |
remote: ++ local APP= | |
remote: ++ [[ global == \g\l\o\b\a\l ]] | |
remote: ++ APP=--global | |
remote: ++ config_sub export --global | |
remote: ++ declare 'desc=executes a config subcommand' | |
remote: ++ local name=export | |
remote: ++ shift | |
remote: ++ /var/lib/dokku/plugins/available/config/subcommands/export config:export --global | |
remote: ++ return 0 | |
remote: + [[ -n export CURL_CONNECT_TIMEOUT='90' | |
remote: export CURL_TIMEOUT='600' | |
remote: export DOKKU_LETSENCRYPT_EMAIL='[email protected]' ]] | |
remote: ++ config_export global | |
remote: ++ declare 'desc=returns export command for config variable of specified type (app/global)' | |
remote: ++ local CONFIG_TYPE=global | |
remote: ++ shift | |
remote: ++ local APP= | |
remote: ++ [[ global == \g\l\o\b\a\l ]] | |
remote: ++ APP=--global | |
remote: ++ config_sub export --global | |
remote: ++ declare 'desc=executes a config subcommand' | |
remote: ++ local name=export | |
remote: ++ shift | |
remote: ++ /var/lib/dokku/plugins/available/config/subcommands/export config:export --global | |
remote: ++ docker container run --label=com.dokku.app-name=frontend --label=org.label-schema.schema-version=1.0 --label=org.label-schema.vendor=dokku --label=dokku -i -a stdin dokku/frontend:latest /bin/bash -c 'mkdir -p /app/.profile.d && cat > /app/.profile.d/00-global-env.sh' | |
remote: ++ return 0 | |
remote: + CID=d04c2c87ad57da273a247c0505d4a55151bcefbeea94b91747446db4120fdf6f | |
remote: ++ docker container wait d04c2c87ad57da273a247c0505d4a55151bcefbeea94b91747446db4120fdf6f | |
remote: + test 0 -ne 0 | |
remote: + docker container commit --change 'LABEL org.label-schema.schema-version=1.0' --change 'LABEL org.label-schema.vendor=dokku' --change 'LABEL com.dokku.app-name=frontend' d04c2c87ad57da273a247c0505d4a55151bcefbeea94b91747446db4120fdf6f dokku/frontend:latest | |
remote: ++ config_export app frontend | |
remote: ++ declare 'desc=returns export command for config variable of specified type (app/global)' | |
remote: ++ local CONFIG_TYPE=app | |
remote: ++ shift | |
remote: ++ local APP=frontend | |
remote: ++ [[ app == \g\l\o\b\a\l ]] | |
remote: ++ shift | |
remote: ++ config_sub export frontend | |
remote: ++ declare 'desc=executes a config subcommand' | |
remote: ++ local name=export | |
remote: ++ shift | |
remote: ++ /var/lib/dokku/plugins/available/config/subcommands/export config:export frontend | |
remote: ++ return 0 | |
remote: + [[ -n export DOKKU_APP_RESTORE='1' | |
remote: export DOKKU_APP_TYPE='herokuish' | |
remote: export DOKKU_DOCKERFILE_CMD='CMD yarn start' | |
remote: export DOKKU_DOCKERFILE_PORTS='3030' | |
remote: export DOKKU_PROXY_PORT_MAP='http:3030:3030 ' | |
remote: export GIT_REV='6fa53725ac224b1637fb830ecca258d89a7c4db1' ]] | |
remote: ++ config_export app frontend | |
remote: ++ declare 'desc=returns export command for config variable of specified type (app/global)' | |
remote: ++ local CONFIG_TYPE=app | |
remote: ++ shift | |
remote: ++ local APP=frontend | |
remote: ++ [[ app == \g\l\o\b\a\l ]] | |
remote: ++ shift | |
remote: ++ config_sub export frontend | |
remote: ++ declare 'desc=executes a config subcommand' | |
remote: ++ local name=export | |
remote: ++ shift | |
remote: ++ /var/lib/dokku/plugins/available/config/subcommands/export config:export frontend | |
remote: ++ docker container run --label=com.dokku.app-name=frontend --label=org.label-schema.schema-version=1.0 --label=org.label-schema.vendor=dokku --label=dokku -i -a stdin dokku/frontend:latest /bin/bash -c 'mkdir -p /app/.profile.d && cat > /app/.profile.d/01-app-env.sh' | |
remote: ++ return 0 | |
remote: + CID=2a4dfc56dc2dd18501af1a0f2632176296c9db6701035dccdd186a6cefa40133 | |
remote: ++ docker container wait 2a4dfc56dc2dd18501af1a0f2632176296c9db6701035dccdd186a6cefa40133 | |
remote: + test 0 -ne 0 | |
remote: + docker container commit --change 'LABEL org.label-schema.schema-version=1.0' --change 'LABEL org.label-schema.vendor=dokku' --change 'LABEL com.dokku.app-name=frontend' 2a4dfc56dc2dd18501af1a0f2632176296c9db6701035dccdd186a6cefa40133 dokku/frontend:latest | |
remote: + echo 'FROM dokku/frontend:latest' | |
remote: + suppress_output docker image build --label=com.dokku.image-stage=release -t dokku/frontend:latest - | |
remote: + declare 'desc=suppress all output from a given command unless there is an error' | |
remote: + local TMP_COMMAND_OUTPUT | |
remote: ++ mktemp /tmp/dokku-5150-suppress_output.XXXXXX | |
remote: + TMP_COMMAND_OUTPUT=/tmp/dokku-5150-suppress_output.dEjMZ9 | |
remote: + trap 'rm -rf '\''/tmp/dokku-5150-suppress_output.dEjMZ9'\'' >/dev/null' RETURN | |
remote: + docker image build --label=com.dokku.image-stage=release -t dokku/frontend:latest - | |
remote: + return 0 | |
remote: ++ rm -rf /tmp/dokku-5150-suppress_output.dEjMZ9 | |
remote: + plugn trigger post-release-buildpack frontend '' | |
remote: + source /var/lib/dokku/core-plugins/available/common/functions | |
remote: ++ set -eo pipefail | |
remote: ++ [[ -n 1 ]] | |
remote: ++ set -x | |
remote: + [[ ! -n '' ]] | |
remote: + [[ '' != \t\r\u\e ]] | |
remote: + dokku_log_info1 'Deploying frontend (dokku/frontend:latest)...' | |
remote: + declare 'desc=log info1 formatter' | |
remote: + echo '-----> Deploying frontend (dokku/frontend:latest)...' | |
remote: + cmd-deploy frontend '' | |
remote: + declare 'desc=deploy phase' | |
remote: + declare APP=frontend IMAGE_TAG= | |
-----> Deploying frontend (dokku/frontend:latest)... | |
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: ++ get_app_scheduler frontend | |
remote: ++ declare 'desc=fetch the scheduler for a given application' | |
remote: ++ declare APP=frontend | |
remote: ++ local DOKKU_APP_SCHEDULER DOKKU_GLOBAL_SCHEDULER DOKKU_SCHEDULER | |
remote: ++ [[ frontend == \-\-\g\l\o\b\a\l ]] | |
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: ++ [[ -n frontend ]] | |
remote: +++ config_get frontend DOKKU_SCHEDULER | |
remote: +++ declare 'desc=get value of given config var' | |
remote: +++ config_sub get frontend DOKKU_SCHEDULER | |
remote: +++ declare 'desc=executes a config subcommand' | |
remote: +++ local name=get | |
remote: +++ shift | |
remote: +++ /var/lib/dokku/plugins/available/config/subcommands/get config:get frontend DOKKU_SCHEDULER | |
remote: +++ true | |
remote: ++ DOKKU_APP_SCHEDULER= | |
remote: +++ config_get --global DOKKU_SCHEDULER | |
remote: +++ declare 'desc=get value of given config var' | |
remote: +++ config_sub get --global DOKKU_SCHEDULER | |
remote: +++ declare 'desc=executes a config subcommand' | |
remote: +++ local name=get | |
remote: +++ shift | |
remote: +++ /var/lib/dokku/plugins/available/config/subcommands/get config:get --global DOKKU_SCHEDULER | |
remote: +++ true | |
remote: ++ DOKKU_GLOBAL_SCHEDULER= | |
remote: ++ DOKKU_SCHEDULER= | |
remote: ++ [[ -z '' ]] | |
remote: ++ DOKKU_SCHEDULER=docker-local | |
remote: ++ echo docker-local | |
remote: + local DOKKU_SCHEDULER=docker-local | |
remote: + plugn trigger scheduler-deploy docker-local frontend '' | |
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/checks/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: + source /var/lib/dokku/plugins/available/ps/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/scheduler-docker-local/internal-functions | |
remote: ++ source /var/lib/dokku/core-plugins/available/common/functions | |
remote: +++ set -eo pipefail | |
remote: +++ [[ -n 1 ]] | |
remote: +++ set -x | |
remote: ++ source /var/lib/dokku/core-plugins/available/common/property-functions | |
remote: +++ set -eo pipefail | |
remote: +++ [[ -n 1 ]] | |
remote: +++ set -x | |
remote: ++ source /var/lib/dokku/plugins/available/config/functions | |
remote: +++ set -eo pipefail | |
remote: +++ [[ -n 1 ]] | |
remote: +++ set -x | |
remote: +++ source /var/lib/dokku/core-plugins/available/common/functions | |
remote: ++++ set -eo pipefail | |
remote: ++++ [[ -n 1 ]] | |
remote: ++++ set -x | |
remote: ++ set -eo pipefail | |
remote: ++ [[ -n 1 ]] | |
remote: ++ set -x | |
remote: + trigger-scheduler-docker-local-scheduler-deploy docker-local frontend '' | |
remote: + declare 'desc=deploys an image tag for a given application' | |
remote: + declare trigger=scheduler-deploy | |
remote: + declare DOKKU_SCHEDULER=docker-local APP=frontend IMAGE_TAG= | |
remote: + [[ docker-local != \d\o\c\k\e\r\-\l\o\c\a\l ]] | |
remote: + rm -f /var/lib/dokku/data/scheduler-docker-local/frontend/failed-containers | |
remote: + local DOCKER_RUN_LABEL_ARGS=--label=com.dokku.app-name=frontend | |
remote: + local DOKKU_DOCKER_STOP_TIMEOUT DOKKU_HEROKUISH DOKKU_NETWORK_BIND_ALL IMAGE | |
remote: + DOKKU_HEROKUISH=false | |
remote: ++ get_deploying_app_image_name frontend '' | |
remote: ++ declare 'desc=return deploying image identifier for a given app, tag tuple. validate if tag is presented' | |
remote: ++ local APP=frontend | |
remote: ++ local IMAGE_TAG= | |
remote: ++ IMAGE_REPO= | |
remote: ++ is_valid_app_name frontend | |
remote: ++ declare 'desc=verify app name format' | |
remote: ++ local APP=frontend | |
remote: ++ [[ -z frontend ]] | |
remote: ++ [[ frontend =~ ^[a-z].* ]] | |
remote: ++ [[ ! frontend =~ [A-Z] ]] | |
remote: ++ [[ ! frontend =~ [:] ]] | |
remote: ++ return 0 | |
remote: +++ plugn trigger deployed-app-repository frontend | |
remote: + source /var/lib/dokku/core-plugins/available/common/functions | |
remote: ++ set -eo pipefail | |
remote: ++ [[ -n 1 ]] | |
remote: ++ set -x | |
remote: + [[ ! -n '' ]] | |
remote: ++ local IMAGE_REMOTE_REPOSITORY= | |
remote: +++ plugn trigger deployed-app-image-tag frontend | |
remote: + source /var/lib/dokku/core-plugins/available/common/functions | |
remote: ++ set -eo pipefail | |
remote: ++ [[ -n 1 ]] | |
remote: ++ set -x | |
remote: + [[ ! -n '' ]] | |
remote: ++ local NEW_IMAGE_TAG= | |
remote: +++ plugn trigger deployed-app-image-repo frontend | |
remote: + source /var/lib/dokku/core-plugins/available/common/functions | |
remote: ++ set -eo pipefail | |
remote: ++ [[ -n 1 ]] | |
remote: ++ set -x | |
remote: + [[ ! -n '' ]] | |
remote: ++ local NEW_IMAGE_REPO= | |
remote: ++ [[ -n '' ]] | |
remote: ++ [[ -n '' ]] | |
remote: ++ [[ -z '' ]] | |
remote: +++ get_app_image_repo frontend | |
remote: +++ declare 'desc=central definition of image repo pattern' | |
remote: +++ local APP=frontend | |
remote: +++ local IMAGE_REPO=dokku/frontend | |
remote: +++ is_valid_app_name frontend | |
remote: +++ declare 'desc=verify app name format' | |
remote: +++ local APP=frontend | |
remote: +++ [[ -z frontend ]] | |
remote: +++ [[ frontend =~ ^[a-z].* ]] | |
remote: +++ [[ ! frontend =~ [A-Z] ]] | |
remote: +++ [[ ! frontend =~ [:] ]] | |
remote: +++ return 0 | |
remote: +++ echo dokku/frontend | |
remote: ++ IMAGE_REPO=dokku/frontend | |
remote: ++ [[ -z '' ]] | |
remote: ++ IMAGE_TAG=latest | |
remote: ++ local IMAGE=dokku/frontend:latest | |
remote: ++ verify_image dokku/frontend:latest | |
remote: ++ declare 'desc=verify image existence' | |
remote: ++ local IMAGE=dokku/frontend:latest | |
remote: ++ docker image inspect dokku/frontend:latest | |
remote: ++ return 0 | |
remote: ++ echo dokku/frontend:latest | |
remote: + IMAGE=dokku/frontend:latest | |
remote: + verify_app_name frontend | |
remote: + declare 'desc=verify app name format and app existence' | |
remote: + local APP=frontend | |
remote: + is_valid_app_name frontend | |
remote: + declare 'desc=verify app name format' | |
remote: + local APP=frontend | |
remote: + [[ -z frontend ]] | |
remote: + [[ frontend =~ ^[a-z].* ]] | |
remote: + [[ ! frontend =~ [A-Z] ]] | |
remote: + [[ ! frontend =~ [:] ]] | |
remote: + return 0 | |
remote: + [[ ! -d /home/dokku/frontend ]] | |
remote: + return 0 | |
remote: + plugn trigger pre-deploy frontend '' | |
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/core-plugins/available/app-json/internal-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/ps/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: + trigger-app-json-pre-deploy frontend '' | |
remote: + declare 'desc=app-json scripts execution' | |
remote: + declare trigger=pre-deploy | |
remote: + declare APP=frontend IMAGE_TAG= | |
remote: + local PHASE_SCRIPT_KEY=predeploy | |
remote: + execute_script frontend '' predeploy | |
remote: + declare 'desc=executes appropriate phase script key from app.json' | |
remote: + declare APP=frontend IMAGE_TAG= PHASE_SCRIPT_KEY=predeploy | |
remote: + local IMAGE id SCRIPT_CMD | |
remote: + DOCKER_COMMIT_LABEL_ARGS=("--change" "\"LABEL org.label-schema.schema-version=1.0\"" "--change" "\"LABEL org.label-schema.vendor=dokku\"" "--change" "\"LABEL com.dokku.app-name=$APP\"") | |
remote: + local DOCKER_COMMIT_LABEL_ARGS | |
remote: + local DOCKER_RUN_LABEL_ARGS=--label=com.dokku.app-name=frontend | |
remote: ++ get_deploying_app_image_name frontend '' | |
remote: ++ declare 'desc=return deploying image identifier for a given app, tag tuple. validate if tag is presented' | |
remote: ++ local APP=frontend | |
remote: ++ local IMAGE_TAG= | |
remote: ++ IMAGE_REPO= | |
remote: ++ is_valid_app_name frontend | |
remote: ++ declare 'desc=verify app name format' | |
remote: ++ local APP=frontend | |
remote: ++ [[ -z frontend ]] | |
remote: ++ [[ frontend =~ ^[a-z].* ]] | |
remote: ++ [[ ! frontend =~ [A-Z] ]] | |
remote: ++ [[ ! frontend =~ [:] ]] | |
remote: ++ return 0 | |
remote: +++ plugn trigger deployed-app-repository frontend | |
remote: + source /var/lib/dokku/core-plugins/available/common/functions | |
remote: ++ set -eo pipefail | |
remote: ++ [[ -n 1 ]] | |
remote: ++ set -x | |
remote: + [[ ! -n '' ]] | |
remote: ++ local IMAGE_REMOTE_REPOSITORY= | |
remote: +++ plugn trigger deployed-app-image-tag frontend | |
remote: + source /var/lib/dokku/core-plugins/available/common/functions | |
remote: ++ set -eo pipefail | |
remote: ++ [[ -n 1 ]] | |
remote: ++ set -x | |
remote: + [[ ! -n '' ]] | |
remote: ++ local NEW_IMAGE_TAG= | |
remote: +++ plugn trigger deployed-app-image-repo frontend | |
remote: + source /var/lib/dokku/core-plugins/available/common/functions | |
remote: ++ set -eo pipefail | |
remote: ++ [[ -n 1 ]] | |
remote: ++ set -x | |
remote: + [[ ! -n '' ]] | |
remote: ++ local NEW_IMAGE_REPO= | |
remote: ++ [[ -n '' ]] | |
remote: ++ [[ -n '' ]] | |
remote: ++ [[ -z '' ]] | |
remote: +++ get_app_image_repo frontend | |
remote: +++ declare 'desc=central definition of image repo pattern' | |
remote: +++ local APP=frontend | |
remote: +++ local IMAGE_REPO=dokku/frontend | |
remote: +++ is_valid_app_name frontend | |
remote: +++ declare 'desc=verify app name format' | |
remote: +++ local APP=frontend | |
remote: +++ [[ -z frontend ]] | |
remote: +++ [[ frontend =~ ^[a-z].* ]] | |
remote: +++ [[ ! frontend =~ [A-Z] ]] | |
remote: +++ [[ ! frontend =~ [:] ]] | |
remote: +++ return 0 | |
remote: +++ echo dokku/frontend | |
remote: ++ IMAGE_REPO=dokku/frontend | |
remote: ++ [[ -z '' ]] | |
remote: ++ IMAGE_TAG=latest | |
remote: ++ local IMAGE=dokku/frontend:latest | |
remote: ++ verify_image dokku/frontend:latest | |
remote: ++ declare 'desc=verify image existence' | |
remote: ++ local IMAGE=dokku/frontend:latest | |
remote: ++ docker image inspect dokku/frontend:latest | |
remote: ++ return 0 | |
remote: ++ echo dokku/frontend:latest | |
remote: + IMAGE=dokku/frontend:latest | |
remote: + [[ predeploy == \r\e\l\e\a\s\e ]] | |
remote: ++ get_phase_script dokku/frontend:latest predeploy | |
remote: + SCRIPT_CMD= | |
remote: + [[ -z '' ]] | |
remote: + return | |
remote: + execute_script frontend '' release | |
remote: + declare 'desc=executes appropriate phase script key from app.json' | |
remote: + declare APP=frontend IMAGE_TAG= PHASE_SCRIPT_KEY=release | |
remote: + local IMAGE id SCRIPT_CMD | |
remote: + DOCKER_COMMIT_LABEL_ARGS=("--change" "\"LABEL org.label-schema.schema-version=1.0\"" "--change" "\"LABEL org.label-schema.vendor=dokku\"" "--change" "\"LABEL com.dokku.app-name=$APP\"") | |
remote: + local DOCKER_COMMIT_LABEL_ARGS | |
remote: + local DOCKER_RUN_LABEL_ARGS=--label=com.dokku.app-name=frontend | |
remote: ++ get_deploying_app_image_name frontend '' | |
remote: ++ declare 'desc=return deploying image identifier for a given app, tag tuple. validate if tag is presented' | |
remote: ++ local APP=frontend | |
remote: ++ local IMAGE_TAG= | |
remote: ++ IMAGE_REPO= | |
remote: ++ is_valid_app_name frontend | |
remote: ++ declare 'desc=verify app name format' | |
remote: ++ local APP=frontend | |
remote: ++ [[ -z frontend ]] | |
remote: ++ [[ frontend =~ ^[a-z].* ]] | |
remote: ++ [[ ! frontend =~ [A-Z] ]] | |
remote: ++ [[ ! frontend =~ [:] ]] | |
remote: ++ return 0 | |
remote: +++ plugn trigger deployed-app-repository frontend | |
remote: + source /var/lib/dokku/core-plugins/available/common/functions | |
remote: ++ set -eo pipefail | |
remote: ++ [[ -n 1 ]] | |
remote: ++ set -x | |
remote: + [[ ! -n '' ]] | |
remote: ++ local IMAGE_REMOTE_REPOSITORY= | |
remote: +++ plugn trigger deployed-app-image-tag frontend | |
remote: + source /var/lib/dokku/core-plugins/available/common/functions | |
remote: ++ set -eo pipefail | |
remote: ++ [[ -n 1 ]] | |
remote: ++ set -x | |
remote: + [[ ! -n '' ]] | |
remote: ++ local NEW_IMAGE_TAG= | |
remote: +++ plugn trigger deployed-app-image-repo frontend | |
remote: + source /var/lib/dokku/core-plugins/available/common/functions | |
remote: ++ set -eo pipefail | |
remote: ++ [[ -n 1 ]] | |
remote: ++ set -x | |
remote: + [[ ! -n '' ]] | |
remote: ++ local NEW_IMAGE_REPO= | |
remote: ++ [[ -n '' ]] | |
remote: ++ [[ -n '' ]] | |
remote: ++ [[ -z '' ]] | |
remote: +++ get_app_image_repo frontend | |
remote: +++ declare 'desc=central definition of image repo pattern' | |
remote: +++ local APP=frontend | |
remote: +++ local IMAGE_REPO=dokku/frontend | |
remote: +++ is_valid_app_name frontend | |
remote: +++ declare 'desc=verify app name format' | |
remote: +++ local APP=frontend | |
remote: +++ [[ -z frontend ]] | |
remote: +++ [[ frontend =~ ^[a-z].* ]] | |
remote: +++ [[ ! frontend =~ [A-Z] ]] | |
remote: +++ [[ ! frontend =~ [:] ]] | |
remote: +++ return 0 | |
remote: +++ echo dokku/frontend | |
remote: ++ IMAGE_REPO=dokku/frontend | |
remote: ++ [[ -z '' ]] | |
remote: ++ IMAGE_TAG=latest | |
remote: ++ local IMAGE=dokku/frontend:latest | |
remote: ++ verify_image dokku/frontend:latest | |
remote: ++ declare 'desc=verify image existence' | |
remote: ++ local IMAGE=dokku/frontend:latest | |
remote: ++ docker image inspect dokku/frontend:latest | |
remote: ++ return 0 | |
remote: ++ echo dokku/frontend:latest | |
remote: + IMAGE=dokku/frontend:latest | |
remote: + [[ release == \r\e\l\e\a\s\e ]] | |
remote: ++ get_release_cmd frontend '' | |
remote: ++ true | |
remote: ++ remove_procfile frontend | |
remote: ++ declare 'desc=removes DOKKU_PROCFILE' | |
remote: ++ local APP=frontend | |
remote: ++ local DOKKU_PROCFILE=/home/dokku/frontend/DOKKU_PROCFILE | |
remote: ++ [[ -f /home/dokku/frontend/DOKKU_PROCFILE ]] | |
remote: + SCRIPT_CMD= | |
remote: + [[ -z '' ]] | |
remote: + return | |
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/ps/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: + trigger-ps-pre-deploy frontend '' | |
remote: + declare 'desc=ps pre-deploy plugin trigger' | |
remote: + declare trigger=pre-deploy | |
remote: + declare APP=frontend IMAGE_TAG= | |
remote: + extract_procfile frontend '' | |
remote: + declare 'desc=extracts procfile from app image' | |
remote: + local APP=frontend | |
remote: + local IMAGE_TAG= | |
remote: ++ get_deploying_app_image_name frontend '' | |
remote: ++ declare 'desc=return deploying image identifier for a given app, tag tuple. validate if tag is presented' | |
remote: ++ local APP=frontend | |
remote: ++ local IMAGE_TAG= | |
remote: ++ IMAGE_REPO= | |
remote: ++ is_valid_app_name frontend | |
remote: ++ declare 'desc=verify app name format' | |
remote: ++ local APP=frontend | |
remote: ++ [[ -z frontend ]] | |
remote: ++ [[ frontend =~ ^[a-z].* ]] | |
remote: ++ [[ ! frontend =~ [A-Z] ]] | |
remote: ++ [[ ! frontend =~ [:] ]] | |
remote: ++ return 0 | |
remote: +++ plugn trigger deployed-app-repository frontend | |
remote: + source /var/lib/dokku/core-plugins/available/common/functions | |
remote: ++ set -eo pipefail | |
remote: ++ [[ -n 1 ]] | |
remote: ++ set -x | |
remote: + [[ ! -n '' ]] | |
remote: ++ local IMAGE_REMOTE_REPOSITORY= | |
remote: +++ plugn trigger deployed-app-image-tag frontend | |
remote: + source /var/lib/dokku/core-plugins/available/common/functions | |
remote: ++ set -eo pipefail | |
remote: ++ [[ -n 1 ]] | |
remote: ++ set -x | |
remote: + [[ ! -n '' ]] | |
remote: ++ local NEW_IMAGE_TAG= | |
remote: +++ plugn trigger deployed-app-image-repo frontend | |
remote: + source /var/lib/dokku/core-plugins/available/common/functions | |
remote: ++ set -eo pipefail | |
remote: ++ [[ -n 1 ]] | |
remote: ++ set -x | |
remote: + [[ ! -n '' ]] | |
remote: ++ local NEW_IMAGE_REPO= | |
remote: ++ [[ -n '' ]] | |
remote: ++ [[ -n '' ]] | |
remote: ++ [[ -z '' ]] | |
remote: +++ get_app_image_repo frontend | |
remote: +++ declare 'desc=central definition of image repo pattern' | |
remote: +++ local APP=frontend | |
remote: +++ local IMAGE_REPO=dokku/frontend | |
remote: +++ is_valid_app_name frontend | |
remote: +++ declare 'desc=verify app name format' | |
remote: +++ local APP=frontend | |
remote: +++ [[ -z frontend ]] | |
remote: +++ [[ frontend =~ ^[a-z].* ]] | |
remote: +++ [[ ! frontend =~ [A-Z] ]] | |
remote: +++ [[ ! frontend =~ [:] ]] | |
remote: +++ return 0 | |
remote: +++ echo dokku/frontend | |
remote: ++ IMAGE_REPO=dokku/frontend | |
remote: ++ [[ -z '' ]] | |
remote: ++ IMAGE_TAG=latest | |
remote: ++ local IMAGE=dokku/frontend:latest | |
remote: ++ verify_image dokku/frontend:latest | |
remote: ++ declare 'desc=verify image existence' | |
remote: ++ local IMAGE=dokku/frontend:latest | |
remote: ++ docker image inspect dokku/frontend:latest | |
remote: ++ return 0 | |
remote: ++ echo dokku/frontend:latest | |
remote: + local IMAGE=dokku/frontend:latest | |
remote: + local DOKKU_PROCFILE=/home/dokku/frontend/DOKKU_PROCFILE | |
remote: + verify_app_name frontend | |
remote: + declare 'desc=verify app name format and app existence' | |
remote: + local APP=frontend | |
remote: + is_valid_app_name frontend | |
remote: + declare 'desc=verify app name format' | |
remote: + local APP=frontend | |
remote: + [[ -z frontend ]] | |
remote: + [[ frontend =~ ^[a-z].* ]] | |
remote: + [[ ! frontend =~ [A-Z] ]] | |
remote: + [[ ! frontend =~ [:] ]] | |
remote: + return 0 | |
remote: + [[ ! -d /home/dokku/frontend ]] | |
remote: + return 0 | |
remote: + remove_procfile frontend | |
remote: + declare 'desc=removes DOKKU_PROCFILE' | |
remote: + local APP=frontend | |
remote: + local DOKKU_PROCFILE=/home/dokku/frontend/DOKKU_PROCFILE | |
remote: + [[ -f /home/dokku/frontend/DOKKU_PROCFILE ]] | |
remote: + copy_from_image dokku/frontend:latest Procfile /home/dokku/frontend/DOKKU_PROCFILE | |
remote: + [[ -f /home/dokku/frontend/DOKKU_PROCFILE ]] | |
remote: + dokku_log_info1_quiet 'App Procfile file found (/home/dokku/frontend/DOKKU_PROCFILE)' | |
remote: + declare 'desc=log info1 formatter (with quiet option)' | |
remote: + [[ -z '' ]] | |
remote: + echo '-----> App Procfile file found (/home/dokku/frontend/DOKKU_PROCFILE)' | |
-----> App Procfile file found (/home/dokku/frontend/DOKKU_PROCFILE) | |
remote: ++ procfile-util check --procfile /home/dokku/frontend/DOKKU_PROCFILE | |
remote: + PROCFILE_ERRORS= | |
remote: + [[ -n '' ]] | |
remote: ++ rm -rf /tmp/dokku-5150-copy_from_image.qbQRrU | |
remote: + generate_scale_file frontend '' | |
remote: + declare 'desc=generates DOKKU_SCALE file' | |
remote: + local APP=frontend | |
remote: + local IMAGE_TAG= | |
remote: ++ get_deploying_app_image_name frontend '' | |
remote: ++ declare 'desc=return deploying image identifier for a given app, tag tuple. validate if tag is presented' | |
remote: ++ local APP=frontend | |
remote: ++ local IMAGE_TAG= | |
remote: ++ IMAGE_REPO= | |
remote: ++ is_valid_app_name frontend | |
remote: ++ declare 'desc=verify app name format' | |
remote: ++ local APP=frontend | |
remote: ++ [[ -z frontend ]] | |
remote: ++ [[ frontend =~ ^[a-z].* ]] | |
remote: ++ [[ ! frontend =~ [A-Z] ]] | |
remote: ++ [[ ! frontend =~ [:] ]] | |
remote: ++ return 0 | |
remote: +++ plugn trigger deployed-app-repository frontend | |
remote: + source /var/lib/dokku/core-plugins/available/common/functions | |
remote: ++ set -eo pipefail | |
remote: ++ [[ -n 1 ]] | |
remote: ++ set -x | |
remote: + [[ ! -n '' ]] | |
remote: ++ local IMAGE_REMOTE_REPOSITORY= | |
remote: +++ plugn trigger deployed-app-image-tag frontend | |
remote: + source /var/lib/dokku/core-plugins/available/common/functions | |
remote: ++ set -eo pipefail | |
remote: ++ [[ -n 1 ]] | |
remote: ++ set -x | |
remote: + [[ ! -n '' ]] | |
remote: ++ local NEW_IMAGE_TAG= | |
remote: +++ plugn trigger deployed-app-image-repo frontend | |
remote: + source /var/lib/dokku/core-plugins/available/common/functions | |
remote: ++ set -eo pipefail | |
remote: ++ [[ -n 1 ]] | |
remote: ++ set -x | |
remote: + [[ ! -n '' ]] | |
remote: ++ local NEW_IMAGE_REPO= | |
remote: ++ [[ -n '' ]] | |
remote: ++ [[ -n '' ]] | |
remote: ++ [[ -z '' ]] | |
remote: +++ get_app_image_repo frontend | |
remote: +++ declare 'desc=central definition of image repo pattern' | |
remote: +++ local APP=frontend | |
remote: +++ local IMAGE_REPO=dokku/frontend | |
remote: +++ is_valid_app_name frontend | |
remote: +++ declare 'desc=verify app name format' | |
remote: +++ local APP=frontend | |
remote: +++ [[ -z frontend ]] | |
remote: +++ [[ frontend =~ ^[a-z].* ]] | |
remote: +++ [[ ! frontend =~ [A-Z] ]] | |
remote: +++ [[ ! frontend =~ [:] ]] | |
remote: +++ return 0 | |
remote: +++ echo dokku/frontend | |
remote: ++ IMAGE_REPO=dokku/frontend | |
remote: ++ [[ -z '' ]] | |
remote: ++ IMAGE_TAG=latest | |
remote: ++ local IMAGE=dokku/frontend:latest | |
remote: ++ verify_image dokku/frontend:latest | |
remote: ++ declare 'desc=verify image existence' | |
remote: ++ local IMAGE=dokku/frontend:latest | |
remote: ++ docker image inspect dokku/frontend:latest | |
remote: ++ return 0 | |
remote: ++ echo dokku/frontend:latest | |
remote: + local IMAGE=dokku/frontend:latest | |
remote: + local DOKKU_SCALE_FILE=/home/dokku/frontend/DOKKU_SCALE | |
remote: + local DOKKU_PROCFILE=/home/dokku/frontend/DOKKU_PROCFILE | |
remote: + verify_app_name frontend | |
remote: + declare 'desc=verify app name format and app existence' | |
remote: + local APP=frontend | |
remote: + is_valid_app_name frontend | |
remote: + declare 'desc=verify app name format' | |
remote: + local APP=frontend | |
remote: + [[ -z frontend ]] | |
remote: + [[ frontend =~ ^[a-z].* ]] | |
remote: + [[ ! frontend =~ [A-Z] ]] | |
remote: + [[ ! frontend =~ [:] ]] | |
remote: + return 0 | |
remote: + [[ ! -d /home/dokku/frontend ]] | |
remote: + return 0 | |
remote: + copy_from_image dokku/frontend:latest DOKKU_SCALE /home/dokku/frontend/DOKKU_SCALE | |
remote: + rm -f /home/dokku/frontend/DOKKU_SCALE.extracted | |
remote: + [[ ! -f /home/dokku/frontend/DOKKU_SCALE ]] | |
remote: + print_dokku_scale_file frontend | |
remote: + declare 'desc=prints contents of DOKKU_SCALE file' | |
remote: + local APP=frontend | |
remote: + local DOKKU_SCALE_FILE=/home/dokku/frontend/DOKKU_SCALE | |
remote: ++ xargs | |
remote: + dokku_log_verbose_quiet 'DOKKU_SCALE declares scale -> web=1' | |
remote: + declare 'desc=log verbose formatter (with quiet option)' | |
remote: + [[ -z '' ]] | |
remote: + echo ' DOKKU_SCALE declares scale -> web=1' | |
DOKKU_SCALE declares scale -> web=1 | |
remote: ++ rm -rf /tmp/dokku-5150-copy_from_image.aLd94a | |
remote: ++ rm -rf /tmp/dokku-5150-copy_from_image.qbQRrU | |
remote: + source /var/lib/dokku/core-plugins/available/common/functions | |
remote: ++ set -eo pipefail | |
remote: ++ [[ -n 1 ]] | |
remote: ++ set -x | |
remote: + source /var/lib/dokku/core-plugins/available/common/property-functions | |
remote: ++ set -eo pipefail | |
remote: ++ [[ -n 1 ]] | |
remote: ++ set -x | |
remote: + source /var/lib/dokku/plugins/available/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: + trigger-scheduler-docker-local-pre-deploy frontend '' | |
remote: + declare 'desc=scheduler-docker-local pre-deploy plugin trigger' | |
remote: + declare trigger=pre-deploy | |
remote: + declare APP=frontend IMAGE_TAG= | |
remote: ++ get_app_scheduler frontend | |
remote: ++ declare 'desc=fetch the scheduler for a given application' | |
remote: ++ declare APP=frontend | |
remote: ++ local DOKKU_APP_SCHEDULER DOKKU_GLOBAL_SCHEDULER DOKKU_SCHEDULER | |
remote: ++ [[ frontend == \-\-\g\l\o\b\a\l ]] | |
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: ++ [[ -n frontend ]] | |
remote: +++ config_get frontend DOKKU_SCHEDULER | |
remote: +++ declare 'desc=get value of given config var' | |
remote: +++ config_sub get frontend DOKKU_SCHEDULER | |
remote: +++ declare 'desc=executes a config subcommand' | |
remote: +++ local name=get | |
remote: +++ shift | |
remote: +++ /var/lib/dokku/plugins/available/config/subcommands/get config:get frontend DOKKU_SCHEDULER | |
remote: +++ true | |
remote: ++ DOKKU_APP_SCHEDULER= | |
remote: +++ config_get --global DOKKU_SCHEDULER | |
remote: +++ declare 'desc=get value of given config var' | |
remote: +++ config_sub get --global DOKKU_SCHEDULER | |
remote: +++ declare 'desc=executes a config subcommand' | |
remote: +++ local name=get | |
remote: +++ shift | |
remote: +++ /var/lib/dokku/plugins/available/config/subcommands/get config:get --global DOKKU_SCHEDULER | |
remote: +++ true | |
remote: ++ DOKKU_GLOBAL_SCHEDULER= | |
remote: ++ DOKKU_SCHEDULER= | |
remote: ++ [[ -z '' ]] | |
remote: ++ DOKKU_SCHEDULER=docker-local | |
remote: ++ echo docker-local | |
remote: + local DOKKU_SCHEDULER=docker-local | |
remote: + [[ docker-local != \d\o\c\k\e\r\-\l\o\c\a\l ]] | |
remote: + scheduler-docker-local-pre-deploy-chown-app frontend '' | |
remote: + declare 'desc=Runs chown against the /app directory for herokuish images' | |
remote: + declare APP=frontend IMAGE_TAG= | |
remote: + local DOCKER_RUN_LABEL_ARGS=--label=com.dokku.app-name=frontend | |
remote: + local IMAGE DISABLE_CHOWN DOCKER_ARGS DOKKU_APP_TYPE DOKKU_APP_USER APP_PATHS CONTAINER_PATHS | |
remote: + declare -a ARG_ARRAY | |
remote: ++ get_app_image_name frontend '' | |
remote: ++ declare 'desc=return image identifier for a given app, tag tuple. validate if tag is presented' | |
remote: ++ local APP=frontend | |
remote: ++ local IMAGE_TAG= | |
remote: ++ IMAGE_REPO= | |
remote: ++ is_valid_app_name frontend | |
remote: ++ declare 'desc=verify app name format' | |
remote: ++ local APP=frontend | |
remote: ++ [[ -z frontend ]] | |
remote: ++ [[ frontend =~ ^[a-z].* ]] | |
remote: ++ [[ ! frontend =~ [A-Z] ]] | |
remote: ++ [[ ! frontend =~ [:] ]] | |
remote: ++ return 0 | |
remote: ++ [[ -z '' ]] | |
remote: +++ get_app_image_repo frontend | |
remote: +++ declare 'desc=central definition of image repo pattern' | |
remote: +++ local APP=frontend | |
remote: +++ local IMAGE_REPO=dokku/frontend | |
remote: +++ is_valid_app_name frontend | |
remote: +++ declare 'desc=verify app name format' | |
remote: +++ local APP=frontend | |
remote: +++ [[ -z frontend ]] | |
remote: +++ [[ frontend =~ ^[a-z].* ]] | |
remote: +++ [[ ! frontend =~ [A-Z] ]] | |
remote: +++ [[ ! frontend =~ [:] ]] | |
remote: +++ return 0 | |
remote: +++ echo dokku/frontend | |
remote: ++ IMAGE_REPO=dokku/frontend | |
remote: ++ [[ -n '' ]] | |
remote: ++ local IMAGE=dokku/frontend:latest | |
remote: ++ echo dokku/frontend:latest | |
remote: + IMAGE=dokku/frontend:latest | |
remote: ++ config_get frontend DOKKU_APP_TYPE | |
remote: ++ declare 'desc=get value of given config var' | |
remote: ++ config_sub get frontend DOKKU_APP_TYPE | |
remote: ++ declare 'desc=executes a config subcommand' | |
remote: ++ local name=get | |
remote: ++ shift | |
remote: ++ /var/lib/dokku/plugins/available/config/subcommands/get config:get frontend DOKKU_APP_TYPE | |
remote: + DOKKU_APP_TYPE=herokuish | |
remote: ++ config_get frontend DOKKU_APP_USER | |
remote: ++ declare 'desc=get value of given config var' | |
remote: ++ config_sub get frontend DOKKU_APP_USER | |
remote: ++ declare 'desc=executes a config subcommand' | |
remote: ++ local name=get | |
remote: ++ shift | |
remote: ++ /var/lib/dokku/plugins/available/config/subcommands/get config:get frontend DOKKU_APP_USER | |
remote: ++ true | |
remote: + DOKKU_APP_USER= | |
remote: + DOKKU_APP_USER=herokuishuser | |
remote: ++ dokku --quiet storage:list frontend | |
remote: + export DOKKU_HOST_ROOT=/home/dokku | |
remote: + DOKKU_HOST_ROOT=/home/dokku | |
remote: + export DOKKU_DISTRO | |
remote: ++ . /etc/os-release | |
remote: ++ echo ubuntu | |
remote: + DOKKU_DISTRO=ubuntu | |
remote: + export DOCKER_BIN=docker | |
remote: + DOCKER_BIN=docker | |
remote: + export DOKKU_IMAGE=gliderlabs/herokuish:latest | |
remote: + DOKKU_IMAGE=gliderlabs/herokuish:latest | |
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_SYSTEM_GROUP=dokku | |
remote: + DOKKU_SYSTEM_GROUP=dokku | |
remote: + export DOKKU_SYSTEM_USER=dokku | |
remote: + DOKKU_SYSTEM_USER=dokku | |
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_PID=28106 | |
remote: + DOKKU_PID=28106 | |
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_BUILD_ARGS=--label=org.label-schema.schema-version=1.0 --label=org.label-schema.vendor=dokku --label=dokku' | |
remote: + DOKKU_GLOBAL_BUILD_ARGS='--label=org.label-schema.schema-version=1.0 --label=org.label-schema.vendor=dokku --label=dokku' | |
remote: + export 'DOKKU_GLOBAL_RUN_ARGS=--label=org.label-schema.schema-version=1.0 --label=org.label-schema.vendor=dokku --label=dokku' | |
remote: + DOKKU_GLOBAL_RUN_ARGS='--label=org.label-schema.schema-version=1.0 --label=org.label-schema.vendor=dokku --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 --quiet storage:list frontend | |
remote: + declare 'desc=top-level cli arg parser' | |
remote: + local next_index=1 | |
remote: + local skip=false | |
remote: + args=("$@") | |
remote: + local args | |
remote: + local flags | |
remote: + for arg in '"$@"' | |
remote: + [[ false == \t\r\u\e ]] | |
remote: + case "$arg" in | |
remote: + export DOKKU_QUIET_OUTPUT=1 | |
remote: + DOKKU_QUIET_OUTPUT=1 | |
remote: + [[ false == \t\r\u\e ]] | |
remote: + [[ --quiet == \-\-\a\p\p ]] | |
remote: + [[ --quiet =~ ^--.* ]] | |
remote: + flags=' --quiet' | |
remote: + next_index=2 | |
remote: + for arg in '"$@"' | |
remote: + [[ false == \t\r\u\e ]] | |
remote: + case "$arg" in | |
remote: + [[ false == \t\r\u\e ]] | |
remote: + [[ storage:list == \-\-\a\p\p ]] | |
remote: + [[ storage:list =~ ^--.* ]] | |
remote: + next_index=3 | |
remote: + for arg in '"$@"' | |
remote: + [[ false == \t\r\u\e ]] | |
remote: + case "$arg" in | |
remote: + [[ false == \t\r\u\e ]] | |
remote: + [[ frontend == \-\-\a\p\p ]] | |
remote: + [[ frontend =~ ^--.* ]] | |
remote: + next_index=4 | |
remote: + [[ -z '' ]] | |
remote: ++ echo -e ' --quiet' | |
remote: ++ sed -e 's/^[[:space:]]*//' -e 's/[[:space:]]*$//' | |
remote: + export DOKKU_GLOBAL_FLAGS=--quiet | |
remote: + DOKKU_GLOBAL_FLAGS=--quiet | |
remote: + return 0 | |
remote: + args=("$@") | |
remote: + skip_arg=false | |
remote: + [[ --quiet =~ ^--.* ]] | |
remote: + for arg in '"$@"' | |
remote: + false | |
remote: + [[ --quiet == \-\-\v\e\r\s\i\o\n ]] | |
remote: + [[ --quiet == \-\-\a\p\p ]] | |
remote: + [[ --quiet =~ ^--.* ]] | |
remote: + shift 1 | |
remote: + for arg in '"$@"' | |
remote: + false | |
remote: + [[ storage:list == \-\-\v\e\r\s\i\o\n ]] | |
remote: + [[ storage:list == \-\-\a\p\p ]] | |
remote: + [[ storage:list =~ ^--.* ]] | |
remote: + break | |
remote: + has_tty | |
remote: + declare 'desc=return 0 if we have a tty' | |
remote: ++ LC_ALL=C | |
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: + [[ storage:list =~ ^plugin:.* ]] | |
remote: + [[ storage:list == \s\s\h\-\k\e\y\s\:\a\d\d ]] | |
remote: + [[ storage:list == \s\s\h\-\k\e\y\s\:\r\e\m\o\v\e ]] | |
remote: + [[ -n '' ]] | |
remote: + dokku_auth storage:list frontend | |
remote: + declare 'desc=calls user-auth plugin trigger' | |
remote: + export SSH_USER=dokku | |
remote: + SSH_USER=dokku | |
remote: + export SSH_NAME=dokku | |
remote: + SSH_NAME=dokku | |
remote: ++ wc -l | |
remote: ++ find /var/lib/dokku/plugins/enabled/20_events/user-auth | |
remote: + [[ 1 == 1 ]] | |
remote: + return 0 | |
remote: + case "$1" in | |
remote: + execute_dokku_cmd storage:list frontend | |
remote: + declare 'desc=executes dokku sub-commands' | |
remote: + local PLUGIN_NAME=storage:list | |
remote: + local PLUGIN_CMD=storage:list | |
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/storage | |
remote: + [[ /var/lib/dokku/core-plugins/available/storage == *core-plugins* ]] | |
remote: + [[ storage:list == \s\t\o\r\a\g\e\:\l\i\s\t ]] | |
remote: + shift 1 | |
remote: + [[ -n '' ]] | |
remote: + set -- storage:list frontend | |
remote: + [[ -x /var/lib/dokku/plugins/enabled/storage:list/subcommands/default ]] | |
remote: + [[ -x /var/lib/dokku/plugins/enabled/storage:list/subcommands/storage:list ]] | |
remote: + [[ -x /var/lib/dokku/plugins/enabled/storage/subcommands/list ]] | |
remote: + [[ -n list ]] | |
remote: + /var/lib/dokku/plugins/enabled/storage/subcommands/list storage:list frontend | |
remote: + source /var/lib/dokku/plugins/available/storage/internal-functions | |
remote: ++ source /var/lib/dokku/core-plugins/available/common/functions | |
remote: +++ set -eo pipefail | |
remote: +++ [[ -n 1 ]] | |
remote: +++ set -x | |
remote: ++ source /var/lib/dokku/plugins/available/docker-options/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: +++ AVAILABLE_PHASES=(build deploy run) | |
remote: ++ source /var/lib/dokku/plugins/available/storage/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/docker-options/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: ++++ AVAILABLE_PHASES=(build deploy run) | |
remote: ++ set -eo pipefail | |
remote: ++ [[ -n 1 ]] | |
remote: ++ set -x | |
remote: + cmd-storage-list storage:list frontend | |
remote: + declare 'desc=List all bound mounts' | |
remote: + declare cmd=storage:list | |
remote: + [[ storage:list == \s\t\o\r\a\g\e\:\l\i\s\t ]] | |
remote: + shift 1 | |
remote: + declare APP=frontend | |
remote: + local passed_phases=deploy | |
remote: + [[ -z frontend ]] | |
remote: + verify_app_name frontend | |
remote: + declare 'desc=verify app name format and app existence' | |
remote: + local APP=frontend | |
remote: + is_valid_app_name frontend | |
remote: + declare 'desc=verify app name format' | |
remote: + local APP=frontend | |
remote: + [[ -z frontend ]] | |
remote: + [[ frontend =~ ^[a-z].* ]] | |
remote: + [[ ! frontend =~ [A-Z] ]] | |
remote: + [[ ! frontend =~ [:] ]] | |
remote: + return 0 | |
remote: + [[ ! -d /home/dokku/frontend ]] | |
remote: + return 0 | |
remote: + dokku_log_quiet 'frontend volume bind-mounts:' | |
remote: + declare 'desc=log quiet formatter' | |
remote: + [[ -z 1 ]] | |
remote: ++ get_phase_file_path deploy | |
remote: ++ declare 'desc=return docker-options config file path for specified phase' | |
remote: ++ local phase_file_prefix=DOCKER_OPTIONS_ | |
remote: ++ local phase=deploy | |
remote: ++ [[ -n frontend ]] | |
remote: ++ [[ -n deploy ]] | |
remote: ++ fn-get-phase-file-path frontend deploy | |
remote: ++ declare 'desc=return docker-options config file path for specified phase' | |
remote: ++ local APP=frontend PHASE=deploy | |
remote: ++ local PHASE_FILE=/home/dokku/frontend/DOCKER_OPTIONS_DEPLOY | |
remote: ++ echo /home/dokku/frontend/DOCKER_OPTIONS_DEPLOY | |
remote: + get_bind_mounts /home/dokku/frontend/DOCKER_OPTIONS_DEPLOY | |
remote: + declare 'desc=strips docker options and prints mounts' | |
remote: + local -r phase_file_path=/home/dokku/frontend/DOCKER_OPTIONS_DEPLOY | |
remote: + [[ -r /home/dokku/frontend/DOCKER_OPTIONS_DEPLOY ]] | |
remote: + sed -e '/^-v/!d' -e 's/^-v/ /' | |
remote: + implemented=1 | |
remote: + [[ 1 -eq 0 ]] | |
remote: + [[ 1 -eq 0 ]] | |
remote: + APP_PATHS= | |
remote: + [[ -n '' ]] | |
remote: + [[ herokuish != \h\e\r\o\k\u\i\s\h ]] | |
remote: + [[ -z '' ]] | |
remote: + return | |
remote: + scheduler-docker-local-pre-deploy-precheck frontend '' | |
remote: + declare 'desc=Outputs the checks messages if necessary' | |
remote: + declare APP=frontend IMAGE_TAG= | |
remote: ++ get_deploying_app_image_name frontend '' | |
remote: ++ declare 'desc=return deploying image identifier for a given app, tag tuple. validate if tag is presented' | |
remote: ++ local APP=frontend | |
remote: ++ local IMAGE_TAG= | |
remote: ++ IMAGE_REPO= | |
remote: ++ is_valid_app_name frontend | |
remote: ++ declare 'desc=verify app name format' | |
remote: ++ local APP=frontend | |
remote: ++ [[ -z frontend ]] | |
remote: ++ [[ frontend =~ ^[a-z].* ]] | |
remote: ++ [[ ! frontend =~ [A-Z] ]] | |
remote: ++ [[ ! frontend =~ [:] ]] | |
remote: ++ return 0 | |
remote: +++ plugn trigger deployed-app-repository frontend | |
remote: + source /var/lib/dokku/core-plugins/available/common/functions | |
remote: ++ set -eo pipefail | |
remote: ++ [[ -n 1 ]] | |
remote: ++ set -x | |
remote: + [[ ! -n '' ]] | |
remote: ++ local IMAGE_REMOTE_REPOSITORY= | |
remote: +++ plugn trigger deployed-app-image-tag frontend | |
remote: + source /var/lib/dokku/core-plugins/available/common/functions | |
remote: ++ set -eo pipefail | |
remote: ++ [[ -n 1 ]] | |
remote: ++ set -x | |
remote: + [[ ! -n '' ]] | |
remote: ++ local NEW_IMAGE_TAG= | |
remote: +++ plugn trigger deployed-app-image-repo frontend | |
remote: + source /var/lib/dokku/core-plugins/available/common/functions | |
remote: ++ set -eo pipefail | |
remote: ++ [[ -n 1 ]] | |
remote: ++ set -x | |
remote: + [[ ! -n '' ]] | |
remote: ++ local NEW_IMAGE_REPO= | |
remote: ++ [[ -n '' ]] | |
remote: ++ [[ -n '' ]] | |
remote: ++ [[ -z '' ]] | |
remote: +++ get_app_image_repo frontend | |
remote: +++ declare 'desc=central definition of image repo pattern' | |
remote: +++ local APP=frontend | |
remote: +++ local IMAGE_REPO=dokku/frontend | |
remote: +++ is_valid_app_name frontend | |
remote: +++ declare 'desc=verify app name format' | |
remote: +++ local APP=frontend | |
remote: +++ [[ -z frontend ]] | |
remote: +++ [[ frontend =~ ^[a-z].* ]] | |
remote: +++ [[ ! frontend =~ [A-Z] ]] | |
remote: +++ [[ ! frontend =~ [:] ]] | |
remote: +++ return 0 | |
remote: +++ echo dokku/frontend | |
remote: ++ IMAGE_REPO=dokku/frontend | |
remote: ++ [[ -z '' ]] | |
remote: ++ IMAGE_TAG=latest | |
remote: ++ local IMAGE=dokku/frontend:latest | |
remote: ++ verify_image dokku/frontend:latest | |
remote: ++ declare 'desc=verify image existence' | |
remote: ++ local IMAGE=dokku/frontend:latest | |
remote: ++ docker image inspect dokku/frontend:latest | |
remote: ++ return 0 | |
remote: ++ echo dokku/frontend:latest | |
remote: + local IMAGE=dokku/frontend:latest | |
remote: ++ mktemp /tmp/dokku-5150-scheduler-docker-local-pre-deploy-precheck.XXXXXX | |
remote: + local CHECKS_FILE=/tmp/dokku-5150-scheduler-docker-local-pre-deploy-precheck.Fub2t8 | |
remote: + trap 'rm -rf '\''/tmp/dokku-5150-scheduler-docker-local-pre-deploy-precheck.Fub2t8'\'' >/dev/null' RETURN INT TERM | |
remote: + copy_from_image dokku/frontend:latest CHECKS /tmp/dokku-5150-scheduler-docker-local-pre-deploy-precheck.Fub2t8 | |
remote: + true | |
remote: + dokku_log_info2 'Processing deployment checks' | |
remote: + declare 'desc=log info2 formatter' | |
remote: + echo '=====> Processing deployment checks' | |
remote: + [[ ! -s /tmp/dokku-5150-scheduler-docker-local-pre-deploy-precheck.Fub2t8 ]] | |
remote: + local CHECKS_URL=http://dokku.viewdocs.io/dokku/deployment/zero-downtime-deploys/ | |
remote: + dokku_log_verbose 'No CHECKS file found. Simple container checks will be performed.' | |
remote: + declare 'desc=log verbose formatter' | |
remote: + echo ' No CHECKS file found. Simple container checks will be performed.' | |
remote: + dokku_log_verbose 'For more efficient zero downtime deployments, create a CHECKS file. See http://dokku.viewdocs.io/dokku/deployment/zero-downtime-deploys/ for examples' | |
remote: + declare 'desc=log verbose formatter' | |
remote: + echo ' For more efficient zero downtime deployments, create a CHECKS file. See http://dokku.viewdocs.io/dokku/deployment/zero-downtime-deploys/ for examples' | |
remote: ++ rm -rf /tmp/dokku-5150-scheduler-docker-local-pre-deploy-precheck.Fub2t8 | |
=====> Processing deployment checks | |
No CHECKS file found. Simple container checks will be performed. | |
For more efficient zero downtime deployments, create a CHECKS file. See http://dokku.viewdocs.io/dokku/deployment/zero-downtime-deploys/ for examples | |
remote: ++ rm -rf /tmp/dokku-5150-scheduler-docker-local-pre-deploy-precheck.Fub2t8 | |
remote: + is_image_herokuish_based dokku/frontend:latest frontend | |
remote: + declare 'desc=returns true if app image is based on herokuish' | |
remote: + declare IMAGE=dokku/frontend:latest APP=frontend | |
remote: + local DOKKU_APP_USER | |
remote: + [[ -n frontend ]] | |
remote: ++ config_get frontend DOKKU_APP_USER | |
remote: ++ declare 'desc=get value of given config var' | |
remote: ++ config_sub get frontend DOKKU_APP_USER | |
remote: ++ declare 'desc=executes a config subcommand' | |
remote: ++ local name=get | |
remote: ++ shift | |
remote: ++ /var/lib/dokku/plugins/available/config/subcommands/get config:get frontend DOKKU_APP_USER | |
remote: ++ true | |
remote: + DOKKU_APP_USER= | |
remote: + DOKKU_APP_USER=herokuishuser | |
remote: + local USER_VALUE | |
remote: + [[ -z dokku/frontend:latest ]] | |
remote: ++ docker image inspect --format '{{range .Config.Env}}{{if eq . "USER=herokuishuser"}}{{println .}}{{end}}{{end}}' dokku/frontend:latest | |
remote: + USER_VALUE=USER=herokuishuser | |
remote: + [[ USER=herokuishuser == '' ]] | |
remote: + return 0 | |
remote: + DOKKU_HEROKUISH=true | |
remote: + local IMAGE_SOURCE_TYPE=dockerfile | |
remote: + [[ true == \t\r\u\e ]] | |
remote: + IMAGE_SOURCE_TYPE=herokuish | |
remote: + local DOKKU_SCALE_FILE=/home/dokku/frontend/DOKKU_SCALE | |
remote: ++ get_app_container_ids frontend | |
remote: ++ declare 'desc=returns list of docker container ids for given app and optional container_type' | |
remote: ++ local APP=frontend | |
remote: ++ local CONTAINER_TYPE= | |
remote: ++ verify_app_name frontend | |
remote: ++ declare 'desc=verify app name format and app existence' | |
remote: ++ local APP=frontend | |
remote: ++ is_valid_app_name frontend | |
remote: ++ declare 'desc=verify app name format' | |
remote: ++ local APP=frontend | |
remote: ++ [[ -z frontend ]] | |
remote: ++ [[ frontend =~ ^[a-z].* ]] | |
remote: ++ [[ ! frontend =~ [A-Z] ]] | |
remote: ++ [[ ! frontend =~ [:] ]] | |
remote: ++ return 0 | |
remote: ++ [[ ! -d /home/dokku/frontend ]] | |
remote: ++ return 0 | |
remote: ++ [[ -f /home/dokku/frontend/CONTAINER ]] | |
remote: ++ [[ -n '' ]] | |
remote: ++ local 'CONTAINER_PATTERN=/home/dokku/frontend/CONTAINER.*' | |
remote: ++ shopt -s nullglob | |
remote: ++ local DOKKU_CID_FILE | |
remote: ++ for DOKKU_CID_FILE in '$CONTAINER_PATTERN' | |
remote: ++ local 'DOKKU_CIDS+= ' | |
remote: ++ local DOKKU_CIDS+=ebe1fe625eee1bb12badc935b1d89bc73df0ae6b600c85256cdd22887e6d0f00 | |
remote: ++ local 'DOKKU_CIDS+= ' | |
remote: ++ shopt -u nullglob | |
remote: ++ echo ' ebe1fe625eee1bb12badc935b1d89bc73df0ae6b600c85256cdd22887e6d0f00 ' | |
remote: + local 'oldids= ebe1fe625eee1bb12badc935b1d89bc73df0ae6b600c85256cdd22887e6d0f00 ' | |
remote: ++ plugn trigger network-get-property frontend bind-all-interfaces | |
remote: + source /var/lib/dokku/core-plugins/available/common/functions | |
remote: ++ set -eo pipefail | |
remote: ++ [[ -n 1 ]] | |
remote: ++ set -x | |
remote: + [[ ! -n '' ]] | |
remote: + DOKKU_NETWORK_BIND_ALL=false | |
remote: ++ config_get frontend DOKKU_DOCKER_STOP_TIMEOUT | |
remote: ++ declare 'desc=get value of given config var' | |
remote: ++ config_sub get frontend DOKKU_DOCKER_STOP_TIMEOUT | |
remote: ++ declare 'desc=executes a config subcommand' | |
remote: ++ local name=get | |
remote: ++ shift | |
remote: ++ /var/lib/dokku/plugins/available/config/subcommands/get config:get frontend DOKKU_DOCKER_STOP_TIMEOUT | |
remote: ++ true | |
remote: + DOKKU_DOCKER_STOP_TIMEOUT= | |
remote: + [[ -n '' ]] | |
remote: ++ config_get frontend DOKKU_START_CMD | |
remote: ++ declare 'desc=get value of given config var' | |
remote: ++ config_sub get frontend DOKKU_START_CMD | |
remote: ++ declare 'desc=executes a config subcommand' | |
remote: ++ local name=get | |
remote: ++ shift | |
remote: ++ /var/lib/dokku/plugins/available/config/subcommands/get config:get frontend DOKKU_START_CMD | |
remote: ++ true | |
remote: + DOKKU_START_CMD= | |
remote: + local line | |
remote: + local PROC_TYPE | |
remote: + local PROC_COUNT | |
remote: + local CONTAINER_INDEX | |
remote: + read -r line | |
remote: + [[ web=1 =~ ^#.* ]] | |
remote: ++ strip_inline_comments web=1 | |
remote: ++ declare 'desc=removes bash-style comment from input line' | |
remote: ++ local line=web=1 | |
remote: ++ local stripped_line=web=1 | |
remote: ++ echo web=1 | |
remote: + line=web=1 | |
remote: + PROC_TYPE=web | |
remote: + PROC_COUNT=1 | |
remote: + CONTAINER_INDEX=1 | |
remote: ++ is_app_proctype_checks_disabled frontend web | |
remote: ++ declare 'desc=return true if app'\''s proctype(s) checks are disabled' | |
remote: ++ local APP=frontend | |
remote: ++ verify_app_name frontend | |
remote: ++ declare 'desc=verify app name format and app existence' | |
remote: ++ local APP=frontend | |
remote: ++ is_valid_app_name frontend | |
remote: ++ declare 'desc=verify app name format' | |
remote: ++ local APP=frontend | |
remote: ++ [[ -z frontend ]] | |
remote: ++ [[ frontend =~ ^[a-z].* ]] | |
remote: ++ [[ ! frontend =~ [A-Z] ]] | |
remote: ++ [[ ! frontend =~ [:] ]] | |
remote: ++ return 0 | |
remote: ++ [[ ! -d /home/dokku/frontend ]] | |
remote: ++ return 0 | |
remote: ++ local PROCTYPE=web status=false | |
remote: +++ config_get frontend DOKKU_CHECKS_DISABLED | |
remote: +++ declare 'desc=get value of given config var' | |
remote: +++ config_sub get frontend DOKKU_CHECKS_DISABLED | |
remote: +++ declare 'desc=executes a config subcommand' | |
remote: +++ local name=get | |
remote: +++ shift | |
remote: +++ /var/lib/dokku/plugins/available/config/subcommands/get config:get frontend DOKKU_CHECKS_DISABLED | |
remote: +++ true | |
remote: ++ local DOKKU_CHECKS_DISABLED= | |
remote: ++ [[ '' == \_\a\l\l\_ ]] | |
remote: +++ is_val_in_list web '' | |
remote: +++ declare 'desc=return true if value (web) is in list () separated by delimiter (); delimiter defaults to comma' | |
remote: +++ local value=web list= delimiter=, | |
remote: +++ local IFS=, val_in_list=false | |
remote: +++ echo false | |
remote: ++ [[ false == \t\r\u\e ]] | |
remote: ++ echo false | |
remote: + [[ false == \t\r\u\e ]] | |
remote: + [[ 1 -le 1 ]] | |
remote: + local cid= | |
remote: + local port= | |
remote: + local ipaddr= | |
remote: + local DOKKU_CONTAINER_ID_FILE=/home/dokku/frontend/CONTAINER.web.1 | |
remote: + local DYNO=web.1 | |
remote: + local DOCKER_ARGS | |
remote: ++ : | |
remote: ++ plugn trigger docker-args-deploy frontend '' web 1 | |
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/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: + trigger-builder-herokuish-docker-args frontend '' web 1 | |
remote: + declare 'desc=builder-herokuish docker-args plugin trigger' | |
remote: + declare trigger=docker-args | |
remote: + declare APP=frontend | |
remote: + local STDIN DOKKU_APP_TYPE DOKKU_APP_USER | |
remote: ++ cat | |
remote: + STDIN= | |
remote: ++ config_get frontend DOKKU_APP_TYPE | |
remote: ++ declare 'desc=get value of given config var' | |
remote: ++ config_sub get frontend DOKKU_APP_TYPE | |
remote: ++ declare 'desc=executes a config subcommand' | |
remote: ++ local name=get | |
remote: ++ shift | |
remote: ++ /var/lib/dokku/plugins/available/config/subcommands/get config:get frontend DOKKU_APP_TYPE | |
remote: + DOKKU_APP_TYPE=herokuish | |
remote: ++ config_get frontend DOKKU_APP_USER | |
remote: ++ declare 'desc=get value of given config var' | |
remote: ++ config_sub get frontend DOKKU_APP_USER | |
remote: ++ declare 'desc=executes a config subcommand' | |
remote: ++ local name=get | |
remote: ++ shift | |
remote: ++ /var/lib/dokku/plugins/available/config/subcommands/get config:get frontend DOKKU_APP_USER | |
remote: ++ true | |
remote: + DOKKU_APP_USER= | |
remote: + DOKKU_APP_USER=herokuishuser | |
remote: + [[ herokuish == \h\e\r\o\k\u\i\s\h ]] | |
remote: + local 'docker_args= --env=USER=herokuishuser' | |
remote: + echo -n ' --env=USER=herokuishuser' | |
remote: + source /var/lib/dokku/core-plugins/available/common/functions | |
remote: ++ set -eo pipefail | |
remote: ++ [[ -n 1 ]] | |
remote: ++ set -x | |
remote: + 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: + trigger-config-docker-args frontend '' web 1 | |
remote: + declare 'desc=config docker-args plugin trigger' | |
remote: + declare trigger=docker-args | |
remote: + declare APP=frontend IMAGE_TAG= | |
remote: + local ENV_ARGS IMAGE STDIN trigger | |
remote: ++ get_deploying_app_image_name frontend '' | |
remote: ++ declare 'desc=return deploying image identifier for a given app, tag tuple. validate if tag is presented' | |
remote: ++ local APP=frontend | |
remote: ++ local IMAGE_TAG= | |
remote: ++ IMAGE_REPO= | |
remote: ++ is_valid_app_name frontend | |
remote: ++ declare 'desc=verify app name format' | |
remote: ++ local APP=frontend | |
remote: ++ [[ -z frontend ]] | |
remote: ++ [[ frontend =~ ^[a-z].* ]] | |
remote: ++ [[ ! frontend =~ [A-Z] ]] | |
remote: ++ [[ ! frontend =~ [:] ]] | |
remote: ++ return 0 | |
remote: +++ plugn trigger deployed-app-repository frontend | |
remote: + source /var/lib/dokku/core-plugins/available/common/functions | |
remote: ++ set -eo pipefail | |
remote: ++ [[ -n 1 ]] | |
remote: ++ set -x | |
remote: + [[ ! -n '' ]] | |
remote: ++ local IMAGE_REMOTE_REPOSITORY= | |
remote: +++ plugn trigger deployed-app-image-tag frontend | |
remote: + source /var/lib/dokku/core-plugins/available/common/functions | |
remote: ++ set -eo pipefail | |
remote: ++ [[ -n 1 ]] | |
remote: ++ set -x | |
remote: + [[ ! -n '' ]] | |
remote: ++ local NEW_IMAGE_TAG= | |
remote: +++ plugn trigger deployed-app-image-repo frontend | |
remote: + source /var/lib/dokku/core-plugins/available/common/functions | |
remote: ++ set -eo pipefail | |
remote: ++ [[ -n 1 ]] | |
remote: ++ set -x | |
remote: + [[ ! -n '' ]] | |
remote: ++ local NEW_IMAGE_REPO= | |
remote: ++ [[ -n '' ]] | |
remote: ++ [[ -n '' ]] | |
remote: ++ [[ -z '' ]] | |
remote: +++ get_app_image_repo frontend | |
remote: +++ declare 'desc=central definition of image repo pattern' | |
remote: +++ local APP=frontend | |
remote: +++ local IMAGE_REPO=dokku/frontend | |
remote: +++ is_valid_app_name frontend | |
remote: +++ declare 'desc=verify app name format' | |
remote: +++ local APP=frontend | |
remote: +++ [[ -z frontend ]] | |
remote: +++ [[ frontend =~ ^[a-z].* ]] | |
remote: +++ [[ ! frontend =~ [A-Z] ]] | |
remote: +++ [[ ! frontend =~ [:] ]] | |
remote: +++ return 0 | |
remote: +++ echo dokku/frontend | |
remote: ++ IMAGE_REPO=dokku/frontend | |
remote: ++ [[ -z '' ]] | |
remote: ++ IMAGE_TAG=latest | |
remote: ++ local IMAGE=dokku/frontend:latest | |
remote: ++ verify_image dokku/frontend:latest | |
remote: ++ declare 'desc=verify image existence' | |
remote: ++ local IMAGE=dokku/frontend:latest | |
remote: ++ docker image inspect dokku/frontend:latest | |
remote: ++ return 0 | |
remote: ++ echo dokku/frontend:latest | |
remote: + IMAGE=dokku/frontend:latest | |
remote: ++ cat | |
remote: + STDIN= | |
remote: + trigger='/var/lib/dokku/plugins/enabled/config/docker-args-deploy config_docker_args' | |
remote: + verify_app_name frontend | |
remote: + declare 'desc=verify app name format and app existence' | |
remote: + local APP=frontend | |
remote: + is_valid_app_name frontend | |
remote: + declare 'desc=verify app name format' | |
remote: + local APP=frontend | |
remote: + [[ -z frontend ]] | |
remote: + [[ frontend =~ ^[a-z].* ]] | |
remote: + [[ ! frontend =~ [A-Z] ]] | |
remote: + [[ ! frontend =~ [:] ]] | |
remote: + return 0 | |
remote: + [[ ! -d /home/dokku/frontend ]] | |
remote: + return 0 | |
remote: + is_image_herokuish_based dokku/frontend:latest frontend | |
remote: + declare 'desc=returns true if app image is based on herokuish' | |
remote: + declare IMAGE=dokku/frontend:latest APP=frontend | |
remote: + local DOKKU_APP_USER | |
remote: + [[ -n frontend ]] | |
remote: ++ config_get frontend DOKKU_APP_USER | |
remote: ++ declare 'desc=get value of given config var' | |
remote: ++ config_sub get frontend DOKKU_APP_USER | |
remote: ++ declare 'desc=executes a config subcommand' | |
remote: ++ local name=get | |
remote: ++ shift | |
remote: ++ /var/lib/dokku/plugins/available/config/subcommands/get config:get frontend DOKKU_APP_USER | |
remote: ++ true | |
remote: + DOKKU_APP_USER= | |
remote: + DOKKU_APP_USER=herokuishuser | |
remote: + local USER_VALUE | |
remote: + [[ -z dokku/frontend:latest ]] | |
remote: ++ docker image inspect --format '{{range .Config.Env}}{{if eq . "USER=herokuishuser"}}{{println .}}{{end}}{{end}}' dokku/frontend:latest | |
remote: + USER_VALUE=USER=herokuishuser | |
remote: + [[ USER=herokuishuser == '' ]] | |
remote: + return 0 | |
remote: + echo -n '' | |
remote: + trigger-docker-options-docker-args frontend '' web 1 | |
remote: + declare 'desc=docker args plugin trigger' | |
remote: + declare trigger=/var/lib/dokku/plugins/enabled/docker-options/docker-args-deploy | |
remote: + declare APP=frontend IMAGE_SOURCE_TYPE= | |
remote: ++ cat | |
remote: + local STDIN= | |
remote: + case "$0" in | |
remote: + local PHASE=DEPLOY | |
remote: + local FILE_PREFIX=DOCKER_OPTIONS_ | |
remote: + local PHASE_FILE_PATH=/home/dokku/frontend/DOCKER_OPTIONS_DEPLOY | |
remote: + local output= | |
remote: + [[ -f /home/dokku/frontend/DOCKER_OPTIONS_DEPLOY ]] | |
remote: + local DONE=false | |
remote: + false | |
remote: + local line | |
remote: + read -r line | |
remote: + [[ -z --restart=on-failure:10 ]] | |
remote: + case "$line" in | |
remote: + case "$IMAGE_SOURCE_TYPE" in | |
remote: + local 'output= --restart=on-failure:10' | |
remote: + false | |
remote: + local line | |
remote: + read -r line | |
remote: + local DONE=true | |
remote: + [[ -z '' ]] | |
remote: + continue | |
remote: + true | |
remote: + echo -n ' --restart=on-failure:10' | |
remote: + DOCKER_ARGS=' --env=USER=herokuishuser --restart=on-failure:10' | |
remote: + DOCKER_ARGS+=' -e DYNO=web.1 ' | |
remote: ++ : | |
remote: ++ plugn trigger docker-args-process-deploy frontend herokuish '' web 1 | |
remote: + source /var/lib/dokku/core-plugins/available/common/functions | |
remote: ++ set -eo pipefail | |
remote: ++ [[ -n 1 ]] | |
remote: ++ set -x | |
remote: + [[ ! -n '' ]] | |
remote: + DOCKER_ARGS+= | |
remote: + [[ -n 1 ]] | |
remote: + DOCKER_ARGS+=' -e TRACE=true ' | |
remote: + declare -a ARG_ARRAY | |
remote: + eval 'ARG_ARRAY=( --env=USER=herokuishuser --restart=on-failure:10 -e DYNO=web.1 -e TRACE=true )' | |
remote: ++ ARG_ARRAY=(--env=USER=herokuishuser --restart=on-failure:10 -e DYNO=web.1 -e TRACE=true) | |
remote: + local START_CMD | |
remote: + [[ true == \t\r\u\e ]] | |
remote: + START_CMD='/start web' | |
remote: + [[ -n '' ]] | |
remote: + [[ web == \w\e\b ]] | |
remote: + ports=($(plugn trigger network-compute-ports "$APP" "$PROC_TYPE" "$DOKKU_HEROKUISH")) | |
remote: ++ plugn trigger network-compute-ports frontend web true | |
remote: + source /var/lib/dokku/core-plugins/available/common/functions | |
remote: ++ set -eo pipefail | |
remote: ++ [[ -n 1 ]] | |
remote: ++ set -x | |
remote: + [[ ! -n '' ]] | |
remote: + local DOKKU_DOCKER_PORT_ARGS= | |
remote: + local DOKKU_PORT= | |
remote: + for p in '"${ports[@]}"' | |
remote: + [[ ! 5000 =~ .*udp.* ]] | |
remote: + DOKKU_PORT=5000 | |
remote: + DOKKU_DOCKER_PORT_ARGS+=' -p 5000 ' | |
remote: ++ fn-scheduler-docker-local-extract-start-cmd frontend web '/start web' true 5000 | |
remote: ++ declare APP=frontend PROC_TYPE=web 'START_CMD=/start web' DOKKU_HEROKUISH=true PORT=5000 | |
remote: ++ local DOKKU_DOCKERFILE_START_CMD DOKKU_PROCFILE_START_CMD START_CMD | |
remote: ++ [[ true != \f\a\l\s\e ]] | |
remote: ++ echo '/start web' | |
remote: ++ return | |
remote: + START_CMD='/start web' | |
remote: + [[ false == \f\a\l\s\e ]] | |
remote: ++ docker container create --label=com.dokku.container-type=deploy --label=com.dokku.process-type=web --label=com.dokku.dyno=web.1 --label=com.dokku.app-name=frontend --label=org.label-schema.schema-version=1.0 --label=org.label-schema.vendor=dokku --label=dokku --init --env PORT=5000 --env=USER=herokuishuser --restart=on-failure:10 -e DYNO=web.1 -e TRACE=true dokku/frontend:latest /start web | |
remote: + cid=d49c37b3f497ab036431fd96fae3775adeab2d44284b85ce71a30abee7a0ef07 | |
remote: + plugn trigger post-container-create app d49c37b3f497ab036431fd96fae3775adeab2d44284b85ce71a30abee7a0ef07 frontend deploy web | |
remote: + source /var/lib/dokku/core-plugins/available/common/functions | |
remote: ++ set -eo pipefail | |
remote: ++ [[ -n 1 ]] | |
remote: ++ set -x | |
remote: + [[ ! -n '' ]] | |
remote: + docker container start d49c37b3f497ab036431fd96fae3775adeab2d44284b85ce71a30abee7a0ef07 | |
remote: ++ plugn trigger network-get-ipaddr frontend web d49c37b3f497ab036431fd96fae3775adeab2d44284b85ce71a30abee7a0ef07 | |
remote: + source /var/lib/dokku/core-plugins/available/common/functions | |
remote: ++ set -eo pipefail | |
remote: ++ [[ -n 1 ]] | |
remote: ++ set -x | |
remote: + [[ ! -n '' ]] | |
remote: + ipaddr=172.17.0.8 | |
remote: ++ plugn trigger network-get-port frontend web d49c37b3f497ab036431fd96fae3775adeab2d44284b85ce71a30abee7a0ef07 true | |
remote: + source /var/lib/dokku/core-plugins/available/common/functions | |
remote: ++ set -eo pipefail | |
remote: ++ [[ -n 1 ]] | |
remote: ++ set -x | |
remote: + [[ ! -n '' ]] | |
remote: + port=5000 | |
remote: + trap 'kill_new $cid $PROC_TYPE $CONTAINER_INDEX' INT TERM EXIT | |
remote: ++ is_app_proctype_checks_disabled frontend web | |
remote: ++ declare 'desc=return true if app'\''s proctype(s) checks are disabled' | |
remote: ++ local APP=frontend | |
remote: ++ verify_app_name frontend | |
remote: ++ declare 'desc=verify app name format and app existence' | |
remote: ++ local APP=frontend | |
remote: ++ is_valid_app_name frontend | |
remote: ++ declare 'desc=verify app name format' | |
remote: ++ local APP=frontend | |
remote: ++ [[ -z frontend ]] | |
remote: ++ [[ frontend =~ ^[a-z].* ]] | |
remote: ++ [[ ! frontend =~ [A-Z] ]] | |
remote: ++ [[ ! frontend =~ [:] ]] | |
remote: ++ return 0 | |
remote: ++ [[ ! -d /home/dokku/frontend ]] | |
remote: ++ return 0 | |
remote: ++ local PROCTYPE=web status=false | |
remote: +++ config_get frontend DOKKU_CHECKS_DISABLED | |
remote: +++ declare 'desc=get value of given config var' | |
remote: +++ config_sub get frontend DOKKU_CHECKS_DISABLED | |
remote: +++ declare 'desc=executes a config subcommand' | |
remote: +++ local name=get | |
remote: +++ shift | |
remote: +++ /var/lib/dokku/plugins/available/config/subcommands/get config:get frontend DOKKU_CHECKS_DISABLED | |
remote: +++ true | |
remote: ++ local DOKKU_CHECKS_DISABLED= | |
remote: ++ [[ '' == \_\a\l\l\_ ]] | |
remote: +++ is_val_in_list web '' | |
remote: +++ declare 'desc=return true if value (web) is in list () separated by delimiter (); delimiter defaults to comma' | |
remote: +++ local value=web list= delimiter=, | |
remote: +++ local IFS=, val_in_list=false | |
remote: +++ echo false | |
remote: ++ [[ false == \t\r\u\e ]] | |
remote: ++ echo false | |
remote: + [[ false == \f\a\l\s\e ]] | |
remote: + dokku_log_info1 'Attempting pre-flight checks (web.1)' | |
remote: + declare 'desc=log info1 formatter' | |
remote: + echo '-----> Attempting pre-flight checks (web.1)' | |
remote: + plugn trigger check-deploy frontend d49c37b3f497ab036431fd96fae3775adeab2d44284b85ce71a30abee7a0ef07 web 5000 172.17.0.8 | |
-----> Attempting pre-flight checks (web.1) | |
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/checks/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: + trigger-scheduler-docker-local-check-deploy frontend d49c37b3f497ab036431fd96fae3775adeab2d44284b85ce71a30abee7a0ef07 web 5000 172.17.0.8 | |
remote: + declare 'desc=scheduler-docker-local check-deploy plugin trigger' | |
remote: + declare trigger=check-deploy | |
remote: + declare APP=frontend DOKKU_APP_CONTAINER_ID=d49c37b3f497ab036431fd96fae3775adeab2d44284b85ce71a30abee7a0ef07 DOKKU_APP_CONTAINER_TYPE=web DOKKU_APP_LISTEN_PORT=5000 DOKKU_APP_LISTEN_IP=172.17.0.8 | |
remote: ++ get_app_scheduler frontend | |
remote: ++ declare 'desc=fetch the scheduler for a given application' | |
remote: ++ declare APP=frontend | |
remote: ++ local DOKKU_APP_SCHEDULER DOKKU_GLOBAL_SCHEDULER DOKKU_SCHEDULER | |
remote: ++ [[ frontend == \-\-\g\l\o\b\a\l ]] | |
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: ++ [[ -n frontend ]] | |
remote: +++ config_get frontend DOKKU_SCHEDULER | |
remote: +++ declare 'desc=get value of given config var' | |
remote: +++ config_sub get frontend DOKKU_SCHEDULER | |
remote: +++ declare 'desc=executes a config subcommand' | |
remote: +++ local name=get | |
remote: +++ shift | |
remote: +++ /var/lib/dokku/plugins/available/config/subcommands/get config:get frontend DOKKU_SCHEDULER | |
remote: +++ true | |
remote: ++ DOKKU_APP_SCHEDULER= | |
remote: +++ config_get --global DOKKU_SCHEDULER | |
remote: +++ declare 'desc=get value of given config var' | |
remote: +++ config_sub get --global DOKKU_SCHEDULER | |
remote: +++ declare 'desc=executes a config subcommand' | |
remote: +++ local name=get | |
remote: +++ shift | |
remote: +++ /var/lib/dokku/plugins/available/config/subcommands/get config:get --global DOKKU_SCHEDULER | |
remote: +++ true | |
remote: ++ DOKKU_GLOBAL_SCHEDULER= | |
remote: ++ DOKKU_SCHEDULER= | |
remote: ++ [[ -z '' ]] | |
remote: ++ DOKKU_SCHEDULER=docker-local | |
remote: ++ echo docker-local | |
remote: + local DOKKU_SCHEDULER=docker-local | |
remote: + [[ docker-local != \d\o\c\k\e\r\-\l\o\c\a\l ]] | |
remote: + [[ -z 5000 ]] | |
remote: + [[ -z 172.17.0.8 ]] | |
remote: + [[ -z d49c37b3f497ab036431fd96fae3775adeab2d44284b85ce71a30abee7a0ef07 ]] | |
remote: ++ config_export global | |
remote: ++ declare 'desc=returns export command for config variable of specified type (app/global)' | |
remote: ++ local CONFIG_TYPE=global | |
remote: ++ shift | |
remote: ++ local APP= | |
remote: ++ [[ global == \g\l\o\b\a\l ]] | |
remote: ++ APP=--global | |
remote: ++ config_sub export --global | |
remote: ++ declare 'desc=executes a config subcommand' | |
remote: ++ local name=export | |
remote: ++ shift | |
remote: ++ /var/lib/dokku/plugins/available/config/subcommands/export config:export --global | |
remote: ++ return 0 | |
remote: + eval 'export CURL_CONNECT_TIMEOUT='\''90'\'' | |
remote: export CURL_TIMEOUT='\''600'\'' | |
remote: export DOKKU_LETSENCRYPT_EMAIL='\''[email protected]'\''' | |
remote: ++ export CURL_CONNECT_TIMEOUT=90 | |
remote: ++ CURL_CONNECT_TIMEOUT=90 | |
remote: ++ export CURL_TIMEOUT=600 | |
remote: ++ CURL_TIMEOUT=600 | |
remote: ++ export [email protected] | |
remote: ++ [email protected] | |
remote: ++ config_export app frontend | |
remote: ++ declare 'desc=returns export command for config variable of specified type (app/global)' | |
remote: ++ local CONFIG_TYPE=app | |
remote: ++ shift | |
remote: ++ local APP=frontend | |
remote: ++ [[ app == \g\l\o\b\a\l ]] | |
remote: ++ shift | |
remote: ++ config_sub export frontend | |
remote: ++ declare 'desc=executes a config subcommand' | |
remote: ++ local name=export | |
remote: ++ shift | |
remote: ++ /var/lib/dokku/plugins/available/config/subcommands/export config:export frontend | |
remote: ++ return 0 | |
remote: + eval 'export DOKKU_APP_RESTORE='\''1'\'' | |
remote: export DOKKU_APP_TYPE='\''herokuish'\'' | |
remote: export DOKKU_DOCKERFILE_CMD='\''CMD yarn start'\'' | |
remote: export DOKKU_DOCKERFILE_PORTS='\''3030'\'' | |
remote: export DOKKU_PROXY_PORT_MAP='\''http:3030:3030 '\'' | |
remote: export GIT_REV='\''6fa53725ac224b1637fb830ecca258d89a7c4db1'\''' | |
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_DOCKERFILE_CMD=CMD yarn start' | |
remote: ++ DOKKU_DOCKERFILE_CMD='CMD yarn start' | |
remote: ++ export DOKKU_DOCKERFILE_PORTS=3030 | |
remote: ++ DOKKU_DOCKERFILE_PORTS=3030 | |
remote: ++ export 'DOKKU_PROXY_PORT_MAP=http:3030:3030 ' | |
remote: ++ DOKKU_PROXY_PORT_MAP='http:3030:3030 ' | |
remote: ++ export GIT_REV=6fa53725ac224b1637fb830ecca258d89a7c4db1 | |
remote: ++ GIT_REV=6fa53725ac224b1637fb830ecca258d89a7c4db1 | |
remote: ++ is_app_proctype_checks_skipped frontend web | |
remote: ++ declare 'desc=return true if app'\''s proctype(s) checks are skipped' | |
remote: ++ local APP=frontend | |
remote: ++ verify_app_name frontend | |
remote: ++ declare 'desc=verify app name format and app existence' | |
remote: ++ local APP=frontend | |
remote: ++ is_valid_app_name frontend | |
remote: ++ declare 'desc=verify app name format' | |
remote: ++ local APP=frontend | |
remote: ++ [[ -z frontend ]] | |
remote: ++ [[ frontend =~ ^[a-z].* ]] | |
remote: ++ [[ ! frontend =~ [A-Z] ]] | |
remote: ++ [[ ! frontend =~ [:] ]] | |
remote: ++ return 0 | |
remote: ++ [[ ! -d /home/dokku/frontend ]] | |
remote: ++ return 0 | |
remote: ++ local PROCTYPE=web status=false | |
remote: +++ config_get frontend DOKKU_CHECKS_SKIPPED | |
remote: +++ declare 'desc=get value of given config var' | |
remote: +++ config_sub get frontend DOKKU_CHECKS_SKIPPED | |
remote: +++ declare 'desc=executes a config subcommand' | |
remote: +++ local name=get | |
remote: +++ shift | |
remote: +++ /var/lib/dokku/plugins/available/config/subcommands/get config:get frontend DOKKU_CHECKS_SKIPPED | |
remote: +++ true | |
remote: ++ local DOKKU_CHECKS_SKIPPED= | |
remote: ++ [[ '' == \_\a\l\l\_ ]] | |
remote: +++ is_val_in_list web '' | |
remote: +++ declare 'desc=return true if value (web) is in list () separated by delimiter (); delimiter defaults to comma' | |
remote: +++ local value=web list= delimiter=, | |
remote: +++ local IFS=, val_in_list=false | |
remote: +++ echo false | |
remote: ++ [[ false == \t\r\u\e ]] | |
remote: ++ echo false | |
remote: + [[ false == \t\r\u\e ]] | |
remote: + local WAIT=5 | |
remote: + local TIMEOUT=30 | |
remote: + local ATTEMPTS=5 | |
remote: ++ mktemp -d /tmp/dokku-5150-trigger-scheduler-docker-local-check-deploy.XXXXXX | |
remote: + local CHECK_DEPLOY_TMP_WORK_DIR=/tmp/dokku-5150-trigger-scheduler-docker-local-check-deploy.mMiWd1 | |
remote: + local CHECKS_FILENAME=/tmp/dokku-5150-trigger-scheduler-docker-local-check-deploy.mMiWd1/CHECKS | |
remote: ++ get_running_image_tag frontend | |
remote: ++ declare 'desc=retrieve current image tag for a given app. returns empty string if no deployed containers are found' | |
remote: ++ local APP=frontend | |
remote: ++ verify_app_name frontend | |
remote: ++ declare 'desc=verify app name format and app existence' | |
remote: ++ local APP=frontend | |
remote: ++ is_valid_app_name frontend | |
remote: ++ declare 'desc=verify app name format' | |
remote: ++ local APP=frontend | |
remote: ++ [[ -z frontend ]] | |
remote: ++ [[ frontend =~ ^[a-z].* ]] | |
remote: ++ [[ ! frontend =~ [A-Z] ]] | |
remote: ++ [[ ! frontend =~ [:] ]] | |
remote: ++ return 0 | |
remote: ++ [[ ! -d /home/dokku/frontend ]] | |
remote: ++ return 0 | |
remote: ++ CIDS=($(get_app_container_ids "$APP")) | |
remote: +++ get_app_container_ids frontend | |
remote: +++ declare 'desc=returns list of docker container ids for given app and optional container_type' | |
remote: +++ local APP=frontend | |
remote: +++ local CONTAINER_TYPE= | |
remote: +++ verify_app_name frontend | |
remote: +++ declare 'desc=verify app name format and app existence' | |
remote: +++ local APP=frontend | |
remote: +++ is_valid_app_name frontend | |
remote: +++ declare 'desc=verify app name format' | |
remote: +++ local APP=frontend | |
remote: +++ [[ -z frontend ]] | |
remote: +++ [[ frontend =~ ^[a-z].* ]] | |
remote: +++ [[ ! frontend =~ [A-Z] ]] | |
remote: +++ [[ ! frontend =~ [:] ]] | |
remote: +++ return 0 | |
remote: +++ [[ ! -d /home/dokku/frontend ]] | |
remote: +++ return 0 | |
remote: +++ [[ -f /home/dokku/frontend/CONTAINER ]] | |
remote: +++ [[ -n '' ]] | |
remote: +++ local 'CONTAINER_PATTERN=/home/dokku/frontend/CONTAINER.*' | |
remote: +++ shopt -s nullglob | |
remote: +++ local DOKKU_CID_FILE | |
remote: +++ for DOKKU_CID_FILE in '$CONTAINER_PATTERN' | |
remote: +++ local 'DOKKU_CIDS+= ' | |
remote: +++ local DOKKU_CIDS+=ebe1fe625eee1bb12badc935b1d89bc73df0ae6b600c85256cdd22887e6d0f00 | |
remote: +++ local 'DOKKU_CIDS+= ' | |
remote: +++ shopt -u nullglob | |
remote: +++ echo ' ebe1fe625eee1bb12badc935b1d89bc73df0ae6b600c85256cdd22887e6d0f00 ' | |
remote: ++ local CIDS | |
remote: +++ awk -F: '{ print $2 }' | |
remote: +++ docker container inspect --format '{{ .Config.Image }}' ebe1fe625eee1bb12badc935b1d89bc73df0ae6b600c85256cdd22887e6d0f00 | |
remote: ++ local RUNNING_IMAGE_TAG=latest | |
remote: ++ echo latest | |
remote: + local IMAGE_TAG=latest | |
remote: ++ get_deploying_app_image_name frontend latest | |
remote: ++ declare 'desc=return deploying image identifier for a given app, tag tuple. validate if tag is presented' | |
remote: ++ local APP=frontend | |
remote: ++ local IMAGE_TAG=latest | |
remote: ++ IMAGE_REPO= | |
remote: ++ is_valid_app_name frontend | |
remote: ++ declare 'desc=verify app name format' | |
remote: ++ local APP=frontend | |
remote: ++ [[ -z frontend ]] | |
remote: ++ [[ frontend =~ ^[a-z].* ]] | |
remote: ++ [[ ! frontend =~ [A-Z] ]] | |
remote: ++ [[ ! frontend =~ [:] ]] | |
remote: ++ return 0 | |
remote: +++ plugn trigger deployed-app-repository frontend | |
remote: + source /var/lib/dokku/core-plugins/available/common/functions | |
remote: ++ set -eo pipefail | |
remote: ++ [[ -n 1 ]] | |
remote: ++ set -x | |
remote: + [[ ! -n '' ]] | |
remote: ++ local IMAGE_REMOTE_REPOSITORY= | |
remote: +++ plugn trigger deployed-app-image-tag frontend | |
remote: + source /var/lib/dokku/core-plugins/available/common/functions | |
remote: ++ set -eo pipefail | |
remote: ++ [[ -n 1 ]] | |
remote: ++ set -x | |
remote: + [[ ! -n '' ]] | |
remote: ++ local NEW_IMAGE_TAG= | |
remote: +++ plugn trigger deployed-app-image-repo frontend | |
remote: + source /var/lib/dokku/core-plugins/available/common/functions | |
remote: ++ set -eo pipefail | |
remote: ++ [[ -n 1 ]] | |
remote: ++ set -x | |
remote: + [[ ! -n '' ]] | |
remote: ++ local NEW_IMAGE_REPO= | |
remote: ++ [[ -n '' ]] | |
remote: ++ [[ -n '' ]] | |
remote: ++ [[ -z '' ]] | |
remote: +++ get_app_image_repo frontend | |
remote: +++ declare 'desc=central definition of image repo pattern' | |
remote: +++ local APP=frontend | |
remote: +++ local IMAGE_REPO=dokku/frontend | |
remote: +++ is_valid_app_name frontend | |
remote: +++ declare 'desc=verify app name format' | |
remote: +++ local APP=frontend | |
remote: +++ [[ -z frontend ]] | |
remote: +++ [[ frontend =~ ^[a-z].* ]] | |
remote: +++ [[ ! frontend =~ [A-Z] ]] | |
remote: +++ [[ ! frontend =~ [:] ]] | |
remote: +++ return 0 | |
remote: +++ echo dokku/frontend | |
remote: ++ IMAGE_REPO=dokku/frontend | |
remote: ++ [[ -z latest ]] | |
remote: ++ local IMAGE=dokku/frontend:latest | |
remote: ++ verify_image dokku/frontend:latest | |
remote: ++ declare 'desc=verify image existence' | |
remote: ++ local IMAGE=dokku/frontend:latest | |
remote: ++ docker image inspect dokku/frontend:latest | |
remote: ++ return 0 | |
remote: ++ echo dokku/frontend:latest | |
remote: + local IMAGE=dokku/frontend:latest | |
remote: + copy_from_image dokku/frontend:latest CHECKS /tmp/dokku-5150-trigger-scheduler-docker-local-check-deploy.mMiWd1/CHECKS | |
remote: + true | |
remote: + trap 'checks_check_deploy_cleanup d49c37b3f497ab036431fd96fae3775adeab2d44284b85ce71a30abee7a0ef07' RETURN INT TERM EXIT | |
remote: + [[ ! -s /tmp/dokku-5150-trigger-scheduler-docker-local-check-deploy.mMiWd1/CHECKS ]] | |
remote: + rm -rf /tmp/dokku-5150-trigger-scheduler-docker-local-check-deploy.mMiWd1 | |
remote: + local DOKKU_DEFAULT_CHECKS_WAIT=10 | |
remote: + dokku_log_verbose 'Waiting for 10 seconds ...' | |
remote: + declare 'desc=log verbose formatter' | |
remote: + echo ' Waiting for 10 seconds ...' | |
remote: + sleep 10 | |
Waiting for 10 seconds ... | |
remote: + is_container_status d49c37b3f497ab036431fd96fae3775adeab2d44284b85ce71a30abee7a0ef07 Running | |
remote: + declare 'desc=return 0 if given docker container id is in given state' | |
remote: + local CID=d49c37b3f497ab036431fd96fae3775adeab2d44284b85ce71a30abee7a0ef07 | |
remote: + local 'TEMPLATE={{.State.Running}}' | |
remote: ++ docker container inspect --format '{{.State.Running}}' d49c37b3f497ab036431fd96fae3775adeab2d44284b85ce71a30abee7a0ef07 | |
remote: + local CONTAINER_STATUS=true | |
remote: + [[ true == \t\r\u\e ]] | |
remote: + return 0 | |
remote: ++ docker container inspect --format '{{ .RestartCount }}' d49c37b3f497ab036431fd96fae3775adeab2d44284b85ce71a30abee7a0ef07 | |
remote: + local container_restarts=0 | |
remote: + [[ 0 -ne 0 ]] | |
remote: + trap - EXIT | |
remote: + dokku_log_verbose 'Default container check successful!' | |
remote: + declare 'desc=log verbose formatter' | |
remote: + echo ' Default container check successful!' | |
remote: + exit 0 | |
Default container check successful! | |
remote: + trap - INT TERM EXIT | |
remote: + [[ -n d49c37b3f497ab036431fd96fae3775adeab2d44284b85ce71a30abee7a0ef07 ]] | |
remote: + echo d49c37b3f497ab036431fd96fae3775adeab2d44284b85ce71a30abee7a0ef07 | |
remote: + [[ -n 172.17.0.8 ]] | |
remote: + plugn trigger network-write-ipaddr frontend web 1 172.17.0.8 | |
remote: + source /var/lib/dokku/core-plugins/available/common/functions | |
remote: ++ set -eo pipefail | |
remote: ++ [[ -n 1 ]] | |
remote: ++ set -x | |
remote: + [[ ! -n '' ]] | |
remote: + [[ -n 5000 ]] | |
remote: + plugn trigger network-write-port frontend web 1 5000 | |
remote: + source /var/lib/dokku/core-plugins/available/common/functions | |
remote: ++ set -eo pipefail | |
remote: ++ [[ -n 1 ]] | |
remote: ++ set -x | |
remote: + [[ ! -n '' ]] | |
remote: + rm -f /home/dokku/frontend/CONTAINER /home/dokku/frontend/IP /home/dokku/frontend/PORT | |
remote: + local CONTAINER_INDEX=2 | |
remote: + [[ 2 -le 1 ]] | |
remote: + [[ 1 == 0 ]] | |
remote: + local CONTAINER_IDX_OFFSET=2 | |
remote: + local container_state_filetype | |
remote: + for container_state_filetype in CONTAINER IP PORT | |
remote: + cd /home/dokku/frontend | |
remote: + find . -maxdepth 1 -name 'CONTAINER.web.*' -printf '%f\n' | |
remote: + xargs rm -f | |
remote: + tail -n +2 | |
remote: + sort -t . -k 3 -n | |
remote: + for container_state_filetype in CONTAINER IP PORT | |
remote: + cd /home/dokku/frontend | |
remote: + find . -maxdepth 1 -name 'IP.web.*' -printf '%f\n' | |
remote: + xargs rm -f | |
remote: + tail -n +2 | |
remote: + sort -t . -k 3 -n | |
remote: + for container_state_filetype in CONTAINER IP PORT | |
remote: + cd /home/dokku/frontend | |
remote: + find . -maxdepth 1 -name 'PORT.web.*' -printf '%f\n' | |
remote: + xargs rm -f | |
remote: + tail -n +2 | |
remote: + sort -t . -k 3 -n | |
remote: + read -r line | |
remote: + [[ -n '' ]] | |
remote: + dokku_log_info1 'Running post-deploy' | |
remote: + declare 'desc=log info1 formatter' | |
remote: + echo '-----> Running post-deploy' | |
remote: + plugn trigger core-post-deploy frontend 5000 172.17.0.8 '' | |
-----> Running post-deploy | |
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/domains/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/nginx-vhosts/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/certs/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/domains/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/ps/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/nginx-vhosts/internal-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/core-plugins/available/common/property-functions | |
remote: ++++ set -eo pipefail | |
remote: ++++ [[ -n 1 ]] | |
remote: ++++ set -x | |
remote: + trigger-nginx-vhosts-core-post-deploy frontend 5000 172.17.0.8 '' | |
remote: + declare 'desc=nginx-vhosts core-post-deploy plugin trigger' | |
remote: + declare trigger=nginx_core_post_deploy | |
remote: + declare APP=frontend | |
remote: + local HAS_NETWORK_CONFIG | |
remote: ++ plugn trigger proxy-type frontend | |
remote: + source /var/lib/dokku/core-plugins/available/common/functions | |
remote: ++ set -eo pipefail | |
remote: ++ [[ -n 1 ]] | |
remote: ++ set -x | |
remote: + [[ ! -n '' ]] | |
remote: + [[ nginx != \n\g\i\n\x ]] | |
remote: ++ plugn trigger network-config-exists frontend | |
remote: + source /var/lib/dokku/core-plugins/available/common/functions | |
remote: ++ set -eo pipefail | |
remote: ++ [[ -n 1 ]] | |
remote: ++ set -x | |
remote: + [[ ! -n '' ]] | |
remote: + HAS_NETWORK_CONFIG=true | |
remote: + [[ true == \t\r\u\e ]] | |
remote: ++ is_app_vhost_enabled frontend | |
remote: ++ declare 'desc=returns true or false if vhost support is enabled for a given application' | |
remote: ++ source /var/lib/dokku/plugins/available/config/functions | |
remote: +++ set -eo pipefail | |
remote: +++ [[ -n 1 ]] | |
remote: +++ set -x | |
remote: +++ source /var/lib/dokku/core-plugins/available/common/functions | |
remote: ++++ set -eo pipefail | |
remote: ++++ [[ -n 1 ]] | |
remote: ++++ set -x | |
remote: ++ local APP=frontend | |
remote: ++ verify_app_name frontend | |
remote: ++ declare 'desc=verify app name format and app existence' | |
remote: ++ local APP=frontend | |
remote: ++ is_valid_app_name frontend | |
remote: ++ declare 'desc=verify app name format' | |
remote: ++ local APP=frontend | |
remote: ++ [[ -z frontend ]] | |
remote: ++ [[ frontend =~ ^[a-z].* ]] | |
remote: ++ [[ ! frontend =~ [A-Z] ]] | |
remote: ++ [[ ! frontend =~ [:] ]] | |
remote: ++ return 0 | |
remote: ++ [[ ! -d /home/dokku/frontend ]] | |
remote: ++ return 0 | |
remote: +++ config_get frontend NO_VHOST | |
remote: +++ declare 'desc=get value of given config var' | |
remote: +++ config_sub get frontend NO_VHOST | |
remote: +++ declare 'desc=executes a config subcommand' | |
remote: +++ local name=get | |
remote: +++ shift | |
remote: +++ /var/lib/dokku/plugins/available/config/subcommands/get config:get frontend NO_VHOST | |
remote: ++ local NO_VHOST= | |
remote: ++ local APP_VHOST_ENABLED=true | |
remote: ++ [[ '' == \1 ]] | |
remote: ++ echo true | |
remote: + [[ true == \f\a\l\s\e ]] | |
remote: + [[ ! -f /home/dokku/frontend/VHOST ]] | |
remote: + nginx_build_config frontend | |
remote: + declare 'desc=build nginx config to proxy app containers using sigil' | |
remote: + local APP=frontend | |
remote: + verify_app_name frontend | |
remote: + declare 'desc=verify app name format and app existence' | |
remote: + local APP=frontend | |
remote: + is_valid_app_name frontend | |
remote: + declare 'desc=verify app name format' | |
remote: + local APP=frontend | |
remote: + [[ -z frontend ]] | |
remote: + [[ frontend =~ ^[a-z].* ]] | |
remote: + [[ ! frontend =~ [A-Z] ]] | |
remote: + [[ ! frontend =~ [:] ]] | |
remote: + return 0 | |
remote: + [[ ! -d /home/dokku/frontend ]] | |
remote: + return 0 | |
remote: + local DOKKU_APP_LISTEN_PORT= | |
remote: + local DOKKU_APP_LISTEN_IP= | |
remote: + local VHOST_PATH=/home/dokku/frontend/VHOST | |
remote: + local URLS_PATH=/home/dokku/frontend/URLS | |
remote: + local NGINX_TEMPLATE_NAME=nginx.conf.sigil | |
remote: + local DEFAULT_NGINX_TEMPLATE=/var/lib/dokku/plugins/available/nginx-vhosts/templates/nginx.conf.sigil | |
remote: + local NGINX_TEMPLATE=/var/lib/dokku/plugins/available/nginx-vhosts/templates/nginx.conf.sigil | |
remote: + local SCHEME=http | |
remote: + local NGINX_TEMPLATE_SOURCE=built-in | |
remote: + local APP_SSL_PATH=/home/dokku/frontend/tls | |
remote: ++ get_app_raw_tcp_ports frontend | |
remote: ++ declare 'desc=extracts raw tcp port numbers from DOCKERFILE_PORTS config variable' | |
remote: ++ source /var/lib/dokku/plugins/available/config/functions | |
remote: +++ set -eo pipefail | |
remote: +++ [[ -n 1 ]] | |
remote: +++ set -x | |
remote: +++ source /var/lib/dokku/core-plugins/available/common/functions | |
remote: ++++ set -eo pipefail | |
remote: ++++ [[ -n 1 ]] | |
remote: ++++ set -x | |
remote: ++ local APP=frontend | |
remote: ++ verify_app_name frontend | |
remote: ++ declare 'desc=verify app name format and app existence' | |
remote: ++ local APP=frontend | |
remote: ++ is_valid_app_name frontend | |
remote: ++ declare 'desc=verify app name format' | |
remote: ++ local APP=frontend | |
remote: ++ [[ -z frontend ]] | |
remote: ++ [[ frontend =~ ^[a-z].* ]] | |
remote: ++ [[ ! frontend =~ [A-Z] ]] | |
remote: ++ [[ ! frontend =~ [:] ]] | |
remote: ++ return 0 | |
remote: ++ [[ ! -d /home/dokku/frontend ]] | |
remote: ++ return 0 | |
remote: +++ config_get frontend DOKKU_DOCKERFILE_PORTS | |
remote: +++ declare 'desc=get value of given config var' | |
remote: +++ config_sub get frontend DOKKU_DOCKERFILE_PORTS | |
remote: +++ declare 'desc=executes a config subcommand' | |
remote: +++ local name=get | |
remote: +++ shift | |
remote: +++ /var/lib/dokku/plugins/available/config/subcommands/get config:get frontend DOKKU_DOCKERFILE_PORTS | |
remote: ++ local DOCKERFILE_PORTS=3030 | |
remote: ++ for p in '$DOCKERFILE_PORTS' | |
remote: ++ [[ ! 3030 =~ .*udp.* ]] | |
remote: ++ p=3030 | |
remote: ++ raw_tcp_ports+='3030 ' | |
remote: +++ echo '3030 ' | |
remote: +++ xargs | |
remote: ++ local raw_tcp_ports=3030 | |
remote: ++ echo 3030 | |
remote: + local RAW_TCP_PORTS=3030 | |
remote: + local DOKKU_APP_LISTENERS | |
remote: ++ is_app_vhost_enabled frontend | |
remote: ++ declare 'desc=returns true or false if vhost support is enabled for a given application' | |
remote: ++ source /var/lib/dokku/plugins/available/config/functions | |
remote: +++ set -eo pipefail | |
remote: +++ [[ -n 1 ]] | |
remote: +++ set -x | |
remote: +++ source /var/lib/dokku/core-plugins/available/common/functions | |
remote: ++++ set -eo pipefail | |
remote: ++++ [[ -n 1 ]] | |
remote: ++++ set -x | |
remote: ++ local APP=frontend | |
remote: ++ verify_app_name frontend | |
remote: ++ declare 'desc=verify app name format and app existence' | |
remote: ++ local APP=frontend | |
remote: ++ is_valid_app_name frontend | |
remote: ++ declare 'desc=verify app name format' | |
remote: ++ local APP=frontend | |
remote: ++ [[ -z frontend ]] | |
remote: ++ [[ frontend =~ ^[a-z].* ]] | |
remote: ++ [[ ! frontend =~ [A-Z] ]] | |
remote: ++ [[ ! frontend =~ [:] ]] | |
remote: ++ return 0 | |
remote: ++ [[ ! -d /home/dokku/frontend ]] | |
remote: ++ return 0 | |
remote: +++ config_get frontend NO_VHOST | |
remote: +++ declare 'desc=get value of given config var' | |
remote: +++ config_sub get frontend NO_VHOST | |
remote: +++ declare 'desc=executes a config subcommand' | |
remote: +++ local name=get | |
remote: +++ shift | |
remote: +++ /var/lib/dokku/plugins/available/config/subcommands/get config:get frontend NO_VHOST | |
remote: ++ local NO_VHOST= | |
remote: ++ local APP_VHOST_ENABLED=true | |
remote: ++ [[ '' == \1 ]] | |
remote: ++ echo true | |
remote: + local IS_APP_VHOST_ENABLED=true | |
remote: ++ plugn trigger proxy-is-enabled frontend | |
remote: + source /var/lib/dokku/core-plugins/available/common/functions | |
remote: ++ set -eo pipefail | |
remote: ++ [[ -n 1 ]] | |
remote: ++ set -x | |
remote: + [[ ! -n '' ]] | |
remote: + [[ true == \t\r\u\e ]] | |
remote: + [[ -z '' ]] | |
remote: + [[ -z '' ]] | |
remote: ++ plugn trigger network-get-listeners frontend web | |
remote: ++ xargs | |
remote: + source /var/lib/dokku/core-plugins/available/common/functions | |
remote: ++ set -eo pipefail | |
remote: ++ [[ -n 1 ]] | |
remote: ++ set -x | |
remote: + [[ ! -n '' ]] | |
remote: + DOKKU_APP_LISTENERS=172.17.0.8:5000 | |
remote: + configure_nginx_ports frontend | |
remote: + declare 'desc=configure nginx listening ports' | |
remote: + local APP=frontend | |
remote: + verify_app_name frontend | |
remote: + declare 'desc=verify app name format and app existence' | |
remote: + local APP=frontend | |
remote: + is_valid_app_name frontend | |
remote: + declare 'desc=verify app name format' | |
remote: + local APP=frontend | |
remote: + [[ -z frontend ]] | |
remote: + [[ frontend =~ ^[a-z].* ]] | |
remote: + [[ ! frontend =~ [A-Z] ]] | |
remote: + [[ ! frontend =~ [:] ]] | |
remote: + return 0 | |
remote: + [[ ! -d /home/dokku/frontend ]] | |
remote: + return 0 | |
remote: ++ get_app_raw_tcp_ports frontend | |
remote: ++ declare 'desc=extracts raw tcp port numbers from DOCKERFILE_PORTS config variable' | |
remote: ++ source /var/lib/dokku/plugins/available/config/functions | |
remote: +++ set -eo pipefail | |
remote: +++ [[ -n 1 ]] | |
remote: +++ set -x | |
remote: +++ source /var/lib/dokku/core-plugins/available/common/functions | |
remote: ++++ set -eo pipefail | |
remote: ++++ [[ -n 1 ]] | |
remote: ++++ set -x | |
remote: ++ local APP=frontend | |
remote: ++ verify_app_name frontend | |
remote: ++ declare 'desc=verify app name format and app existence' | |
remote: ++ local APP=frontend | |
remote: ++ is_valid_app_name frontend | |
remote: ++ declare 'desc=verify app name format' | |
remote: ++ local APP=frontend | |
remote: ++ [[ -z frontend ]] | |
remote: ++ [[ frontend =~ ^[a-z].* ]] | |
remote: ++ [[ ! frontend =~ [A-Z] ]] | |
remote: ++ [[ ! frontend =~ [:] ]] | |
remote: ++ return 0 | |
remote: ++ [[ ! -d /home/dokku/frontend ]] | |
remote: ++ return 0 | |
remote: +++ config_get frontend DOKKU_DOCKERFILE_PORTS | |
remote: +++ declare 'desc=get value of given config var' | |
remote: +++ config_sub get frontend DOKKU_DOCKERFILE_PORTS | |
remote: +++ declare 'desc=executes a config subcommand' | |
remote: +++ local name=get | |
remote: +++ shift | |
remote: +++ /var/lib/dokku/plugins/available/config/subcommands/get config:get frontend DOKKU_DOCKERFILE_PORTS | |
remote: ++ local DOCKERFILE_PORTS=3030 | |
remote: ++ for p in '$DOCKERFILE_PORTS' | |
remote: ++ [[ ! 3030 =~ .*udp.* ]] | |
remote: ++ p=3030 | |
remote: ++ raw_tcp_ports+='3030 ' | |
remote: +++ echo '3030 ' | |
remote: +++ xargs | |
remote: ++ local raw_tcp_ports=3030 | |
remote: ++ echo 3030 | |
remote: + local RAW_TCP_PORTS=3030 | |
remote: ++ config_get frontend DOKKU_PROXY_PORT | |
remote: ++ declare 'desc=get value of given config var' | |
remote: ++ config_sub get frontend DOKKU_PROXY_PORT | |
remote: ++ declare 'desc=executes a config subcommand' | |
remote: ++ local name=get | |
remote: ++ shift | |
remote: ++ /var/lib/dokku/plugins/available/config/subcommands/get config:get frontend DOKKU_PROXY_PORT | |
remote: + local DOKKU_PROXY_PORT= | |
remote: ++ config_get frontend DOKKU_PROXY_SSL_PORT | |
remote: ++ declare 'desc=get value of given config var' | |
remote: ++ config_sub get frontend DOKKU_PROXY_SSL_PORT | |
remote: ++ declare 'desc=executes a config subcommand' | |
remote: ++ local name=get | |
remote: ++ shift | |
remote: ++ /var/lib/dokku/plugins/available/config/subcommands/get config:get frontend DOKKU_PROXY_SSL_PORT | |
remote: + local DOKKU_PROXY_SSL_PORT= | |
remote: ++ config_get frontend DOKKU_PROXY_PORT_MAP | |
remote: ++ declare 'desc=get value of given config var' | |
remote: ++ config_sub get frontend DOKKU_PROXY_PORT_MAP | |
remote: ++ declare 'desc=executes a config subcommand' | |
remote: ++ local name=get | |
remote: ++ shift | |
remote: ++ /var/lib/dokku/plugins/available/config/subcommands/get config:get frontend DOKKU_PROXY_PORT_MAP | |
remote: + local 'DOKKU_PROXY_PORT_MAP=http:3030:3030 ' | |
remote: ++ is_app_vhost_enabled frontend | |
remote: ++ declare 'desc=returns true or false if vhost support is enabled for a given application' | |
remote: ++ source /var/lib/dokku/plugins/available/config/functions | |
remote: +++ set -eo pipefail | |
remote: +++ [[ -n 1 ]] | |
remote: +++ set -x | |
remote: +++ source /var/lib/dokku/core-plugins/available/common/functions | |
remote: ++++ set -eo pipefail | |
remote: ++++ [[ -n 1 ]] | |
remote: ++++ set -x | |
remote: ++ local APP=frontend | |
remote: ++ verify_app_name frontend | |
remote: ++ declare 'desc=verify app name format and app existence' | |
remote: ++ local APP=frontend | |
remote: ++ is_valid_app_name frontend | |
remote: ++ declare 'desc=verify app name format' | |
remote: ++ local APP=frontend | |
remote: ++ [[ -z frontend ]] | |
remote: ++ [[ frontend =~ ^[a-z].* ]] | |
remote: ++ [[ ! frontend =~ [A-Z] ]] | |
remote: ++ [[ ! frontend =~ [:] ]] | |
remote: ++ return 0 | |
remote: ++ [[ ! -d /home/dokku/frontend ]] | |
remote: ++ return 0 | |
remote: +++ config_get frontend NO_VHOST | |
remote: +++ declare 'desc=get value of given config var' | |
remote: +++ config_sub get frontend NO_VHOST | |
remote: +++ declare 'desc=executes a config subcommand' | |
remote: +++ local name=get | |
remote: +++ shift | |
remote: +++ /var/lib/dokku/plugins/available/config/subcommands/get config:get frontend NO_VHOST | |
remote: ++ local NO_VHOST= | |
remote: ++ local APP_VHOST_ENABLED=true | |
remote: ++ [[ '' == \1 ]] | |
remote: ++ echo true | |
remote: + local IS_APP_VHOST_ENABLED=true | |
remote: + local UPSTREAM_PORT=5000 | |
remote: + [[ -z '' ]] | |
remote: + [[ -z 3030 ]] | |
remote: + [[ -z '' ]] | |
remote: + is_ssl_enabled frontend | |
remote: + declare 'desc=returns 0 if ssl is enabled for given app' | |
remote: + local APP=frontend | |
remote: + verify_app_name frontend | |
remote: + declare 'desc=verify app name format and app existence' | |
remote: + local APP=frontend | |
remote: + is_valid_app_name frontend | |
remote: + declare 'desc=verify app name format' | |
remote: + local APP=frontend | |
remote: + [[ -z frontend ]] | |
remote: + [[ frontend =~ ^[a-z].* ]] | |
remote: + [[ ! frontend =~ [A-Z] ]] | |
remote: + [[ ! frontend =~ [:] ]] | |
remote: + return 0 | |
remote: + [[ ! -d /home/dokku/frontend ]] | |
remote: + return 0 | |
remote: + local APP_SSL_PATH=/home/dokku/frontend/tls | |
remote: + [[ -e /home/dokku/frontend/tls/server.crt ]] | |
remote: + return 1 | |
remote: + [[ -z http:3030:3030 ]] | |
remote: ++ config_get frontend DOKKU_PROXY_PORT | |
remote: ++ declare 'desc=get value of given config var' | |
remote: ++ config_sub get frontend DOKKU_PROXY_PORT | |
remote: ++ declare 'desc=executes a config subcommand' | |
remote: ++ local name=get | |
remote: ++ shift | |
remote: ++ /var/lib/dokku/plugins/available/config/subcommands/get config:get frontend DOKKU_PROXY_PORT | |
remote: + local PROXY_PORT= | |
remote: ++ config_get frontend DOKKU_PROXY_SSL_PORT | |
remote: ++ declare 'desc=get value of given config var' | |
remote: ++ config_sub get frontend DOKKU_PROXY_SSL_PORT | |
remote: ++ declare 'desc=executes a config subcommand' | |
remote: ++ local name=get | |
remote: ++ shift | |
remote: ++ /var/lib/dokku/plugins/available/config/subcommands/get config:get frontend DOKKU_PROXY_SSL_PORT | |
remote: + local PROXY_SSL_PORT= | |
remote: ++ config_get frontend DOKKU_PROXY_PORT_MAP | |
remote: ++ declare 'desc=get value of given config var' | |
remote: ++ config_sub get frontend DOKKU_PROXY_PORT_MAP | |
remote: ++ declare 'desc=executes a config subcommand' | |
remote: ++ local name=get | |
remote: ++ shift | |
remote: ++ /var/lib/dokku/plugins/available/config/subcommands/get config:get frontend DOKKU_PROXY_PORT_MAP | |
remote: + local 'PROXY_PORT_MAP=http:3030:3030 ' | |
remote: + local PORT_MAP | |
remote: + for PORT_MAP in '$PROXY_PORT_MAP' | |
remote: ++ awk -F : '{ print $3 }' | |
remote: + local PROXY_UPSTREAM_PORT=3030 | |
remote: ++ is_val_in_list 3030 '' ' ' | |
remote: ++ declare 'desc=return true if value (3030) is in list () separated by delimiter ( ); delimiter defaults to comma' | |
remote: ++ local value=3030 list= 'delimiter= ' | |
remote: ++ local 'IFS= ' val_in_list=false | |
remote: ++ echo false | |
remote: + [[ false == \f\a\l\s\e ]] | |
remote: + local 'PROXY_UPSTREAM_PORTS+=3030 ' | |
remote: ++ echo '3030 ' | |
remote: ++ xargs | |
remote: + local PROXY_UPSTREAM_PORTS=3030 | |
remote: + local SSL_INUSE= | |
remote: ++ get_app_domains frontend | |
remote: ++ declare 'desc=return app domains' | |
remote: ++ verify_app_name frontend | |
remote: ++ declare 'desc=verify app name format and app existence' | |
remote: ++ local APP=frontend | |
remote: ++ is_valid_app_name frontend | |
remote: ++ declare 'desc=verify app name format' | |
remote: ++ local APP=frontend | |
remote: ++ [[ -z frontend ]] | |
remote: ++ [[ frontend =~ ^[a-z].* ]] | |
remote: ++ [[ ! frontend =~ [A-Z] ]] | |
remote: ++ [[ ! frontend =~ [:] ]] | |
remote: ++ return 0 | |
remote: ++ [[ ! -d /home/dokku/frontend ]] | |
remote: ++ return 0 | |
remote: ++ local APP=frontend | |
remote: ++ local APP_VHOST_FILE=/home/dokku/frontend/VHOST | |
remote: ++ local GLOBAL_VHOST_PATH=/home/dokku/VHOST | |
remote: ++ local GLOBAL_HOSTNAME_PATH=/home/dokku/HOSTNAME | |
remote: +++ is_app_vhost_enabled frontend | |
remote: +++ declare 'desc=returns true or false if vhost support is enabled for a given application' | |
remote: +++ source /var/lib/dokku/plugins/available/config/functions | |
remote: ++++ set -eo pipefail | |
remote: ++++ [[ -n 1 ]] | |
remote: ++++ set -x | |
remote: ++++ source /var/lib/dokku/core-plugins/available/common/functions | |
remote: +++++ set -eo pipefail | |
remote: +++++ [[ -n 1 ]] | |
remote: +++++ set -x | |
remote: +++ local APP=frontend | |
remote: +++ verify_app_name frontend | |
remote: +++ declare 'desc=verify app name format and app existence' | |
remote: +++ local APP=frontend | |
remote: +++ is_valid_app_name frontend | |
remote: +++ declare 'desc=verify app name format' | |
remote: +++ local APP=frontend | |
remote: +++ [[ -z frontend ]] | |
remote: +++ [[ frontend =~ ^[a-z].* ]] | |
remote: +++ [[ ! frontend =~ [A-Z] ]] | |
remote: +++ [[ ! frontend =~ [:] ]] | |
remote: +++ return 0 | |
remote: +++ [[ ! -d /home/dokku/frontend ]] | |
remote: +++ return 0 | |
remote: ++++ config_get frontend NO_VHOST | |
remote: ++++ declare 'desc=get value of given config var' | |
remote: ++++ config_sub get frontend NO_VHOST | |
remote: ++++ declare 'desc=executes a config subcommand' | |
remote: ++++ local name=get | |
remote: ++++ shift | |
remote: ++++ /var/lib/dokku/plugins/available/config/subcommands/get config:get frontend NO_VHOST | |
remote: +++ local NO_VHOST= | |
remote: +++ local APP_VHOST_ENABLED=true | |
remote: +++ [[ '' == \1 ]] | |
remote: +++ echo true | |
remote: ++ [[ true == \t\r\u\e ]] | |
remote: ++ [[ -f /home/dokku/frontend/VHOST ]] | |
remote: ++ cat /home/dokku/frontend/VHOST | |
remote: + local NONSSL_VHOSTS=staging.admet.eu | |
remote: ++ echo staging.admet.eu | |
remote: ++ xargs | |
remote: + local NOSSL_SERVER_NAME=staging.admet.eu | |
remote: + is_ssl_enabled frontend | |
remote: + declare 'desc=returns 0 if ssl is enabled for given app' | |
remote: + local APP=frontend | |
remote: + verify_app_name frontend | |
remote: + declare 'desc=verify app name format and app existence' | |
remote: + local APP=frontend | |
remote: + is_valid_app_name frontend | |
remote: + declare 'desc=verify app name format' | |
remote: + local APP=frontend | |
remote: + [[ -z frontend ]] | |
remote: + [[ frontend =~ ^[a-z].* ]] | |
remote: + [[ ! frontend =~ [A-Z] ]] | |
remote: + [[ ! frontend =~ [:] ]] | |
remote: + return 0 | |
remote: + [[ ! -d /home/dokku/frontend ]] | |
remote: + return 0 | |
remote: + local APP_SSL_PATH=/home/dokku/frontend/tls | |
remote: + [[ -e /home/dokku/frontend/tls/server.crt ]] | |
remote: + return 1 | |
remote: + local NGINX_LOCATION NGINX_VERSION SPDY_SUPPORTED TLS13_SUPPORTED HTTP2_SUPPORTED HTTP2_PUSH_SUPPORTED GRPC_SUPPORTED | |
remote: ++ get_nginx_location | |
remote: ++ declare 'desc=check that nginx is at the expected location and return it' | |
remote: ++ fn-nginx-vhosts-nginx-location | |
remote: ++ declare 'desc=check that nginx is at the expected location and return it' | |
remote: ++ local NGINX_LOCATION | |
remote: +++ which nginx | |
remote: ++ NGINX_LOCATION=/usr/sbin/nginx | |
remote: ++ [[ -z /usr/sbin/nginx ]] | |
remote: ++ fn-nginx-vhosts-uses-openresty | |
remote: ++ declare 'desc=returns whether openresty is in use or not' | |
remote: ++ [[ -x /usr/bin/openresty ]] | |
remote: ++ return 1 | |
remote: ++ [[ ! -x /usr/sbin/nginx ]] | |
remote: ++ echo /usr/sbin/nginx | |
remote: + NGINX_LOCATION=/usr/sbin/nginx | |
remote: + [[ -z /usr/sbin/nginx ]] | |
remote: ++ /usr/sbin/nginx -v | |
remote: ++ cut -d/ -f 2 | |
remote: + NGINX_VERSION='1.10.3 (Ubuntu)' | |
remote: ++ is_spdy_enabled '1.10.3 (Ubuntu)' | |
remote: ++ declare 'desc=detects whether the installed nginx version has spdy support' | |
remote: ++ local 'NGINX_VERSION=1.10.3 (Ubuntu)' | |
remote: ++ local MAJOR_VERSION MINOR_VERSION PATCH_VERSION | |
remote: ++ local HAS_SUPPORT=true | |
remote: +++ echo '1.10.3 (Ubuntu)' | |
remote: +++ awk '{split($0,a,"."); print a[1]}' | |
remote: ++ MAJOR_VERSION=1 | |
remote: +++ echo '1.10.3 (Ubuntu)' | |
remote: +++ awk '{split($0,a,"."); print a[2]}' | |
remote: ++ MINOR_VERSION=10 | |
remote: +++ echo '1.10.3 (Ubuntu)' | |
remote: +++ awk '{split($0,a,"."); print a[3]}' | |
remote: ++ PATCH_VERSION='3 (Ubuntu)' | |
remote: ++ [[ 1 -ge 2 ]] | |
remote: ++ [[ 1 -eq 1 ]] | |
remote: ++ [[ 10 -ge 10 ]] | |
remote: ++ HAS_SUPPORT=false | |
remote: ++ echo false | |
remote: + SPDY_SUPPORTED=false | |
remote: ++ is_tls13_available '1.10.3 (Ubuntu)' | |
remote: ++ declare 'desc=detects whether the installed nginx version has TLSv1.3 support' | |
remote: ++ local 'NGINX_VERSION=1.10.3 (Ubuntu)' | |
remote: ++ local MAJOR_VERSION MINOR_VERSION PATCH_VERSION | |
remote: ++ local HAS_SUPPORT=false | |
remote: +++ echo '1.10.3 (Ubuntu)' | |
remote: +++ awk '{split($0,a,"."); print a[1]}' | |
remote: ++ MAJOR_VERSION=1 | |
remote: +++ echo '1.10.3 (Ubuntu)' | |
remote: +++ awk '{split($0,a,"."); print a[2]}' | |
remote: ++ MINOR_VERSION=10 | |
remote: +++ echo '1.10.3 (Ubuntu)' | |
remote: +++ awk '{split($0,a,"."); print a[3]}' | |
remote: ++ PATCH_VERSION='3 (Ubuntu)' | |
remote: ++ [[ 1 -ge 2 ]] | |
remote: ++ [[ 1 -eq 1 ]] | |
remote: ++ [[ 10 -ge 13 ]] | |
remote: ++ echo false | |
remote: + TLS13_SUPPORTED=false | |
remote: ++ is_http2_enabled '1.10.3 (Ubuntu)' | |
remote: ++ declare 'desc=detects whether the installed nginx version has http2 support' | |
remote: ++ local 'NGINX_VERSION=1.10.3 (Ubuntu)' | |
remote: ++ local MAJOR_VERSION MINOR_VERSION PATCH_VERSION | |
remote: ++ local HAS_SUPPORT=false | |
remote: +++ echo '1.10.3 (Ubuntu)' | |
remote: +++ awk '{split($0,a,"."); print a[1]}' | |
remote: ++ MAJOR_VERSION=1 | |
remote: +++ echo '1.10.3 (Ubuntu)' | |
remote: +++ awk '{split($0,a,"."); print a[2]}' | |
remote: ++ MINOR_VERSION=10 | |
remote: +++ echo '1.10.3 (Ubuntu)' | |
remote: +++ awk '{split($0,a,"."); print a[3]}' | |
remote: ++ PATCH_VERSION='3 (Ubuntu)' | |
remote: ++ [[ 1 -ge 2 ]] | |
remote: ++ [[ 1 -eq 1 ]] | |
remote: ++ [[ 10 -eq 11 ]] | |
remote: ++ [[ 10 -ge 12 ]] | |
remote: ++ echo false | |
remote: + HTTP2_SUPPORTED=false | |
remote: ++ is_http2_push_enabled '1.10.3 (Ubuntu)' | |
remote: ++ declare 'desc=detects whether the installed nginx version has http2 push support' | |
remote: ++ local 'NGINX_VERSION=1.10.3 (Ubuntu)' | |
remote: ++ local MAJOR_VERSION MINOR_VERSION PATCH_VERSION | |
remote: ++ local HAS_SUPPORT=false | |
remote: +++ echo '1.10.3 (Ubuntu)' | |
remote: +++ awk '{split($0,a,"."); print a[1]}' | |
remote: ++ MAJOR_VERSION=1 | |
remote: +++ echo '1.10.3 (Ubuntu)' | |
remote: +++ awk '{split($0,a,"."); print a[2]}' | |
remote: ++ MINOR_VERSION=10 | |
remote: +++ echo '1.10.3 (Ubuntu)' | |
remote: +++ awk '{split($0,a,"."); print a[3]}' | |
remote: ++ PATCH_VERSION='3 (Ubuntu)' | |
remote: ++ [[ 1 -ge 2 ]] | |
remote: ++ [[ 1 -eq 1 ]] | |
remote: ++ [[ 10 -eq 13 ]] | |
remote: ++ [[ 10 -ge 14 ]] | |
remote: ++ echo false | |
remote: + HTTP2_PUSH_SUPPORTED=false | |
remote: ++ is_grpc_enabled '1.10.3 (Ubuntu)' | |
remote: ++ declare 'desc=detects whether the installed nginx version has grpc support' | |
remote: ++ local 'NGINX_VERSION=1.10.3 (Ubuntu)' | |
remote: ++ local MAJOR_VERSION MINOR_VERSION PATCH_VERSION | |
remote: ++ local HAS_SUPPORT=false | |
remote: +++ echo '1.10.3 (Ubuntu)' | |
remote: +++ awk '{split($0,a,"."); print a[1]}' | |
remote: ++ MAJOR_VERSION=1 | |
remote: +++ echo '1.10.3 (Ubuntu)' | |
remote: +++ awk '{split($0,a,"."); print a[2]}' | |
remote: ++ MINOR_VERSION=10 | |
remote: +++ echo '1.10.3 (Ubuntu)' | |
remote: +++ awk '{split($0,a,"."); print a[3]}' | |
remote: ++ PATCH_VERSION='3 (Ubuntu)' | |
remote: ++ [[ 1 -ge 2 ]] | |
remote: ++ [[ 1 -eq 1 ]] | |
remote: ++ [[ 10 -eq 13 ]] | |
remote: ++ [[ 10 -ge 14 ]] | |
remote: ++ echo false | |
remote: + GRPC_SUPPORTED=false | |
remote: ++ echo 'http:3030:3030 ' | |
remote: ++ xargs | |
remote: + PROXY_PORT_MAP=http:3030:3030 | |
remote: ++ fn-nginx-log-root | |
remote: ++ declare 'desc=get the nginx log root' | |
remote: ++ local NGINX_LOG_ROOT=/var/log/nginx | |
remote: ++ fn-nginx-vhosts-uses-openresty | |
remote: ++ declare 'desc=returns whether openresty is in use or not' | |
remote: ++ [[ -x /usr/bin/openresty ]] | |
remote: ++ return 1 | |
remote: ++ echo /var/log/nginx | |
remote: + local NGINX_LOG_ROOT=/var/log/nginx | |
remote: ++ fn-nginx-access-log-path frontend | |
remote: ++ declare 'desc=get the configured access log path' | |
remote: ++ declare APP=frontend | |
remote: +++ fn-nginx-log-root | |
remote: +++ declare 'desc=get the nginx log root' | |
remote: +++ local NGINX_LOG_ROOT=/var/log/nginx | |
remote: +++ fn-nginx-vhosts-uses-openresty | |
remote: +++ declare 'desc=returns whether openresty is in use or not' | |
remote: +++ [[ -x /usr/bin/openresty ]] | |
remote: +++ return 1 | |
remote: +++ echo /var/log/nginx | |
remote: ++ local NGINX_LOG_ROOT=/var/log/nginx | |
remote: ++ fn-plugin-property-get-default nginx frontend access-log-path /var/log/nginx/frontend-access.log | |
remote: ++ declare 'desc=returns the value for a given property with a specified default value' | |
remote: ++ declare PLUGIN=nginx APP=frontend KEY=access-log-path DEFAULT=/var/log/nginx/frontend-access.log | |
remote: ++ /var/lib/dokku/core-plugins/available/common/prop get-with-default nginx frontend access-log-path /var/log/nginx/frontend-access.log | |
remote: + local NGINX_ACCESS_LOG_PATH=/var/log/nginx/frontend-access.log | |
remote: ++ fn-nginx-error-log-path frontend | |
remote: ++ declare 'desc=get the configured access log path' | |
remote: ++ declare APP=frontend | |
remote: +++ fn-nginx-log-root | |
remote: +++ declare 'desc=get the nginx log root' | |
remote: +++ local NGINX_LOG_ROOT=/var/log/nginx | |
remote: +++ fn-nginx-vhosts-uses-openresty | |
remote: +++ declare 'desc=returns whether openresty is in use or not' | |
remote: +++ [[ -x /usr/bin/openresty ]] | |
remote: +++ return 1 | |
remote: +++ echo /var/log/nginx | |
remote: ++ local NGINX_LOG_ROOT=/var/log/nginx | |
remote: ++ fn-plugin-property-get-default nginx frontend error-log-path /var/log/nginx/frontend-error.log | |
remote: ++ declare 'desc=returns the value for a given property with a specified default value' | |
remote: ++ declare PLUGIN=nginx APP=frontend KEY=error-log-path DEFAULT=/var/log/nginx/frontend-error.log | |
remote: ++ /var/lib/dokku/core-plugins/available/common/prop get-with-default nginx frontend error-log-path /var/log/nginx/frontend-error.log | |
remote: + local NGINX_ERROR_LOG_PATH=/var/log/nginx/frontend-error.log | |
remote: + [[ -z 172.17.0.8:5000 ]] | |
remote: + is_deployed frontend | |
remote: + declare 'desc=return 0 if given app has a running container' | |
remote: + local APP=frontend | |
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: ++ get_app_scheduler frontend | |
remote: ++ declare 'desc=fetch the scheduler for a given application' | |
remote: ++ declare APP=frontend | |
remote: ++ local DOKKU_APP_SCHEDULER DOKKU_GLOBAL_SCHEDULER DOKKU_SCHEDULER | |
remote: ++ [[ frontend == \-\-\g\l\o\b\a\l ]] | |
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: ++ [[ -n frontend ]] | |
remote: +++ config_get frontend DOKKU_SCHEDULER | |
remote: +++ declare 'desc=get value of given config var' | |
remote: +++ config_sub get frontend DOKKU_SCHEDULER | |
remote: +++ declare 'desc=executes a config subcommand' | |
remote: +++ local name=get | |
remote: +++ shift | |
remote: +++ /var/lib/dokku/plugins/available/config/subcommands/get config:get frontend DOKKU_SCHEDULER | |
remote: +++ true | |
remote: ++ DOKKU_APP_SCHEDULER= | |
remote: +++ config_get --global DOKKU_SCHEDULER | |
remote: +++ declare 'desc=get value of given config var' | |
remote: +++ config_sub get --global DOKKU_SCHEDULER | |
remote: +++ declare 'desc=executes a config subcommand' | |
remote: +++ local name=get | |
remote: +++ shift | |
remote: +++ /var/lib/dokku/plugins/available/config/subcommands/get config:get --global DOKKU_SCHEDULER | |
remote: +++ true | |
remote: ++ DOKKU_GLOBAL_SCHEDULER= | |
remote: ++ DOKKU_SCHEDULER= | |
remote: ++ [[ -z '' ]] | |
remote: ++ DOKKU_SCHEDULER=docker-local | |
remote: ++ echo docker-local | |
remote: + local DOKKU_SCHEDULER=docker-local | |
remote: + plugn trigger scheduler-is-deployed docker-local frontend | |
remote: + source /var/lib/dokku/core-plugins/available/common/functions | |
remote: ++ set -eo pipefail | |
remote: ++ [[ -n 1 ]] | |
remote: ++ set -x | |
remote: + [[ ! -n '' ]] | |
remote: + trigger-scheduler-docker-local-scheduler-is-deployed docker-local frontend | |
remote: + declare 'desc=checks if an app is deployed' | |
remote: + declare trigger=scheduler-is-deployed | |
remote: + declare DOKKU_SCHEDULER=docker-local APP=frontend | |
remote: + [[ docker-local != \d\o\c\k\e\r\-\l\o\c\a\l ]] | |
remote: + [[ -f /home/dokku/frontend/CONTAINER ]] | |
remote: ++ ls /home/dokku/frontend/CONTAINER.web.1 | |
remote: ++ echo 0 | |
remote: + [[ 0 -eq 0 ]] | |
remote: + return 0 | |
remote: ++ get_running_image_tag frontend | |
remote: ++ declare 'desc=retrieve current image tag for a given app. returns empty string if no deployed containers are found' | |
remote: ++ local APP=frontend | |
remote: ++ verify_app_name frontend | |
remote: ++ declare 'desc=verify app name format and app existence' | |
remote: ++ local APP=frontend | |
remote: ++ is_valid_app_name frontend | |
remote: ++ declare 'desc=verify app name format' | |
remote: ++ local APP=frontend | |
remote: ++ [[ -z frontend ]] | |
remote: ++ [[ frontend =~ ^[a-z].* ]] | |
remote: ++ [[ ! frontend =~ [A-Z] ]] | |
remote: ++ [[ ! frontend =~ [:] ]] | |
remote: ++ return 0 | |
remote: ++ [[ ! -d /home/dokku/frontend ]] | |
remote: ++ return 0 | |
remote: ++ CIDS=($(get_app_container_ids "$APP")) | |
remote: +++ get_app_container_ids frontend | |
remote: +++ declare 'desc=returns list of docker container ids for given app and optional container_type' | |
remote: +++ local APP=frontend | |
remote: +++ local CONTAINER_TYPE= | |
remote: +++ verify_app_name frontend | |
remote: +++ declare 'desc=verify app name format and app existence' | |
remote: +++ local APP=frontend | |
remote: +++ is_valid_app_name frontend | |
remote: +++ declare 'desc=verify app name format' | |
remote: +++ local APP=frontend | |
remote: +++ [[ -z frontend ]] | |
remote: +++ [[ frontend =~ ^[a-z].* ]] | |
remote: +++ [[ ! frontend =~ [A-Z] ]] | |
remote: +++ [[ ! frontend =~ [:] ]] | |
remote: +++ return 0 | |
remote: +++ [[ ! -d /home/dokku/frontend ]] | |
remote: +++ return 0 | |
remote: +++ [[ -f /home/dokku/frontend/CONTAINER ]] | |
remote: +++ [[ -n '' ]] | |
remote: +++ local 'CONTAINER_PATTERN=/home/dokku/frontend/CONTAINER.*' | |
remote: +++ shopt -s nullglob | |
remote: +++ local DOKKU_CID_FILE | |
remote: +++ for DOKKU_CID_FILE in '$CONTAINER_PATTERN' | |
remote: +++ local 'DOKKU_CIDS+= ' | |
remote: +++ local DOKKU_CIDS+=d49c37b3f497ab036431fd96fae3775adeab2d44284b85ce71a30abee7a0ef07 | |
remote: +++ local 'DOKKU_CIDS+= ' | |
remote: +++ shopt -u nullglob | |
remote: +++ echo ' d49c37b3f497ab036431fd96fae3775adeab2d44284b85ce71a30abee7a0ef07 ' | |
remote: ++ local CIDS | |
remote: +++ docker container inspect --format '{{ .Config.Image }}' d49c37b3f497ab036431fd96fae3775adeab2d44284b85ce71a30abee7a0ef07 | |
remote: +++ awk -F: '{ print $2 }' | |
remote: ++ local RUNNING_IMAGE_TAG=latest | |
remote: ++ echo latest | |
remote: + local IMAGE_TAG=latest | |
remote: ++ get_deploying_app_image_name frontend latest | |
remote: + local IMAGE=dokku/frontend:latest | |
remote: + verify_image dokku/frontend:latest | |
remote: ++ mktemp -d /tmp/dokku-5150-nginx_build_config.XXXXXX | |
remote: + local NGINX_BUILD_CONFIG_TMP_WORK_DIR=/tmp/dokku-5150-nginx_build_config.OBQ8DN | |
remote: ++ mktemp --tmpdir=/tmp/dokku-5150-nginx_build_config.OBQ8DN nginx.conf.XXXXXX | |
remote: + local NGINX_CONF=/tmp/dokku-5150-nginx_build_config.OBQ8DN/nginx.conf.lQiJHY | |
remote: + local CUSTOM_NGINX_TEMPLATE=/tmp/dokku-5150-nginx_build_config.OBQ8DN/nginx.conf.sigil | |
remote: + trap 'rm -rf '\''/tmp/dokku-5150-nginx_build_config.OBQ8DN/nginx.conf.lQiJHY'\'' '\''/tmp/dokku-5150-nginx_build_config.OBQ8DN'\'' >/dev/null' RETURN INT TERM EXIT | |
remote: + get_custom_nginx_template frontend /tmp/dokku-5150-nginx_build_config.OBQ8DN/nginx.conf.sigil | |
remote: + [[ -f /tmp/dokku-5150-nginx_build_config.OBQ8DN/nginx.conf.sigil ]] | |
remote: + dokku_log_info1 'Overriding default nginx.conf with detected nginx.conf.sigil' | |
remote: + declare 'desc=log info1 formatter' | |
remote: + echo '-----> Overriding default nginx.conf with detected nginx.conf.sigil' | |
remote: + local NGINX_TEMPLATE=/tmp/dokku-5150-nginx_build_config.OBQ8DN/nginx.conf.sigil | |
remote: + local NGINX_TEMPLATE_SOURCE=app-supplied | |
-----> Overriding default nginx.conf with detected nginx.conf.sigil | |
remote: ++ fn-plugin-property-get-default nginx frontend bind-address-ipv4 '' | |
remote: ++ declare 'desc=returns the value for a given property with a specified default value' | |
remote: ++ declare PLUGIN=nginx APP=frontend KEY=bind-address-ipv4 DEFAULT= | |
remote: ++ /var/lib/dokku/core-plugins/available/common/prop get-with-default nginx frontend bind-address-ipv4 '' | |
remote: + local NGINX_BIND_ADDRESS_IP4= | |
remote: ++ fn-plugin-property-get-default nginx frontend bind-address-ipv6 :: | |
remote: ++ declare 'desc=returns the value for a given property with a specified default value' | |
remote: ++ declare PLUGIN=nginx APP=frontend KEY=bind-address-ipv6 DEFAULT=:: | |
remote: ++ /var/lib/dokku/core-plugins/available/common/prop get-with-default nginx frontend bind-address-ipv6 :: | |
remote: + local NGINX_BIND_ADDRESS_IP6=:: | |
remote: + [[ -z :: ]] | |
remote: ++ fn-plugin-property-get-default nginx frontend bind-address-ipv4 '' | |
remote: ++ declare 'desc=returns the value for a given property with a specified default value' | |
remote: ++ declare PLUGIN=nginx APP=frontend KEY=bind-address-ipv4 DEFAULT= | |
remote: ++ /var/lib/dokku/core-plugins/available/common/prop get-with-default nginx frontend bind-address-ipv4 '' | |
remote: + local NGINX_ACCESS_LOGS_ENABLED= | |
remote: ++ fn-plugin-property-get-default nginx frontend bind-address-ipv6 :: | |
remote: ++ declare 'desc=returns the value for a given property with a specified default value' | |
remote: ++ declare PLUGIN=nginx APP=frontend KEY=bind-address-ipv6 DEFAULT=:: | |
remote: ++ /var/lib/dokku/core-plugins/available/common/prop get-with-default nginx frontend bind-address-ipv6 :: | |
remote: + local NGINX_ERROR_LOGS_ENABLED=:: | |
remote: ++ config_export app frontend | |
remote: ++ declare 'desc=returns export command for config variable of specified type (app/global)' | |
remote: ++ local CONFIG_TYPE=app | |
remote: ++ shift | |
remote: ++ local APP=frontend | |
remote: ++ [[ app == \g\l\o\b\a\l ]] | |
remote: ++ shift | |
remote: ++ config_sub export frontend | |
remote: ++ declare 'desc=executes a config subcommand' | |
remote: ++ local name=export | |
remote: ++ shift | |
remote: ++ /var/lib/dokku/plugins/available/config/subcommands/export config:export frontend | |
remote: ++ return 0 | |
remote: + eval 'export DOKKU_APP_RESTORE='\''1'\'' | |
remote: export DOKKU_APP_TYPE='\''herokuish'\'' | |
remote: export DOKKU_DOCKERFILE_CMD='\''CMD yarn start'\'' | |
remote: export DOKKU_DOCKERFILE_PORTS='\''3030'\'' | |
remote: export DOKKU_PROXY_PORT_MAP='\''http:3030:3030 '\'' | |
remote: export GIT_REV='\''6fa53725ac224b1637fb830ecca258d89a7c4db1'\''' | |
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_DOCKERFILE_CMD=CMD yarn start' | |
remote: ++ DOKKU_DOCKERFILE_CMD='CMD yarn start' | |
remote: ++ export DOKKU_DOCKERFILE_PORTS=3030 | |
remote: ++ DOKKU_DOCKERFILE_PORTS=3030 | |
remote: ++ export 'DOKKU_PROXY_PORT_MAP=http:3030:3030 ' | |
remote: ++ DOKKU_PROXY_PORT_MAP='http:3030:3030 ' | |
remote: ++ export GIT_REV=6fa53725ac224b1637fb830ecca258d89a7c4db1 | |
remote: ++ GIT_REV=6fa53725ac224b1637fb830ecca258d89a7c4db1 | |
remote: + SIGIL_PARAMS=(-f "$NGINX_TEMPLATE" APP="$APP" DOKKU_ROOT="$DOKKU_ROOT" NOSSL_SERVER_NAME="$NOSSL_SERVER_NAME" DOKKU_APP_LISTENERS="$DOKKU_APP_LISTENERS" DOKKU_LIB_ROOT="$DOKKU_LIB_ROOT" PASSED_LISTEN_IP_PORT="$PASSED_LISTEN_IP_PORT" SPDY_SUPPORTED="$SPDY_SUPPORTED" TLS13_SUPPORTED="$TLS13_SUPPORTED" HTTP2_SUPPORTED="$HTTP2_SUPPORTED" NGINX_LOG_ROOT="$NGINX_LOG_ROOT" NGINX_ACCESS_LOG_PATH="$NGINX_ACCESS_LOG_PATH" NGINX_ERROR_LOG_PATH="$NGINX_ERROR_LOG_PATH" NGINX_BIND_ADDRESS_IP4="$NGINX_BIND_ADDRESS_IP4" NGINX_BIND_ADDRESS_IP6="$NGINX_BIND_ADDRESS_IP6" HTTP2_PUSH_SUPPORTED="$HTTP2_PUSH_SUPPORTED" GRPC_SUPPORTED="$GRPC_SUPPORTED" DOKKU_APP_LISTEN_PORT="$DOKKU_APP_LISTEN_PORT" DOKKU_APP_LISTEN_IP="$DOKKU_APP_LISTEN_IP" APP_SSL_PATH="$APP_SSL_PATH" SSL_INUSE="$SSL_INUSE" SSL_SERVER_NAME="$SSL_SERVER_NAME" NGINX_PORT="$PROXY_PORT" NGINX_SSL_PORT="$PROXY_SSL_PORT" PROXY_PORT="$PROXY_PORT" PROXY_SSL_PORT="$PROXY_SSL_PORT" RAW_TCP_PORTS="$RAW_TCP_PORTS" PROXY_PORT_MAP="$PROXY_PORT_MAP" PROXY_UPSTREAM_PORTS="$PROXY_UPSTREAM_PORTS") | |
remote: + local SIGIL_PARAMS | |
remote: + local DOKKU_SCALE_FILE=/home/dokku/frontend/DOKKU_SCALE | |
remote: + read -r line | |
remote: + [[ web=1 =~ ^#.* ]] | |
remote: ++ strip_inline_comments web=1 | |
remote: ++ declare 'desc=removes bash-style comment from input line' | |
remote: ++ local line=web=1 | |
remote: ++ local stripped_line=web=1 | |
remote: ++ echo web=1 | |
remote: + line=web=1 | |
remote: + PROC_TYPE=web | |
remote: ++ plugn trigger network-get-listeners frontend web | |
remote: ++ xargs | |
remote: + source /var/lib/dokku/core-plugins/available/common/functions | |
remote: ++ set -eo pipefail | |
remote: ++ [[ -n 1 ]] | |
remote: ++ set -x | |
remote: + [[ ! -n '' ]] | |
remote: + LISTENERS=172.17.0.8:5000 | |
remote: + UPP_PROC_TYPE=WEB | |
remote: + UPP_PROC_TYPE=WEB | |
remote: + SIGIL_PARAMS+=("DOKKU_APP_${UPP_PROC_TYPE}_LISTENERS=$LISTENERS") | |
remote: + read -r line | |
remote: + [[ -n '' ]] | |
remote: + grep DOKKU_APP_LISTENERS /tmp/dokku-5150-nginx_build_config.OBQ8DN/nginx.conf.sigil | |
remote: + grep NGINX_SSL_PORT /tmp/dokku-5150-nginx_build_config.OBQ8DN/nginx.conf.sigil | |
remote: + grep NGINX_PORT /tmp/dokku-5150-nginx_build_config.OBQ8DN/nginx.conf.sigil | |
remote: + xargs -i echo '-----> Configuring {}...(using app-supplied template)' | |
remote: ++ echo '' staging.admet.eu | |
remote: ++ sort -u | |
remote: ++ tr ' ' '\n' | |
-----> Configuring staging.admet.eu...(using app-supplied template) | |
remote: + cat -s | |
remote: + sigil -f /tmp/dokku-5150-nginx_build_config.OBQ8DN/nginx.conf.sigil APP=frontend DOKKU_ROOT=/home/dokku NOSSL_SERVER_NAME=staging.admet.eu DOKKU_APP_LISTENERS=172.17.0.8:5000 DOKKU_LIB_ROOT=/var/lib/dokku PASSED_LISTEN_IP_PORT= SPDY_SUPPORTED=false TLS13_SUPPORTED=false HTTP2_SUPPORTED=false NGINX_LOG_ROOT=/var/log/nginx NGINX_ACCESS_LOG_PATH=/var/log/nginx/frontend-access.log NGINX_ERROR_LOG_PATH=/var/log/nginx/frontend-error.log NGINX_BIND_ADDRESS_IP4= NGINX_BIND_ADDRESS_IP6=:: HTTP2_PUSH_SUPPORTED=false GRPC_SUPPORTED=false DOKKU_APP_LISTEN_PORT= DOKKU_APP_LISTEN_IP= APP_SSL_PATH=/home/dokku/frontend/tls SSL_INUSE= SSL_SERVER_NAME= NGINX_PORT= NGINX_SSL_PORT= PROXY_PORT= PROXY_SSL_PORT= RAW_TCP_PORTS=3030 PROXY_PORT_MAP=http:3030:3030 PROXY_UPSTREAM_PORTS=3030 DOKKU_APP_WEB_LISTENERS=172.17.0.8:5000 | |
remote: + dokku_log_info1 'Creating http nginx.conf' | |
remote: + declare 'desc=log info1 formatter' | |
remote: + echo '-----> Creating http nginx.conf' | |
remote: + mv /tmp/dokku-5150-nginx_build_config.OBQ8DN/nginx.conf.lQiJHY /home/dokku/frontend/nginx.conf | |
-----> Creating http nginx.conf | |
remote: + fn-nginx-vhosts-manage-hsts frontend '' | |
remote: + declare APP=frontend SSL_ENABLED= | |
remote: ++ fn-plugin-property-get-default nginx frontend hsts true | |
remote: ++ declare 'desc=returns the value for a given property with a specified default value' | |
remote: ++ declare PLUGIN=nginx APP=frontend KEY=hsts DEFAULT=true | |
remote: ++ /var/lib/dokku/core-plugins/available/common/prop get-with-default nginx frontend hsts true | |
remote: + local HSTS=true | |
remote: ++ fn-plugin-property-get-default nginx frontend hsts-include-subdomains true | |
remote: ++ declare 'desc=returns the value for a given property with a specified default value' | |
remote: ++ declare PLUGIN=nginx APP=frontend KEY=hsts-include-subdomains DEFAULT=true | |
remote: ++ /var/lib/dokku/core-plugins/available/common/prop get-with-default nginx frontend hsts-include-subdomains true | |
remote: + local HSTS_INCLUDE_SUBDOMAINS=true | |
remote: ++ fn-plugin-property-get-default nginx frontend hsts-max-age 15724800 | |
remote: ++ declare 'desc=returns the value for a given property with a specified default value' | |
remote: ++ declare PLUGIN=nginx APP=frontend KEY=hsts-max-age DEFAULT=15724800 | |
remote: ++ /var/lib/dokku/core-plugins/available/common/prop get-with-default nginx frontend hsts-max-age 15724800 | |
remote: + local HSTS_MAX_AGE=15724800 | |
remote: ++ fn-plugin-property-get-default nginx frontend hsts-preload false | |
remote: ++ declare 'desc=returns the value for a given property with a specified default value' | |
remote: ++ declare PLUGIN=nginx APP=frontend KEY=hsts-preload DEFAULT=false | |
remote: ++ /var/lib/dokku/core-plugins/available/common/prop get-with-default nginx frontend hsts-preload false | |
remote: + local HSTS_PRELOAD=false | |
remote: + local NGINX_HSTS_CONF=/home/dokku/frontend/nginx.conf.d/hsts.conf | |
remote: + local HSTS_TEMPLATE=/var/lib/dokku/plugins/available/nginx-vhosts/templates/hsts.conf.sigil | |
remote: + [[ true == \f\a\l\s\e ]] | |
remote: + [[ '' != \t\r\u\e ]] | |
remote: + rm -rf /home/dokku/frontend/nginx.conf.d/hsts.conf | |
remote: + return | |
remote: + plugn trigger nginx-pre-reload frontend '' '' | |
remote: + source /var/lib/dokku/core-plugins/available/common/functions | |
remote: ++ set -eo pipefail | |
remote: ++ [[ -n 1 ]] | |
remote: ++ set -x | |
remote: + [[ ! -n '' ]] | |
remote: + dokku_log_verbose 'Reloading nginx' | |
remote: + declare 'desc=log verbose formatter' | |
remote: + echo ' Reloading nginx' | |
remote: + validate_nginx | |
remote: + declare 'desc=validate entire nginx config' | |
Reloading nginx | |
remote: + declare APP= FLAG= | |
remote: + local NGINX_LOCATION EXIT_CODE | |
remote: ++ get_nginx_location | |
remote: ++ declare 'desc=check that nginx is at the expected location and return it' | |
remote: ++ fn-nginx-vhosts-nginx-location | |
remote: ++ declare 'desc=check that nginx is at the expected location and return it' | |
remote: ++ local NGINX_LOCATION | |
remote: +++ which nginx | |
remote: ++ NGINX_LOCATION=/usr/sbin/nginx | |
remote: ++ [[ -z /usr/sbin/nginx ]] | |
remote: ++ fn-nginx-vhosts-uses-openresty | |
remote: ++ declare 'desc=returns whether openresty is in use or not' | |
remote: ++ [[ -x /usr/bin/openresty ]] | |
remote: ++ return 1 | |
remote: ++ [[ ! -x /usr/sbin/nginx ]] | |
remote: ++ echo /usr/sbin/nginx | |
remote: + NGINX_LOCATION=/usr/sbin/nginx | |
remote: + [[ -z /usr/sbin/nginx ]] | |
remote: + [[ '' == \-\-\c\l\e\a\n ]] | |
remote: + set +e | |
remote: + sudo /usr/sbin/nginx -t | |
remote: + EXIT_CODE=1 | |
remote: + set -e | |
remote: + [[ 1 -eq 0 ]] | |
remote: + [[ -n '' ]] | |
remote: ++ dokku_apps | |
remote: ++ declare 'desc=prints list of all local apps' | |
remote: +++ find /home/dokku -follow -maxdepth 1 -mindepth 1 -type d '!' -name tls '!' -name '.*' -printf '%f\n' | |
remote: +++ sort | |
remote: ++ local 'INSTALLED_APPS=admeet-back | |
remote: backend | |
remote: backoffice | |
remote: frontend' | |
remote: ++ [[ -n admeet-back | |
remote: backend | |
remote: backoffice | |
remote: frontend ]] | |
remote: ++ echo 'admeet-back | |
remote: backend | |
remote: backoffice | |
remote: frontend' | |
remote: + for app in '$(dokku_apps)' | |
remote: + nginx_vhosts_validate_single_func admeet-back '' | |
remote: + declare APP=admeet-back FLAG= | |
remote: + local NGINX_CONF=/home/dokku/admeet-back/nginx.conf | |
remote: + [[ ! -f /home/dokku/admeet-back/nginx.conf ]] | |
remote: + dokku_log_warn_quiet 'No nginx config found for admeet-back' | |
remote: + declare 'desc=log warning formatter' | |
remote: + [[ -z '' ]] | |
remote: + echo ' ! No nginx config found for admeet-back' | |
remote: ! No nginx config found for admeet-back | |
remote: + return | |
remote: + for app in '$(dokku_apps)' | |
remote: + nginx_vhosts_validate_single_func backend '' | |
remote: + declare APP=backend FLAG= | |
remote: + local NGINX_CONF=/home/dokku/backend/nginx.conf | |
remote: + [[ ! -f /home/dokku/backend/nginx.conf ]] | |
remote: + nginx_vhosts_is_valid_nginx_config_func backend | |
remote: + declare 'desc=checks if an app has a valid nginx config' | |
remote: + declare APP=backend | |
remote: + local VALIDATE_TEMPLATE=/var/lib/dokku/plugins/available/nginx-vhosts/templates/validate.conf.sigil | |
remote: ++ mktemp /tmp/dokku-5150-nginx_vhosts_is_valid_nginx_config_func.XXXXXX | |
remote: + local TMP_OUTPUT=/tmp/dokku-5150-nginx_vhosts_is_valid_nginx_config_func.4ec3cD | |
remote: + trap 'rm -rf '\''/tmp/dokku-5150-nginx_vhosts_is_valid_nginx_config_func.4ec3cD'\'' >/dev/null' RETURN INT TERM EXIT | |
remote: + sigil -f /var/lib/dokku/plugins/available/nginx-vhosts/templates/validate.conf.sigil NGINX_CONF=/home/dokku/backend/nginx.conf | |
remote: + cat -s | |
remote: + sudo /usr/sbin/nginx -t -c /tmp/dokku-5150-nginx_vhosts_is_valid_nginx_config_func.4ec3cD | |
remote: ++ rm -rf /tmp/dokku-5150-nginx_vhosts_is_valid_nginx_config_func.4ec3cD | |
remote: + return | |
remote: ++ rm -rf /tmp/dokku-5150-nginx_vhosts_is_valid_nginx_config_func.4ec3cD | |
remote: + for app in '$(dokku_apps)' | |
remote: + nginx_vhosts_validate_single_func backoffice '' | |
remote: + declare APP=backoffice FLAG= | |
remote: + local NGINX_CONF=/home/dokku/backoffice/nginx.conf | |
remote: + [[ ! -f /home/dokku/backoffice/nginx.conf ]] | |
remote: + nginx_vhosts_is_valid_nginx_config_func backoffice | |
remote: + declare 'desc=checks if an app has a valid nginx config' | |
remote: + declare APP=backoffice | |
remote: + local VALIDATE_TEMPLATE=/var/lib/dokku/plugins/available/nginx-vhosts/templates/validate.conf.sigil | |
remote: ++ mktemp /tmp/dokku-5150-nginx_vhosts_is_valid_nginx_config_func.XXXXXX | |
remote: + local TMP_OUTPUT=/tmp/dokku-5150-nginx_vhosts_is_valid_nginx_config_func.ExKdMf | |
remote: + trap 'rm -rf '\''/tmp/dokku-5150-nginx_vhosts_is_valid_nginx_config_func.ExKdMf'\'' >/dev/null' RETURN INT TERM EXIT | |
remote: + sigil -f /var/lib/dokku/plugins/available/nginx-vhosts/templates/validate.conf.sigil NGINX_CONF=/home/dokku/backoffice/nginx.conf | |
remote: + cat -s | |
remote: + sudo /usr/sbin/nginx -t -c /tmp/dokku-5150-nginx_vhosts_is_valid_nginx_config_func.ExKdMf | |
remote: ++ rm -rf /tmp/dokku-5150-nginx_vhosts_is_valid_nginx_config_func.ExKdMf | |
remote: + return | |
remote: ++ rm -rf /tmp/dokku-5150-nginx_vhosts_is_valid_nginx_config_func.ExKdMf | |
remote: + for app in '$(dokku_apps)' | |
remote: + nginx_vhosts_validate_single_func frontend '' | |
remote: + declare APP=frontend FLAG= | |
remote: + local NGINX_CONF=/home/dokku/frontend/nginx.conf | |
remote: + [[ ! -f /home/dokku/frontend/nginx.conf ]] | |
remote: + nginx_vhosts_is_valid_nginx_config_func frontend | |
remote: + declare 'desc=checks if an app has a valid nginx config' | |
remote: + declare APP=frontend | |
remote: + local VALIDATE_TEMPLATE=/var/lib/dokku/plugins/available/nginx-vhosts/templates/validate.conf.sigil | |
remote: ++ mktemp /tmp/dokku-5150-nginx_vhosts_is_valid_nginx_config_func.XXXXXX | |
remote: + local TMP_OUTPUT=/tmp/dokku-5150-nginx_vhosts_is_valid_nginx_config_func.wy4UmR | |
remote: + trap 'rm -rf '\''/tmp/dokku-5150-nginx_vhosts_is_valid_nginx_config_func.wy4UmR'\'' >/dev/null' RETURN INT TERM EXIT | |
remote: + sigil -f /var/lib/dokku/plugins/available/nginx-vhosts/templates/validate.conf.sigil NGINX_CONF=/home/dokku/frontend/nginx.conf | |
remote: + cat -s | |
remote: + sudo /usr/sbin/nginx -t -c /tmp/dokku-5150-nginx_vhosts_is_valid_nginx_config_func.wy4UmR | |
remote: ++ rm -rf /tmp/dokku-5150-nginx_vhosts_is_valid_nginx_config_func.wy4UmR | |
remote: + dokku_log_warn 'Failed to validate nginx config for frontend. Contents below...' | |
remote: + declare 'desc=log warning formatter' | |
remote: + echo ' ! Failed to validate nginx config for frontend. Contents below...' | |
remote: ! Failed to validate nginx config for frontend. Contents below... | |
remote: + cat /home/dokku/frontend/nginx.conf | |
server { | |
listen [::]:; | |
listen ; | |
server_name staging.admet.eu; | |
access_log /var/log/nginx/frontend-access.log; | |
remote: + [[ '' == \-\-\c\l\e\a\n ]] | |
error_log /var/log/nginx/frontend-error.log; | |
location / { | |
remote: ++ rm -rf /tmp/dokku-5150-nginx_vhosts_is_valid_nginx_config_func.wy4UmR | |
proxy_pass http://staging.admet.eu; | |
proxy_http_version 1.1; | |
proxy_set_header Upgrade $http_upgrade; | |
proxy_set_header Connection $http_connection; | |
proxy_set_header Host $http_host; | |
proxy_set_header X-Forwarded-Proto $http_x_forwarded_proto; | |
proxy_set_header X-Forwarded-For $http_x_forwarded_for; | |
proxy_set_header X-Forwarded-Port $http_x_forwarded_port; | |
proxy_set_header X-Request-Start $msec; | |
} | |
include /home/dokku/frontend/nginx.conf.d/*.conf; | |
} | |
upstream frontend { | |
server 172.17.0.8:5000; | |
} | |
remote: + set +e | |
remote: + sudo /usr/sbin/nginx -t | |
remote: + EXIT_CODE=1 | |
remote: + set -e | |
remote: + [[ 1 -eq 0 ]] | |
remote: + sudo /usr/sbin/nginx -t | |
remote: nginx: [emerg] invalid port in "[::]:" of the "listen" directive in /home/dokku/frontend/nginx.conf:2 | |
remote: nginx: configuration file /etc/nginx/nginx.conf test failed | |
remote: + exit 1 | |
remote: + rm -rf /tmp/dokku-5150-nginx_vhosts_is_valid_nginx_config_func.wy4UmR | |
remote: + rm -rf /tmp/dokku-5150-git_build_app_repo.bIseoO | |
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/letsencrypt/commands git-receive-pack ''\''frontend'\''' | |
+ exit_code=10 | |
+ set -e | |
+ [[ 10 -eq 10 ]] | |
+ continue | |
+ for script in '$PLUGIN_ENABLED_PATH/*/commands' | |
+ set +e | |
+ /var/lib/dokku/plugins/enabled/logs/commands git-receive-pack ''\''frontend'\''' | |
+ exit_code=10 | |
+ set -e | |
+ [[ 10 -eq 10 ]] | |
+ continue | |
+ for script in '$PLUGIN_ENABLED_PATH/*/commands' | |
+ set +e | |
+ /var/lib/dokku/plugins/enabled/network/commands git-receive-pack ''\''frontend'\''' | |
+ 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 ''\''frontend'\''' | |
+ 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 ''\''frontend'\''' | |
+ exit_code=10 | |
+ set -e | |
+ [[ 10 -eq 10 ]] | |
+ continue | |
+ for script in '$PLUGIN_ENABLED_PATH/*/commands' | |
+ set +e | |
+ /var/lib/dokku/plugins/enabled/postgres/commands git-receive-pack ''\''frontend'\''' | |
+ 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 ''\''frontend'\''' | |
+ 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 ''\''frontend'\''' | |
+ 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 ''\''frontend'\''' | |
+ exit_code=10 | |
+ set -e | |
+ [[ 10 -eq 10 ]] | |
+ continue | |
+ for script in '$PLUGIN_ENABLED_PATH/*/commands' | |
+ set +e | |
+ /var/lib/dokku/plugins/enabled/resource/commands git-receive-pack ''\''frontend'\''' | |
+ exit_code=10 | |
+ set -e | |
+ [[ 10 -eq 10 ]] | |
+ continue | |
+ for script in '$PLUGIN_ENABLED_PATH/*/commands' | |
+ set +e | |
+ /var/lib/dokku/plugins/enabled/scheduler-docker-local/commands git-receive-pack ''\''frontend'\''' | |
+ source /var/lib/dokku/plugins/available/scheduler-docker-local/help-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_ENABLED_PATH/*/commands' | |
+ set +e | |
+ /var/lib/dokku/plugins/enabled/shell/commands git-receive-pack ''\''frontend'\''' | |
+ 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 ''\''frontend'\''' | |
+ 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 ''\''frontend'\''' | |
+ 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 ''\''frontend'\''' | |
+ 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 ''\''frontend'\''' | |
+ exit_code=10 | |
+ set -e | |
+ [[ 10 -eq 10 ]] | |
+ continue | |
+ for script in '$PLUGIN_ENABLED_PATH/*/commands' | |
+ set +e | |
+ /var/lib/dokku/plugins/enabled/trace/commands git-receive-pack ''\''frontend'\''' | |
+ exit_code=10 | |
+ set -e | |
+ [[ 10 -eq 10 ]] | |
+ continue | |
+ [[ 1 -eq 0 ]] | |
+ set +f | |
+ exit 0 | |
To dokku.aws.me:frontend | |
! [remote rejected] staging_deploy -> master (pre-receive hook declined) | |
error: failed to push some refs to '[email protected]:frontend' |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment