· 4 years ago · Sep 08, 2021, 07:38 AM
1+ export DOKKU_HOST_ROOT=/home/dokku
2+ DOKKU_HOST_ROOT=/home/dokku
3+ export DOKKU_DISTRO
4++ . /etc/os-release
5++ echo ubuntu
6+ DOKKU_DISTRO=ubuntu
7+ export DOCKER_BIN=docker
8+ DOCKER_BIN=docker
9+ export DOKKU_IMAGE=gliderlabs/herokuish:latest-20
10+ DOKKU_IMAGE=gliderlabs/herokuish:latest-20
11+ export DOKKU_CNB_BUILDER=heroku/buildpacks
12+ DOKKU_CNB_BUILDER=heroku/buildpacks
13+ export DOKKU_LIB_ROOT=/var/lib/dokku
14+ DOKKU_LIB_ROOT=/var/lib/dokku
15+ export PLUGIN_PATH=/var/lib/dokku/plugins
16+ PLUGIN_PATH=/var/lib/dokku/plugins
17+ export PLUGIN_AVAILABLE_PATH=/var/lib/dokku/plugins/available
18+ PLUGIN_AVAILABLE_PATH=/var/lib/dokku/plugins/available
19+ export PLUGIN_ENABLED_PATH=/var/lib/dokku/plugins/enabled
20+ PLUGIN_ENABLED_PATH=/var/lib/dokku/plugins/enabled
21+ export PLUGIN_CORE_PATH=/var/lib/dokku/core-plugins
22+ PLUGIN_CORE_PATH=/var/lib/dokku/core-plugins
23+ export PLUGIN_CORE_AVAILABLE_PATH=/var/lib/dokku/core-plugins/available
24+ PLUGIN_CORE_AVAILABLE_PATH=/var/lib/dokku/core-plugins/available
25+ export PLUGIN_CORE_ENABLED_PATH=/var/lib/dokku/core-plugins/enabled
26+ PLUGIN_CORE_ENABLED_PATH=/var/lib/dokku/core-plugins/enabled
27+ export DOKKU_SYSTEM_GROUP=dokku
28+ DOKKU_SYSTEM_GROUP=dokku
29+ export DOKKU_SYSTEM_USER=dokku
30+ DOKKU_SYSTEM_USER=dokku
31+ export DOKKU_API_VERSION=1
32+ DOKKU_API_VERSION=1
33+ export DOKKU_NOT_IMPLEMENTED_EXIT=10
34+ DOKKU_NOT_IMPLEMENTED_EXIT=10
35+ export DOKKU_VALID_EXIT=0
36+ DOKKU_VALID_EXIT=0
37+ export DOKKU_PID=155194
38+ DOKKU_PID=155194
39+ export DOKKU_LOGS_DIR=/var/log/dokku
40+ DOKKU_LOGS_DIR=/var/log/dokku
41+ export DOKKU_LOGS_HOST_DIR=/var/log/dokku
42+ DOKKU_LOGS_HOST_DIR=/var/log/dokku
43+ export DOKKU_EVENTS_LOGFILE=/var/log/dokku/events.log
44+ DOKKU_EVENTS_LOGFILE=/var/log/dokku/events.log
45+ export DOKKU_CONTAINER_LABEL=dokku
46+ DOKKU_CONTAINER_LABEL=dokku
47+ export 'DOKKU_GLOBAL_BUILD_ARGS=--label=org.label-schema.schema-version=1.0 --label=org.label-schema.vendor=dokku --label=dokku'
48+ DOKKU_GLOBAL_BUILD_ARGS='--label=org.label-schema.schema-version=1.0 --label=org.label-schema.vendor=dokku --label=dokku'
49+ export 'DOKKU_GLOBAL_RUN_ARGS=--label=org.label-schema.schema-version=1.0 --label=org.label-schema.vendor=dokku --label=dokku'
50+ DOKKU_GLOBAL_RUN_ARGS='--label=org.label-schema.schema-version=1.0 --label=org.label-schema.vendor=dokku --label=dokku'
51+ source /var/lib/dokku/core-plugins/available/common/functions
52++ set -eo pipefail
53++ [[ -n 1 ]]
54++ set -x
55+ parse_args git-receive-pack ''\''stockapp'\'''
56+ declare 'desc=top-level cli arg parser'
57+ local next_index=1
58+ local skip=false
59+ args=("$@")
60+ local args
61+ local flags
62+ for arg in "$@"
63+ [[ false == \t\r\u\e ]]
64+ case "$arg" in
65+ [[ false == \t\r\u\e ]]
66+ [[ git-receive-pack == \-\-\a\p\p ]]
67+ [[ git-receive-pack =~ ^--.* ]]
68+ next_index=2
69+ for arg in "$@"
70+ [[ false == \t\r\u\e ]]
71+ case "$arg" in
72+ [[ false == \t\r\u\e ]]
73+ [[ 'stockapp' == \-\-\a\p\p ]]
74+ [[ 'stockapp' =~ ^--.* ]]
75+ next_index=3
76+ [[ -z '' ]]
77++ sed -e 's/^[[:space:]]*//' -e 's/[[:space:]]*$//'
78++ echo -e ''
79+ export DOKKU_GLOBAL_FLAGS=
80+ DOKKU_GLOBAL_FLAGS=
81+ return 0
82+ args=("$@")
83+ skip_arg=false
84+ [[ git-receive-pack =~ ^--.* ]]
85+ has_tty
86+ declare 'desc=return 0 if we have a tty'
87+ [[ '' == \t\r\u\e ]]
88++ LC_ALL=C
89++ /usr/bin/tty
90++ true
91+ [[ not a tty == \n\o\t\ \a\ \t\t\y ]]
92+ return 1
93+ DOKKU_QUIET_OUTPUT=1
94++ id -un
95+ [[ dokku != \d\o\k\k\u ]]
96+ [[ git-receive-pack =~ ^plugin:.* ]]
97+ [[ git-receive-pack == \s\s\h\-\k\e\y\s\:\a\d\d ]]
98+ [[ git-receive-pack == \s\s\h\-\k\e\y\s\:\r\e\m\o\v\e ]]
99+ [[ -n git-receive-pack 'stockapp' ]]
100+ export -n SSH_ORIGINAL_COMMAND
101+ [[ git-receive-pack =~ config-* ]]
102+ [[ git-receive-pack =~ docker-options* ]]
103+ set -f
104+ /usr/bin/dokku git-receive-pack ''\''stockapp'\'''
105+ export DOKKU_HOST_ROOT=/home/dokku
106+ DOKKU_HOST_ROOT=/home/dokku
107+ export DOKKU_DISTRO
108++ . /etc/os-release
109++ echo ubuntu
110+ DOKKU_DISTRO=ubuntu
111+ export DOCKER_BIN=docker
112+ DOCKER_BIN=docker
113+ export DOKKU_IMAGE=gliderlabs/herokuish:latest-20
114+ DOKKU_IMAGE=gliderlabs/herokuish:latest-20
115+ export DOKKU_CNB_BUILDER=heroku/buildpacks
116+ DOKKU_CNB_BUILDER=heroku/buildpacks
117+ export DOKKU_LIB_ROOT=/var/lib/dokku
118+ DOKKU_LIB_ROOT=/var/lib/dokku
119+ export PLUGIN_PATH=/var/lib/dokku/plugins
120+ PLUGIN_PATH=/var/lib/dokku/plugins
121+ export PLUGIN_AVAILABLE_PATH=/var/lib/dokku/plugins/available
122+ PLUGIN_AVAILABLE_PATH=/var/lib/dokku/plugins/available
123+ export PLUGIN_ENABLED_PATH=/var/lib/dokku/plugins/enabled
124+ PLUGIN_ENABLED_PATH=/var/lib/dokku/plugins/enabled
125+ export PLUGIN_CORE_PATH=/var/lib/dokku/core-plugins
126+ PLUGIN_CORE_PATH=/var/lib/dokku/core-plugins
127+ export PLUGIN_CORE_AVAILABLE_PATH=/var/lib/dokku/core-plugins/available
128+ PLUGIN_CORE_AVAILABLE_PATH=/var/lib/dokku/core-plugins/available
129+ export PLUGIN_CORE_ENABLED_PATH=/var/lib/dokku/core-plugins/enabled
130+ PLUGIN_CORE_ENABLED_PATH=/var/lib/dokku/core-plugins/enabled
131+ export DOKKU_SYSTEM_GROUP=dokku
132+ DOKKU_SYSTEM_GROUP=dokku
133+ export DOKKU_SYSTEM_USER=dokku
134+ DOKKU_SYSTEM_USER=dokku
135+ export DOKKU_API_VERSION=1
136+ DOKKU_API_VERSION=1
137+ export DOKKU_NOT_IMPLEMENTED_EXIT=10
138+ DOKKU_NOT_IMPLEMENTED_EXIT=10
139+ export DOKKU_VALID_EXIT=0
140+ DOKKU_VALID_EXIT=0
141+ export DOKKU_PID=155203
142+ DOKKU_PID=155203
143+ export DOKKU_LOGS_DIR=/var/log/dokku
144+ DOKKU_LOGS_DIR=/var/log/dokku
145+ export DOKKU_LOGS_HOST_DIR=/var/log/dokku
146+ DOKKU_LOGS_HOST_DIR=/var/log/dokku
147+ export DOKKU_EVENTS_LOGFILE=/var/log/dokku/events.log
148+ DOKKU_EVENTS_LOGFILE=/var/log/dokku/events.log
149+ export DOKKU_CONTAINER_LABEL=dokku
150+ DOKKU_CONTAINER_LABEL=dokku
151+ export 'DOKKU_GLOBAL_BUILD_ARGS=--label=org.label-schema.schema-version=1.0 --label=org.label-schema.vendor=dokku --label=dokku'
152+ DOKKU_GLOBAL_BUILD_ARGS='--label=org.label-schema.schema-version=1.0 --label=org.label-schema.vendor=dokku --label=dokku'
153+ export 'DOKKU_GLOBAL_RUN_ARGS=--label=org.label-schema.schema-version=1.0 --label=org.label-schema.vendor=dokku --label=dokku'
154+ DOKKU_GLOBAL_RUN_ARGS='--label=org.label-schema.schema-version=1.0 --label=org.label-schema.vendor=dokku --label=dokku'
155+ source /var/lib/dokku/core-plugins/available/common/functions
156++ set -eo pipefail
157++ [[ -n 1 ]]
158++ set -x
159+ parse_args git-receive-pack ''\''stockapp'\'''
160+ declare 'desc=top-level cli arg parser'
161+ local next_index=1
162+ local skip=false
163+ args=("$@")
164+ local args
165+ local flags
166+ for arg in "$@"
167+ [[ false == \t\r\u\e ]]
168+ case "$arg" in
169+ [[ false == \t\r\u\e ]]
170+ [[ git-receive-pack == \-\-\a\p\p ]]
171+ [[ git-receive-pack =~ ^--.* ]]
172+ next_index=2
173+ for arg in "$@"
174+ [[ false == \t\r\u\e ]]
175+ case "$arg" in
176+ [[ false == \t\r\u\e ]]
177+ [[ 'stockapp' == \-\-\a\p\p ]]
178+ [[ 'stockapp' =~ ^--.* ]]
179+ next_index=3
180+ [[ -z '' ]]
181++ sed -e 's/^[[:space:]]*//' -e 's/[[:space:]]*$//'
182++ echo -e ''
183+ export DOKKU_GLOBAL_FLAGS=
184+ DOKKU_GLOBAL_FLAGS=
185+ return 0
186+ args=("$@")
187+ skip_arg=false
188+ [[ git-receive-pack =~ ^--.* ]]
189+ has_tty
190+ declare 'desc=return 0 if we have a tty'
191+ [[ '' == \t\r\u\e ]]
192++ LC_ALL=C
193++ /usr/bin/tty
194++ true
195+ [[ not a tty == \n\o\t\ \a\ \t\t\y ]]
196+ return 1
197+ DOKKU_QUIET_OUTPUT=1
198++ id -un
199+ [[ dokku != \d\o\k\k\u ]]
200+ [[ git-receive-pack =~ ^plugin:.* ]]
201+ [[ git-receive-pack == \s\s\h\-\k\e\y\s\:\a\d\d ]]
202+ [[ git-receive-pack == \s\s\h\-\k\e\y\s\:\r\e\m\o\v\e ]]
203+ [[ -n '' ]]
204+ dokku_auth git-receive-pack ''\''stockapp'\'''
205+ declare 'desc=calls user-auth plugin trigger'
206+ export SSH_USER=dokku
207+ SSH_USER=dokku
208+ export SSH_NAME=mac
209+ SSH_NAME=mac
210++ wc -l
211++ find /var/lib/dokku/plugins/enabled/20_events/user-auth
212+ local user_auth_count=1
213+ [[ 1 == 0 ]]
214+ [[ 1 == 1 ]]
215+ [[ -f /var/lib/dokku/plugins/enabled/20_events/user-auth ]]
216+ return 0
217+ case "$1" in
218+ execute_dokku_cmd git-receive-pack ''\''stockapp'\'''
219+ declare 'desc=executes dokku sub-commands'
220+ local PLUGIN_NAME=git-receive-pack
221+ local PLUGIN_CMD=git-receive-pack
222+ local implemented=0
223+ local script
224+ argv=("$@")
225+ local argv
226+ case "$PLUGIN_NAME" in
227++ readlink -f /var/lib/dokku/plugins/enabled/git-receive-pack
228+ [[ /var/lib/dokku/plugins/enabled/git-receive-pack == *core-plugins* ]]
229+ [[ -x /var/lib/dokku/plugins/enabled/git-receive-pack/subcommands/default ]]
230+ [[ -x /var/lib/dokku/plugins/enabled/git-receive-pack/subcommands/git-receive-pack ]]
231+ [[ -x /var/lib/dokku/plugins/enabled/git-receive-pack/subcommands/git-receive-pack ]]
232+ [[ 0 -eq 0 ]]
233+ for script in $PLUGIN_ENABLED_PATH/*/commands
234+ set +e
235+ /var/lib/dokku/plugins/enabled/00_dokku-standard/commands git-receive-pack ''\''stockapp'\'''
236+ exit_code=10
237+ set -e
238+ [[ 10 -eq 10 ]]
239+ continue
240+ for script in $PLUGIN_ENABLED_PATH/*/commands
241+ set +e
242+ /var/lib/dokku/plugins/enabled/20_events/commands git-receive-pack ''\''stockapp'\'''
243+ exit_code=10
244+ set -e
245+ [[ 10 -eq 10 ]]
246+ continue
247+ for script in $PLUGIN_ENABLED_PATH/*/commands
248+ set +e
249+ /var/lib/dokku/plugins/enabled/app-json/commands git-receive-pack ''\''stockapp'\'''
250+ exit_code=10
251+ set -e
252+ [[ 10 -eq 10 ]]
253+ continue
254+ for script in $PLUGIN_ENABLED_PATH/*/commands
255+ set +e
256+ /var/lib/dokku/plugins/enabled/apps/commands git-receive-pack ''\''stockapp'\'''
257+ exit_code=10
258+ set -e
259+ [[ 10 -eq 10 ]]
260+ continue
261+ for script in $PLUGIN_ENABLED_PATH/*/commands
262+ set +e
263+ /var/lib/dokku/plugins/enabled/builder-dockerfile/commands git-receive-pack ''\''stockapp'\'''
264+ source /var/lib/dokku/plugins/available/builder-dockerfile/help-functions
265++ set -eo pipefail
266++ [[ -n 1 ]]
267++ set -x
268+ case "$1" in
269+ exit 10
270+ exit_code=10
271+ set -e
272+ [[ 10 -eq 10 ]]
273+ continue
274+ for script in $PLUGIN_ENABLED_PATH/*/commands
275+ set +e
276+ /var/lib/dokku/plugins/enabled/builder-null/commands git-receive-pack ''\''stockapp'\'''
277+ exit_code=10
278+ set -e
279+ [[ 10 -eq 10 ]]
280+ continue
281+ for script in $PLUGIN_ENABLED_PATH/*/commands
282+ set +e
283+ /var/lib/dokku/plugins/enabled/builder-pack/commands git-receive-pack ''\''stockapp'\'''
284+ source /var/lib/dokku/plugins/available/builder-pack/help-functions
285++ set -eo pipefail
286++ [[ -n 1 ]]
287++ set -x
288+ case "$1" in
289+ exit 10
290+ exit_code=10
291+ set -e
292+ [[ 10 -eq 10 ]]
293+ continue
294+ for script in $PLUGIN_ENABLED_PATH/*/commands
295+ set +e
296+ /var/lib/dokku/plugins/enabled/builder/commands git-receive-pack ''\''stockapp'\'''
297+ exit_code=10
298+ set -e
299+ [[ 10 -eq 10 ]]
300+ continue
301+ for script in $PLUGIN_ENABLED_PATH/*/commands
302+ set +e
303+ /var/lib/dokku/plugins/enabled/buildpacks/commands git-receive-pack ''\''stockapp'\'''
304+ exit_code=10
305+ set -e
306+ [[ 10 -eq 10 ]]
307+ continue
308+ for script in $PLUGIN_ENABLED_PATH/*/commands
309+ set +e
310+ /var/lib/dokku/plugins/enabled/certs/commands git-receive-pack ''\''stockapp'\'''
311+ exit_code=10
312+ set -e
313+ [[ 10 -eq 10 ]]
314+ continue
315+ for script in $PLUGIN_ENABLED_PATH/*/commands
316+ set +e
317+ /var/lib/dokku/plugins/enabled/checks/commands git-receive-pack ''\''stockapp'\'''
318+ exit_code=10
319+ set -e
320+ [[ 10 -eq 10 ]]
321+ continue
322+ for script in $PLUGIN_ENABLED_PATH/*/commands
323+ set +e
324+ /var/lib/dokku/plugins/enabled/config/commands git-receive-pack ''\''stockapp'\'''
325+ exit_code=10
326+ set -e
327+ [[ 10 -eq 10 ]]
328+ continue
329+ for script in $PLUGIN_ENABLED_PATH/*/commands
330+ set +e
331+ /var/lib/dokku/plugins/enabled/cron/commands git-receive-pack ''\''stockapp'\'''
332+ exit_code=10
333+ set -e
334+ [[ 10 -eq 10 ]]
335+ continue
336+ for script in $PLUGIN_ENABLED_PATH/*/commands
337+ set +e
338+ /var/lib/dokku/plugins/enabled/docker-options/commands git-receive-pack ''\''stockapp'\'''
339+ exit_code=10
340+ set -e
341+ [[ 10 -eq 10 ]]
342+ continue
343+ for script in $PLUGIN_ENABLED_PATH/*/commands
344+ set +e
345+ /var/lib/dokku/plugins/enabled/domains/commands git-receive-pack ''\''stockapp'\'''
346+ exit_code=10
347+ set -e
348+ [[ 10 -eq 10 ]]
349+ continue
350+ for script in $PLUGIN_ENABLED_PATH/*/commands
351+ set +e
352+ /var/lib/dokku/plugins/enabled/enter/commands git-receive-pack ''\''stockapp'\'''
353+ exit_code=10
354+ set -e
355+ [[ 10 -eq 10 ]]
356+ continue
357+ for script in $PLUGIN_ENABLED_PATH/*/commands
358+ set +e
359+ /var/lib/dokku/plugins/enabled/git/commands git-receive-pack ''\''stockapp'\'''
360+ source /var/lib/dokku/plugins/available/git/functions
361++ source /var/lib/dokku/core-plugins/available/common/functions
362+++ set -eo pipefail
363+++ [[ -n 1 ]]
364+++ set -x
365++ source /var/lib/dokku/core-plugins/available/common/property-functions
366+++ set -eo pipefail
367+++ [[ -n 1 ]]
368+++ set -x
369++ source /var/lib/dokku/plugins/available/apps/functions
370+++ set -eo pipefail
371+++ [[ -n 1 ]]
372+++ set -x
373+++ source /var/lib/dokku/core-plugins/available/common/functions
374++++ set -eo pipefail
375++++ [[ -n 1 ]]
376++++ set -x
377+++ source /var/lib/dokku/plugins/available/config/functions
378++++ set -eo pipefail
379++++ [[ -n 1 ]]
380++++ set -x
381++++ source /var/lib/dokku/core-plugins/available/common/functions
382+++++ set -eo pipefail
383+++++ [[ -n 1 ]]
384+++++ set -x
385++ source /var/lib/dokku/plugins/available/config/functions
386+++ set -eo pipefail
387+++ [[ -n 1 ]]
388+++ set -x
389+++ source /var/lib/dokku/core-plugins/available/common/functions
390++++ set -eo pipefail
391++++ [[ -n 1 ]]
392++++ set -x
393++ source /var/lib/dokku/plugins/available/git/internal-functions
394+++ source /var/lib/dokku/core-plugins/available/common/functions
395++++ set -eo pipefail
396++++ [[ -n 1 ]]
397++++ set -x
398+++ source /var/lib/dokku/core-plugins/available/common/property-functions
399++++ set -eo pipefail
400++++ [[ -n 1 ]]
401++++ set -x
402+++ set -eo pipefail
403+++ [[ -n 1 ]]
404+++ set -x
405++ set -eo pipefail
406++ [[ -n 1 ]]
407++ set -x
408+ source /var/lib/dokku/plugins/available/git/internal-functions
409++ source /var/lib/dokku/core-plugins/available/common/functions
410+++ set -eo pipefail
411+++ [[ -n 1 ]]
412+++ set -x
413++ source /var/lib/dokku/core-plugins/available/common/property-functions
414+++ set -eo pipefail
415+++ [[ -n 1 ]]
416+++ set -x
417++ set -eo pipefail
418++ [[ -n 1 ]]
419++ set -x
420+ source /var/lib/dokku/plugins/available/git/help-functions
421++ set -eo pipefail
422++ [[ -n 1 ]]
423++ set -x
424+ case "$1" in
425+ cmd-git-glob git-receive-pack ''\''stockapp'\'''
426+ declare 'desc=catch-all for any other git-* commands'
427+ declare 'cmd=git-*'
428++ sed 's/^\///g'
429++ sed 's/\\'\''/'\''/g'
430++ perl -pe 's/(?<!\\)'\''//g'
431++ echo ''\''stockapp'\'''
432perl: warning: Setting locale failed.
433perl: warning: Please check that your locale settings:
434 LANGUAGE = (unset),
435 LC_ALL = (unset),
436 LC_CTYPE = "UTF-8",
437 LANG = "C.UTF-8"
438 are supported and installed on your system.
439perl: warning: Falling back to a fallback locale ("C.UTF-8").
440+ local APP=stockapp
441+ local APP_PATH=/home/dokku/stockapp
442+ plugn trigger app-exists stockapp
443+ [[ git-receive-pack == \g\i\t\-\r\e\c\e\i\v\e\-\p\a\c\k ]]
444+ [[ ! -d /home/dokku/stockapp/refs ]]
445+ [[ git-receive-pack == \g\i\t\-\r\e\c\e\i\v\e\-\p\a\c\k ]]
446+ local 'args=git-receive-pack '\''/home/dokku/stockapp'\'''
447+ git-shell -c 'git-receive-pack '\''/home/dokku/stockapp'\'''
448Enumerating objects: 11, done.
449Counting objects: 100% (11/11), done.
450Delta compression using up to 8 threads
451Compressing objects: 100% (8/8), done.
452Writing objects: 100% (8/8), 1.66 KiB | 1.66 MiB/s, done.
453Total 8 (delta 5), reused 0 (delta 0), pack-reused 0
454remote: + export DOKKU_HOST_ROOT=/home/dokku
455remote: + DOKKU_HOST_ROOT=/home/dokku
456remote: + export DOKKU_DISTRO
457remote: ++ . /etc/os-release
458remote: ++ echo ubuntu
459remote: + DOKKU_DISTRO=ubuntu
460remote: + export DOCKER_BIN=docker
461remote: + DOCKER_BIN=docker
462remote: + export DOKKU_IMAGE=gliderlabs/herokuish:latest-20
463remote: + DOKKU_IMAGE=gliderlabs/herokuish:latest-20
464remote: + export DOKKU_CNB_BUILDER=heroku/buildpacks
465remote: + DOKKU_CNB_BUILDER=heroku/buildpacks
466remote: + export DOKKU_LIB_ROOT=/var/lib/dokku
467remote: + DOKKU_LIB_ROOT=/var/lib/dokku
468remote: + export PLUGIN_PATH=/var/lib/dokku/plugins
469remote: + PLUGIN_PATH=/var/lib/dokku/plugins
470remote: + export PLUGIN_AVAILABLE_PATH=/var/lib/dokku/plugins/available
471remote: + PLUGIN_AVAILABLE_PATH=/var/lib/dokku/plugins/available
472remote: + export PLUGIN_ENABLED_PATH=/var/lib/dokku/plugins/enabled
473remote: + PLUGIN_ENABLED_PATH=/var/lib/dokku/plugins/enabled
474remote: + export PLUGIN_CORE_PATH=/var/lib/dokku/core-plugins
475remote: + PLUGIN_CORE_PATH=/var/lib/dokku/core-plugins
476remote: + export PLUGIN_CORE_AVAILABLE_PATH=/var/lib/dokku/core-plugins/available
477remote: + PLUGIN_CORE_AVAILABLE_PATH=/var/lib/dokku/core-plugins/available
478remote: + export PLUGIN_CORE_ENABLED_PATH=/var/lib/dokku/core-plugins/enabled
479remote: + PLUGIN_CORE_ENABLED_PATH=/var/lib/dokku/core-plugins/enabled
480remote: + export DOKKU_SYSTEM_GROUP=dokku
481remote: + DOKKU_SYSTEM_GROUP=dokku
482remote: + export DOKKU_SYSTEM_USER=dokku
483remote: + DOKKU_SYSTEM_USER=dokku
484remote: + export DOKKU_API_VERSION=1
485remote: + DOKKU_API_VERSION=1
486remote: + export DOKKU_NOT_IMPLEMENTED_EXIT=10
487remote: + DOKKU_NOT_IMPLEMENTED_EXIT=10
488remote: + export DOKKU_VALID_EXIT=0
489remote: + DOKKU_VALID_EXIT=0
490remote: + export DOKKU_PID=155642
491remote: + DOKKU_PID=155642
492remote: + export DOKKU_LOGS_DIR=/var/log/dokku
493remote: + DOKKU_LOGS_DIR=/var/log/dokku
494remote: + export DOKKU_LOGS_HOST_DIR=/var/log/dokku
495remote: + DOKKU_LOGS_HOST_DIR=/var/log/dokku
496remote: + export DOKKU_EVENTS_LOGFILE=/var/log/dokku/events.log
497remote: + DOKKU_EVENTS_LOGFILE=/var/log/dokku/events.log
498remote: + export DOKKU_CONTAINER_LABEL=dokku
499remote: + DOKKU_CONTAINER_LABEL=dokku
500remote: + export 'DOKKU_GLOBAL_BUILD_ARGS=--label=org.label-schema.schema-version=1.0 --label=org.label-schema.vendor=dokku --label=dokku'
501remote: + DOKKU_GLOBAL_BUILD_ARGS='--label=org.label-schema.schema-version=1.0 --label=org.label-schema.vendor=dokku --label=dokku'
502remote: + export 'DOKKU_GLOBAL_RUN_ARGS=--label=org.label-schema.schema-version=1.0 --label=org.label-schema.vendor=dokku --label=dokku'
503remote: + DOKKU_GLOBAL_RUN_ARGS='--label=org.label-schema.schema-version=1.0 --label=org.label-schema.vendor=dokku --label=dokku'
504remote: + source /var/lib/dokku/core-plugins/available/common/functions
505remote: ++ set -eo pipefail
506remote: ++ [[ -n 1 ]]
507remote: ++ set -x
508remote: + parse_args git-hook stockapp
509remote: + declare 'desc=top-level cli arg parser'
510remote: + local next_index=1
511remote: + local skip=false
512remote: + args=("$@")
513remote: + local args
514remote: + local flags
515remote: + for arg in "$@"
516remote: + [[ false == \t\r\u\e ]]
517remote: + case "$arg" in
518remote: + [[ false == \t\r\u\e ]]
519remote: + [[ git-hook == \-\-\a\p\p ]]
520remote: + [[ git-hook =~ ^--.* ]]
521remote: + next_index=2
522remote: + for arg in "$@"
523remote: + [[ false == \t\r\u\e ]]
524remote: + case "$arg" in
525remote: + [[ false == \t\r\u\e ]]
526remote: + [[ stockapp == \-\-\a\p\p ]]
527remote: + [[ stockapp =~ ^--.* ]]
528remote: + next_index=3
529remote: + [[ -z '' ]]
530remote: ++ sed -e 's/^[[:space:]]*//' -e 's/[[:space:]]*$//'
531remote: ++ echo -e ''
532remote: + export DOKKU_GLOBAL_FLAGS=
533remote: + DOKKU_GLOBAL_FLAGS=
534remote: + return 0
535remote: + args=("$@")
536remote: + skip_arg=false
537remote: + [[ git-hook =~ ^--.* ]]
538remote: + has_tty
539remote: + declare 'desc=return 0 if we have a tty'
540remote: + [[ '' == \t\r\u\e ]]
541remote: ++ LC_ALL=C
542remote: ++ /usr/bin/tty
543remote: ++ true
544remote: + [[ not a tty == \n\o\t\ \a\ \t\t\y ]]
545remote: + return 1
546remote: + DOKKU_QUIET_OUTPUT=1
547remote: ++ id -un
548remote: + [[ dokku != \d\o\k\k\u ]]
549remote: + [[ git-hook =~ ^plugin:.* ]]
550remote: + [[ git-hook == \s\s\h\-\k\e\y\s\:\a\d\d ]]
551remote: + [[ git-hook == \s\s\h\-\k\e\y\s\:\r\e\m\o\v\e ]]
552remote: + [[ -n '' ]]
553remote: + dokku_auth git-hook stockapp
554remote: + declare 'desc=calls user-auth plugin trigger'
555remote: + export SSH_USER=dokku
556remote: + SSH_USER=dokku
557remote: + export SSH_NAME=mac
558remote: + SSH_NAME=mac
559remote: ++ wc -l
560remote: ++ find /var/lib/dokku/plugins/enabled/20_events/user-auth
561remote: + local user_auth_count=1
562remote: + [[ 1 == 0 ]]
563remote: + [[ 1 == 1 ]]
564remote: + [[ -f /var/lib/dokku/plugins/enabled/20_events/user-auth ]]
565remote: + return 0
566remote: + case "$1" in
567remote: + execute_dokku_cmd git-hook stockapp
568remote: + declare 'desc=executes dokku sub-commands'
569remote: + local PLUGIN_NAME=git-hook
570remote: + local PLUGIN_CMD=git-hook
571remote: + local implemented=0
572remote: + local script
573remote: + argv=("$@")
574remote: + local argv
575remote: + case "$PLUGIN_NAME" in
576remote: ++ readlink -f /var/lib/dokku/plugins/enabled/git-hook
577remote: + [[ /var/lib/dokku/plugins/enabled/git-hook == *core-plugins* ]]
578remote: + [[ -x /var/lib/dokku/plugins/enabled/git-hook/subcommands/default ]]
579remote: + [[ -x /var/lib/dokku/plugins/enabled/git-hook/subcommands/git-hook ]]
580remote: + [[ -x /var/lib/dokku/plugins/enabled/git-hook/subcommands/git-hook ]]
581remote: + [[ 0 -eq 0 ]]
582remote: + for script in $PLUGIN_ENABLED_PATH/*/commands
583remote: + set +e
584remote: + /var/lib/dokku/plugins/enabled/00_dokku-standard/commands git-hook stockapp
585remote: + exit_code=10
586remote: + set -e
587remote: + [[ 10 -eq 10 ]]
588remote: + continue
589remote: + for script in $PLUGIN_ENABLED_PATH/*/commands
590remote: + set +e
591remote: + /var/lib/dokku/plugins/enabled/20_events/commands git-hook stockapp
592remote: + exit_code=10
593remote: + set -e
594remote: + [[ 10 -eq 10 ]]
595remote: + continue
596remote: + for script in $PLUGIN_ENABLED_PATH/*/commands
597remote: + set +e
598remote: + /var/lib/dokku/plugins/enabled/app-json/commands git-hook stockapp
599remote: + exit_code=10
600remote: + set -e
601remote: + [[ 10 -eq 10 ]]
602remote: + continue
603remote: + for script in $PLUGIN_ENABLED_PATH/*/commands
604remote: + set +e
605remote: + /var/lib/dokku/plugins/enabled/apps/commands git-hook stockapp
606remote: + exit_code=10
607remote: + set -e
608remote: + [[ 10 -eq 10 ]]
609remote: + continue
610remote: + for script in $PLUGIN_ENABLED_PATH/*/commands
611remote: + set +e
612remote: + /var/lib/dokku/plugins/enabled/builder-dockerfile/commands git-hook stockapp
613remote: + source /var/lib/dokku/plugins/available/builder-dockerfile/help-functions
614remote: ++ set -eo pipefail
615remote: ++ [[ -n 1 ]]
616remote: ++ set -x
617remote: + case "$1" in
618remote: + exit 10
619remote: + exit_code=10
620remote: + set -e
621remote: + [[ 10 -eq 10 ]]
622remote: + continue
623remote: + for script in $PLUGIN_ENABLED_PATH/*/commands
624remote: + set +e
625remote: + /var/lib/dokku/plugins/enabled/builder-null/commands git-hook stockapp
626remote: + exit_code=10
627remote: + set -e
628remote: + [[ 10 -eq 10 ]]
629remote: + continue
630remote: + for script in $PLUGIN_ENABLED_PATH/*/commands
631remote: + set +e
632remote: + /var/lib/dokku/plugins/enabled/builder-pack/commands git-hook stockapp
633remote: + source /var/lib/dokku/plugins/available/builder-pack/help-functions
634remote: ++ set -eo pipefail
635remote: ++ [[ -n 1 ]]
636remote: ++ set -x
637remote: + case "$1" in
638remote: + exit 10
639remote: + exit_code=10
640remote: + set -e
641remote: + [[ 10 -eq 10 ]]
642remote: + continue
643remote: + for script in $PLUGIN_ENABLED_PATH/*/commands
644remote: + set +e
645remote: + /var/lib/dokku/plugins/enabled/builder/commands git-hook stockapp
646remote: + exit_code=10
647remote: + set -e
648remote: + [[ 10 -eq 10 ]]
649remote: + continue
650remote: + for script in $PLUGIN_ENABLED_PATH/*/commands
651remote: + set +e
652remote: + /var/lib/dokku/plugins/enabled/buildpacks/commands git-hook stockapp
653remote: + exit_code=10
654remote: + set -e
655remote: + [[ 10 -eq 10 ]]
656remote: + continue
657remote: + for script in $PLUGIN_ENABLED_PATH/*/commands
658remote: + set +e
659remote: + /var/lib/dokku/plugins/enabled/certs/commands git-hook stockapp
660remote: + exit_code=10
661remote: + set -e
662remote: + [[ 10 -eq 10 ]]
663remote: + continue
664remote: + for script in $PLUGIN_ENABLED_PATH/*/commands
665remote: + set +e
666remote: + /var/lib/dokku/plugins/enabled/checks/commands git-hook stockapp
667remote: + exit_code=10
668remote: + set -e
669remote: + [[ 10 -eq 10 ]]
670remote: + continue
671remote: + for script in $PLUGIN_ENABLED_PATH/*/commands
672remote: + set +e
673remote: + /var/lib/dokku/plugins/enabled/config/commands git-hook stockapp
674remote: + exit_code=10
675remote: + set -e
676remote: + [[ 10 -eq 10 ]]
677remote: + continue
678remote: + for script in $PLUGIN_ENABLED_PATH/*/commands
679remote: + set +e
680remote: + /var/lib/dokku/plugins/enabled/cron/commands git-hook stockapp
681remote: + exit_code=10
682remote: + set -e
683remote: + [[ 10 -eq 10 ]]
684remote: + continue
685remote: + for script in $PLUGIN_ENABLED_PATH/*/commands
686remote: + set +e
687remote: + /var/lib/dokku/plugins/enabled/docker-options/commands git-hook stockapp
688remote: + exit_code=10
689remote: + set -e
690remote: + [[ 10 -eq 10 ]]
691remote: + continue
692remote: + for script in $PLUGIN_ENABLED_PATH/*/commands
693remote: + set +e
694remote: + /var/lib/dokku/plugins/enabled/domains/commands git-hook stockapp
695remote: + exit_code=10
696remote: + set -e
697remote: + [[ 10 -eq 10 ]]
698remote: + continue
699remote: + for script in $PLUGIN_ENABLED_PATH/*/commands
700remote: + set +e
701remote: + /var/lib/dokku/plugins/enabled/enter/commands git-hook stockapp
702remote: + exit_code=10
703remote: + set -e
704remote: + [[ 10 -eq 10 ]]
705remote: + continue
706remote: + for script in $PLUGIN_ENABLED_PATH/*/commands
707remote: + set +e
708remote: + /var/lib/dokku/plugins/enabled/git/commands git-hook stockapp
709remote: + source /var/lib/dokku/plugins/available/git/functions
710remote: ++ source /var/lib/dokku/core-plugins/available/common/functions
711remote: +++ set -eo pipefail
712remote: +++ [[ -n 1 ]]
713remote: +++ set -x
714remote: ++ source /var/lib/dokku/core-plugins/available/common/property-functions
715remote: +++ set -eo pipefail
716remote: +++ [[ -n 1 ]]
717remote: +++ set -x
718remote: ++ source /var/lib/dokku/plugins/available/apps/functions
719remote: +++ set -eo pipefail
720remote: +++ [[ -n 1 ]]
721remote: +++ set -x
722remote: +++ source /var/lib/dokku/core-plugins/available/common/functions
723remote: ++++ set -eo pipefail
724remote: ++++ [[ -n 1 ]]
725remote: ++++ set -x
726remote: +++ source /var/lib/dokku/plugins/available/config/functions
727remote: ++++ set -eo pipefail
728remote: ++++ [[ -n 1 ]]
729remote: ++++ set -x
730remote: ++++ source /var/lib/dokku/core-plugins/available/common/functions
731remote: +++++ set -eo pipefail
732remote: +++++ [[ -n 1 ]]
733remote: +++++ set -x
734remote: ++ source /var/lib/dokku/plugins/available/config/functions
735remote: +++ set -eo pipefail
736remote: +++ [[ -n 1 ]]
737remote: +++ set -x
738remote: +++ source /var/lib/dokku/core-plugins/available/common/functions
739remote: ++++ set -eo pipefail
740remote: ++++ [[ -n 1 ]]
741remote: ++++ set -x
742remote: ++ source /var/lib/dokku/plugins/available/git/internal-functions
743remote: +++ source /var/lib/dokku/core-plugins/available/common/functions
744remote: ++++ set -eo pipefail
745remote: ++++ [[ -n 1 ]]
746remote: ++++ set -x
747remote: +++ source /var/lib/dokku/core-plugins/available/common/property-functions
748remote: ++++ set -eo pipefail
749remote: ++++ [[ -n 1 ]]
750remote: ++++ set -x
751remote: +++ set -eo pipefail
752remote: +++ [[ -n 1 ]]
753remote: +++ set -x
754remote: ++ set -eo pipefail
755remote: ++ [[ -n 1 ]]
756remote: ++ set -x
757remote: + source /var/lib/dokku/plugins/available/git/internal-functions
758remote: ++ source /var/lib/dokku/core-plugins/available/common/functions
759remote: +++ set -eo pipefail
760remote: +++ [[ -n 1 ]]
761remote: +++ set -x
762remote: ++ source /var/lib/dokku/core-plugins/available/common/property-functions
763remote: +++ set -eo pipefail
764remote: +++ [[ -n 1 ]]
765remote: +++ set -x
766remote: ++ set -eo pipefail
767remote: ++ [[ -n 1 ]]
768remote: ++ set -x
769remote: + source /var/lib/dokku/plugins/available/git/help-functions
770remote: ++ set -eo pipefail
771remote: ++ [[ -n 1 ]]
772remote: ++ set -x
773remote: + case "$1" in
774remote: + cmd-git-hook git-hook stockapp
775remote: + declare 'desc=kick off receive-app trigger from git prereceive hook'
776remote: + declare cmd=git-hook
777remote: + [[ git-hook == \g\i\t\-\h\o\o\k ]]
778remote: + shift 1
779remote: + declare APP=stockapp
780remote: + local DOKKU_DEPLOY_BRANCH
781remote: + plugn trigger app-exists stockapp
782remote: ++ fn-git-deploy-branch stockapp
783remote: ++ declare 'desc=retrieve the deploy branch for a given application'
784remote: ++ local APP=stockapp
785remote: ++ local DEFAULT_BRANCH=master
786remote: +++ fn-plugin-property-get git stockapp deploy-branch ''
787remote: +++ declare 'desc=returns the value for a given property'
788remote: +++ declare PLUGIN=git APP=stockapp KEY=deploy-branch DEFAULT=
789remote: +++ fn-plugin-property-get-default git stockapp deploy-branch ''
790remote: +++ declare 'desc=returns the value for a given property with a specified default value'
791remote: +++ declare PLUGIN=git APP=stockapp KEY=deploy-branch DEFAULT=
792remote: +++ /var/lib/dokku/core-plugins/available/common/prop get-with-default git stockapp deploy-branch ''
793remote: ++ local DOKKU_DEPLOY_BRANCH=
794remote: +++ fn-plugin-property-get git --global deploy-branch ''
795remote: +++ declare 'desc=returns the value for a given property'
796remote: +++ declare PLUGIN=git APP=--global KEY=deploy-branch DEFAULT=
797remote: +++ fn-plugin-property-get-default git --global deploy-branch ''
798remote: +++ declare 'desc=returns the value for a given property with a specified default value'
799remote: +++ declare PLUGIN=git APP=--global KEY=deploy-branch DEFAULT=
800remote: +++ /var/lib/dokku/core-plugins/available/common/prop get-with-default git --global deploy-branch ''
801remote: ++ local DOKKU_GLOBAL_DEPLOY_BRANCH=
802remote: ++ [[ -n '' ]]
803remote: ++ [[ -n '' ]]
804remote: ++ echo master
805remote: + DOKKU_DEPLOY_BRANCH=master
806remote: + git check-ref-format --branch master
807remote: + local oldrev newrev refname
808remote: + read -r oldrev newrev refname
809remote: + [[ refs/heads/master == \r\e\f\s\/\h\e\a\d\s\/\m\a\s\t\e\r ]]
810remote: + git_receive_app stockapp 97a9f7abed61e9c037927e6567360fd1cd1d284c
811remote: + declare 'desc=git receive-app plugin trigger'
812remote: + declare APP=stockapp REV=97a9f7abed61e9c037927e6567360fd1cd1d284c
813remote: + [[ ! -d /home/dokku/stockapp/refs ]]
814remote: + acquire_app_deploy_lock stockapp exclusive
815remote: + declare 'desc=acquire advisory lock for use in git/tar deploys'
816remote: + local APP=stockapp
817remote: + local LOCK_TYPE=exclusive
818remote: + local APP_DEPLOY_LOCK_FILE=/home/dokku/stockapp/.deploy.lock
819remote: + local 'LOCK_WAITING_MSG=stockapp currently has a deploy lock in place. Waiting...'
820remote: + local 'LOCK_FAILED_MSG=stockapp currently has a deploy lock in place. Exiting...'
821remote: + acquire_advisory_lock /home/dokku/stockapp/.deploy.lock exclusive 'stockapp currently has a deploy lock in place. Waiting...' 'stockapp currently has a deploy lock in place. Exiting...'
822remote: + declare 'desc=acquire advisory lock'
823remote: + local LOCK_FILE=/home/dokku/stockapp/.deploy.lock LOCK_TYPE=exclusive 'LOCK_WAITING_MSG=stockapp currently has a deploy lock in place. Waiting...' 'LOCK_FAILED_MSG=stockapp currently has a deploy lock in place. Exiting...'
824remote: + local LOCK_FD=200
825remote: + local SHOW_MSG=true
826remote: + eval 'exec 200>/home/dokku/stockapp/.deploy.lock'
827remote: ++ exec
828remote: + [[ exclusive == \w\a\i\t\i\n\g ]]
829remote: + flock -n 200
830remote: + git_build stockapp 97a9f7abed61e9c037927e6567360fd1cd1d284c
831remote: + declare 'desc=setup and call git_build_app_repo'
832remote: + local APP=stockapp REV=97a9f7abed61e9c037927e6567360fd1cd1d284c
833remote: + local DOKKU_DEPLOY_BRANCH ENV_VAR_NAME REF
834remote: + [[ 2 -ge 2 ]]
835remote: ++ fn-plugin-property-get git stockapp rev-env-var
836remote: ++ declare 'desc=returns the value for a given property'
837remote: ++ declare PLUGIN=git APP=stockapp KEY=rev-env-var DEFAULT=
838remote: ++ fn-plugin-property-get-default git stockapp rev-env-var ''
839remote: ++ declare 'desc=returns the value for a given property with a specified default value'
840remote: ++ declare PLUGIN=git APP=stockapp KEY=rev-env-var DEFAULT=
841remote: ++ /var/lib/dokku/core-plugins/available/common/prop get-with-default git stockapp rev-env-var ''
842remote: + ENV_VAR_NAME=
843remote: + [[ -z '' ]]
844remote: + fn-plugin-property-exists git stockapp rev-env-var
845remote: + declare 'desc=returns whether the property store has a value for an app'
846remote: + declare PLUGIN=git APP=stockapp KEY=rev-env-var
847remote: + /var/lib/dokku/core-plugins/available/common/prop exists git stockapp rev-env-var
848remote: + ENV_VAR_NAME=GIT_REV
849remote: + [[ -n GIT_REV ]]
850remote: + DOKKU_QUIET_OUTPUT=1
851remote: + config_set --no-restart stockapp GIT_REV=97a9f7abed61e9c037927e6567360fd1cd1d284c
852remote: + declare 'desc=set value of given config var'
853remote: + config_sub set --no-restart stockapp GIT_REV=97a9f7abed61e9c037927e6567360fd1cd1d284c
854remote: + declare 'desc=executes a config subcommand'
855remote: + local name=set
856remote: + shift
857remote: + /var/lib/dokku/plugins/available/config/subcommands/set config:set --no-restart stockapp GIT_REV=97a9f7abed61e9c037927e6567360fd1cd1d284c
858remote: ? plugn trigger post-config-update [stockapp set GIT_REV]
859remote: + source /var/lib/dokku/core-plugins/available/common/functions
860remote: ++ set -eo pipefail
861remote: ++ [[ -n 1 ]]
862remote: ++ set -x
863remote: + [[ ! -n '' ]]
864remote: + local REF=97a9f7abed61e9c037927e6567360fd1cd1d284c
865remote: + [[ -z 97a9f7abed61e9c037927e6567360fd1cd1d284c ]]
866remote: + git_build_app_repo stockapp 97a9f7abed61e9c037927e6567360fd1cd1d284c
867remote: + declare 'desc=builds local git app repo for app'
868remote: + declare APP=stockapp REV=97a9f7abed61e9c037927e6567360fd1cd1d284c
869remote: + local DOKKU_GLOBAL_DISABLE_AUTOCREATE
870remote: + verify_app_name stockapp
871remote: + declare 'desc=verify app name format and app existence'
872remote: + declare APP=stockapp
873remote: + local VALID_NEW=false
874remote: + local VALID_OLD=false
875remote: + fn-is-valid-app-name stockapp
876remote: + VALID_NEW=true
877remote: + fn-is-valid-app-name-old stockapp
878remote: + VALID_OLD=true
879remote: + [[ true == \f\a\l\s\e ]]
880remote: + [[ ! -d /home/dokku/stockapp ]]
881remote: + return 0
882remote: ++ mktemp -d /tmp/dokku-155642-git_build_app_repo.XXXXXX
883remote: + local GIT_BUILD_APP_REPO_TMP_WORK_DIR=/tmp/dokku-155642-git_build_app_repo.qIN41O
884remote: + trap 'rm -rf '\''/tmp/dokku-155642-git_build_app_repo.qIN41O'\'' >/dev/null' RETURN INT TERM EXIT
885remote: + chmod 755 /tmp/dokku-155642-git_build_app_repo.qIN41O
886remote: + unset GIT_DIR GIT_QUARANTINE_PATH GIT_WORK_TREE
887remote: + plugn trigger app-exists stockapp
888remote: + fn-git-setup-build-dir stockapp /tmp/dokku-155642-git_build_app_repo.qIN41O 97a9f7abed61e9c037927e6567360fd1cd1d284c
889remote: + declare APP=stockapp GIT_WORKDIR=/tmp/dokku-155642-git_build_app_repo.qIN41O REV=97a9f7abed61e9c037927e6567360fd1cd1d284c
890remote: ++ fn-plugin-property-get git stockapp keep-git-dir ''
891remote: ++ declare 'desc=returns the value for a given property'
892remote: ++ declare PLUGIN=git APP=stockapp KEY=keep-git-dir DEFAULT=
893remote: ++ fn-plugin-property-get-default git stockapp keep-git-dir ''
894remote: ++ declare 'desc=returns the value for a given property with a specified default value'
895remote: ++ declare PLUGIN=git APP=stockapp KEY=keep-git-dir DEFAULT=
896remote: ++ /var/lib/dokku/core-plugins/available/common/prop get-with-default git stockapp keep-git-dir ''
897remote: + local DOKKU_KEEP_GIT_DIR=
898remote: + fn-git-use-worktree
899remote: + declare 'desc=detects whether to use git worktree'
900remote: + local GIT_VERSION MAJOR_VERSION MINOR_VERSION
901remote: ++ awk '{split($0,a," "); print a[3]}'
902remote: ++ git --version
903remote: + GIT_VERSION=2.25.1
904remote: ++ awk '{split($0,a,"."); print a[1]}'
905remote: ++ echo 2.25.1
906remote: + MAJOR_VERSION=2
907remote: ++ awk '{split($0,a,"."); print a[2]}'
908remote: ++ echo 2.25.1
909remote: + MINOR_VERSION=25
910remote: + [[ 2 -ge 3 ]]
911remote: + [[ 2 -eq 2 ]]
912remote: + [[ 25 -ge 11 ]]
913remote: + return 0
914remote: + [[ '' == \t\r\u\e ]]
915remote: + fn-git-setup-build-dir-worktree stockapp /tmp/dokku-155642-git_build_app_repo.qIN41O 97a9f7abed61e9c037927e6567360fd1cd1d284c
916remote: + declare APP=stockapp GIT_WORKDIR=/tmp/dokku-155642-git_build_app_repo.qIN41O REV=97a9f7abed61e9c037927e6567360fd1cd1d284c
917remote: + local APP_ROOT=/home/dokku/stockapp
918remote: + unset GIT_QUARANTINE_PATH
919remote: + suppress_output fn-git-cmd /home/dokku/stockapp worktree add /tmp/dokku-155642-git_build_app_repo.qIN41O 97a9f7abed61e9c037927e6567360fd1cd1d284c
920remote: + declare 'desc=suppress all output from a given command unless there is an error'
921remote: + local TMP_COMMAND_OUTPUT
922remote: ++ mktemp /tmp/dokku-155642-suppress_output.XXXXXX
923remote: + TMP_COMMAND_OUTPUT=/tmp/dokku-155642-suppress_output.8e92TD
924remote: + trap 'rm -rf '\''/tmp/dokku-155642-suppress_output.8e92TD'\'' >/dev/null' RETURN
925remote: + fn-git-cmd /home/dokku/stockapp worktree add /tmp/dokku-155642-git_build_app_repo.qIN41O 97a9f7abed61e9c037927e6567360fd1cd1d284c
926remote: + return 0
927remote: ++ rm -rf /tmp/dokku-155642-suppress_output.8e92TD
928remote: + fn-git-setup-build-dir-submodules stockapp /tmp/dokku-155642-git_build_app_repo.qIN41O
929remote: + declare APP=stockapp GIT_WORKDIR=/tmp/dokku-155642-git_build_app_repo.qIN41O
930remote: ++ fn-plugin-property-get git stockapp keep-git-dir ''
931remote: ++ declare 'desc=returns the value for a given property'
932remote: ++ declare PLUGIN=git APP=stockapp KEY=keep-git-dir DEFAULT=
933remote: ++ fn-plugin-property-get-default git stockapp keep-git-dir ''
934remote: ++ declare 'desc=returns the value for a given property with a specified default value'
935remote: ++ declare PLUGIN=git APP=stockapp KEY=keep-git-dir DEFAULT=
936remote: ++ /var/lib/dokku/core-plugins/available/common/prop get-with-default git stockapp keep-git-dir ''
937remote: + local DOKKU_KEEP_GIT_DIR=
938remote: + unset GIT_QUARANTINE_PATH
939remote: + suppress_output fn-git-cmd /tmp/dokku-155642-git_build_app_repo.qIN41O submodule sync --recursive
940remote: + declare 'desc=suppress all output from a given command unless there is an error'
941remote: + local TMP_COMMAND_OUTPUT
942remote: ++ mktemp /tmp/dokku-155642-suppress_output.XXXXXX
943remote: + TMP_COMMAND_OUTPUT=/tmp/dokku-155642-suppress_output.5rV77H
944remote: + trap 'rm -rf '\''/tmp/dokku-155642-suppress_output.5rV77H'\'' >/dev/null' RETURN
945remote: + fn-git-cmd /tmp/dokku-155642-git_build_app_repo.qIN41O submodule sync --recursive
946remote: + return 0
947remote: ++ rm -rf /tmp/dokku-155642-suppress_output.5rV77H
948remote: + suppress_output fn-git-cmd /tmp/dokku-155642-git_build_app_repo.qIN41O submodule update --init --recursive
949remote: + declare 'desc=suppress all output from a given command unless there is an error'
950remote: + local TMP_COMMAND_OUTPUT
951remote: ++ mktemp /tmp/dokku-155642-suppress_output.XXXXXX
952remote: + TMP_COMMAND_OUTPUT=/tmp/dokku-155642-suppress_output.a1xLOx
953remote: + trap 'rm -rf '\''/tmp/dokku-155642-suppress_output.a1xLOx'\'' >/dev/null' RETURN
954remote: + fn-git-cmd /tmp/dokku-155642-git_build_app_repo.qIN41O submodule update --init --recursive
955remote: + return 0
956remote: ++ rm -rf /tmp/dokku-155642-suppress_output.a1xLOx
957remote: + [[ '' != \t\r\u\e ]]
958remote: + pushd /tmp/dokku-155642-git_build_app_repo.qIN41O
959remote: + find /tmp/dokku-155642-git_build_app_repo.qIN41O -name .git -prune -exec rm -rf '{}' ';'
960remote: + popd
961remote: ++ rm -rf /tmp/dokku-155642-suppress_output.a1xLOx
962remote: + suppress_output fn-git-cmd /home/dokku/stockapp worktree prune
963remote: + declare 'desc=suppress all output from a given command unless there is an error'
964remote: + local TMP_COMMAND_OUTPUT
965remote: ++ mktemp /tmp/dokku-155642-suppress_output.XXXXXX
966remote: + TMP_COMMAND_OUTPUT=/tmp/dokku-155642-suppress_output.E2ooQs
967remote: + trap 'rm -rf '\''/tmp/dokku-155642-suppress_output.E2ooQs'\'' >/dev/null' RETURN
968remote: + fn-git-cmd /home/dokku/stockapp worktree prune
969remote: + return 0
970remote: ++ rm -rf /tmp/dokku-155642-suppress_output.E2ooQs
971remote: ++ rm -rf /tmp/dokku-155642-suppress_output.E2ooQs
972remote: ++ rm -rf /tmp/dokku-155642-suppress_output.E2ooQs
973remote: + pushd /tmp/dokku-155642-git_build_app_repo.qIN41O
974remote: + local DOKKU_APP_DISABLE_ANSI_PREFIX_REMOVAL DOKKU_GLOBAL_DISABLE_ANSI_PREFIX_REMOVAL DOKKU_DISABLE_ANSI_PREFIX_REMOVAL
975remote: ++ config_get stockapp DOKKU_DISABLE_ANSI_PREFIX_REMOVAL
976remote: ++ declare 'desc=get value of given config var'
977remote: ++ config_sub get stockapp DOKKU_DISABLE_ANSI_PREFIX_REMOVAL
978remote: ++ declare 'desc=executes a config subcommand'
979remote: ++ local name=get
980remote: ++ shift
981remote: ++ /var/lib/dokku/plugins/available/config/subcommands/get config:get stockapp DOKKU_DISABLE_ANSI_PREFIX_REMOVAL
982remote: ++ true
983remote: + DOKKU_APP_DISABLE_ANSI_PREFIX_REMOVAL=
984remote: ++ config_get --global DOKKU_DISABLE_ANSI_PREFIX_REMOVAL
985remote: ++ declare 'desc=get value of given config var'
986remote: ++ config_sub get --global DOKKU_DISABLE_ANSI_PREFIX_REMOVAL
987remote: ++ declare 'desc=executes a config subcommand'
988remote: ++ local name=get
989remote: ++ shift
990remote: ++ /var/lib/dokku/plugins/available/config/subcommands/get config:get --global DOKKU_DISABLE_ANSI_PREFIX_REMOVAL
991remote: ++ true
992remote: + DOKKU_GLOBAL_DISABLE_ANSI_PREFIX_REMOVAL=
993remote: + DOKKU_DISABLE_ANSI_PREFIX_REMOVAL=
994remote: + [[ '' == \t\r\u\e ]]
995/'
996remote: + git_trigger_build stockapp /tmp/dokku-155642-git_build_app_repo.qIN41O 97a9f7abed61e9c037927e6567360fd1cd1d284c
997remote: + declare 'desc=triggers the actual build process for a given app within a directory at a particular revision'
998remote: + declare APP=stockapp TMP_WORK_DIR=/tmp/dokku-155642-git_build_app_repo.qIN41O REV=97a9f7abed61e9c037927e6567360fd1cd1d284c
999remote: + local BUILDER
1000remote: + plugn trigger core-post-extract stockapp /tmp/dokku-155642-git_build_app_repo.qIN41O 97a9f7abed61e9c037927e6567360fd1cd1d284c
1001remote: + source /var/lib/dokku/core-plugins/available/common/functions
1002remote: ++ set -eo pipefail
1003remote: ++ [[ -n 1 ]]
1004remote: ++ set -x
1005remote: + [[ ! -n '' ]]
1006remote: + source /var/lib/dokku/plugins/available/builder-pack/internal-functions
1007remote: ++ source /var/lib/dokku/core-plugins/available/common/functions
1008remote: +++ set -eo pipefail
1009remote: +++ [[ -n 1 ]]
1010remote: +++ set -x
1011remote: ++ source /var/lib/dokku/core-plugins/available/common/property-functions
1012remote: +++ set -eo pipefail
1013remote: +++ [[ -n 1 ]]
1014remote: +++ set -x
1015remote: ++ set -eo pipefail
1016remote: ++ [[ -n 1 ]]
1017remote: ++ set -x
1018remote: + set -eo pipefail
1019remote: + [[ -n 1 ]]
1020remote: + set -x
1021remote: + trigger-builder-pack-core-post-extract stockapp /tmp/dokku-155642-git_build_app_repo.qIN41O 97a9f7abed61e9c037927e6567360fd1cd1d284c
1022remote: + declare 'desc=builder-pack post-extract plugin trigger'
1023remote: + declare trigger=post-extract
1024remote: + declare APP=stockapp SOURCECODE_WORK_DIR=/tmp/dokku-155642-git_build_app_repo.qIN41O
1025remote: ++ fn-builder-pack-computed-projecttoml-path stockapp
1026remote: ++ declare APP=stockapp
1027remote: +++ fn-builder-pack-projecttoml-path stockapp
1028remote: +++ declare APP=stockapp
1029remote: +++ fn-plugin-property-get builder-pack stockapp projecttoml-path ''
1030remote: +++ declare 'desc=returns the value for a given property'
1031remote: +++ declare PLUGIN=builder-pack APP=stockapp KEY=projecttoml-path DEFAULT=
1032remote: +++ fn-plugin-property-get-default builder-pack stockapp projecttoml-path ''
1033remote: +++ declare 'desc=returns the value for a given property with a specified default value'
1034remote: +++ declare PLUGIN=builder-pack APP=stockapp KEY=projecttoml-path DEFAULT=
1035remote: +++ /var/lib/dokku/core-plugins/available/common/prop get-with-default builder-pack stockapp projecttoml-path ''
1036remote: ++ file=
1037remote: ++ [[ '' == '' ]]
1038remote: +++ fn-builder-pack-global-projecttoml-path stockapp
1039remote: +++ declare APP=stockapp
1040remote: +++ fn-plugin-property-get builder-pack --global projecttoml-path project.toml
1041remote: +++ declare 'desc=returns the value for a given property'
1042remote: +++ declare PLUGIN=builder-pack APP=--global KEY=projecttoml-path DEFAULT=project.toml
1043remote: +++ fn-plugin-property-get-default builder-pack --global projecttoml-path project.toml
1044remote: +++ declare 'desc=returns the value for a given property with a specified default value'
1045remote: +++ declare PLUGIN=builder-pack APP=--global KEY=projecttoml-path DEFAULT=project.toml
1046remote: +++ /var/lib/dokku/core-plugins/available/common/prop get-with-default builder-pack --global projecttoml-path project.toml
1047remote: ++ file=project.toml
1048remote: ++ echo project.toml
1049remote: + local NEW_PROJECT_TOML=project.toml
1050remote: + pushd ''
1051remote: + [[ -z project.toml ]]
1052remote: + [[ ! -f project.toml ]]
1053remote: + rm -f project.toml
1054remote: + return
1055remote: + plugn trigger post-extract stockapp /tmp/dokku-155642-git_build_app_repo.qIN41O 97a9f7abed61e9c037927e6567360fd1cd1d284c
1056remote: + source /var/lib/dokku/core-plugins/available/common/functions
1057remote: ++ set -eo pipefail
1058remote: ++ [[ -n 1 ]]
1059remote: ++ set -x
1060remote: + [[ ! -n '' ]]
1061remote: ++ head -n1
1062remote: ++ plugn trigger builder-detect stockapp /tmp/dokku-155642-git_build_app_repo.qIN41O
1063remote: + source /var/lib/dokku/core-plugins/available/common/functions
1064remote: ++ set -eo pipefail
1065remote: ++ [[ -n 1 ]]
1066remote: ++ set -x
1067remote: + [[ ! -n '' ]]
1068remote: ++ source /var/lib/dokku/core-plugins/available/common/functions
1069remote: +++ set -eo pipefail
1070remote: +++ [[ -n 1 ]]
1071remote: +++ set -x
1072remote: + set -eo pipefail
1073remote: + [[ -n 1 ]]
1074remote: + set -x
1075remote: + trigger-builder-dockerfile-builder-detect stockapp /tmp/dokku-155642-git_build_app_repo.qIN41O
1076remote: + declare 'desc=builder-dockerfile builder-detect plugin trigger'
1077remote: + declare trigger=builder-detect
1078remote: + declare APP=stockapp SOURCECODE_WORK_DIR=/tmp/dokku-155642-git_build_app_repo.qIN41O
1079remote: + [[ -f /var/lib/dokku/plugins/enabled/builder-herokuish/builder-detect ]]
1080remote: ++ /var/lib/dokku/plugins/enabled/builder-herokuish/builder-detect stockapp /tmp/dokku-155642-git_build_app_repo.qIN41O
1081remote: +++ source /var/lib/dokku/core-plugins/available/common/functions
1082remote: ++++ set -eo pipefail
1083remote: ++++ [[ -n 1 ]]
1084remote: ++++ set -x
1085remote: ++ set -eo pipefail
1086remote: ++ [[ -n 1 ]]
1087remote: ++ set -x
1088remote: + set -eo pipefail
1089remote: + [[ -n 1 ]]
1090remote: + set -x
1091remote: + trigger-builder-herokuish-builder-detect stockapp /tmp/dokku-155642-git_build_app_repo.qIN41O
1092remote: + declare 'desc=builder-herokuish builder-detect plugin trigger'
1093remote: + declare trigger=builder-detect
1094remote: + declare APP=stockapp SOURCECODE_WORK_DIR=/tmp/dokku-155642-git_build_app_repo.qIN41O
1095remote: + fn-has-buildpacks-file /tmp/dokku-155642-git_build_app_repo.qIN41O
1096remote: + declare SOURCECODE_WORK_DIR=/tmp/dokku-155642-git_build_app_repo.qIN41O
1097remote: + [[ -f /tmp/dokku-155642-git_build_app_repo.qIN41O/.buildpacks ]]
1098remote: + return 0
1099remote: + echo herokuish
1100remote: + return
1101remote: + [[ -n herokuish ]]
1102remote: + return
1103remote: +++ source /var/lib/dokku/core-plugins/available/common/functions
1104remote: ++++ set -eo pipefail
1105remote: ++++ [[ -n 1 ]]
1106remote: ++++ set -x
1107remote: ++ set -eo pipefail
1108remote: ++ [[ -n 1 ]]
1109remote: ++ set -x
1110remote: + set -eo pipefail
1111remote: + [[ -n 1 ]]
1112remote: + set -x
1113remote: + trigger-builder-herokuish-builder-detect stockapp /tmp/dokku-155642-git_build_app_repo.qIN41O
1114remote: + declare 'desc=builder-herokuish builder-detect plugin trigger'
1115remote: + declare trigger=builder-detect
1116remote: + declare APP=stockapp SOURCECODE_WORK_DIR=/tmp/dokku-155642-git_build_app_repo.qIN41O
1117remote: + fn-has-buildpacks-file /tmp/dokku-155642-git_build_app_repo.qIN41O
1118remote: + declare SOURCECODE_WORK_DIR=/tmp/dokku-155642-git_build_app_repo.qIN41O
1119remote: + [[ -f /tmp/dokku-155642-git_build_app_repo.qIN41O/.buildpacks ]]
1120remote: + return 0
1121remote: + echo herokuish
1122remote: + return
1123remote: ++ source /var/lib/dokku/core-plugins/available/common/functions
1124remote: +++ set -eo pipefail
1125remote: +++ [[ -n 1 ]]
1126remote: +++ set -x
1127remote: + set -eo pipefail
1128remote: + [[ -n 1 ]]
1129remote: + set -x
1130remote: + trigger-builder-pack-builder-detect stockapp /tmp/dokku-155642-git_build_app_repo.qIN41O
1131remote: + declare 'desc=builder-pack builder-detect plugin trigger'
1132remote: + declare trigger=builder-detect
1133remote: + declare APP=stockapp SOURCECODE_WORK_DIR=/tmp/dokku-155642-git_build_app_repo.qIN41O
1134remote: + [[ -f /tmp/dokku-155642-git_build_app_repo.qIN41O/project.toml ]]
1135remote: ++ config_get stockapp DOKKU_CNB_EXPERIMENTAL
1136remote: ++ declare 'desc=get value of given config var'
1137remote: ++ config_sub get stockapp DOKKU_CNB_EXPERIMENTAL
1138remote: ++ declare 'desc=executes a config subcommand'
1139remote: ++ local name=get
1140remote: ++ shift
1141remote: ++ /var/lib/dokku/plugins/available/config/subcommands/get config:get stockapp DOKKU_CNB_EXPERIMENTAL
1142remote: ++ true
1143remote: + [[ '' == \1 ]]
1144remote: + BUILDER=herokuish
1145remote: + [[ -z herokuish ]]
1146remote: + plugn trigger pre-receive-app stockapp herokuish /tmp/dokku-155642-git_build_app_repo.qIN41O 97a9f7abed61e9c037927e6567360fd1cd1d284c
1147remote: + source /var/lib/dokku/core-plugins/available/common/functions
1148remote: ++ set -eo pipefail
1149remote: ++ [[ -n 1 ]]
1150remote: ++ set -x
1151remote: + [[ ! -n '' ]]
1152remote: + dokku_receive stockapp herokuish /tmp/dokku-155642-git_build_app_repo.qIN41O
1153remote: + declare 'desc=receives an app kicks off deploy process'
1154remote: + source /var/lib/dokku/plugins/available/config/functions
1155remote: ++ set -eo pipefail
1156remote: ++ [[ -n 1 ]]
1157remote: ++ set -x
1158remote: ++ source /var/lib/dokku/core-plugins/available/common/functions
1159remote: +++ set -eo pipefail
1160remote: +++ [[ -n 1 ]]
1161remote: +++ set -x
1162remote: + local APP=stockapp
1163remote: ++ get_app_image_name stockapp
1164remote: ++ declare 'desc=return image identifier for a given app, tag tuple. validate if tag is presented'
1165remote: ++ local APP=stockapp
1166remote: ++ local IMAGE_TAG=
1167remote: ++ IMAGE_REPO=
1168remote: ++ [[ -z '' ]]
1169remote: +++ get_app_image_repo stockapp
1170remote: +++ declare 'desc=central definition of image repo pattern'
1171remote: +++ local APP=stockapp
1172remote: +++ local IMAGE_REPO=dokku/stockapp
1173remote: +++ echo dokku/stockapp
1174remote: ++ IMAGE_REPO=dokku/stockapp
1175remote: ++ [[ -n '' ]]
1176remote: ++ local IMAGE=dokku/stockapp:latest
1177remote: ++ echo dokku/stockapp:latest
1178remote: + local IMAGE=dokku/stockapp:latest
1179remote: + local IMAGE_SOURCE_TYPE=herokuish
1180remote: + local TMP_WORK_DIR=/tmp/dokku-155642-git_build_app_repo.qIN41O
1181remote: + docker_cleanup stockapp
1182remote: + declare 'desc=cleans up all exited/dead containers and removes all dangling images'
1183remote: + declare APP=stockapp FORCE_CLEANUP=
1184remote: + local DOKKU_APP_SKIP_CLEANUP
1185remote: + /var/lib/dokku/core-plugins/available/common/common --quiet docker-cleanup stockapp
1186remote: ? plugn trigger config-get [stockapp DOKKU_SKIP_CLEANUP]
1187remote: ? plugn trigger config-get stderr: + source /var/lib/dokku/core-plugins/available/common/functions
1188remote: ? plugn trigger config-get stderr: ++ set -eo pipefail
1189remote: ? plugn trigger config-get stderr: ++ [[ -n 1 ]]
1190remote: ? plugn trigger config-get stderr: ++ set -x
1191remote: ? plugn trigger config-get stderr: + [[ ! -n '' ]]
1192remote: ? plugn trigger config-get stderr:
1193remote: ? plugn trigger config-get stdout:
1194-----> Cleaning up...
1195remote: ++ config_get stockapp DOKKU_CNB_EXPERIMENTAL
1196remote: ++ declare 'desc=get value of given config var'
1197remote: ++ config_sub get stockapp DOKKU_CNB_EXPERIMENTAL
1198remote: ++ declare 'desc=executes a config subcommand'
1199remote: ++ local name=get
1200remote: ++ shift
1201remote: ++ /var/lib/dokku/plugins/available/config/subcommands/get config:get stockapp DOKKU_CNB_EXPERIMENTAL
1202remote: ++ true
1203remote: + local DOKKU_CNB_EXPERIMENTAL=
1204remote: + [[ '' == \1 ]]
1205remote: + DOKKU_QUIET_OUTPUT=1
1206remote: + config_set --no-restart stockapp DOKKU_APP_TYPE=herokuish
1207remote: + declare 'desc=set value of given config var'
1208remote: + config_sub set --no-restart stockapp DOKKU_APP_TYPE=herokuish
1209remote: + declare 'desc=executes a config subcommand'
1210remote: + local name=set
1211remote: + shift
1212remote: + /var/lib/dokku/plugins/available/config/subcommands/set config:set --no-restart stockapp DOKKU_APP_TYPE=herokuish
1213remote: ? plugn trigger post-config-update [stockapp set DOKKU_APP_TYPE]
1214remote: + source /var/lib/dokku/core-plugins/available/common/functions
1215remote: ++ set -eo pipefail
1216remote: ++ [[ -n 1 ]]
1217remote: ++ set -x
1218remote: + [[ ! -n '' ]]
1219remote: + dokku_build stockapp herokuish /tmp/dokku-155642-git_build_app_repo.qIN41O
1220remote: + declare 'desc=build phase'
1221remote: + declare APP=stockapp IMAGE_SOURCE_TYPE=herokuish SOURCECODE_WORK_DIR=/tmp/dokku-155642-git_build_app_repo.qIN41O
1222remote: + plugn trigger builder-build herokuish stockapp /tmp/dokku-155642-git_build_app_repo.qIN41O
1223remote: + source /var/lib/dokku/core-plugins/available/common/functions
1224remote: ++ set -eo pipefail
1225remote: ++ [[ -n 1 ]]
1226remote: ++ set -x
1227remote: + [[ ! -n '' ]]
1228remote: + source /var/lib/dokku/plugins/available/config/functions
1229remote: ++ set -eo pipefail
1230remote: ++ [[ -n 1 ]]
1231remote: ++ set -x
1232remote: ++ source /var/lib/dokku/core-plugins/available/common/functions
1233remote: +++ set -eo pipefail
1234remote: +++ [[ -n 1 ]]
1235remote: +++ set -x
1236remote: + source /var/lib/dokku/plugins/available/builder-dockerfile/internal-functions
1237remote: ++ source /var/lib/dokku/core-plugins/available/common/functions
1238remote: +++ set -eo pipefail
1239remote: +++ [[ -n 1 ]]
1240remote: +++ set -x
1241remote: ++ source /var/lib/dokku/core-plugins/available/common/property-functions
1242remote: +++ set -eo pipefail
1243remote: +++ [[ -n 1 ]]
1244remote: +++ set -x
1245remote: ++ set -eo pipefail
1246remote: ++ [[ -n 1 ]]
1247remote: ++ set -x
1248remote: + set -eo pipefail
1249remote: + [[ -n 1 ]]
1250remote: + set -x
1251remote: + trigger-builder-dockerfile-builder-build herokuish stockapp /tmp/dokku-155642-git_build_app_repo.qIN41O
1252remote: + declare 'desc=builder-dockerfile builder-build plugin trigger'
1253remote: + declare trigger=builder-build
1254remote: + declare BUILDER_TYPE=herokuish APP=stockapp SOURCECODE_WORK_DIR=/tmp/dokku-155642-git_build_app_repo.qIN41O
1255remote: + [[ herokuish != \d\o\c\k\e\r\f\i\l\e ]]
1256remote: + return
1257remote: + source /var/lib/dokku/plugins/available/config/functions
1258remote: ++ set -eo pipefail
1259remote: ++ [[ -n 1 ]]
1260remote: ++ set -x
1261remote: ++ source /var/lib/dokku/core-plugins/available/common/functions
1262remote: +++ set -eo pipefail
1263remote: +++ [[ -n 1 ]]
1264remote: +++ set -x
1265remote: + trigger-builder-herokuish-builder-build herokuish stockapp /tmp/dokku-155642-git_build_app_repo.qIN41O
1266remote: + declare 'desc=builder-herokuish builder-build plugin trigger'
1267remote: + declare trigger=builder-build
1268remote: + declare BUILDER_TYPE=herokuish APP=stockapp SOURCECODE_WORK_DIR=/tmp/dokku-155642-git_build_app_repo.qIN41O
1269remote: + [[ herokuish != \h\e\r\o\k\u\i\s\h ]]
1270remote: ++ plugn trigger buildpack-stack-name stockapp
1271remote: ? plugn trigger config-get [stockapp DOKKU_IMAGE]
1272remote: ? plugn trigger config-get stderr: + source /var/lib/dokku/core-plugins/available/common/functions
1273remote: ? plugn trigger config-get stderr: ++ set -eo pipefail
1274remote: ? plugn trigger config-get stderr: ++ [[ -n 1 ]]
1275remote: ? plugn trigger config-get stderr: ++ set -x
1276remote: ? plugn trigger config-get stderr: + [[ ! -n '' ]]
1277remote: ? plugn trigger config-get stderr:
1278remote: ? plugn trigger config-get stdout:
1279remote: + local stack=
1280remote: + [[ -n '' ]]
1281remote: + dokku_log_info1 'Building stockapp from herokuish'
1282remote: + declare 'desc=log info1 formatter'
1283remote: + echo '-----> Building stockapp from herokuish'
1284-----> Building stockapp from herokuish
1285remote: ++ get_app_image_name stockapp
1286remote: ++ declare 'desc=return image identifier for a given app, tag tuple. validate if tag is presented'
1287remote: ++ local APP=stockapp
1288remote: ++ local IMAGE_TAG=
1289remote: ++ IMAGE_REPO=
1290remote: ++ [[ -z '' ]]
1291remote: +++ get_app_image_repo stockapp
1292remote: +++ declare 'desc=central definition of image repo pattern'
1293remote: +++ local APP=stockapp
1294remote: +++ local IMAGE_REPO=dokku/stockapp
1295remote: +++ echo dokku/stockapp
1296remote: ++ IMAGE_REPO=dokku/stockapp
1297remote: ++ [[ -n '' ]]
1298remote: ++ local IMAGE=dokku/stockapp:latest
1299remote: ++ echo dokku/stockapp:latest
1300remote: + local IMAGE=dokku/stockapp:latest
1301remote: + local DOKKU_APP_CACHE_DIR=/home/dokku/stockapp/cache
1302remote: + local DOKKU_APP_HOST_CACHE_DIR=/home/dokku/stockapp/cache
1303remote: + 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")
1304remote: + local DOCKER_COMMIT_LABEL_ARGS
1305remote: + local DOCKER_RUN_LABEL_ARGS=--label=com.dokku.app-name=stockapp
1306remote: + local CID
1307remote: + pushd /tmp/dokku-155642-git_build_app_repo.qIN41O
1308remote: ++ config_export app stockapp
1309remote: ++ declare 'desc=returns export command for config variable of specified type (app/global)'
1310remote: ++ local CONFIG_TYPE=app
1311remote: ++ shift
1312remote: ++ local APP=stockapp
1313remote: ++ [[ app == \g\l\o\b\a\l ]]
1314remote: ++ shift
1315remote: ++ config_sub export stockapp
1316remote: ++ declare 'desc=executes a config subcommand'
1317remote: ++ local name=export
1318remote: ++ shift
1319remote: ++ /var/lib/dokku/plugins/available/config/subcommands/export config:export stockapp
1320remote: ++ return 0
1321remote: + eval 'export DATABASE_URL='\''<redacted>'\''
1322remote: export DOKKU_APP_RESTORE='\''1'\''
1323remote: export DOKKU_APP_TYPE='\''herokuish'\''
1324remote: export DOKKU_DOCKERFILE_PORTS='\''3000'\''
1325remote: export DOKKU_LETSENCRYPT_EMAIL='\''<redacted>'\''
1326remote: export DOKKU_PROXY_PORT_MAP='\''http:80:3000'\''
1327remote: export GIT_REV='\''97a9f7abed61e9c037927e6567360fd1cd1d284c'\''
1328remote: export REDISCLOUD_URL='\''<redacted>'\''
1329remote: export REDIS_URL='\''<redacted>'\'''
1330remote: ++ export DATABASE_URL=<redacted>
1331remote: ++ DATABASE_URL=<redacted>
1332remote: ++ export DOKKU_APP_RESTORE=1
1333remote: ++ DOKKU_APP_RESTORE=1
1334remote: ++ export DOKKU_APP_TYPE=herokuish
1335remote: ++ DOKKU_APP_TYPE=herokuish
1336remote: ++ export DOKKU_DOCKERFILE_PORTS=3000
1337remote: ++ DOKKU_DOCKERFILE_PORTS=3000
1338remote: ++ export DOKKU_LETSENCRYPT_EMAIL=<redacted>
1339remote: ++ DOKKU_LETSENCRYPT_EMAIL=<redacted>
1340remote: ++ export DOKKU_PROXY_PORT_MAP=http:80:3000
1341remote: ++ DOKKU_PROXY_PORT_MAP=http:80:3000
1342remote: ++ export GIT_REV=97a9f7abed61e9c037927e6567360fd1cd1d284c
1343remote: ++ GIT_REV=97a9f7abed61e9c037927e6567360fd1cd1d284c
1344remote: ++ export REDISCLOUD_URL=<redacted>
1345remote: ++ REDISCLOUD_URL=<redacted>
1346remote: ++ export REDIS_URL=<redacted>
1347remote: ++ REDIS_URL=<redacted>
1348remote: + plugn trigger builder-create-dokku-image herokuish stockapp /tmp/dokku-155642-git_build_app_repo.qIN41O gliderlabs/herokuish:latest-20
1349remote: + source /var/lib/dokku/core-plugins/available/common/functions
1350remote: ++ set -eo pipefail
1351remote: ++ [[ -n 1 ]]
1352remote: ++ set -x
1353remote: + [[ ! -n '' ]]
1354remote: ++ plugn trigger builder-dokku-image herokuish stockapp /tmp/dokku-155642-git_build_app_repo.qIN41O gliderlabs/herokuish:latest-20
1355remote: + source /var/lib/dokku/core-plugins/available/common/functions
1356remote: ++ set -eo pipefail
1357remote: ++ [[ -n 1 ]]
1358remote: ++ set -x
1359remote: + [[ ! -n '' ]]
1360remote: + NEW_DOKKU_IMAGE=
1361remote: + [[ -n '' ]]
1362remote: ++ docker container run --label=com.dokku.app-name=stockapp --label=org.label-schema.schema-version=1.0 --label=org.label-schema.vendor=dokku --label=dokku -i -a stdin gliderlabs/herokuish:latest-20 /bin/bash -c 'mkdir -p /app && tar -xC /app'
1363remote: ++ tar -c .
1364remote: + CID=5b87eb90a714fa0a060b338a5f45eb74536460144aa01a5b5127739bfcf1e17c
1365remote: ++ docker container wait 5b87eb90a714fa0a060b338a5f45eb74536460144aa01a5b5127739bfcf1e17c
1366remote: + test 0 -ne 0
1367remote: + 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=stockapp' 5b87eb90a714fa0a060b338a5f45eb74536460144aa01a5b5127739bfcf1e17c dokku/stockapp:latest
1368remote: + DOKKU_SKIP_IMAGE_CLEANUP_REGISTRATION=1
1369remote: + plugn trigger scheduler-register-retired stockapp 5b87eb90a714fa0a060b338a5f45eb74536460144aa01a5b5127739bfcf1e17c
1370remote: + source /var/lib/dokku/core-plugins/available/common/functions
1371remote: ++ set -eo pipefail
1372remote: ++ [[ -n 1 ]]
1373remote: ++ set -x
1374remote: + [[ ! -n '' ]]
1375remote: + source /var/lib/dokku/plugins/available/scheduler-docker-local/internal-functions
1376remote: ++ source /var/lib/dokku/core-plugins/available/common/functions
1377remote: +++ set -eo pipefail
1378remote: +++ [[ -n 1 ]]
1379remote: +++ set -x
1380remote: ++ source /var/lib/dokku/core-plugins/available/common/property-functions
1381remote: +++ set -eo pipefail
1382remote: +++ [[ -n 1 ]]
1383remote: +++ set -x
1384remote: ++ source /var/lib/dokku/plugins/available/config/functions
1385remote: +++ set -eo pipefail
1386remote: +++ [[ -n 1 ]]
1387remote: +++ set -x
1388remote: +++ source /var/lib/dokku/core-plugins/available/common/functions
1389remote: ++++ set -eo pipefail
1390remote: ++++ [[ -n 1 ]]
1391remote: ++++ set -x
1392remote: ++ set -eo pipefail
1393remote: ++ [[ -n 1 ]]
1394remote: ++ set -x
1395remote: + trigger-scheduler-docker-local-scheduler-register-retired stockapp 5b87eb90a714fa0a060b338a5f45eb74536460144aa01a5b5127739bfcf1e17c
1396remote: + declare 'desc=register a container for retiring'
1397remote: + declare trigger=scheduler-register-retired
1398remote: + declare APP=stockapp CONTAINER_ID=5b87eb90a714fa0a060b338a5f45eb74536460144aa01a5b5127739bfcf1e17c WAIT=60
1399remote: + local IMAGE_ID
1400remote: + [[ -z 5b87eb90a714fa0a060b338a5f45eb74536460144aa01a5b5127739bfcf1e17c ]]
1401remote: + [[ '' != \t\r\u\e ]]
1402remote: ++ cut -d: -f2
1403remote: ++ docker container inspect 5b87eb90a714fa0a060b338a5f45eb74536460144aa01a5b5127739bfcf1e17c --format '{{.Image}}'
1404remote: + IMAGE_ID=6e7eec0b99ca381eca89ac485f86e6ea6c7e13e37bf2a43ebe55c4d2c147b4f8
1405remote: + fn-scheduler-docker-local-register-retired container stockapp 5b87eb90a714fa0a060b338a5f45eb74536460144aa01a5b5127739bfcf1e17c 60
1406remote: + declare TYPE=container APP=stockapp DOCKER_ID=5b87eb90a714fa0a060b338a5f45eb74536460144aa01a5b5127739bfcf1e17c WAIT=60
1407remote: + local DEAD_FILE=/var/lib/dokku/data/scheduler-docker-local/dead-containers
1408remote: + [[ container == \i\m\a\g\e ]]
1409remote: + local CURRENT_TIME DEAD_TIME
1410remote: ++ date +%s
1411remote: + CURRENT_TIME=1631084753
1412remote: + DEAD_TIME=1631084813
1413remote: + touch /var/lib/dokku/data/scheduler-docker-local/dead-containers
1414remote: + grep -q 5b87eb90a714fa0a060b338a5f45eb74536460144aa01a5b5127739bfcf1e17c /var/lib/dokku/data/scheduler-docker-local/dead-containers
1415remote: + echo 'stockapp 5b87eb90a714fa0a060b338a5f45eb74536460144aa01a5b5127739bfcf1e17c 1631084813'
1416remote: + [[ -n 6e7eec0b99ca381eca89ac485f86e6ea6c7e13e37bf2a43ebe55c4d2c147b4f8 ]]
1417remote: + [[ -z 1 ]]
1418remote: + [[ -d /home/dokku/stockapp/cache ]]
1419remote: + plugn trigger pre-build-buildpack stockapp /tmp/dokku-155642-git_build_app_repo.qIN41O
1420remote: + source /var/lib/dokku/core-plugins/available/common/functions
1421remote: ++ set -eo pipefail
1422remote: ++ [[ -n 1 ]]
1423remote: ++ set -x
1424remote: + [[ ! -n '' ]]
1425remote: + source /var/lib/dokku/core-plugins/available/common/functions
1426remote: ++ set -eo pipefail
1427remote: ++ [[ -n 1 ]]
1428remote: ++ set -x
1429remote: + source /var/lib/dokku/plugins/available/config/functions
1430remote: ++ set -eo pipefail
1431remote: ++ [[ -n 1 ]]
1432remote: ++ set -x
1433remote: ++ source /var/lib/dokku/core-plugins/available/common/functions
1434remote: +++ set -eo pipefail
1435remote: +++ [[ -n 1 ]]
1436remote: +++ set -x
1437remote: + trigger-builder-herokuish-pre-build-buildpack stockapp /tmp/dokku-155642-git_build_app_repo.qIN41O
1438remote: + declare 'desc=builder-herokuish pre-build-buildpack plugin trigger'
1439remote: + declare trigger=pre-build-buildpack
1440remote: + declare APP=stockapp
1441remote: + local IMAGE CID
1442remote: + 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")
1443remote: + local DOCKER_COMMIT_LABEL_ARGS
1444remote: + local DOCKER_RUN_LABEL_ARGS=--label=com.dokku.app-name=stockapp
1445remote: ++ get_app_image_name stockapp
1446remote: ++ declare 'desc=return image identifier for a given app, tag tuple. validate if tag is presented'
1447remote: ++ local APP=stockapp
1448remote: ++ local IMAGE_TAG=
1449remote: ++ IMAGE_REPO=
1450remote: ++ [[ -z '' ]]
1451remote: +++ get_app_image_repo stockapp
1452remote: +++ declare 'desc=central definition of image repo pattern'
1453remote: +++ local APP=stockapp
1454remote: +++ local IMAGE_REPO=dokku/stockapp
1455remote: +++ echo dokku/stockapp
1456remote: ++ IMAGE_REPO=dokku/stockapp
1457remote: ++ [[ -n '' ]]
1458remote: ++ local IMAGE=dokku/stockapp:latest
1459remote: ++ echo dokku/stockapp:latest
1460remote: + IMAGE=dokku/stockapp:latest
1461remote: ++ config_get --global CURL_CONNECT_TIMEOUT
1462remote: ++ declare 'desc=get value of given config var'
1463remote: ++ config_sub get --global CURL_CONNECT_TIMEOUT
1464remote: ++ declare 'desc=executes a config subcommand'
1465remote: ++ local name=get
1466remote: ++ shift
1467remote: ++ /var/lib/dokku/plugins/available/config/subcommands/get config:get --global CURL_CONNECT_TIMEOUT
1468remote: + [[ -z 180 ]]
1469remote: ++ config_get --global CURL_TIMEOUT
1470remote: ++ declare 'desc=get value of given config var'
1471remote: ++ config_sub get --global CURL_TIMEOUT
1472remote: ++ declare 'desc=executes a config subcommand'
1473remote: ++ local name=get
1474remote: ++ shift
1475remote: ++ /var/lib/dokku/plugins/available/config/subcommands/get config:get --global CURL_TIMEOUT
1476remote: + [[ -z 1200 ]]
1477remote: + dokku_log_info1 'Adding BUILD_ENV to build environment...'
1478remote: + declare 'desc=log info1 formatter'
1479remote: + echo '-----> Adding BUILD_ENV to build environment...'
1480-----> Adding BUILD_ENV to build environment...
1481remote: ++ docker container run --label=com.dokku.app-name=stockapp --label=org.label-schema.schema-version=1.0 --label=org.label-schema.vendor=dokku --label=dokku -i -a stdin dokku/stockapp:latest /bin/bash -c 'mkdir -p /tmp/env; cat | tar -x -C /tmp/env'
1482remote: ++ config_bundle --merged stockapp
1483remote: ++ declare 'desc=export tar bundle of config'
1484remote: ++ config_sub bundle --merged stockapp
1485remote: ++ declare 'desc=executes a config subcommand'
1486remote: ++ local name=bundle
1487remote: ++ shift
1488remote: ++ /var/lib/dokku/plugins/available/config/subcommands/bundle config:bundle --merged stockapp
1489remote: + CID=bf9e205402e51fa03ff066766faad24952ff7162ae8f5edadbd0365e0bc32889
1490remote: ++ docker container wait bf9e205402e51fa03ff066766faad24952ff7162ae8f5edadbd0365e0bc32889
1491remote: + test 0 -ne 0
1492remote: + 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=stockapp' bf9e205402e51fa03ff066766faad24952ff7162ae8f5edadbd0365e0bc32889 dokku/stockapp:latest
1493remote: + plugn trigger scheduler-register-retired stockapp bf9e205402e51fa03ff066766faad24952ff7162ae8f5edadbd0365e0bc32889
1494remote: + source /var/lib/dokku/core-plugins/available/common/functions
1495remote: ++ set -eo pipefail
1496remote: ++ [[ -n 1 ]]
1497remote: ++ set -x
1498remote: + [[ ! -n '' ]]
1499remote: + source /var/lib/dokku/plugins/available/scheduler-docker-local/internal-functions
1500remote: ++ source /var/lib/dokku/core-plugins/available/common/functions
1501remote: +++ set -eo pipefail
1502remote: +++ [[ -n 1 ]]
1503remote: +++ set -x
1504remote: ++ source /var/lib/dokku/core-plugins/available/common/property-functions
1505remote: +++ set -eo pipefail
1506remote: +++ [[ -n 1 ]]
1507remote: +++ set -x
1508remote: ++ source /var/lib/dokku/plugins/available/config/functions
1509remote: +++ set -eo pipefail
1510remote: +++ [[ -n 1 ]]
1511remote: +++ set -x
1512remote: +++ source /var/lib/dokku/core-plugins/available/common/functions
1513remote: ++++ set -eo pipefail
1514remote: ++++ [[ -n 1 ]]
1515remote: ++++ set -x
1516remote: ++ set -eo pipefail
1517remote: ++ [[ -n 1 ]]
1518remote: ++ set -x
1519remote: + trigger-scheduler-docker-local-scheduler-register-retired stockapp bf9e205402e51fa03ff066766faad24952ff7162ae8f5edadbd0365e0bc32889
1520remote: + declare 'desc=register a container for retiring'
1521remote: + declare trigger=scheduler-register-retired
1522remote: + declare APP=stockapp CONTAINER_ID=bf9e205402e51fa03ff066766faad24952ff7162ae8f5edadbd0365e0bc32889 WAIT=60
1523remote: + local IMAGE_ID
1524remote: + [[ -z bf9e205402e51fa03ff066766faad24952ff7162ae8f5edadbd0365e0bc32889 ]]
1525remote: + [[ '' != \t\r\u\e ]]
1526remote: ++ cut -d: -f2
1527remote: ++ docker container inspect bf9e205402e51fa03ff066766faad24952ff7162ae8f5edadbd0365e0bc32889 --format '{{.Image}}'
1528remote: + IMAGE_ID=9cab3d5fd7fd95dd1ffd657d2c921a02a20ef7488843df55384f259c12ccdb26
1529remote: + fn-scheduler-docker-local-register-retired container stockapp bf9e205402e51fa03ff066766faad24952ff7162ae8f5edadbd0365e0bc32889 60
1530remote: + declare TYPE=container APP=stockapp DOCKER_ID=bf9e205402e51fa03ff066766faad24952ff7162ae8f5edadbd0365e0bc32889 WAIT=60
1531remote: + local DEAD_FILE=/var/lib/dokku/data/scheduler-docker-local/dead-containers
1532remote: + [[ container == \i\m\a\g\e ]]
1533remote: + local CURRENT_TIME DEAD_TIME
1534remote: ++ date +%s
1535remote: + CURRENT_TIME=1631084756
1536remote: + DEAD_TIME=1631084816
1537remote: + touch /var/lib/dokku/data/scheduler-docker-local/dead-containers
1538remote: + grep -q bf9e205402e51fa03ff066766faad24952ff7162ae8f5edadbd0365e0bc32889 /var/lib/dokku/data/scheduler-docker-local/dead-containers
1539remote: + echo 'stockapp bf9e205402e51fa03ff066766faad24952ff7162ae8f5edadbd0365e0bc32889 1631084816'
1540remote: + [[ -n 9cab3d5fd7fd95dd1ffd657d2c921a02a20ef7488843df55384f259c12ccdb26 ]]
1541remote: + [[ -z '' ]]
1542remote: + fn-scheduler-docker-local-register-retired image stockapp 9cab3d5fd7fd95dd1ffd657d2c921a02a20ef7488843df55384f259c12ccdb26 60
1543remote: + declare TYPE=image APP=stockapp DOCKER_ID=9cab3d5fd7fd95dd1ffd657d2c921a02a20ef7488843df55384f259c12ccdb26 WAIT=60
1544remote: + local DEAD_FILE=/var/lib/dokku/data/scheduler-docker-local/dead-containers
1545remote: + [[ image == \i\m\a\g\e ]]
1546remote: + local DEAD_FILE=/var/lib/dokku/data/scheduler-docker-local/dead-images
1547remote: + local CURRENT_TIME DEAD_TIME
1548remote: ++ date +%s
1549remote: + CURRENT_TIME=1631084756
1550remote: + DEAD_TIME=1631084816
1551remote: + touch /var/lib/dokku/data/scheduler-docker-local/dead-images
1552remote: + grep -q 9cab3d5fd7fd95dd1ffd657d2c921a02a20ef7488843df55384f259c12ccdb26 /var/lib/dokku/data/scheduler-docker-local/dead-images
1553remote: + echo 'stockapp 9cab3d5fd7fd95dd1ffd657d2c921a02a20ef7488843df55384f259c12ccdb26 1631084816'
1554remote: ++ docker container run --label=com.dokku.app-name=stockapp --label=org.label-schema.schema-version=1.0 --label=org.label-schema.vendor=dokku --label=dokku -i -a stdin dokku/stockapp:latest /bin/bash -c 'cat >> /app/.env'
1555remote: ++ config_export app stockapp --format envfile --merged
1556remote: ++ declare 'desc=returns export command for config variable of specified type (app/global)'
1557remote: ++ local CONFIG_TYPE=app
1558remote: ++ shift
1559remote: ++ local APP=stockapp
1560remote: ++ [[ app == \g\l\o\b\a\l ]]
1561remote: ++ shift
1562remote: ++ config_sub export --format envfile --merged stockapp
1563remote: ++ declare 'desc=executes a config subcommand'
1564remote: ++ local name=export
1565remote: ++ shift
1566remote: ++ /var/lib/dokku/plugins/available/config/subcommands/export config:export --format envfile --merged stockapp
1567remote: ++ return 0
1568remote: + CID=99ae7a3d672833cefd6d8436b2eb7507b77d393a099ad881f7920edcb96420a4
1569remote: ++ docker container wait 99ae7a3d672833cefd6d8436b2eb7507b77d393a099ad881f7920edcb96420a4
1570remote: + test 0 -ne 0
1571remote: + 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=stockapp' 99ae7a3d672833cefd6d8436b2eb7507b77d393a099ad881f7920edcb96420a4 dokku/stockapp:latest
1572remote: + plugn trigger scheduler-register-retired stockapp 99ae7a3d672833cefd6d8436b2eb7507b77d393a099ad881f7920edcb96420a4
1573remote: + source /var/lib/dokku/core-plugins/available/common/functions
1574remote: ++ set -eo pipefail
1575remote: ++ [[ -n 1 ]]
1576remote: ++ set -x
1577remote: + [[ ! -n '' ]]
1578remote: + source /var/lib/dokku/plugins/available/scheduler-docker-local/internal-functions
1579remote: ++ source /var/lib/dokku/core-plugins/available/common/functions
1580remote: +++ set -eo pipefail
1581remote: +++ [[ -n 1 ]]
1582remote: +++ set -x
1583remote: ++ source /var/lib/dokku/core-plugins/available/common/property-functions
1584remote: +++ set -eo pipefail
1585remote: +++ [[ -n 1 ]]
1586remote: +++ set -x
1587remote: ++ source /var/lib/dokku/plugins/available/config/functions
1588remote: +++ set -eo pipefail
1589remote: +++ [[ -n 1 ]]
1590remote: +++ set -x
1591remote: +++ source /var/lib/dokku/core-plugins/available/common/functions
1592remote: ++++ set -eo pipefail
1593remote: ++++ [[ -n 1 ]]
1594remote: ++++ set -x
1595remote: ++ set -eo pipefail
1596remote: ++ [[ -n 1 ]]
1597remote: ++ set -x
1598remote: + trigger-scheduler-docker-local-scheduler-register-retired stockapp 99ae7a3d672833cefd6d8436b2eb7507b77d393a099ad881f7920edcb96420a4
1599remote: + declare 'desc=register a container for retiring'
1600remote: + declare trigger=scheduler-register-retired
1601remote: + declare APP=stockapp CONTAINER_ID=99ae7a3d672833cefd6d8436b2eb7507b77d393a099ad881f7920edcb96420a4 WAIT=60
1602remote: + local IMAGE_ID
1603remote: + [[ -z 99ae7a3d672833cefd6d8436b2eb7507b77d393a099ad881f7920edcb96420a4 ]]
1604remote: + [[ '' != \t\r\u\e ]]
1605remote: ++ cut -d: -f2
1606remote: ++ docker container inspect 99ae7a3d672833cefd6d8436b2eb7507b77d393a099ad881f7920edcb96420a4 --format '{{.Image}}'
1607remote: + IMAGE_ID=94dae075e980910d0ca162aa119c9250b4724337f16fd8069ea4dbd7c4c654a8
1608remote: + fn-scheduler-docker-local-register-retired container stockapp 99ae7a3d672833cefd6d8436b2eb7507b77d393a099ad881f7920edcb96420a4 60
1609remote: + declare TYPE=container APP=stockapp DOCKER_ID=99ae7a3d672833cefd6d8436b2eb7507b77d393a099ad881f7920edcb96420a4 WAIT=60
1610remote: + local DEAD_FILE=/var/lib/dokku/data/scheduler-docker-local/dead-containers
1611remote: + [[ container == \i\m\a\g\e ]]
1612remote: + local CURRENT_TIME DEAD_TIME
1613remote: ++ date +%s
1614remote: + CURRENT_TIME=1631084758
1615remote: + DEAD_TIME=1631084818
1616remote: + touch /var/lib/dokku/data/scheduler-docker-local/dead-containers
1617remote: + grep -q 99ae7a3d672833cefd6d8436b2eb7507b77d393a099ad881f7920edcb96420a4 /var/lib/dokku/data/scheduler-docker-local/dead-containers
1618remote: + echo 'stockapp 99ae7a3d672833cefd6d8436b2eb7507b77d393a099ad881f7920edcb96420a4 1631084818'
1619remote: + [[ -n 94dae075e980910d0ca162aa119c9250b4724337f16fd8069ea4dbd7c4c654a8 ]]
1620remote: + [[ -z '' ]]
1621remote: + fn-scheduler-docker-local-register-retired image stockapp 94dae075e980910d0ca162aa119c9250b4724337f16fd8069ea4dbd7c4c654a8 60
1622remote: + declare TYPE=image APP=stockapp DOCKER_ID=94dae075e980910d0ca162aa119c9250b4724337f16fd8069ea4dbd7c4c654a8 WAIT=60
1623remote: + local DEAD_FILE=/var/lib/dokku/data/scheduler-docker-local/dead-containers
1624remote: + [[ image == \i\m\a\g\e ]]
1625remote: + local DEAD_FILE=/var/lib/dokku/data/scheduler-docker-local/dead-images
1626remote: + local CURRENT_TIME DEAD_TIME
1627remote: ++ date +%s
1628remote: + CURRENT_TIME=1631084758
1629remote: + DEAD_TIME=1631084818
1630remote: + touch /var/lib/dokku/data/scheduler-docker-local/dead-images
1631remote: + grep -q 94dae075e980910d0ca162aa119c9250b4724337f16fd8069ea4dbd7c4c654a8 /var/lib/dokku/data/scheduler-docker-local/dead-images
1632remote: + echo 'stockapp 94dae075e980910d0ca162aa119c9250b4724337f16fd8069ea4dbd7c4c654a8 1631084818'
1633remote: ++ plugn trigger docker-args-build stockapp herokuish
1634remote: ++ :
1635remote: + source /var/lib/dokku/core-plugins/available/common/functions
1636remote: ++ set -eo pipefail
1637remote: ++ [[ -n 1 ]]
1638remote: ++ set -x
1639remote: + [[ ! -n '' ]]
1640remote: + source /var/lib/dokku/plugins/available/config/functions
1641remote: ++ set -eo pipefail
1642remote: ++ [[ -n 1 ]]
1643remote: ++ set -x
1644remote: ++ source /var/lib/dokku/core-plugins/available/common/functions
1645remote: +++ set -eo pipefail
1646remote: +++ [[ -n 1 ]]
1647remote: +++ set -x
1648remote: + trigger-builder-herokuish-docker-args stockapp herokuish
1649remote: + declare 'desc=builder-herokuish docker-args plugin trigger'
1650remote: + declare trigger=docker-args
1651remote: + declare APP=stockapp
1652remote: + local STDIN DOKKU_APP_TYPE DOKKU_APP_USER
1653remote: ++ cat
1654remote: + STDIN=
1655remote: ++ config_get stockapp DOKKU_APP_TYPE
1656remote: ++ declare 'desc=get value of given config var'
1657remote: ++ config_sub get stockapp DOKKU_APP_TYPE
1658remote: ++ declare 'desc=executes a config subcommand'
1659remote: ++ local name=get
1660remote: ++ shift
1661remote: ++ /var/lib/dokku/plugins/available/config/subcommands/get config:get stockapp DOKKU_APP_TYPE
1662remote: + DOKKU_APP_TYPE=herokuish
1663remote: ++ config_get stockapp DOKKU_APP_USER
1664remote: ++ declare 'desc=get value of given config var'
1665remote: ++ config_sub get stockapp DOKKU_APP_USER
1666remote: ++ declare 'desc=executes a config subcommand'
1667remote: ++ local name=get
1668remote: ++ shift
1669remote: ++ /var/lib/dokku/plugins/available/config/subcommands/get config:get stockapp DOKKU_APP_USER
1670remote: ++ true
1671remote: + DOKKU_APP_USER=
1672remote: + DOKKU_APP_USER=herokuishuser
1673remote: + [[ herokuish == \h\e\r\o\k\u\i\s\h ]]
1674remote: + local 'docker_args= --env=USER=herokuishuser'
1675remote: + echo -n ' --env=USER=herokuishuser'
1676remote: + trigger-docker-options-docker-args stockapp herokuish
1677remote: + declare 'desc=docker args plugin trigger'
1678remote: + declare trigger=/var/lib/dokku/plugins/enabled/docker-options/docker-args-build
1679remote: + declare APP=stockapp IMAGE_SOURCE_TYPE=herokuish
1680remote: ++ cat
1681remote: + local STDIN=
1682remote: + case "$0" in
1683remote: + local PHASE=BUILD
1684remote: + local FILE_PREFIX=DOCKER_OPTIONS_
1685remote: + local PHASE_FILE_PATH=/home/dokku/stockapp/DOCKER_OPTIONS_BUILD
1686remote: + local output=
1687remote: + [[ -f /home/dokku/stockapp/DOCKER_OPTIONS_BUILD ]]
1688remote: + local DONE=false
1689remote: + false
1690remote: + local line
1691remote: + read -r line
1692remote: + [[ -z --link dokku.postgres.stocksavvy_production:dokku-postgres-stocksavvy-production ]]
1693remote: + case "$line" in
1694remote: + case "$IMAGE_SOURCE_TYPE" in
1695remote: + case "$line" in
1696remote: + local 'output= --link dokku.postgres.stocksavvy_production:dokku-postgres-stocksavvy-production'
1697remote: + false
1698remote: + local line
1699remote: + read -r line
1700remote: + [[ -z --link dokku.redis.stockred:dokku-redis-stockred ]]
1701remote: + case "$line" in
1702remote: + case "$IMAGE_SOURCE_TYPE" in
1703remote: + case "$line" in
1704remote: + local 'output= --link dokku.postgres.stocksavvy_production:dokku-postgres-stocksavvy-production --link dokku.redis.stockred:dokku-redis-stockred'
1705remote: + false
1706remote: + local line
1707remote: + read -r line
1708remote: + local DONE=true
1709remote: + [[ -z '' ]]
1710remote: + continue
1711remote: + true
1712remote: + echo -n ' --link dokku.postgres.stocksavvy_production:dokku-postgres-stocksavvy-production --link dokku.redis.stockred:dokku-redis-stockred'
1713remote: + local 'DOCKER_ARGS= --env=USER=herokuishuser --link dokku.postgres.stocksavvy_production:dokku-postgres-stocksavvy-production --link dokku.redis.stockred:dokku-redis-stockred'
1714remote: + [[ -n 1 ]]
1715remote: + DOCKER_ARGS+=' --env=TRACE=true '
1716remote: ++ plugn trigger docker-args-process-build stockapp herokuish
1717remote: ++ :
1718remote: + source /var/lib/dokku/core-plugins/available/common/functions
1719remote: ++ set -eo pipefail
1720remote: ++ [[ -n 1 ]]
1721remote: ++ set -x
1722remote: + [[ ! -n '' ]]
1723remote: + DOCKER_ARGS+=
1724remote: + declare -a ARG_ARRAY
1725remote: + eval 'ARG_ARRAY=( --env=USER=herokuishuser --link dokku.postgres.stocksavvy_production:dokku-postgres-stocksavvy-production --link dokku.redis.stockred:dokku-redis-stockred --env=TRACE=true )'
1726remote: ++ ARG_ARRAY=(--env=USER=herokuishuser --link dokku.postgres.stocksavvy_production:dokku-postgres-stocksavvy-production --link dokku.redis.stockred:dokku-redis-stockred --env=TRACE=true)
1727remote: + local DOKKU_CONTAINER_EXIT_CODE=0
1728remote: ++ docker container create --label=com.dokku.app-name=stockapp --label=org.label-schema.schema-version=1.0 --label=org.label-schema.vendor=dokku --label=dokku -v /home/dokku/stockapp/cache:/cache --env=CACHE_PATH=/cache --env=USER=herokuishuser --link dokku.postgres.stocksavvy_production:dokku-postgres-stocksavvy-production --link dokku.redis.stockred:dokku-redis-stockred --env=TRACE=true dokku/stockapp:latest /build
1729remote: + local CID=cba3cfc04e15d353441ffe32409055191442364451454f6beebf7a1a3f4464f0
1730remote: + plugn trigger post-container-create app cba3cfc04e15d353441ffe32409055191442364451454f6beebf7a1a3f4464f0 stockapp build
1731remote: + source /var/lib/dokku/core-plugins/available/common/functions
1732remote: ++ set -eo pipefail
1733remote: ++ [[ -n 1 ]]
1734remote: ++ set -x
1735remote: + [[ ! -n '' ]]
1736remote: + docker container start cba3cfc04e15d353441ffe32409055191442364451454f6beebf7a1a3f4464f0
1737remote: + docker container attach cba3cfc04e15d353441ffe32409055191442364451454f6beebf7a1a3f4464f0
1738remote: :
1739remote: ++ for k in "${!CMDS[@]}"
1740remote: ++ echo :buildpack
1741remote: ++ for k in "${!CMDS[@]}"
1742remote: ++ echo buildpack
1743remote: ++ for k in "${!CMDS[@]}"
1744remote: ++ echo :version
1745remote: ++ for k in "${!CMDS[@]}"
1746remote: ++ echo buildpack:build
1747remote: ++ for k in "${!CMDS[@]}"
1748remote: ++ echo :paths
1749remote: ++ for k in "${!CMDS[@]}"
1750remote: ++ echo :help
1751remote: ++ for k in "${!CMDS[@]}"
1752remote: ++ echo :test
1753remote: ++ for k in "${!CMDS[@]}"
1754remote: ++ echo buildpack:install
1755remote: + for n in $(cmd-list-ns)
1756remote: + grep '^buildpack-'
1757remote: + echo buildpack-list
1758remote: + ns=buildpack
1759remote: + CMDS["$ns:${as/#$ns-/}"]=buildpack-list
1760remote: + cmd-export buildpack-test
1761remote: + declare 'desc=Exports a function as a command'
1762remote: + declare fn=buildpack-test as=buildpack-test
1763remote: + local ns=
1764remote: ++ cmd-list-ns
1765remote: ++ sort
1766remote: ++ grep -v :
1767remote: ++ for k in "${!CMDS[@]}"
1768remote: ++ echo :buildpack
1769remote: ++ for k in "${!CMDS[@]}"
1770remote: ++ echo buildpack
1771remote: ++ for k in "${!CMDS[@]}"
1772remote: ++ echo :version
1773remote: ++ for k in "${!CMDS[@]}"
1774remote: ++ echo buildpack:build
1775remote: ++ for k in "${!CMDS[@]}"
1776remote: ++ echo :paths
1777remote: ++ for k in "${!CMDS[@]}"
1778remote: ++ echo buildpack:list
1779remote: ++ for k in "${!CMDS[@]}"
1780remote: ++ echo :help
1781remote: ++ for k in "${!CMDS[@]}"
1782remote: ++ echo :test
1783remote: ++ for k in "${!CMDS[@]}"
1784remote: ++ echo buildpack:install
1785remote: + for n in $(cmd-list-ns)
1786remote: + grep '^buildpack-'
1787remote: + echo buildpack-test
1788remote: + ns=buildpack
1789remote: + CMDS["$ns:${as/#$ns-/}"]=buildpack-test
1790remote: + cmd-export-ns slug 'Manage application slugs'
1791remote: + declare ns=slug 'desc=Manage application slugs'
1792remote: + eval 'slug() {
1793remote: declare desc="Manage application slugs"
1794remote: cmd-ns slug "$@";
1795remote: }'
1796remote: + cmd-export slug
1797remote: + declare 'desc=Exports a function as a command'
1798remote: + declare fn=slug as=slug
1799remote: + local ns=
1800remote: ++ cmd-list-ns
1801remote: ++ sort
1802remote: ++ grep -v :
1803remote: ++ for k in "${!CMDS[@]}"
1804remote: ++ echo :buildpack
1805remote: ++ for k in "${!CMDS[@]}"
1806remote: ++ echo buildpack
1807remote: ++ for k in "${!CMDS[@]}"
1808remote: ++ echo :version
1809remote: ++ for k in "${!CMDS[@]}"
1810remote: ++ echo buildpack:build
1811remote: ++ for k in "${!CMDS[@]}"
1812remote: ++ echo buildpack:test
1813remote: ++ for k in "${!CMDS[@]}"
1814remote: ++ echo :paths
1815remote: ++ for k in "${!CMDS[@]}"
1816remote: ++ echo buildpack:list
1817remote: ++ for k in "${!CMDS[@]}"
1818remote: ++ echo :help
1819remote: ++ for k in "${!CMDS[@]}"
1820remote: ++ echo :test
1821remote: ++ for k in "${!CMDS[@]}"
1822remote: ++ echo buildpack:install
1823remote: + for n in $(cmd-list-ns)
1824remote: + grep '^buildpack-'
1825remote: + echo slug
1826remote: + CMDS["$ns:${as/#$ns-/}"]=slug
1827remote: + CMDS["$1"]=slug
1828remote: + cmd-export slug-import
1829remote: + declare 'desc=Exports a function as a command'
1830remote: + declare fn=slug-import as=slug-import
1831remote: + local ns=
1832remote: ++ cmd-list-ns
1833remote: ++ sort
1834remote: ++ grep -v :
1835remote: ++ for k in "${!CMDS[@]}"
1836remote: ++ echo :slug
1837remote: ++ for k in "${!CMDS[@]}"
1838remote: ++ echo slug
1839remote: ++ for k in "${!CMDS[@]}"
1840remote: ++ echo :buildpack
1841remote: ++ for k in "${!CMDS[@]}"
1842remote: ++ echo buildpack
1843remote: ++ for k in "${!CMDS[@]}"
1844remote: ++ echo :version
1845remote: ++ for k in "${!CMDS[@]}"
1846remote: ++ echo buildpack:build
1847remote: ++ for k in "${!CMDS[@]}"
1848remote: ++ echo buildpack:test
1849remote: ++ for k in "${!CMDS[@]}"
1850remote: ++ echo :paths
1851remote: ++ for k in "${!CMDS[@]}"
1852remote: ++ echo buildpack:list
1853remote: ++ for k in "${!CMDS[@]}"
1854remote: ++ echo :help
1855remote: ++ for k in "${!CMDS[@]}"
1856remote: ++ echo :test
1857remote: ++ for k in "${!CMDS[@]}"
1858remote: ++ echo buildpack:install
1859remote: + for n in $(cmd-list-ns)
1860remote: + grep '^buildpack-'
1861remote: + echo slug-import
1862remote: + for n in $(cmd-list-ns)
1863remote: + grep '^slug-'
1864remote: + echo slug-import
1865remote: + ns=slug
1866remote: + CMDS["$ns:${as/#$ns-/}"]=slug-import
1867remote: + cmd-export slug-generate
1868remote: + declare 'desc=Exports a function as a command'
1869remote: + declare fn=slug-generate as=slug-generate
1870remote: + local ns=
1871remote: ++ cmd-list-ns
1872remote: ++ ++ sort
1873remote: grep -v :
1874remote: ++ for k in "${!CMDS[@]}"
1875remote: ++ echo :slug
1876remote: ++ for k in "${!CMDS[@]}"
1877remote: ++ echo slug
1878remote: ++ for k in "${!CMDS[@]}"
1879remote: ++ echo :buildpack
1880remote: ++ for k in "${!CMDS[@]}"
1881remote: ++ echo buildpack
1882remote: ++ for k in "${!CMDS[@]}"
1883remote: ++ echo :version
1884remote: ++ for k in "${!CMDS[@]}"
1885remote: ++ echo buildpack:build
1886remote: ++ for k in "${!CMDS[@]}"
1887remote: ++ echo buildpack:test
1888remote: ++ for k in "${!CMDS[@]}"
1889remote: ++ echo :paths
1890remote: ++ for k in "${!CMDS[@]}"
1891remote: ++ echo buildpack:list
1892remote: ++ for k in "${!CMDS[@]}"
1893remote: ++ echo slug:import
1894remote: ++ for k in "${!CMDS[@]}"
1895remote: ++ echo :help
1896remote: ++ for k in "${!CMDS[@]}"
1897remote: ++ echo :test
1898remote: ++ for k in "${!CMDS[@]}"
1899remote: ++ echo buildpack:install
1900remote: + for n in $(cmd-list-ns)
1901remote: + grep '^buildpack-'
1902remote: + echo slug-generate
1903remote: + for n in $(cmd-list-ns)
1904remote: + grep '^slug-'
1905remote: + echo slug-generate
1906remote: + ns=slug
1907remote: + CMDS["$ns:${as/#$ns-/}"]=slug-generate
1908remote: + cmd-export slug-export
1909remote: + declare 'desc=Exports a function as a command'
1910remote: + declare fn=slug-export as=slug-export
1911remote: + local ns=
1912remote: ++ cmd-list-ns
1913remote: ++ sort
1914remote: ++ grep -v :
1915remote: ++ for k in "${!CMDS[@]}"
1916remote: ++ echo :slug
1917remote: ++ for k in "${!CMDS[@]}"
1918remote: ++ echo slug
1919remote: ++ for k in "${!CMDS[@]}"
1920remote: ++ echo slug:generate
1921remote: ++ for k in "${!CMDS[@]}"
1922remote: ++ echo :buildpack
1923remote: ++ for k in "${!CMDS[@]}"
1924remote: ++ echo buildpack
1925remote: ++ for k in "${!CMDS[@]}"
1926remote: ++ echo :version
1927remote: ++ for k in "${!CMDS[@]}"
1928remote: ++ echo buildpack:build
1929remote: ++ for k in "${!CMDS[@]}"
1930remote: ++ echo buildpack:test
1931remote: ++ for k in "${!CMDS[@]}"
1932remote: ++ echo :paths
1933remote: ++ for k in "${!CMDS[@]}"
1934remote: ++ echo buildpack:list
1935remote: ++ for k in "${!CMDS[@]}"
1936remote: ++ echo slug:import
1937remote: ++ for k in "${!CMDS[@]}"
1938remote: ++ echo :help
1939remote: ++ for k in "${!CMDS[@]}"
1940remote: ++ echo :test
1941remote: ++ for k in "${!CMDS[@]}"
1942remote: ++ echo buildpack:install
1943remote: + for n in $(cmd-list-ns)
1944remote: + grep '^buildpack-'
1945remote: + echo slug-export
1946remote: + for n in $(cmd-list-ns)
1947remote: + grep '^slug-'
1948remote: + echo slug-export
1949remote: + ns=slug
1950remote: + CMDS["$ns:${as/#$ns-/}"]=slug-export
1951remote: + cmd-export-ns procfile 'Use Procfiles and run app commands'
1952remote: + declare ns=procfile 'desc=Use Procfiles and run app commands'
1953remote: + eval 'procfile() {
1954remote: declare desc="Use Procfiles and run app commands"
1955remote: cmd-ns procfile "$@";
1956remote: }'
1957remote: + cmd-export procfile
1958remote: + declare 'desc=Exports a function as a command'
1959remote: + declare fn=procfile as=procfile
1960remote: + local ns=
1961remote: ++ cmd-list-ns
1962remote: ++ sort
1963remote: ++ grep -v :
1964remote: ++ for k in "${!CMDS[@]}"
1965remote: ++ echo :slug
1966remote: ++ for k in "${!CMDS[@]}"
1967remote: ++ echo slug:export
1968remote: ++ for k in "${!CMDS[@]}"
1969remote: ++ echo slug
1970remote: ++ for k in "${!CMDS[@]}"
1971remote: ++ echo slug:generate
1972remote: ++ for k in "${!CMDS[@]}"
1973remote: ++ echo :buildpack
1974remote: ++ for k in "${!CMDS[@]}"
1975remote: ++ echo buildpack
1976remote: ++ for k in "${!CMDS[@]}"
1977remote: ++ echo :version
1978remote: ++ for k in "${!CMDS[@]}"
1979remote: ++ echo buildpack:build
1980remote: ++ for k in "${!CMDS[@]}"
1981remote: ++ echo buildpack:test
1982remote: ++ for k in "${!CMDS[@]}"
1983remote: ++ echo :paths
1984remote: ++ for k in "${!CMDS[@]}"
1985remote: ++ echo buildpack:list
1986remote: ++ for k in "${!CMDS[@]}"
1987remote: ++ echo slug:import
1988remote: ++ for k in "${!CMDS[@]}"
1989remote: ++ echo :help
1990remote: ++ for k in "${!CMDS[@]}"
1991remote: ++ echo :test
1992remote: ++ for k in "${!CMDS[@]}"
1993remote: ++ echo buildpack:install
1994remote: + for n in $(cmd-list-ns)
1995remote: + grep '^buildpack-'
1996remote: + echo procfile
1997remote: + for n in $(cmd-list-ns)
1998remote: + grep '^slug-'
1999remote: + echo procfile
2000remote: + CMDS["$ns:${as/#$ns-/}"]=procfile
2001remote: + CMDS["$1"]=procfile
2002remote: + cmd-export procfile-start
2003remote: + declare 'desc=Exports a function as a command'
2004remote: + declare fn=procfile-start as=procfile-start
2005remote: + local ns=
2006remote: ++ cmd-list-ns
2007remote: ++ sort
2008remote: ++ grep -v :
2009remote: ++ for k in "${!CMDS[@]}"
2010remote: ++ echo :slug
2011remote: ++ for k in "${!CMDS[@]}"
2012remote: ++ echo slug:export
2013remote: ++ for k in "${!CMDS[@]}"
2014remote: ++ echo slug
2015remote: ++ for k in "${!CMDS[@]}"
2016remote: ++ echo :procfile
2017remote: ++ for k in "${!CMDS[@]}"
2018remote: ++ echo slug:generate
2019remote: ++ for k in "${!CMDS[@]}"
2020remote: ++ echo :buildpack
2021remote: ++ for k in "${!CMDS[@]}"
2022remote: ++ echo procfile
2023remote: ++ for k in "${!CMDS[@]}"
2024remote: ++ echo buildpack
2025remote: ++ for k in "${!CMDS[@]}"
2026remote: ++ echo :version
2027remote: ++ for k in "${!CMDS[@]}"
2028remote: ++ echo buildpack:build
2029remote: ++ for k in "${!CMDS[@]}"
2030remote: ++ echo buildpack:test
2031remote: ++ for k in "${!CMDS[@]}"
2032remote: ++ echo :paths
2033remote: ++ for k in "${!CMDS[@]}"
2034remote: ++ echo buildpack:list
2035remote: ++ for k in "${!CMDS[@]}"
2036remote: ++ echo slug:import
2037remote: ++ for k in "${!CMDS[@]}"
2038remote: ++ echo :help
2039remote: ++ for k in "${!CMDS[@]}"
2040remote: ++ echo :test
2041remote: ++ for k in "${!CMDS[@]}"
2042remote: ++ echo buildpack:install
2043remote: + for n in $(cmd-list-ns)
2044remote: + grep '^buildpack-'
2045remote: + echo procfile-start
2046remote: + for n in $(cmd-list-ns)
2047remote: + echo procfile-start
2048remote: + grep '^procfile-'
2049remote: + ns=procfile
2050remote: + for n in $(cmd-list-ns)
2051remote: + grep '^slug-'
2052remote: + echo procfile-start
2053remote: + CMDS["$ns:${as/#$ns-/}"]=procfile-start
2054remote: + cmd-export procfile-exec
2055remote: + declare 'desc=Exports a function as a command'
2056remote: + declare fn=procfile-exec as=procfile-exec
2057remote: + local ns=
2058remote: ++ cmd-list-ns
2059remote: ++ sort
2060remote: ++ grep -v :
2061remote: ++ for k in "${!CMDS[@]}"
2062remote: ++ echo :slug
2063remote: ++ for k in "${!CMDS[@]}"
2064remote: ++ echo slug:export
2065remote: ++ for k in "${!CMDS[@]}"
2066remote: ++ echo slug
2067remote: ++ for k in "${!CMDS[@]}"
2068remote: ++ echo :procfile
2069remote: ++ for k in "${!CMDS[@]}"
2070remote: ++ echo slug:generate
2071remote: ++ for k in "${!CMDS[@]}"
2072remote: ++ echo procfile:start
2073remote: ++ for k in "${!CMDS[@]}"
2074remote: ++ echo :buildpack
2075remote: ++ for k in "${!CMDS[@]}"
2076remote: ++ echo procfile
2077remote: ++ for k in "${!CMDS[@]}"
2078remote: ++ echo buildpack
2079remote: ++ for k in "${!CMDS[@]}"
2080remote: ++ echo :version
2081remote: ++ for k in "${!CMDS[@]}"
2082remote: ++ echo buildpack:build
2083remote: ++ for k in "${!CMDS[@]}"
2084remote: ++ echo buildpack:test
2085remote: ++ for k in "${!CMDS[@]}"
2086remote: ++ echo :paths
2087remote: ++ for k in "${!CMDS[@]}"
2088remote: ++ echo buildpack:list
2089remote: ++ for k in "${!CMDS[@]}"
2090remote: ++ echo slug:import
2091remote: ++ for k in "${!CMDS[@]}"
2092remote: ++ echo :help
2093remote: ++ for k in "${!CMDS[@]}"
2094remote: ++ echo :test
2095remote: ++ for k in "${!CMDS[@]}"
2096remote: ++ echo buildpack:install
2097remote: + for n in $(cmd-list-ns)
2098remote: + grep '^buildpack-'
2099remote: + echo procfile-exec
2100remote: + for n in $(cmd-list-ns)
2101remote: + grep '^procfile-'
2102remote: + echo procfile-exec
2103remote: + ns=procfile
2104remote: + for n in $(cmd-list-ns)
2105remote: + grep '^slug-'
2106remote: + echo procfile-exec
2107remote: + CMDS["$ns:${as/#$ns-/}"]=procfile-exec
2108remote: + cmd-export procfile-parse
2109remote: + declare 'desc=Exports a function as a command'
2110remote: + declare fn=procfile-parse as=procfile-parse
2111remote: + local ns=
2112remote: ++ cmd-list-ns
2113remote: ++ sort
2114remote: ++ grep -v :
2115remote: ++ for k in "${!CMDS[@]}"
2116remote: ++ echo :slug
2117remote: ++ for k in "${!CMDS[@]}"
2118remote: ++ echo slug:export
2119remote: ++ for k in "${!CMDS[@]}"
2120remote: ++ echo slug
2121remote: ++ for k in "${!CMDS[@]}"
2122remote: ++ echo :procfile
2123remote: ++ for k in "${!CMDS[@]}"
2124remote: ++ echo slug:generate
2125remote: ++ for k in "${!CMDS[@]}"
2126remote: ++ echo procfile:exec
2127remote: ++ for k in "${!CMDS[@]}"
2128remote: ++ echo procfile:start
2129remote: ++ for k in "${!CMDS[@]}"
2130remote: ++ echo :buildpack
2131remote: ++ for k in "${!CMDS[@]}"
2132remote: ++ echo procfile
2133remote: ++ for k in "${!CMDS[@]}"
2134remote: ++ echo buildpack
2135remote: ++ for k in "${!CMDS[@]}"
2136remote: ++ echo :version
2137remote: ++ for k in "${!CMDS[@]}"
2138remote: ++ echo buildpack:build
2139remote: ++ for k in "${!CMDS[@]}"
2140remote: ++ echo buildpack:test
2141remote: ++ for k in "${!CMDS[@]}"
2142remote: ++ echo :paths
2143remote: ++ for k in "${!CMDS[@]}"
2144remote: ++ echo buildpack:list
2145remote: ++ for k in "${!CMDS[@]}"
2146remote: ++ echo slug:import
2147remote: ++ for k in "${!CMDS[@]}"
2148remote: ++ echo :help
2149remote: ++ for k in "${!CMDS[@]}"
2150remote: ++ echo :test
2151remote: ++ for k in "${!CMDS[@]}"
2152remote: ++ echo buildpack:install
2153remote: + for n in $(cmd-list-ns)
2154remote: + grep '^buildpack-'
2155remote: + echo procfile-parse
2156remote: + for n in $(cmd-list-ns)
2157remote: + grep '^procfile-'
2158remote: + echo procfile-parse
2159remote: + ns=procfile
2160remote: + for n in $(cmd-list-ns)
2161remote: + grep '^slug-'
2162remote: + echo procfile-parse
2163remote: + CMDS["$ns:${as/#$ns-/}"]=procfile-parse
2164remote: + case "$SELF" in
2165remote: + buildpack-build
2166remote: + declare 'desc=Build an application using installed buildpacks'
2167remote: + ensure-paths
2168remote: + mkdir -p /app /tmp/env /tmp/build /cache /tmp/buildpacks
2169remote: + [[ -n herokuishuser ]]
2170remote: + buildpack-setup
2171remote: + export APP_DIR=/app
2172remote: + APP_DIR=/app
2173remote: + export HOME=/app
2174remote: + HOME=/app
2175remote: + export REQUEST_ID=build-12485
2176remote: + REQUEST_ID=build-12485
2177remote: + export STACK=heroku-20
2178remote: + STACK=heroku-20
2179remote: + cp -r /app/. /tmp/build
2180remote: + usermod --home /app herokuishuser
2181remote: + chown -R herokuishuser:herokuishuser /app
2182remote: + xargs -P 0 -0 --no-run-if-empty chown --no-dereference herokuishuser:herokuishuser
2183remote: + find /tmp/build '(' '!' -user herokuishuser -o '!' -group herokuishuser ')' -print0
2184remote: + xargs -P 0 -0 --no-run-if-empty chown --no-dereference herokuishuser:herokuishuser
2185remote: + find /cache '(' '!' -user herokuishuser -o '!' -group herokuishuser ')' -print0
2186remote: + xargs -P 0 -0 --no-run-if-empty chown --no-dereference herokuishuser:herokuishuser
2187remote: + find /tmp/env '(' '!' -user herokuishuser -o '!' -group herokuishuser ')' -print0
2188remote: + xargs -P 0 -0 --no-run-if-empty chown --no-dereference herokuishuser:herokuishuser
2189remote: + find /tmp/buildpacks '(' '!' -user herokuishuser -o '!' -group herokuishuser ')' -print0
2190remote: + export CURL_CONNECT_TIMEOUT=30
2191remote: + CURL_CONNECT_TIMEOUT=30
2192remote: + export CURL_TIMEOUT=180
2193remote: + CURL_TIMEOUT=180
2194remote: + [[ -f /app/.env ]]
2195remote: ++ _envfile-parse
2196remote: ++ declare 'desc=Parse input into shell export commands'
2197remote: ++ local key
2198remote: ++ local value
2199remote: ++ cat /app/.env
2200remote: +++ cat
2201remote: ++ read -r line
2202remote: ++ [[ #################################################################### =~ ^#.* ]]
2203remote: ++ continue
2204remote: ++ read -r line
2205remote: ++ [[ # Amazon Web Services =~ ^#.* ]]
2206remote: ++ continue
2207remote: ++ read -r line
2208remote: ++ [[ #################################################################### =~ ^#.* ]]
2209remote: ++ continue
2210remote: ++ read -r line
2211remote: ++ [[ #AWS_ACCESS_KEY_ID= =~ ^#.* ]]
2212remote: ++ continue
2213remote: ++ read -r line
2214remote: ++ [[ #AWS_REGION= =~ ^#.* ]]
2215remote: ++ continue
2216remote: ++ read -r line
2217remote: ++ [[ #AWS_SECRET_ACCESS_KEY= =~ ^#.* ]]
2218remote: ++ continue
2219remote: ++ read -r line
2220remote: ++ [[ '' =~ ^#.* ]]
2221remote: ++ [[ '' =~ ^$ ]]
2222remote: ++ continue
2223remote: ++ read -r line
2224remote: ++ [[ #################################################################### =~ ^#.* ]]
2225remote: ++ continue
2226remote: ++ read -r line
2227remote: ++ [[ # Mixpanel Tracking =~ ^#.* ]]
2228remote: ++ continue
2229remote: ++ read -r line
2230remote: ++ [[ #################################################################### =~ ^#.* ]]
2231remote: ++ continue
2232remote: ++ read -r line
2233remote: ++ [[ '' =~ ^#.* ]]
2234remote: ++ [[ '' =~ ^$ ]]
2235remote: ++ continue
2236remote: ++ read -r line
2237remote: ++ [[ # API token for using Mixpanel, a user tracking tool. =~ ^#.* ]]
2238remote: ++ continue
2239remote: ++ read -r line
2240remote: ++ [[ #MIXPANEL_TOKEN= =~ ^#.* ]]
2241remote: ++ continue
2242remote: ++ read -r line
2243remote: ++ [[ '' =~ ^#.* ]]
2244remote: ++ [[ '' =~ ^$ ]]
2245remote: ++ continue
2246remote: ++ read -r line
2247remote: ++ [[ # Enable/disable tracking for blacklisted email addresses =~ ^#.* ]]
2248remote: ++ continue
2249remote: ++ read -r line
2250remote: ++ [[ #FORCE_MX_TRACKING=false =~ ^#.* ]]
2251remote: ++ continue
2252remote: ++ read -r line
2253remote: ++ [[ '' =~ ^#.* ]]
2254remote: ++ [[ '' =~ ^$ ]]
2255remote: ++ continue
2256remote: ++ read -r line
2257remote: ++ [[ #################################################################### =~ ^#.* ]]
2258remote: ++ continue
2259remote: ++ read -r line
2260remote: ++ [[ # Puma =~ ^#.* ]]
2261remote: ++ continue
2262remote: ++ read -r line
2263remote: ++ [[ #################################################################### =~ ^#.* ]]
2264remote: ++ continue
2265remote: ++ read -r line
2266remote: ++ [[ '' =~ ^#.* ]]
2267remote: ++ [[ '' =~ ^$ ]]
2268remote: ++ continue
2269remote: ++ read -r line
2270remote: ++ [[ # Minimum thread size of pool =~ ^#.* ]]
2271remote: ++ continue
2272remote: ++ read -r line
2273remote: ++ [[ MIN_THREADS=1 =~ ^#.* ]]
2274remote: ++ [[ MIN_THREADS=1 =~ ^$ ]]
2275remote: ++ key=MIN_THREADS
2276remote: ++ key=MIN_THREADS
2277remote: ++ value=1
2278remote: ++ case "$value" in
2279remote: ++ value='"1"'
2280remote: ++ echo 'export MIN_THREADS="1"'
2281remote: ++ read -r line
2282remote: ++ [[ '' =~ ^#.* ]]
2283remote: ++ [[ '' =~ ^$ ]]
2284remote: ++ continue
2285remote: ++ read -r line
2286remote: ++ [[ # Maximum number of threads per worker process. =~ ^#.* ]]
2287remote: ++ continue
2288remote: ++ read -r line
2289remote: ++ [[ MAX_THREADS=10 =~ ^#.* ]]
2290remote: ++ [[ MAX_THREADS=10 =~ ^$ ]]
2291remote: ++ key=MAX_THREADS
2292remote: ++ key=MAX_THREADS
2293remote: ++ value=10
2294remote: ++ case "$value" in
2295remote: ++ value='"10"'
2296remote: ++ echo 'export MAX_THREADS="10"'
2297remote: ++ read -r line
2298remote: ++ [[ '' =~ ^#.* ]]
2299remote: ++ [[ '' =~ ^$ ]]
2300remote: ++ continue
2301remote: ++ read -r line
2302remote: ++ [[ # Port to listen on =~ ^#.* ]]
2303remote: ++ continue
2304remote: ++ read -r line
2305remote: ++ [[ PORT=3000 =~ ^#.* ]]
2306remote: ++ [[ PORT=3000 =~ ^$ ]]
2307remote: ++ key=PORT
2308remote: ++ key=PORT
2309remote: ++ value=3000
2310remote: ++ case "$value" in
2311remote: ++ value='"3000"'
2312remote: ++ echo 'export PORT="3000"'
2313remote: ++ read -r line
2314remote: ++ [[ '' =~ ^#.* ]]
2315remote: ++ [[ '' =~ ^$ ]]
2316remote: ++ continue
2317remote: ++ read -r line
2318remote: ++ [[ # Number of puma worker processes =~ ^#.* ]]
2319remote: ++ continue
2320remote: ++ read -r line
2321remote: ++ [[ #WEB_CONCURRENCY=1 =~ ^#.* ]]
2322remote: ++ continue
2323remote: ++ read -r line
2324remote: ++ [[ '' =~ ^#.* ]]
2325remote: ++ [[ '' =~ ^$ ]]
2326remote: ++ continue
2327remote: ++ read -r line
2328remote: ++ [[ #################################################################### =~ ^#.* ]]
2329remote: ++ continue
2330remote: ++ read -r line
2331remote: ++ [[ # Redis =~ ^#.* ]]
2332remote: ++ continue
2333remote: ++ read -r line
2334remote: ++ [[ #################################################################### =~ ^#.* ]]
2335remote: ++ continue
2336remote: ++ read -r line
2337remote: ++ [[ '' =~ ^#.* ]]
2338remote: ++ [[ '' =~ ^$ ]]
2339remote: ++ continue
2340remote: ++ read -r line
2341remote: ++ [[ # URL to the redis cluster. Should be set automatically when you =~ ^#.* ]]
2342remote: ++ continue
2343remote: ++ read -r line
2344remote: ++ [[ # install Rediscloud =~ ^#.* ]]
2345remote: ++ continue
2346remote: ++ read -r line
2347remote: ++ [[ #REDISCLOUD_URL=redis://<username>:<password>@pub-redis-12345.us-east-1-4.5.ec2.garantiadata.com:11796 =~ ^#.* ]]
2348remote: ++ continue
2349remote: ++ read -r line
2350remote: ++ [[ '' =~ ^#.* ]]
2351remote: ++ [[ '' =~ ^$ ]]
2352remote: ++ continue
2353remote: ++ read -r line
2354remote: ++ [[ #################################################################### =~ ^#.* ]]
2355remote: ++ continue
2356remote: ++ read -r line
2357remote: ++ [[ # Rails =~ ^#.* ]]
2358remote: ++ continue
2359remote: ++ read -r line
2360remote: ++ [[ #################################################################### =~ ^#.* ]]
2361remote: ++ continue
2362remote: ++ read -r line
2363remote: ++ [[ '' =~ ^#.* ]]
2364remote: ++ [[ '' =~ ^$ ]]
2365remote: ++ continue
2366remote: ++ read -r line
2367remote: ++ [[ # Not sure what these are, but they're necessary =~ ^#.* ]]
2368remote: ++ continue
2369remote: ++ read -r line
2370remote: ++ [[ #RACK_ENV=production =~ ^#.* ]]
2371remote: ++ continue
2372remote: ++ read -r line
2373remote: ++ [[ #RAILS_ENV=production =~ ^#.* ]]
2374remote: ++ continue
2375remote: ++ read -r line
2376remote: ++ [[ '' =~ ^#.* ]]
2377remote: ++ [[ '' =~ ^$ ]]
2378remote: ++ continue
2379remote: ++ read -r line
2380remote: ++ [[ # Have Rails serve assets. If you have NGINX serving static assets, =~ ^#.* ]]
2381remote: ++ continue
2382remote: ++ read -r line
2383remote: ++ [[ # which is not the case for StockSavvy, disable this. =~ ^#.* ]]
2384remote: ++ continue
2385remote: ++ read -r line
2386remote: ++ [[ #RAILS_SERVE_STATIC_FILES=enabled =~ ^#.* ]]
2387remote: ++ continue
2388remote: ++ read -r line
2389remote: ++ [[ '' =~ ^#.* ]]
2390remote: ++ [[ '' =~ ^$ ]]
2391remote: ++ continue
2392remote: ++ read -r line
2393remote: ++ [[ # Key for cookies =~ ^#.* ]]
2394remote: ++ continue
2395remote: ++ read -r line
2396remote: ++ [[ #SECRET_KEY_BASE =~ ^#.* ]]
2397remote: ++ continue
2398remote: ++ read -r line
2399remote: ++ [[ '' =~ ^#.* ]]
2400remote: ++ [[ '' =~ ^$ ]]
2401remote: ++ continue
2402remote: ++ read -r line
2403remote: ++ [[ #################################################################### =~ ^#.* ]]
2404remote: ++ continue
2405remote: ++ read -r line
2406remote: ++ [[ # Sidekiq =~ ^#.* ]]
2407remote: ++ continue
2408remote: ++ read -r line
2409remote: ++ [[ #################################################################### =~ ^#.* ]]
2410remote: ++ continue
2411remote: ++ read -r line
2412remote: ++ [[ '' =~ ^#.* ]]
2413remote: ++ [[ '' =~ ^$ ]]
2414remote: ++ continue
2415remote: ++ read -r line
2416remote: ++ [[ #SIDEKIQ_USERNAME= =~ ^#.* ]]
2417remote: ++ continue
2418remote: ++ read -r line
2419remote: ++ [[ '' =~ ^#.* ]]
2420remote: ++ [[ '' =~ ^$ ]]
2421remote: ++ continue
2422remote: ++ read -r line
2423remote: ++ [[ #SIDEKIQ_PASSWORD= =~ ^#.* ]]
2424remote: ++ continue
2425remote: ++ read -r line
2426remote: ++ [[ '' =~ ^#.* ]]
2427remote: ++ [[ '' =~ ^$ ]]
2428remote: ++ continue
2429remote: ++ read -r line
2430remote: ++ [[ #SIDEKIQ_CONCURRENCY=30 =~ ^#.* ]]
2431remote: ++ continue
2432remote: ++ read -r line
2433remote: ++ [[ '' =~ ^#.* ]]
2434remote: ++ [[ '' =~ ^$ ]]
2435remote: ++ continue
2436remote: ++ read -r line
2437remote: ++ [[ #################################################################### =~ ^#.* ]]
2438remote: ++ continue
2439remote: ++ read -r line
2440remote: ++ [[ # Shoryuken =~ ^#.* ]]
2441remote: ++ continue
2442remote: ++ read -r line
2443remote: ++ [[ #################################################################### =~ ^#.* ]]
2444remote: ++ continue
2445remote: ++ read -r line
2446remote: ++ [[ '' =~ ^#.* ]]
2447remote: ++ [[ '' =~ ^$ ]]
2448remote: ++ continue
2449remote: ++ read -r line
2450remote: ++ [[ #SHORYUKEN_CONCURRENCY=30 =~ ^#.* ]]
2451remote: ++ continue
2452remote: ++ read -r line
2453remote: ++ [[ '' =~ ^#.* ]]
2454remote: ++ [[ '' =~ ^$ ]]
2455remote: ++ continue
2456remote: ++ read -r line
2457remote: ++ [[ #################################################################### =~ ^#.* ]]
2458remote: ++ continue
2459remote: ++ read -r line
2460remote: ++ [[ # Shopify =~ ^#.* ]]
2461remote: ++ continue
2462remote: ++ read -r line
2463remote: ++ [[ #################################################################### =~ ^#.* ]]
2464remote: ++ continue
2465remote: ++ read -r line
2466remote: ++ [[ '' =~ ^#.* ]]
2467remote: ++ [[ '' =~ ^$ ]]
2468remote: ++ continue
2469remote: ++ read -r line
2470remote: ++ [[ # Hostname for Shopify uninstallation webhook =~ ^#.* ]]
2471remote: ++ continue
2472remote: ++ read -r line
2473remote: ++ [[ #HOSTNAME=app.getstocksavvy.com =~ ^#.* ]]
2474remote: ++ continue
2475remote: ++ read -r line
2476remote: ++ [[ '' =~ ^#.* ]]
2477remote: ++ [[ '' =~ ^$ ]]
2478remote: ++ continue
2479remote: ++ read -r line
2480remote: ++ [[ # Key to use Shopify API =~ ^#.* ]]
2481remote: ++ continue
2482remote: ++ read -r line
2483remote: ++ [[ #SHOPIFY_API_KEY= =~ ^#.* ]]
2484remote: ++ continue
2485remote: ++ read -r line
2486remote: ++ [[ '' =~ ^#.* ]]
2487remote: ++ [[ '' =~ ^$ ]]
2488remote: ++ continue
2489remote: ++ read -r line
2490remote: ++ [[ # Redirect URI after installing app on Shopify =~ ^#.* ]]
2491remote: ++ continue
2492remote: ++ read -r line
2493remote: ++ [[ #SHOPIFY_REDIRECT_URI=https://app.getstocksavvy.com/auth/shopify/callback =~ ^#.* ]]
2494remote: ++ continue
2495remote: ++ read -r line
2496remote: ++ [[ '' =~ ^#.* ]]
2497remote: ++ [[ '' =~ ^$ ]]
2498remote: ++ continue
2499remote: ++ read -r line
2500remote: ++ [[ # Embedded app mode in Shopify =~ ^#.* ]]
2501remote: ++ continue
2502remote: ++ read -r line
2503remote: ++ [[ #SHOPIFY_EMBEDDED_APP=false =~ ^#.* ]]
2504remote: ++ continue
2505remote: ++ read -r line
2506remote: ++ [[ '' =~ ^#.* ]]
2507remote: ++ [[ '' =~ ^$ ]]
2508remote: ++ continue
2509remote: ++ read -r line
2510remote: ++ [[ # Shared secret for validating requests coming from Shopify =~ ^#.* ]]
2511remote: ++ continue
2512remote: ++ read -r line
2513remote: ++ [[ #SHOPIFY_SHARED_SECRET= =~ ^#.* ]]
2514remote: ++ continue
2515remote: ++ read -r line
2516remote: ++ [[ '' =~ ^#.* ]]
2517remote: ++ [[ '' =~ ^$ ]]
2518remote: ++ continue
2519remote: ++ read -r line
2520remote: ++ [[ # Use Shopify GraphQL to bulk adjust inventory levels =~ ^#.* ]]
2521remote: ++ continue
2522remote: ++ read -r line
2523remote: ++ [[ #GRAPHQL_ADJUSTMENT_ENABLED=false =~ ^#.* ]]
2524remote: ++ continue
2525remote: ++ read -r line
2526remote: ++ [[ '' =~ ^#.* ]]
2527remote: ++ [[ '' =~ ^$ ]]
2528remote: ++ continue
2529remote: ++ read -r line
2530remote: ++ [[ # Use Shopify GraphQL bulk operation to import items =~ ^#.* ]]
2531remote: ++ continue
2532remote: ++ read -r line
2533remote: ++ [[ #GRAPHQL_IMPORTER_ENABLED=false =~ ^#.* ]]
2534remote: ++ continue
2535remote: ++ read -r line
2536remote: ++ [[ '' =~ ^#.* ]]
2537remote: ++ [[ '' =~ ^$ ]]
2538remote: ++ continue
2539remote: ++ read -r line
2540remote: ++ [[ # Print out the GraphQL result when adjusting inventory levels =~ ^#.* ]]
2541remote: ++ continue
2542remote: ++ read -r line
2543remote: ++ [[ #DEBUG_GRAPHQL_ADJUSTMENT=false =~ ^#.* ]]
2544remote: ++ continue
2545remote: ++ read -r line
2546remote: ++ [[ '' =~ ^#.* ]]
2547remote: ++ [[ '' =~ ^$ ]]
2548remote: ++ continue
2549remote: ++ read -r line
2550remote: ++ [[ # Shopify API version =~ ^#.* ]]
2551remote: ++ continue
2552remote: ++ read -r line
2553remote: ++ [[ #SHOPIFY_API_VERSION=2020-10 =~ ^#.* ]]
2554remote: ++ continue
2555remote: ++ read -r line
2556remote: ++ [[ '' =~ ^#.* ]]
2557remote: ++ [[ '' =~ ^$ ]]
2558remote: ++ continue
2559remote: ++ read -r line
2560remote: ++ [[ '' =~ ^#.* ]]
2561remote: ++ [[ '' =~ ^$ ]]
2562remote: ++ continue
2563remote: ++ read -r line
2564remote: ++ [[ #################################################################### =~ ^#.* ]]
2565remote: ++ continue
2566remote: ++ read -r line
2567remote: ++ [[ # Custom StockSavvy =~ ^#.* ]]
2568remote: ++ continue
2569remote: ++ read -r line
2570remote: ++ [[ #################################################################### =~ ^#.* ]]
2571remote: ++ continue
2572remote: ++ read -r line
2573remote: ++ [[ '' =~ ^#.* ]]
2574remote: ++ [[ '' =~ ^$ ]]
2575remote: ++ continue
2576remote: ++ read -r line
2577remote: ++ [[ # WEBHOOKS_PROCESSING_MODE is AWS SQS processing using Shoryuken. =~ ^#.* ]]
2578remote: ++ continue
2579remote: ++ read -r line
2580remote: ++ [[ # DEFAULT is Sidekiq background processing, =~ ^#.* ]]
2581remote: ++ continue
2582remote: ++ read -r line
2583remote: ++ [[ #APP_MODE=WEBHOOKS_PROCESSING_MODE or APP_MODE=DEFAULT =~ ^#.* ]]
2584remote: ++ continue
2585remote: ++ read -r line
2586remote: ++ [[ '' =~ ^#.* ]]
2587remote: ++ [[ '' =~ ^$ ]]
2588remote: ++ continue
2589remote: ++ read -r line
2590remote: ++ [[ # Allow people to try all features during beta launch of StockSavvy =~ ^#.* ]]
2591remote: ++ continue
2592remote: ++ read -r line
2593remote: ++ [[ #BETA=false =~ ^#.* ]]
2594remote: ++ continue
2595remote: ++ read -r line
2596remote: ++ [[ '' =~ ^#.* ]]
2597remote: ++ [[ '' =~ ^$ ]]
2598remote: ++ continue
2599remote: ++ read -r line
2600remote: ++ [[ # If number of items in session exceeds this, use background worker =~ ^#.* ]]
2601remote: ++ continue
2602remote: ++ read -r line
2603remote: ++ [[ # to kick off background jobs to update items =~ ^#.* ]]
2604remote: ++ continue
2605remote: ++ read -r line
2606remote: ++ [[ #BG_UPDATE_SESS_THRESHOLD=150 =~ ^#.* ]]
2607remote: ++ continue
2608remote: ++ read -r line
2609remote: ++ [[ '' =~ ^#.* ]]
2610remote: ++ [[ '' =~ ^$ ]]
2611remote: ++ continue
2612remote: ++ read -r line
2613remote: ++ [[ # Enable logs to be printed for background workers. False also turns =~ ^#.* ]]
2614remote: ++ continue
2615remote: ++ read -r line
2616remote: ++ [[ # Sidekiq logging level to WARN. =~ ^#.* ]]
2617remote: ++ continue
2618remote: ++ read -r line
2619remote: ++ [[ #BG_JOB_LOG_MESSAGES_ENABLED="true" =~ ^#.* ]]
2620remote: ++ continue
2621remote: ++ read -r line
2622remote: ++ [[ '' =~ ^#.* ]]
2623remote: ++ [[ '' =~ ^$ ]]
2624remote: ++ continue
2625remote: ++ read -r line
2626remote: ++ [[ # Database URL for PostgreSQL database. Default Postgres port is 5432. =~ ^#.* ]]
2627remote: ++ continue
2628remote: ++ read -r line
2629remote: ++ [[ # The sslrootcert location points to a file in config/ directory. Update =~ ^#.* ]]
2630remote: ++ continue
2631remote: ++ read -r line
2632remote: ++ [[ # the cert file whenever AWS RDS requires you to update cert (every ~4 years). =~ ^#.* ]]
2633remote: ++ continue
2634remote: ++ read -r line
2635remote: ++ [[ #DATABASE_URL=postgres://<username>:<password>@stocksavvy.abcdefghijklm.us-east-1.rds.amazonaws.com:5432/stocksavvy?sslrootcert=config/rds-ca-2019-root.pem&sslmode=require =~ ^#.* ]]
2636remote: ++ continue
2637remote: ++ read -r line
2638remote: ++ [[ '' =~ ^#.* ]]
2639remote: ++ [[ '' =~ ^$ ]]
2640remote: ++ continue
2641remote: ++ read -r line
2642remote: ++ [[ # Number of database connections =~ ^#.* ]]
2643remote: ++ continue
2644remote: ++ read -r line
2645remote: ++ [[ #DB_POOL=35 =~ ^#.* ]]
2646remote: ++ continue
2647remote: ++ read -r line
2648remote: ++ [[ '' =~ ^#.* ]]
2649remote: ++ [[ '' =~ ^$ ]]
2650remote: ++ continue
2651remote: ++ read -r line
2652remote: ++ [[ # Number of items trial users can scan before being blocked =~ ^#.* ]]
2653remote: ++ continue
2654remote: ++ read -r line
2655remote: ++ [[ #ITEMS_LIMIT=750 =~ ^#.* ]]
2656remote: ++ continue
2657remote: ++ read -r line
2658remote: ++ [[ '' =~ ^#.* ]]
2659remote: ++ [[ '' =~ ^$ ]]
2660remote: ++ continue
2661remote: ++ read -r line
2662remote: ++ [[ # Number of items that can be scanned in each session =~ ^#.* ]]
2663remote: ++ continue
2664remote: ++ read -r line
2665remote: ++ [[ #MAX_ITEMS_PER_SESSION=500 =~ ^#.* ]]
2666remote: ++ continue
2667remote: ++ read -r line
2668remote: ++ [[ '' =~ ^#.* ]]
2669remote: ++ [[ '' =~ ^$ ]]
2670remote: ++ continue
2671remote: ++ read -r line
2672remote: ++ [[ # Number of items that can be scanned in each session with Yearly Plan =~ ^#.* ]]
2673remote: ++ continue
2674remote: ++ read -r line
2675remote: ++ [[ #MAX_ITEMS_PER_SESSION_YEARLY=1000 =~ ^#.* ]]
2676remote: ++ continue
2677remote: ++ read -r line
2678remote: ++ [[ '' =~ ^#.* ]]
2679remote: ++ [[ '' =~ ^$ ]]
2680remote: ++ continue
2681remote: ++ read -r line
2682remote: ++ [[ # Number of items that can be scanned in each session with Plus Extra Plan =~ ^#.* ]]
2683remote: ++ continue
2684remote: ++ read -r line
2685remote: ++ [[ #MAX_ITEMS_PER_SESSION_PLUS_EXTRA=5000 =~ ^#.* ]]
2686remote: ++ continue
2687remote: ++ read -r line
2688remote: ++ [[ '' =~ ^#.* ]]
2689remote: ++ [[ '' =~ ^$ ]]
2690remote: ++ continue
2691remote: ++ read -r line
2692remote: ++ [[ # Number of items that can be scanned in each session with Plus Plan =~ ^#.* ]]
2693remote: ++ continue
2694remote: ++ read -r line
2695remote: ++ [[ #MAX_ITEMS_PER_SESSION_PLUS=1000 =~ ^#.* ]]
2696remote: ++ continue
2697remote: ++ read -r line
2698remote: ++ [[ '' =~ ^#.* ]]
2699remote: ++ [[ '' =~ ^$ ]]
2700remote: ++ continue
2701remote: ++ read -r line
2702remote: ++ [[ # Number of items that cost importer can handle (ActiveRecord =~ ^#.* ]]
2703remote: ++ continue
2704remote: ++ read -r line
2705remote: ++ [[ # find_each has an issue when iterating over large number of records =~ ^#.* ]]
2706remote: ++ continue
2707remote: ++ read -r line
2708remote: ++ [[ # with Postgres) =~ ^#.* ]]
2709remote: ++ continue
2710remote: ++ read -r line
2711remote: ++ [[ #COST_IMPORTER_MAX_ITEM_LIMIT=20000 =~ ^#.* ]]
2712remote: ++ continue
2713remote: ++ read -r line
2714remote: ++ [[ '' =~ ^#.* ]]
2715remote: ++ [[ '' =~ ^$ ]]
2716remote: ++ continue
2717remote: ++ read -r line
2718remote: ++ [[ # Maximum memory pools that can be created for glibc. glibc is the =~ ^#.* ]]
2719remote: ++ continue
2720remote: ++ read -r line
2721remote: ++ [[ # memory allocator used in Linux. With large number of threads, =~ ^#.* ]]
2722remote: ++ continue
2723remote: ++ read -r line
2724remote: ++ [[ # which is the case for Sidekiq, glibc does a terrible job with the =~ ^#.* ]]
2725remote: ++ continue
2726remote: ++ read -r line
2727remote: ++ [[ # default and results in memory bloat that ends up in out of memory =~ ^#.* ]]
2728remote: ++ continue
2729remote: ++ read -r line
2730remote: ++ [[ # errors in production environment (Heroku). Heroku's recommendation =~ ^#.* ]]
2731remote: ++ continue
2732remote: ++ read -r line
2733remote: ++ [[ # as well as the creator of Sidekiq recommends to use 2 for this =~ ^#.* ]]
2734remote: ++ continue
2735remote: ++ read -r line
2736remote: ++ [[ # enviroment setting. =~ ^#.* ]]
2737remote: ++ continue
2738remote: ++ read -r line
2739remote: ++ [[ #MALLOC_ARENA_MAX=2 =~ ^#.* ]]
2740remote: ++ continue
2741remote: ++ read -r line
2742remote: ++ [[ '' =~ ^#.* ]]
2743remote: ++ [[ '' =~ ^$ ]]
2744remote: ++ continue
2745remote: ++ read -r line
2746remote: ++ [[ # Option for nightly task to determine whether or not to remove old =~ ^#.* ]]
2747remote: ++ continue
2748remote: ++ read -r line
2749remote: ++ [[ # items that have been deleted from Shopify. =~ ^#.* ]]
2750remote: ++ continue
2751remote: ++ read -r line
2752remote: ++ [[ #NIGHTLY_REMOVE_OLD_ITEMS=true =~ ^#.* ]]
2753remote: ++ continue
2754remote: ++ read -r line
2755remote: ++ [[ '' =~ ^#.* ]]
2756remote: ++ [[ '' =~ ^$ ]]
2757remote: ++ continue
2758remote: ++ read -r line
2759remote: ++ [[ # Threshold for when an org counts as having a lot of items. This is =~ ^#.* ]]
2760remote: ++ continue
2761remote: ++ read -r line
2762remote: ++ [[ # used for nightly syncs to determine whether or not to remove existing =~ ^#.* ]]
2763remote: ++ continue
2764remote: ++ read -r line
2765remote: ++ [[ # items because removing existing is very taxing on database =~ ^#.* ]]
2766remote: ++ continue
2767remote: ++ read -r line
2768remote: ++ [[ #LARGE_ORG_THRESHOLD=30000 =~ ^#.* ]]
2769remote: ++ continue
2770remote: ++ read -r line
2771remote: ++ [[ '' =~ ^#.* ]]
2772remote: ++ [[ '' =~ ^$ ]]
2773remote: ++ continue
2774remote: ++ read -r line
2775remote: ++ [[ # Nightly sync gets run and will schedule jobs to be run. This is the =~ ^#.* ]]
2776remote: ++ continue
2777remote: ++ read -r line
2778remote: ++ [[ # initial delay for when the first job will execute. Adjust this based =~ ^#.* ]]
2779remote: ++ continue
2780remote: ++ read -r line
2781remote: ++ [[ # on how long the nightly sync takes to schedule all the jobs. This =~ ^#.* ]]
2782remote: ++ continue
2783remote: ++ read -r line
2784remote: ++ [[ # number is in seconds. =~ ^#.* ]]
2785remote: ++ continue
2786remote: ++ read -r line
2787remote: ++ [[ #NIGHTLY_SYNC_DELAY=300 =~ ^#.* ]]
2788remote: ++ continue
2789remote: ++ read -r line
2790remote: ++ [[ '' =~ ^#.* ]]
2791remote: ++ [[ '' =~ ^$ ]]
2792remote: ++ continue
2793remote: ++ read -r line
2794remote: ++ [[ # Nightly sync has a delay before putting jobs onto the queue. This is =~ ^#.* ]]
2795remote: ++ continue
2796remote: ++ read -r line
2797remote: ++ [[ # the interval in seconds between jobs. It needs to be longer than =~ ^#.* ]]
2798remote: ++ continue
2799remote: ++ read -r line
2800remote: ++ [[ # 5 seconds because the Sidekiq check on how many current jobs are =~ ^#.* ]]
2801remote: ++ continue
2802remote: ++ read -r line
2803remote: ++ [[ # running has a 5 second refresh rate. =~ ^#.* ]]
2804remote: ++ continue
2805remote: ++ read -r line
2806remote: ++ [[ #NIGHTLY_JOB_INTERVAL_BETWEEN_BATCH=30 =~ ^#.* ]]
2807remote: ++ continue
2808remote: ++ read -r line
2809remote: ++ [[ '' =~ ^#.* ]]
2810remote: ++ [[ '' =~ ^$ ]]
2811remote: ++ continue
2812remote: ++ read -r line
2813remote: ++ [[ # This is how many concurrent jobs of a particular type that can be =~ ^#.* ]]
2814remote: ++ continue
2815remote: ++ read -r line
2816remote: ++ [[ # run. Basically, if the Sidekiq current jobs count doesn't reflect, =~ ^#.* ]]
2817remote: ++ continue
2818remote: ++ read -r line
2819remote: ++ [[ # correctly, this number of jobs can be additionally run. =~ ^#.* ]]
2820remote: ++ continue
2821remote: ++ read -r line
2822remote: ++ [[ #NIGHTLY_JOB_CONCURRENT_JOBS_LIMIT=3 =~ ^#.* ]]
2823remote: ++ continue
2824remote: ++ read -r line
2825remote: ++ [[ '' =~ ^#.* ]]
2826remote: ++ [[ '' =~ ^$ ]]
2827remote: ++ continue
2828remote: ++ read -r line
2829remote: ++ [[ # Threshold for how many unscanned items can be set to zero so that =~ ^#.* ]]
2830remote: ++ continue
2831remote: ++ read -r line
2832remote: ++ [[ # performance is still good. =~ ^#.* ]]
2833remote: ++ continue
2834remote: ++ read -r line
2835remote: ++ [[ #UNSCANNED_ZEROING_LIMIT=5000 =~ ^#.* ]]
2836remote: ++ continue
2837remote: ++ read -r line
2838remote: ++ [[ '' =~ ^#.* ]]
2839remote: ++ [[ '' =~ ^$ ]]
2840remote: ++ continue
2841remote: ++ read -r line
2842remote: ++ [[ # Feature flag for enabling alteration of quantities for items in =~ ^#.* ]]
2843remote: ++ continue
2844remote: ++ read -r line
2845remote: ++ [[ # sessions that are in progresss. =~ ^#.* ]]
2846remote: ++ continue
2847remote: ++ read -r line
2848remote: ++ [[ #FEATURE_RECEIVE_UPDATES_ENABLED=false =~ ^#.* ]]
2849remote: ++ continue
2850remote: ++ read -r line
2851remote: ++ [[ '' =~ ^#.* ]]
2852remote: ++ [[ '' =~ ^$ ]]
2853remote: ++ continue
2854remote: ++ read -r line
2855remote: ++ [[ # Feature flag for enabling upload of company logo =~ ^#.* ]]
2856remote: ++ continue
2857remote: ++ read -r line
2858remote: ++ [[ #FEATURE_ORG_IMAGES_ENABLED=false =~ ^#.* ]]
2859remote: ++ continue
2860remote: ++ read -r line
2861remote: ++ [[ '' =~ ^#.* ]]
2862remote: ++ [[ '' =~ ^$ ]]
2863remote: ++ continue
2864remote: ++ read -r line
2865remote: ++ [[ # Feature flag for showing the new "lite" and "medium" plans on the subscriptions page =~ ^#.* ]]
2866remote: ++ continue
2867remote: ++ read -r line
2868remote: ++ [[ #FEATURE_ENABLED_NEW_PRICING=false =~ ^#.* ]]
2869remote: ++ continue
2870remote: ++ read -r line
2871remote: ++ [[ '' =~ ^#.* ]]
2872remote: ++ [[ '' =~ ^$ ]]
2873remote: ++ continue
2874remote: ++ read -r line
2875remote: ++ [[ # This is the Heroku app name so that the rake task run by Heroku =~ ^#.* ]]
2876remote: ++ continue
2877remote: ++ read -r line
2878remote: ++ [[ # scheduler knows which app to restart. =~ ^#.* ]]
2879remote: ++ continue
2880remote: ++ read -r line
2881remote: ++ [[ #HEROKU_APP=stocksavvy =~ ^#.* ]]
2882remote: ++ continue
2883remote: ++ read -r line
2884remote: ++ [[ '' =~ ^#.* ]]
2885remote: ++ [[ '' =~ ^$ ]]
2886remote: ++ continue
2887remote: ++ read -r line
2888remote: ++ [[ # Behavior in various places change depending on the stack =~ ^#.* ]]
2889remote: ++ continue
2890remote: ++ read -r line
2891remote: ++ [[ #STACK=production =~ ^#.* ]]
2892remote: ++ continue
2893remote: ++ read -r line
2894remote: ++ [[ '' =~ ^#.* ]]
2895remote: ++ [[ '' =~ ^$ ]]
2896remote: ++ continue
2897remote: ++ read -r line
2898remote: ++ [[ # AWS S3 is used for storing logo images. See config/storage.yml. =~ ^#.* ]]
2899remote: ++ continue
2900remote: ++ read -r line
2901remote: ++ [[ # In development.rb, config.active_storage.service is set to local, =~ ^#.* ]]
2902remote: ++ continue
2903remote: ++ read -r line
2904remote: ++ [[ # so these don't matter in development mode. =~ ^#.* ]]
2905remote: ++ continue
2906remote: ++ read -r line
2907remote: ++ [[ #S3_ACCESS_KEY= =~ ^#.* ]]
2908remote: ++ continue
2909remote: ++ read -r line
2910remote: ++ [[ #S3_BUCKET=stocksavvy =~ ^#.* ]]
2911remote: ++ continue
2912remote: ++ read -r line
2913remote: ++ [[ #S3_SECRET_KEY= =~ ^#.* ]]
2914remote: ++ continue
2915remote: ++ read -r line
2916remote: ++ [[ '' =~ ^#.* ]]
2917remote: ++ [[ '' =~ ^$ ]]
2918remote: ++ continue
2919remote: ++ read -r line
2920remote: ++ [[ # Don't print SQS payload (useful when debugging though) =~ ^#.* ]]
2921remote: ++ continue
2922remote: ++ read -r line
2923remote: ++ [[ #LOGS_INCLUDE_SQS_PAYLOAD=false =~ ^#.* ]]
2924remote: ++ continue
2925remote: ++ read -r line
2926remote: ++ [[ '' =~ ^#.* ]]
2927remote: ++ [[ '' =~ ^$ ]]
2928remote: ++ continue
2929remote: ++ read -r line
2930remote: ++ [[ # Don't print when it's Shopify webhooks =~ ^#.* ]]
2931remote: ++ continue
2932remote: ++ read -r line
2933remote: ++ [[ #LOGS_OMIT_SHOPIFY_WEBHOOKS=true =~ ^#.* ]]
2934remote: ++ continue
2935remote: ++ read -r line
2936remote: ++ [[ '' =~ ^#.* ]]
2937remote: ++ [[ '' =~ ^$ ]]
2938remote: ++ continue
2939remote: ++ read -r line
2940remote: ++ [[ # Print log messages for nightly background workers =~ ^#.* ]]
2941remote: ++ continue
2942remote: ++ read -r line
2943remote: ++ [[ #LOGGING_BG_ENABLED=false =~ ^#.* ]]
2944remote: ++ continue
2945remote: ++ read -r line
2946remote: ++ [[ '' =~ ^#.* ]]
2947remote: ++ [[ '' =~ ^$ ]]
2948remote: ++ continue
2949remote: ++ read -r line
2950remote: ++ [[ # This is for showing the console on views to help with debugging. =~ ^#.* ]]
2951remote: ++ continue
2952remote: ++ read -r line
2953remote: ++ [[ # It just allows the <% console %> in the application.html.erb to =~ ^#.* ]]
2954remote: ++ continue
2955remote: ++ read -r line
2956remote: ++ [[ # show up. =~ ^#.* ]]
2957remote: ++ continue
2958remote: ++ read -r line
2959remote: ++ [[ #SHOW_DEV_CONSOLE=false =~ ^#.* ]]
2960remote: ++ continue
2961remote: ++ read -r line
2962remote: ++ [[ '' =~ ^#.* ]]
2963remote: ++ [[ '' =~ ^$ ]]
2964remote: ++ continue
2965remote: ++ read -r line
2966remote: ++ [[ # This is how many distinct items allowed in the Lite Plan. =~ ^#.* ]]
2967remote: ++ continue
2968remote: ++ read -r line
2969remote: ++ [[ #LITE_INVENTORY_LIMIT=8000 =~ ^#.* ]]
2970remote: ++ continue
2971remote: ++ read -r line
2972remote: ++ [[ '' =~ ^#.* ]]
2973remote: ++ [[ '' =~ ^$ ]]
2974remote: ++ continue
2975remote: ++ read -r line
2976remote: ++ [[ # This is the URL for processing webhooks. It should be an AWS URL =~ ^#.* ]]
2977remote: ++ continue
2978remote: ++ read -r line
2979remote: ++ [[ # for AWS Event Bridge. The Shopify events go from Shopify's =~ ^#.* ]]
2980remote: ++ continue
2981remote: ++ read -r line
2982remote: ++ [[ # Event Bridge source to StockSavvy Event Bridge, and StockSavvy's =~ ^#.* ]]
2983remote: ++ continue
2984remote: ++ read -r line
2985remote: ++ [[ # Event Bridge rules place a message onto SQS queues. If APP_MODE =~ ^#.* ]]
2986remote: ++ continue
2987remote: ++ read -r line
2988remote: ++ [[ # is not WEBHOOKS_PROCESSING_MODE, this doesn't matter. =~ ^#.* ]]
2989remote: ++ continue
2990remote: ++ read -r line
2991remote: ++ [[ #WEBHOOK_PROCESSOR_URL=arn:aws:events:us-east-1::event-source/aws.partner/shopify.com/<foo>/<bar> =~ ^#.* ]]
2992remote: ++ continue
2993remote: ++ read -r line
2994remote: ++ [[ '' =~ ^#.* ]]
2995remote: ++ [[ '' =~ ^$ ]]
2996remote: ++ continue
2997remote: ++ read -r line
2998remote: ++ [[ '' =~ ^#.* ]]
2999remote: ++ [[ '' =~ ^$ ]]
3000remote: ++ continue
3001remote: ++ read -r line
3002remote: ++ [[ #################################################################### =~ ^#.* ]]
3003remote: ++ continue
3004remote: ++ read -r line
3005remote: ++ [[ # To be used in future =~ ^#.* ]]
3006remote: ++ continue
3007remote: ++ read -r line
3008remote: ++ [[ #################################################################### =~ ^#.* ]]
3009remote: ++ continue
3010remote: ++ read -r line
3011remote: ++ [[ '' =~ ^#.* ]]
3012remote: ++ [[ '' =~ ^$ ]]
3013remote: ++ continue
3014remote: ++ read -r line
3015remote: ++ [[ RAILS_ENV=production =~ ^#.* ]]
3016remote: ++ [[ RAILS_ENV=production =~ ^$ ]]
3017remote: ++ key=RAILS_ENV
3018remote: ++ key=RAILS_ENV
3019remote: ++ value=production
3020remote: ++ case "$value" in
3021remote: ++ value='"production"'
3022remote: ++ echo 'export RAILS_ENV="production"'
3023remote: ++ read -r line
3024remote: ++ [[ RAILS_ROOT=/usr/src/app =~ ^#.* ]]
3025remote: ++ [[ RAILS_ROOT=/usr/src/app =~ ^$ ]]
3026remote: ++ key=RAILS_ROOT
3027remote: ++ key=RAILS_ROOT
3028remote: ++ value=/usr/src/app
3029remote: ++ case "$value" in
3030remote: ++ value='"/usr/src/app"'
3031remote: ++ echo 'export RAILS_ROOT="/usr/src/app"'
3032remote: ++ read -r line
3033remote: ++ [[ RACK_ENV=production =~ ^#.* ]]
3034remote: ++ [[ RACK_ENV=production =~ ^$ ]]
3035remote: ++ key=RACK_ENV
3036remote: ++ key=RACK_ENV
3037remote: ++ value=production
3038remote: ++ case "$value" in
3039remote: ++ value='"production"'
3040remote: ++ echo 'export RACK_ENV="production"'
3041remote: ++ read -r line
3042remote: ++ [[ NODE_ENV=production =~ ^#.* ]]
3043remote: ++ [[ NODE_ENV=production =~ ^$ ]]
3044remote: ++ key=NODE_ENV
3045remote: ++ key=NODE_ENV
3046remote: ++ value=production
3047remote: ++ case "$value" in
3048remote: ++ value='"production"'
3049remote: ++ echo 'export NODE_ENV="production"'
3050remote: ++ read -r line
3051remote: ++ [[ PORT=3000 =~ ^#.* ]]
3052remote: ++ [[ PORT=3000 =~ ^$ ]]
3053remote: ++ key=PORT
3054remote: ++ key=PORT
3055remote: ++ value=3000
3056remote: ++ case "$value" in
3057remote: ++ value='"3000"'
3058remote: ++ echo 'export PORT="3000"'
3059remote: ++ read -r line
3060remote: ++ [[ SECRET_KEY_BASE=<redacted> =~ ^#.* ]]
3061remote: ++ [[ SECRET_KEY_BASE=<redacted> =~ ^$ ]]
3062remote: ++ key=SECRET_KEY_BASE
3063remote: ++ key=SECRET_KEY_BASE
3064remote: ++ value=<redacted>
3065remote: ++ case "$value" in
3066remote: ++ value='"<redacted>"'
3067remote: ++ echo 'export SECRET_KEY_BASE="<redacted>"'
3068remote: ++ read -r line
3069remote: ++ [[ WEB_CONCURRENCY=1 =~ ^#.* ]]
3070remote: ++ [[ WEB_CONCURRENCY=1 =~ ^$ ]]
3071remote: ++ key=WEB_CONCURRENCY
3072remote: ++ key=WEB_CONCURRENCY
3073remote: ++ value=1
3074remote: ++ case "$value" in
3075remote: ++ value='"1"'
3076remote: ++ echo 'export WEB_CONCURRENCY="1"'
3077remote: ++ read -r line
3078remote: ++ [[ APP_MODE=WEBHOOKS_PROCESSING =~ ^#.* ]]
3079remote: ++ [[ APP_MODE=WEBHOOKS_PROCESSING =~ ^$ ]]
3080remote: ++ key=APP_MODE
3081remote: ++ key=APP_MODE
3082remote: ++ value=WEBHOOKS_PROCESSING
3083remote: ++ case "$value" in
3084remote: ++ value='"WEBHOOKS_PROCESSING"'
3085remote: ++ echo 'export APP_MODE="WEBHOOKS_PROCESSING"'
3086remote: ++ read -r line
3087remote: ++ [[ AWS_ACCESS_KEY_ID=<redacted> =~ ^#.* ]]
3088remote: ++ [[ AWS_ACCESS_KEY_ID=<redacted> =~ ^$ ]]
3089remote: ++ key=AWS_ACCESS_KEY_ID
3090remote: ++ key=AWS_ACCESS_KEY_ID
3091remote: ++ value=<redacted>
3092remote: ++ case "$value" in
3093remote: ++ value='"<redacted>"'
3094remote: ++ echo 'export AWS_ACCESS_KEY_ID="<redacted>"'
3095remote: ++ read -r line
3096remote: ++ [[ AWS_REGION=us-east-1 =~ ^#.* ]]
3097remote: ++ [[ AWS_REGION=us-east-1 =~ ^$ ]]
3098remote: ++ key=AWS_REGION
3099remote: ++ key=AWS_REGION
3100remote: ++ value=us-east-1
3101remote: ++ case "$value" in
3102remote: ++ value='"us-east-1"'
3103remote: ++ echo 'export AWS_REGION="us-east-1"'
3104remote: ++ read -r line
3105remote: ++ [[ AWS_SECRET_ACCESS_KEY=<redacted> =~ ^#.* ]]
3106remote: ++ [[ AWS_SECRET_ACCESS_KEY=<redacted> =~ ^$ ]]
3107remote: ++ key=AWS_SECRET_ACCESS_KEY
3108remote: ++ key=AWS_SECRET_ACCESS_KEY
3109remote: ++ value=<redacted>
3110remote: ++ case "$value" in
3111remote: ++ value='"<redacted>"'
3112remote: ++ echo 'export AWS_SECRET_ACCESS_KEY="<redacted>"'
3113remote: ++ read -r line
3114remote: ++ [[ BETA=false =~ ^#.* ]]
3115remote: ++ [[ BETA=false =~ ^$ ]]
3116remote: ++ key=BETA
3117remote: ++ key=BETA
3118remote: ++ value=false
3119remote: ++ case "$value" in
3120remote: ++ value='"false"'
3121remote: ++ echo 'export BETA="false"'
3122remote: ++ read -r line
3123remote: ++ [[ BG_JOB_LOG_MESSAGES_ENABLED=true =~ ^#.* ]]
3124remote: ++ [[ BG_JOB_LOG_MESSAGES_ENABLED=true =~ ^$ ]]
3125remote: ++ key=BG_JOB_LOG_MESSAGES_ENABLED
3126remote: ++ key=BG_JOB_LOG_MESSAGES_ENABLED
3127remote: ++ value=true
3128remote: ++ case "$value" in
3129remote: ++ value='"true"'
3130remote: ++ echo 'export BG_JOB_LOG_MESSAGES_ENABLED="true"'
3131remote: ++ read -r line
3132remote: ++ [[ BG_UPDATE_SESS_THRESHOLD=150 =~ ^#.* ]]
3133remote: ++ [[ BG_UPDATE_SESS_THRESHOLD=150 =~ ^$ ]]
3134remote: ++ key=BG_UPDATE_SESS_THRESHOLD
3135remote: ++ key=BG_UPDATE_SESS_THRESHOLD
3136remote: ++ value=150
3137remote: ++ case "$value" in
3138remote: ++ value='"150"'
3139remote: ++ echo 'export BG_UPDATE_SESS_THRESHOLD="150"'
3140remote: ++ read -r line
3141remote: ++ [[ COST_IMPORTER_MAX_ITEM_LIMIT=20000 =~ ^#.* ]]
3142remote: ++ [[ COST_IMPORTER_MAX_ITEM_LIMIT=20000 =~ ^$ ]]
3143remote: ++ key=COST_IMPORTER_MAX_ITEM_LIMIT
3144remote: ++ key=COST_IMPORTER_MAX_ITEM_LIMIT
3145remote: ++ value=20000
3146remote: ++ case "$value" in
3147remote: ++ value='"20000"'
3148remote: ++ echo 'export COST_IMPORTER_MAX_ITEM_LIMIT="20000"'
3149remote: ++ read -r line
3150remote: ++ [[ DB_POOL=35 =~ ^#.* ]]
3151remote: ++ [[ DB_POOL=35 =~ ^$ ]]
3152remote: ++ key=DB_POOL
3153remote: ++ key=DB_POOL
3154remote: ++ value=35
3155remote: ++ case "$value" in
3156remote: ++ value='"35"'
3157remote: ++ echo 'export DB_POOL="35"'
3158remote: ++ read -r line
3159remote: ++ [[ DEBUG_ACTIVE_RESOURCE=true =~ ^#.* ]]
3160remote: ++ [[ DEBUG_ACTIVE_RESOURCE=true =~ ^$ ]]
3161remote: ++ key=DEBUG_ACTIVE_RESOURCE
3162remote: ++ key=DEBUG_ACTIVE_RESOURCE
3163remote: ++ value=true
3164remote: ++ case "$value" in
3165remote: ++ value='"true"'
3166remote: ++ echo 'export DEBUG_ACTIVE_RESOURCE="true"'
3167remote: ++ read -r line
3168remote: ++ [[ DEBUG_GRAPHQL_ADJUSTMENT=false =~ ^#.* ]]
3169remote: ++ [[ DEBUG_GRAPHQL_ADJUSTMENT=false =~ ^$ ]]
3170remote: ++ key=DEBUG_GRAPHQL_ADJUSTMENT
3171remote: ++ key=DEBUG_GRAPHQL_ADJUSTMENT
3172remote: ++ value=false
3173remote: ++ case "$value" in
3174remote: ++ value='"false"'
3175remote: ++ echo 'export DEBUG_GRAPHQL_ADJUSTMENT="false"'
3176remote: ++ read -r line
3177remote: ++ [[ ENABLE_INVENTORY_API=true =~ ^#.* ]]
3178remote: ++ [[ ENABLE_INVENTORY_API=true =~ ^$ ]]
3179remote: ++ key=ENABLE_INVENTORY_API
3180remote: ++ key=ENABLE_INVENTORY_API
3181remote: ++ value=true
3182remote: ++ case "$value" in
3183remote: ++ value='"true"'
3184remote: ++ echo 'export ENABLE_INVENTORY_API="true"'
3185remote: ++ read -r line
3186remote: ++ [[ FEATURE_ENABLED_NEW_PRICING=true =~ ^#.* ]]
3187remote: ++ [[ FEATURE_ENABLED_NEW_PRICING=true =~ ^$ ]]
3188remote: ++ key=FEATURE_ENABLED_NEW_PRICING
3189remote: ++ key=FEATURE_ENABLED_NEW_PRICING
3190remote: ++ value=true
3191remote: ++ case "$value" in
3192remote: ++ value='"true"'
3193remote: ++ echo 'export FEATURE_ENABLED_NEW_PRICING="true"'
3194remote: ++ read -r line
3195remote: ++ [[ FEATURE_ENABLED_PO_MAILING=true =~ ^#.* ]]
3196remote: ++ [[ FEATURE_ENABLED_PO_MAILING=true =~ ^$ ]]
3197remote: ++ key=FEATURE_ENABLED_PO_MAILING
3198remote: ++ key=FEATURE_ENABLED_PO_MAILING
3199remote: ++ value=true
3200remote: ++ case "$value" in
3201remote: ++ value='"true"'
3202remote: ++ echo 'export FEATURE_ENABLED_PO_MAILING="true"'
3203remote: ++ read -r line
3204remote: ++ [[ FEATURE_ORG_IMAGES_ENABLED=true =~ ^#.* ]]
3205remote: ++ [[ FEATURE_ORG_IMAGES_ENABLED=true =~ ^$ ]]
3206remote: ++ key=FEATURE_ORG_IMAGES_ENABLED
3207remote: ++ key=FEATURE_ORG_IMAGES_ENABLED
3208remote: ++ value=true
3209remote: ++ case "$value" in
3210remote: ++ value='"true"'
3211remote: ++ echo 'export FEATURE_ORG_IMAGES_ENABLED="true"'
3212remote: ++ read -r line
3213remote: ++ [[ FEATURE_PO_ENABLED=true =~ ^#.* ]]
3214remote: ++ [[ FEATURE_PO_ENABLED=true =~ ^$ ]]
3215remote: ++ key=FEATURE_PO_ENABLED
3216remote: ++ key=FEATURE_PO_ENABLED
3217remote: ++ value=true
3218remote: ++ case "$value" in
3219remote: ++ value='"true"'
3220remote: ++ echo 'export FEATURE_PO_ENABLED="true"'
3221remote: ++ read -r line
3222remote: ++ [[ FEATURE_RECEIVE_UPDATES_ENABLED=true =~ ^#.* ]]
3223remote: ++ [[ FEATURE_RECEIVE_UPDATES_ENABLED=true =~ ^$ ]]
3224remote: ++ key=FEATURE_RECEIVE_UPDATES_ENABLED
3225remote: ++ key=FEATURE_RECEIVE_UPDATES_ENABLED
3226remote: ++ value=true
3227remote: ++ case "$value" in
3228remote: ++ value='"true"'
3229remote: ++ echo 'export FEATURE_RECEIVE_UPDATES_ENABLED="true"'
3230remote: ++ read -r line
3231remote: ++ [[ FORCE_MX_TRACK=true =~ ^#.* ]]
3232remote: ++ [[ FORCE_MX_TRACK=true =~ ^$ ]]
3233remote: ++ key=FORCE_MX_TRACK
3234remote: ++ key=FORCE_MX_TRACK
3235remote: ++ value=true
3236remote: ++ case "$value" in
3237remote: ++ value='"true"'
3238remote: ++ echo 'export FORCE_MX_TRACK="true"'
3239remote: ++ read -r line
3240remote: ++ [[ GRAPHQL_ADJUSTMENT_ENABLED=true =~ ^#.* ]]
3241remote: ++ [[ GRAPHQL_ADJUSTMENT_ENABLED=true =~ ^$ ]]
3242remote: ++ key=GRAPHQL_ADJUSTMENT_ENABLED
3243remote: ++ key=GRAPHQL_ADJUSTMENT_ENABLED
3244remote: ++ value=true
3245remote: ++ case "$value" in
3246remote: ++ value='"true"'
3247remote: ++ echo 'export GRAPHQL_ADJUSTMENT_ENABLED="true"'
3248remote: ++ read -r line
3249remote: ++ [[ GRAPHQL_IMPORTER_ENABLED=false =~ ^#.* ]]
3250remote: ++ [[ GRAPHQL_IMPORTER_ENABLED=false =~ ^$ ]]
3251remote: ++ key=GRAPHQL_IMPORTER_ENABLED
3252remote: ++ key=GRAPHQL_IMPORTER_ENABLED
3253remote: ++ value=false
3254remote: ++ case "$value" in
3255remote: ++ value='"false"'
3256remote: ++ echo 'export GRAPHQL_IMPORTER_ENABLED="false"'
3257remote: ++ read -r line
3258remote: ++ [[ HOSTNAME=stocksavvy-dev.herokuapp.com =~ ^#.* ]]
3259remote: ++ [[ HOSTNAME=stocksavvy-dev.herokuapp.com =~ ^$ ]]
3260remote: ++ key=HOSTNAME
3261remote: ++ key=HOSTNAME
3262remote: ++ value=stocksavvy-dev.herokuapp.com
3263remote: ++ case "$value" in
3264remote: ++ value='"stocksavvy-dev.herokuapp.com"'
3265remote: ++ echo 'export HOSTNAME="stocksavvy-dev.herokuapp.com"'
3266remote: ++ read -r line
3267remote: ++ [[ ITEMS_LIMIT=1000 =~ ^#.* ]]
3268remote: ++ [[ ITEMS_LIMIT=1000 =~ ^$ ]]
3269remote: ++ key=ITEMS_LIMIT
3270remote: ++ key=ITEMS_LIMIT
3271remote: ++ value=1000
3272remote: ++ case "$value" in
3273remote: ++ value='"1000"'
3274remote: ++ echo 'export ITEMS_LIMIT="1000"'
3275remote: ++ read -r line
3276remote: ++ [[ LANG=en_US.UTF-8 =~ ^#.* ]]
3277remote: ++ [[ LANG=en_US.UTF-8 =~ ^$ ]]
3278remote: ++ key=LANG
3279remote: ++ key=LANG
3280remote: ++ value=en_US.UTF-8
3281remote: ++ case "$value" in
3282remote: ++ value='"en_US.UTF-8"'
3283remote: ++ echo 'export LANG="en_US.UTF-8"'
3284remote: ++ read -r line
3285remote: ++ [[ LARGE_ORG_THRESHOLD=30000 =~ ^#.* ]]
3286remote: ++ [[ LARGE_ORG_THRESHOLD=30000 =~ ^$ ]]
3287remote: ++ key=LARGE_ORG_THRESHOLD
3288remote: ++ key=LARGE_ORG_THRESHOLD
3289remote: ++ value=30000
3290remote: ++ case "$value" in
3291remote: ++ value='"30000"'
3292remote: ++ echo 'export LARGE_ORG_THRESHOLD="30000"'
3293remote: ++ read -r line
3294remote: ++ [[ LITE_INVENTORY_LIMIT=10 =~ ^#.* ]]
3295remote: ++ [[ LITE_INVENTORY_LIMIT=10 =~ ^$ ]]
3296remote: ++ key=LITE_INVENTORY_LIMIT
3297remote: ++ key=LITE_INVENTORY_LIMIT
3298remote: ++ value=10
3299remote: ++ case "$value" in
3300remote: ++ value='"10"'
3301remote: ++ echo 'export LITE_INVENTORY_LIMIT="10"'
3302remote: ++ read -r line
3303remote: ++ [[ LOGGING_BG_ENABLED=false =~ ^#.* ]]
3304remote: ++ [[ LOGGING_BG_ENABLED=false =~ ^$ ]]
3305remote: ++ key=LOGGING_BG_ENABLED
3306remote: ++ key=LOGGING_BG_ENABLED
3307remote: ++ value=false
3308remote: ++ case "$value" in
3309remote: ++ value='"false"'
3310remote: ++ echo 'export LOGGING_BG_ENABLED="false"'
3311remote: ++ read -r line
3312remote: ++ [[ LOGS_INCLUDE_SQS_PAYLOAD=false =~ ^#.* ]]
3313remote: ++ [[ LOGS_INCLUDE_SQS_PAYLOAD=false =~ ^$ ]]
3314remote: ++ key=LOGS_INCLUDE_SQS_PAYLOAD
3315remote: ++ key=LOGS_INCLUDE_SQS_PAYLOAD
3316remote: ++ value=false
3317remote: ++ case "$value" in
3318remote: ++ value='"false"'
3319remote: ++ echo 'export LOGS_INCLUDE_SQS_PAYLOAD="false"'
3320remote: ++ read -r line
3321remote: ++ [[ LOGS_OMIT_SHOPIFY_WEBHOOKS=false =~ ^#.* ]]
3322remote: ++ [[ LOGS_OMIT_SHOPIFY_WEBHOOKS=false =~ ^$ ]]
3323remote: ++ key=LOGS_OMIT_SHOPIFY_WEBHOOKS
3324remote: ++ key=LOGS_OMIT_SHOPIFY_WEBHOOKS
3325remote: ++ value=false
3326remote: ++ case "$value" in
3327remote: ++ value='"false"'
3328remote: ++ echo 'export LOGS_OMIT_SHOPIFY_WEBHOOKS="false"'
3329remote: ++ read -r line
3330remote: ++ [[ MALLOC_ARENA_MAX=2 =~ ^#.* ]]
3331remote: ++ [[ MALLOC_ARENA_MAX=2 =~ ^$ ]]
3332remote: ++ key=MALLOC_ARENA_MAX
3333remote: ++ key=MALLOC_ARENA_MAX
3334remote: ++ value=2
3335remote: ++ case "$value" in
3336remote: ++ value='"2"'
3337remote: ++ echo 'export MALLOC_ARENA_MAX="2"'
3338remote: ++ read -r line
3339remote: ++ [[ MAX_ITEMS_PER_SESSION=500 =~ ^#.* ]]
3340remote: ++ [[ MAX_ITEMS_PER_SESSION=500 =~ ^$ ]]
3341remote: ++ key=MAX_ITEMS_PER_SESSION
3342remote: ++ key=MAX_ITEMS_PER_SESSION
3343remote: ++ value=500
3344remote: ++ case "$value" in
3345remote: ++ value='"500"'
3346remote: ++ echo 'export MAX_ITEMS_PER_SESSION="500"'
3347remote: ++ read -r line
3348remote: ++ [[ MAX_ITEMS_PER_SESSION_PLUS=1000 =~ ^#.* ]]
3349remote: ++ [[ MAX_ITEMS_PER_SESSION_PLUS=1000 =~ ^$ ]]
3350remote: ++ key=MAX_ITEMS_PER_SESSION_PLUS
3351remote: ++ key=MAX_ITEMS_PER_SESSION_PLUS
3352remote: ++ value=1000
3353remote: ++ case "$value" in
3354remote: ++ value='"1000"'
3355remote: ++ echo 'export MAX_ITEMS_PER_SESSION_PLUS="1000"'
3356remote: ++ read -r line
3357remote: ++ [[ MAX_ITEMS_PER_SESSION_PLUS_EXTRA=10000 =~ ^#.* ]]
3358remote: ++ [[ MAX_ITEMS_PER_SESSION_PLUS_EXTRA=10000 =~ ^$ ]]
3359remote: ++ key=MAX_ITEMS_PER_SESSION_PLUS_EXTRA
3360remote: ++ key=MAX_ITEMS_PER_SESSION_PLUS_EXTRA
3361remote: ++ value=10000
3362remote: ++ case "$value" in
3363remote: ++ value='"10000"'
3364remote: ++ echo 'export MAX_ITEMS_PER_SESSION_PLUS_EXTRA="10000"'
3365remote: ++ read -r line
3366remote: ++ [[ MAX_ITEMS_PER_SESSION_YEARLY=1000 =~ ^#.* ]]
3367remote: ++ [[ MAX_ITEMS_PER_SESSION_YEARLY=1000 =~ ^$ ]]
3368remote: ++ key=MAX_ITEMS_PER_SESSION_YEARLY
3369remote: ++ key=MAX_ITEMS_PER_SESSION_YEARLY
3370remote: ++ value=1000
3371remote: ++ case "$value" in
3372remote: ++ value='"1000"'
3373remote: ++ echo 'export MAX_ITEMS_PER_SESSION_YEARLY="1000"'
3374remote: ++ read -r line
3375remote: ++ [[ MIXPANEL_TOKEN=293267eaaebc469a6380eb2b0fc9b4f0 =~ ^#.* ]]
3376remote: ++ [[ MIXPANEL_TOKEN=293267eaaebc469a6380eb2b0fc9b4f0 =~ ^$ ]]
3377remote: ++ key=MIXPANEL_TOKEN
3378remote: ++ key=MIXPANEL_TOKEN
3379remote: ++ value=293267eaaebc469a6380eb2b0fc9b4f0
3380remote: ++ case "$value" in
3381remote: ++ value='"293267eaaebc469a6380eb2b0fc9b4f0"'
3382remote: ++ echo 'export MIXPANEL_TOKEN="293267eaaebc469a6380eb2b0fc9b4f0"'
3383remote: ++ read -r line
3384remote: ++ [[ NIGHTLY_JOB_CONCURRENT_JOBS_LIMIT=3 =~ ^#.* ]]
3385remote: ++ [[ NIGHTLY_JOB_CONCURRENT_JOBS_LIMIT=3 =~ ^$ ]]
3386remote: ++ key=NIGHTLY_JOB_CONCURRENT_JOBS_LIMIT
3387remote: ++ key=NIGHTLY_JOB_CONCURRENT_JOBS_LIMIT
3388remote: ++ value=3
3389remote: ++ case "$value" in
3390remote: ++ value='"3"'
3391remote: ++ echo 'export NIGHTLY_JOB_CONCURRENT_JOBS_LIMIT="3"'
3392remote: ++ read -r line
3393remote: ++ [[ NIGHTLY_JOB_INTERVAL_BETWEEN_BATCH=30 =~ ^#.* ]]
3394remote: ++ [[ NIGHTLY_JOB_INTERVAL_BETWEEN_BATCH=30 =~ ^$ ]]
3395remote: ++ key=NIGHTLY_JOB_INTERVAL_BETWEEN_BATCH
3396remote: ++ key=NIGHTLY_JOB_INTERVAL_BETWEEN_BATCH
3397remote: ++ value=30
3398remote: ++ case "$value" in
3399remote: ++ value='"30"'
3400remote: ++ echo 'export NIGHTLY_JOB_INTERVAL_BETWEEN_BATCH="30"'
3401remote: ++ read -r line
3402remote: ++ [[ NIGHTLY_REMOVE_OLD_ITEMS=false =~ ^#.* ]]
3403remote: ++ [[ NIGHTLY_REMOVE_OLD_ITEMS=false =~ ^$ ]]
3404remote: ++ key=NIGHTLY_REMOVE_OLD_ITEMS
3405remote: ++ key=NIGHTLY_REMOVE_OLD_ITEMS
3406remote: ++ value=false
3407remote: ++ case "$value" in
3408remote: ++ value='"false"'
3409remote: ++ echo 'export NIGHTLY_REMOVE_OLD_ITEMS="false"'
3410remote: ++ read -r line
3411remote: ++ [[ NIGHTLY_SYNC_DELAY=300 =~ ^#.* ]]
3412remote: ++ [[ NIGHTLY_SYNC_DELAY=300 =~ ^$ ]]
3413remote: ++ key=NIGHTLY_SYNC_DELAY
3414remote: ++ key=NIGHTLY_SYNC_DELAY
3415remote: ++ value=300
3416remote: ++ case "$value" in
3417remote: ++ value='"300"'
3418remote: ++ echo 'export NIGHTLY_SYNC_DELAY="300"'
3419remote: ++ read -r line
3420remote: ++ [[ RACK_ENV=production =~ ^#.* ]]
3421remote: ++ [[ RACK_ENV=production =~ ^$ ]]
3422remote: ++ key=RACK_ENV
3423remote: ++ key=RACK_ENV
3424remote: ++ value=production
3425remote: ++ case "$value" in
3426remote: ++ value='"production"'
3427remote: ++ echo 'export RACK_ENV="production"'
3428remote: ++ read -r line
3429remote: ++ [[ RAILS_ENV=production =~ ^#.* ]]
3430remote: ++ [[ RAILS_ENV=production =~ ^$ ]]
3431remote: ++ key=RAILS_ENV
3432remote: ++ key=RAILS_ENV
3433remote: ++ value=production
3434remote: ++ case "$value" in
3435remote: ++ value='"production"'
3436remote: ++ echo 'export RAILS_ENV="production"'
3437remote: ++ read -r line
3438remote: ++ [[ RAILS_LOG_TO_STDOUT=enabled =~ ^#.* ]]
3439remote: ++ [[ RAILS_LOG_TO_STDOUT=enabled =~ ^$ ]]
3440remote: ++ key=RAILS_LOG_TO_STDOUT
3441remote: ++ key=RAILS_LOG_TO_STDOUT
3442remote: ++ value=enabled
3443remote: ++ case "$value" in
3444remote: ++ value='"enabled"'
3445remote: ++ echo 'export RAILS_LOG_TO_STDOUT="enabled"'
3446remote: ++ read -r line
3447remote: ++ [[ #REDISCLOUD_URL=redis://localhost:6379 =~ ^#.* ]]
3448remote: ++ continue
3449remote: ++ read -r line
3450remote: ++ [[ S3_ACCESS_KEY=<redacted> =~ ^#.* ]]
3451remote: ++ [[ S3_ACCESS_KEY=<redacted> =~ ^$ ]]
3452remote: ++ key=S3_ACCESS_KEY
3453remote: ++ key=S3_ACCESS_KEY
3454remote: ++ value=<redacted>
3455remote: ++ case "$value" in
3456remote: ++ value='"<redacted>"'
3457remote: ++ echo 'export S3_ACCESS_KEY="<redacted>"'
3458remote: ++ read -r line
3459remote: ++ [[ S3_BUCKET=stocksavvy-dev =~ ^#.* ]]
3460remote: ++ [[ S3_BUCKET=stocksavvy-dev =~ ^$ ]]
3461remote: ++ key=S3_BUCKET
3462remote: ++ key=S3_BUCKET
3463remote: ++ value=stocksavvy-dev
3464remote: ++ case "$value" in
3465remote: ++ value='"stocksavvy-dev"'
3466remote: ++ echo 'export S3_BUCKET="stocksavvy-dev"'
3467remote: ++ read -r line
3468remote: ++ [[ S3_SECRET_KEY=<redacted> =~ ^#.* ]]
3469remote: ++ [[ S3_SECRET_KEY=<redacted> =~ ^$ ]]
3470remote: ++ key=S3_SECRET_KEY
3471remote: ++ key=S3_SECRET_KEY
3472remote: ++ value=<redacted>
3473remote: ++ case "$value" in
3474remote: ++ value='"<redacted>"'
3475remote: ++ echo 'export S3_SECRET_KEY="<redacted>"'
3476remote: ++ read -r line
3477remote: ++ [[ SHORYUKEN_CONCURRENCY=30 =~ ^#.* ]]
3478remote: ++ [[ SHORYUKEN_CONCURRENCY=30 =~ ^$ ]]
3479remote: ++ key=SHORYUKEN_CONCURRENCY
3480remote: ++ key=SHORYUKEN_CONCURRENCY
3481remote: ++ value=30
3482remote: ++ case "$value" in
3483remote: ++ value='"30"'
3484remote: ++ echo 'export SHORYUKEN_CONCURRENCY="30"'
3485remote: ++ read -r line
3486remote: ++ [[ SIDEKIQ_CONCURRENCY=30 =~ ^#.* ]]
3487remote: ++ [[ SIDEKIQ_CONCURRENCY=30 =~ ^$ ]]
3488remote: ++ key=SIDEKIQ_CONCURRENCY
3489remote: ++ key=SIDEKIQ_CONCURRENCY
3490remote: ++ value=30
3491remote: ++ case "$value" in
3492remote: ++ value='"30"'
3493remote: ++ echo 'export SIDEKIQ_CONCURRENCY="30"'
3494remote: ++ read -r line
3495remote: ++ [[ SIDEKIQ_PASSWORD=stocksavvypass =~ ^#.* ]]
3496remote: ++ [[ SIDEKIQ_PASSWORD=stocksavvypass =~ ^$ ]]
3497remote: ++ key=SIDEKIQ_PASSWORD
3498remote: ++ key=SIDEKIQ_PASSWORD
3499remote: ++ value=stocksavvypass
3500remote: ++ case "$value" in
3501remote: ++ value='"stocksavvypass"'
3502remote: ++ echo 'export SIDEKIQ_PASSWORD="stocksavvypass"'
3503remote: ++ read -r line
3504remote: ++ [[ SIDEKIQ_USERNAME=dev =~ ^#.* ]]
3505remote: ++ [[ SIDEKIQ_USERNAME=dev =~ ^$ ]]
3506remote: ++ key=SIDEKIQ_USERNAME
3507remote: ++ key=SIDEKIQ_USERNAME
3508remote: ++ value=dev
3509remote: ++ case "$value" in
3510remote: ++ value='"dev"'
3511remote: ++ echo 'export SIDEKIQ_USERNAME="dev"'
3512remote: ++ read -r line
3513remote: ++ [[ STACK=production =~ ^#.* ]]
3514remote: ++ [[ STACK=production =~ ^$ ]]
3515remote: ++ key=STACK
3516remote: ++ key=STACK
3517remote: ++ value=production
3518remote: ++ case "$value" in
3519remote: ++ value='"production"'
3520remote: ++ echo 'export STACK="production"'
3521remote: ++ read -r line
3522remote: ++ [[ UNSCANNED_ZEROING_LIMIT=5 =~ ^#.* ]]
3523remote: ++ [[ UNSCANNED_ZEROING_LIMIT=5 =~ ^$ ]]
3524remote: ++ key=UNSCANNED_ZEROING_LIMIT
3525remote: ++ key=UNSCANNED_ZEROING_LIMIT
3526remote: ++ value=5
3527remote: ++ case "$value" in
3528remote: ++ value='"5"'
3529remote: ++ echo 'export UNSCANNED_ZEROING_LIMIT="5"'
3530remote: ++ read -r line
3531remote: ++ [[ WEB_CONCURRENCY=1 =~ ^#.* ]]
3532remote: ++ [[ WEB_CONCURRENCY=1 =~ ^$ ]]
3533remote: ++ key=WEB_CONCURRENCY
3534remote: ++ key=WEB_CONCURRENCY
3535remote: ++ value=1
3536remote: ++ case "$value" in
3537remote: ++ value='"1"'
3538remote: ++ echo 'export WEB_CONCURRENCY="1"'
3539remote: ++ read -r line
3540remote: ++ [[ WEBHOOK_PROCESSOR_URL=<redacted> =~ ^#.* ]]
3541remote: ++ [[ WEBHOOK_PROCESSOR_URL=<redacted> =~ ^$ ]]
3542remote: ++ key=WEBHOOK_PROCESSOR_URL
3543remote: ++ key=WEBHOOK_PROCESSOR_URL
3544remote: ++ value=<redacted>
3545remote: ++ case "$value" in
3546remote: ++ value='"<redacted>"'
3547remote: ++ echo 'export WEBHOOK_PROCESSOR_URL="<redacted>"'
3548remote: ++ read -r line
3549remote: ++ [[ FEATURE_ENABLED_SQS_WEBHOOKS=falseCURL_CONNECT_TIMEOUT="180" =~ ^#.* ]]
3550remote: ++ [[ FEATURE_ENABLED_SQS_WEBHOOKS=falseCURL_CONNECT_TIMEOUT="180" =~ ^$ ]]
3551remote: ++ key=FEATURE_ENABLED_SQS_WEBHOOKS
3552remote: ++ key=FEATURE_ENABLED_SQS_WEBHOOKS
3553remote: ++ value='falseCURL_CONNECT_TIMEOUT="180"'
3554remote: ++ case "$value" in
3555remote: ++ value='"falseCURL_CONNECT_TIMEOUT="180""'
3556remote: ++ echo 'export FEATURE_ENABLED_SQS_WEBHOOKS="falseCURL_CONNECT_TIMEOUT="180""'
3557remote: ++ read -r line
3558remote: ++ [[ CURL_TIMEOUT="1200" =~ ^#.* ]]
3559remote: ++ [[ CURL_TIMEOUT="1200" =~ ^$ ]]
3560remote: ++ key=CURL_TIMEOUT
3561remote: ++ key=CURL_TIMEOUT
3562remote: ++ value='"1200"'
3563remote: ++ case "$value" in
3564remote: ++ value='"1200"'
3565remote: ++ echo 'export CURL_TIMEOUT="1200"'
3566remote: ++ read -r line
3567remote: ++ [[ DATABASE_URL="<redacted>" =~ ^#.* ]]
3568remote: ++ [[ DATABASE_URL="<redacted>" =~ ^$ ]]
3569remote: ++ key=DATABASE_URL
3570remote: ++ key=DATABASE_URL
3571remote: ++ value='"<redacted>"'
3572remote: ++ case "$value" in
3573remote: ++ value='"<redacted>"'
3574remote: ++ echo 'export DATABASE_URL="<redacted>"'
3575remote: ++ read -r line
3576remote: ++ [[ DOKKU_APP_RESTORE="1" =~ ^#.* ]]
3577remote: ++ [[ DOKKU_APP_RESTORE="1" =~ ^$ ]]
3578remote: ++ key=DOKKU_APP_RESTORE
3579remote: ++ key=DOKKU_APP_RESTORE
3580remote: ++ value='"1"'
3581remote: ++ case "$value" in
3582remote: ++ value='"1"'
3583remote: ++ echo 'export DOKKU_APP_RESTORE="1"'
3584remote: ++ read -r line
3585remote: ++ [[ DOKKU_APP_TYPE="herokuish" =~ ^#.* ]]
3586remote: ++ [[ DOKKU_APP_TYPE="herokuish" =~ ^$ ]]
3587remote: ++ key=DOKKU_APP_TYPE
3588remote: ++ key=DOKKU_APP_TYPE
3589remote: ++ value='"herokuish"'
3590remote: ++ case "$value" in
3591remote: ++ value='"herokuish"'
3592remote: ++ echo 'export DOKKU_APP_TYPE="herokuish"'
3593remote: ++ read -r line
3594remote: ++ [[ DOKKU_DOCKERFILE_PORTS="3000" =~ ^#.* ]]
3595remote: ++ [[ DOKKU_DOCKERFILE_PORTS="3000" =~ ^$ ]]
3596remote: ++ key=DOKKU_DOCKERFILE_PORTS
3597remote: ++ key=DOKKU_DOCKERFILE_PORTS
3598remote: ++ value='"3000"'
3599remote: ++ case "$value" in
3600remote: ++ value='"3000"'
3601remote: ++ echo 'export DOKKU_DOCKERFILE_PORTS="3000"'
3602remote: ++ read -r line
3603remote: ++ [[ DOKKU_LETSENCRYPT_EMAIL="<redacted>" =~ ^#.* ]]
3604remote: ++ [[ DOKKU_LETSENCRYPT_EMAIL="<redacted>" =~ ^$ ]]
3605remote: ++ key=DOKKU_LETSENCRYPT_EMAIL
3606remote: ++ key=DOKKU_LETSENCRYPT_EMAIL
3607remote: ++ value='"<redacted>"'
3608remote: ++ case "$value" in
3609remote: ++ value='"<redacted>"'
3610remote: ++ echo 'export DOKKU_LETSENCRYPT_EMAIL="<redacted>"'
3611remote: ++ read -r line
3612remote: ++ [[ DOKKU_PROXY_PORT_MAP="http:80:3000" =~ ^#.* ]]
3613remote: ++ [[ DOKKU_PROXY_PORT_MAP="http:80:3000" =~ ^$ ]]
3614remote: ++ key=DOKKU_PROXY_PORT_MAP
3615remote: ++ key=DOKKU_PROXY_PORT_MAP
3616remote: ++ value='"http:80:3000"'
3617remote: ++ case "$value" in
3618remote: ++ value='"http:80:3000"'
3619remote: ++ echo 'export DOKKU_PROXY_PORT_MAP="http:80:3000"'
3620remote: ++ read -r line
3621remote: ++ [[ GIT_REV="97a9f7abed61e9c037927e6567360fd1cd1d284c" =~ ^#.* ]]
3622remote: ++ [[ GIT_REV="97a9f7abed61e9c037927e6567360fd1cd1d284c" =~ ^$ ]]
3623remote: ++ key=GIT_REV
3624remote: ++ key=GIT_REV
3625remote: ++ value='"97a9f7abed61e9c037927e6567360fd1cd1d284c"'
3626remote: ++ case "$value" in
3627remote: ++ value='"97a9f7abed61e9c037927e6567360fd1cd1d284c"'
3628remote: ++ echo 'export GIT_REV="97a9f7abed61e9c037927e6567360fd1cd1d284c"'
3629remote: ++ read -r line
3630remote: ++ [[ REDISCLOUD_URL="<redacted>" =~ ^#.* ]]
3631remote: ++ [[ REDISCLOUD_URL="<redacted>" =~ ^$ ]]
3632remote: ++ key=REDISCLOUD_URL
3633remote: ++ key=REDISCLOUD_URL
3634remote: ++ value='"<redacted>"'
3635remote: ++ case "$value" in
3636remote: ++ value='"<redacted>"'
3637remote: ++ echo 'export REDISCLOUD_URL="<redacted>"'
3638remote: ++ read -r line
3639remote: ++ [[ REDIS_URL="<redacted>" =~ ^#.* ]]
3640remote: ++ [[ REDIS_URL="<redacted>" =~ ^$ ]]
3641remote: ++ key=REDIS_URL
3642remote: ++ key=REDIS_URL
3643remote: ++ value='"<redacted>"'
3644remote: ++ case "$value" in
3645remote: ++ value='"<redacted>"'
3646remote: ++ echo 'export REDIS_URL="<redacted>"'
3647remote: ++ read -r line
3648remote: ++ [[ -n '' ]]
3649remote: + eval export 'MIN_THREADS="1"' export 'MAX_THREADS="10"' export 'PORT="3000"' export 'RAILS_ENV="production"' export 'RAILS_ROOT="/usr/src/app"' export 'RACK_ENV="production"' export 'NODE_ENV="production"' export 'PORT="3000"' export 'SECRET_KEY_BASE="<redacted>"' export 'WEB_CONCURRENCY="1"' export 'APP_MODE="WEBHOOKS_PROCESSING"' export 'AWS_ACCESS_KEY_ID="<redacted>"' export 'AWS_REGION="us-east-1"' export 'AWS_SECRET_ACCESS_KEY="<redacted>"' export 'BETA="false"' export 'BG_JOB_LOG_MESSAGES_ENABLED="true"' export 'BG_UPDATE_SESS_THRESHOLD="150"' export 'COST_IMPORTER_MAX_ITEM_LIMIT="20000"' export 'DB_POOL="35"' export 'DEBUG_ACTIVE_RESOURCE="true"' export 'DEBUG_GRAPHQL_ADJUSTMENT="false"' export 'ENABLE_INVENTORY_API="true"' export 'FEATURE_ENABLED_NEW_PRICING="true"' export 'FEATURE_ENABLED_PO_MAILING="true"' export 'FEATURE_ORG_IMAGES_ENABLED="true"' export 'FEATURE_PO_ENABLED="true"' export 'FEATURE_RECEIVE_UPDATES_ENABLED="true"' export 'FORCE_MX_TRACK="true"' export 'GRAPHQL_ADJUSTMENT_ENABLED="true"' export 'GRAPHQL_IMPORTER_ENABLED="false"' export 'HOSTNAME="stocksavvy-dev.herokuapp.com"' export 'ITEMS_LIMIT="1000"' export 'LANG="en_US.UTF-8"' export 'LARGE_ORG_THRESHOLD="30000"' export 'LITE_INVENTORY_LIMIT="10"' export 'LOGGING_BG_ENABLED="false"' export 'LOGS_INCLUDE_SQS_PAYLOAD="false"' export 'LOGS_OMIT_SHOPIFY_WEBHOOKS="false"' export 'MALLOC_ARENA_MAX="2"' export 'MAX_ITEMS_PER_SESSION="500"' export 'MAX_ITEMS_PER_SESSION_PLUS="1000"' export 'MAX_ITEMS_PER_SESSION_PLUS_EXTRA="10000"' export 'MAX_ITEMS_PER_SESSION_YEARLY="1000"' export 'MIXPANEL_TOKEN="293267eaaebc469a6380eb2b0fc9b4f0"' export 'NIGHTLY_JOB_CONCURRENT_JOBS_LIMIT="3"' export 'NIGHTLY_JOB_INTERVAL_BETWEEN_BATCH="30"' export 'NIGHTLY_REMOVE_OLD_ITEMS="false"' export 'NIGHTLY_SYNC_DELAY="300"' export 'RACK_ENV="production"' export 'RAILS_ENV="production"' export 'RAILS_LOG_TO_STDOUT="enabled"' export 'S3_ACCESS_KEY="<redacted>"' export 'S3_BUCKET="stocksavvy-dev"' export 'S3_SECRET_KEY="<redacted>"' export 'SHORYUKEN_CONCURRENCY="30"' export 'SIDEKIQ_CONCURRENCY="30"' export 'SIDEKIQ_PASSWORD="stocksavvypass"' export 'SIDEKIQ_USERNAME="dev"' export 'STACK="production"' export 'UNSCANNED_ZEROING_LIMIT="5"' export 'WEB_CONCURRENCY="1"' export 'WEBHOOK_PROCESSOR_URL="<redacted>"' export 'FEATURE_ENABLED_SQS_WEBHOOKS="falseCURL_CONNECT_TIMEOUT="180""' export 'CURL_TIMEOUT="1200"' export 'DATABASE_URL="<redacted>"' export 'DOKKU_APP_RESTORE="1"' export 'DOKKU_APP_TYPE="herokuish"' export 'DOKKU_DOCKERFILE_PORTS="3000"' export 'DOKKU_LETSENCRYPT_EMAIL="<redacted>"' export 'DOKKU_PROXY_PORT_MAP="http:80:3000"' export 'GIT_REV="97a9f7abed61e9c037927e6567360fd1cd1d284c"' export 'REDISCLOUD_URL="<redacted>"' export 'REDIS_URL="<redacted>"'
3650remote: ++ export MIN_THREADS=1 export MAX_THREADS=10 export PORT=3000 export RAILS_ENV=production export RAILS_ROOT=/usr/src/app export RACK_ENV=production export NODE_ENV=production export PORT=3000 export SECRET_KEY_BASE=<redacted> export WEB_CONCURRENCY=1 export APP_MODE=WEBHOOKS_PROCESSING export AWS_ACCESS_KEY_ID=<redacted> export AWS_REGION=us-east-1 export AWS_SECRET_ACCESS_KEY=<redacted> export BETA=false export BG_JOB_LOG_MESSAGES_ENABLED=true export BG_UPDATE_SESS_THRESHOLD=150 export COST_IMPORTER_MAX_ITEM_LIMIT=20000 export DB_POOL=35 export DEBUG_ACTIVE_RESOURCE=true export DEBUG_GRAPHQL_ADJUSTMENT=false export ENABLE_INVENTORY_API=true export FEATURE_ENABLED_NEW_PRICING=true export FEATURE_ENABLED_PO_MAILING=true export FEATURE_ORG_IMAGES_ENABLED=true export FEATURE_PO_ENABLED=true export FEATURE_RECEIVE_UPDATES_ENABLED=true export FORCE_MX_TRACK=true export GRAPHQL_ADJUSTMENT_ENABLED=true export GRAPHQL_IMPORTER_ENABLED=false export HOSTNAME=stocksavvy-dev.herokuapp.com export ITEMS_LIMIT=1000 export LANG=en_US.UTF-8 export LARGE_ORG_THRESHOLD=30000 export LITE_INVENTORY_LIMIT=10 export LOGGING_BG_ENABLED=false export LOGS_INCLUDE_SQS_PAYLOAD=false export LOGS_OMIT_SHOPIFY_WEBHOOKS=false export MALLOC_ARENA_MAX=2 export MAX_ITEMS_PER_SESSION=500 export MAX_ITEMS_PER_SESSION_PLUS=1000 export MAX_ITEMS_PER_SESSION_PLUS_EXTRA=10000 export MAX_ITEMS_PER_SESSION_YEARLY=1000 export MIXPANEL_TOKEN=293267eaaebc469a6380eb2b0fc9b4f0 export NIGHTLY_JOB_CONCURRENT_JOBS_LIMIT=3 export NIGHTLY_JOB_INTERVAL_BETWEEN_BATCH=30 export NIGHTLY_REMOVE_OLD_ITEMS=false export NIGHTLY_SYNC_DELAY=300 export RACK_ENV=production export RAILS_ENV=production export RAILS_LOG_TO_STDOUT=enabled export S3_ACCESS_KEY=<redacted> export S3_BUCKET=stocksavvy-dev export S3_SECRET_KEY=<redacted> export SHORYUKEN_CONCURRENCY=30 export SIDEKIQ_CONCURRENCY=30 export SIDEKIQ_PASSWORD=stocksavvypass export SIDEKIQ_USERNAME=dev export STACK=production export UNSCANNED_ZEROING_LIMIT=5 export WEB_CONCURRENCY=1 export WEBHOOK_PROCESSOR_URL=<redacted> export FEATURE_ENABLED_SQS_WEBHOOKS=falseCURL_CONNECT_TIMEOUT=180 export CURL_TIMEOUT=1200 export DATABASE_URL=<redacted> export DOKKU_APP_RESTORE=1 export DOKKU_APP_TYPE=herokuish export DOKKU_DOCKERFILE_PORTS=3000 export DOKKU_LETSENCRYPT_EMAIL=<redacted> export DOKKU_PROXY_PORT_MAP=http:80:3000 export GIT_REV=97a9f7abed61e9c037927e6567360fd1cd1d284c export REDISCLOUD_URL=<redacted> export REDIS_URL=<redacted>
3651remote: ++ MIN_THREADS=1
3652remote: ++ MAX_THREADS=10
3653remote: ++ PORT=3000
3654remote: ++ RAILS_ENV=production
3655remote: ++ RAILS_ROOT=/usr/src/app
3656remote: ++ RACK_ENV=production
3657remote: ++ NODE_ENV=production
3658remote: ++ PORT=3000
3659remote: ++ SECRET_KEY_BASE=<redacted>
3660remote: ++ WEB_CONCURRENCY=1
3661remote: ++ APP_MODE=WEBHOOKS_PROCESSING
3662remote: ++ AWS_ACCESS_KEY_ID=<redacted>
3663remote: ++ AWS_REGION=us-east-1
3664remote: ++ AWS_SECRET_ACCESS_KEY=<redacted>
3665remote: ++ BETA=false
3666remote: ++ BG_JOB_LOG_MESSAGES_ENABLED=true
3667remote: ++ BG_UPDATE_SESS_THRESHOLD=150
3668remote: ++ COST_IMPORTER_MAX_ITEM_LIMIT=20000
3669remote: ++ DB_POOL=35
3670remote: ++ DEBUG_ACTIVE_RESOURCE=true
3671remote: ++ DEBUG_GRAPHQL_ADJUSTMENT=false
3672remote: ++ ENABLE_INVENTORY_API=true
3673remote: ++ FEATURE_ENABLED_NEW_PRICING=true
3674remote: ++ FEATURE_ENABLED_PO_MAILING=true
3675remote: ++ FEATURE_ORG_IMAGES_ENABLED=true
3676remote: ++ FEATURE_PO_ENABLED=true
3677remote: ++ FEATURE_RECEIVE_UPDATES_ENABLED=true
3678remote: ++ FORCE_MX_TRACK=true
3679remote: ++ GRAPHQL_ADJUSTMENT_ENABLED=true
3680remote: ++ GRAPHQL_IMPORTER_ENABLED=false
3681remote: ++ HOSTNAME=stocksavvy-dev.herokuapp.com
3682remote: ++ ITEMS_LIMIT=1000
3683remote: ++ LANG=en_US.UTF-8
3684remote: ++ LARGE_ORG_THRESHOLD=30000
3685remote: ++ LITE_INVENTORY_LIMIT=10
3686remote: ++ LOGGING_BG_ENABLED=false
3687remote: ++ LOGS_INCLUDE_SQS_PAYLOAD=false
3688remote: ++ LOGS_OMIT_SHOPIFY_WEBHOOKS=false
3689remote: ++ MALLOC_ARENA_MAX=2
3690remote: ++ MAX_ITEMS_PER_SESSION=500
3691remote: ++ MAX_ITEMS_PER_SESSION_PLUS=1000
3692remote: ++ MAX_ITEMS_PER_SESSION_PLUS_EXTRA=10000
3693remote: ++ MAX_ITEMS_PER_SESSION_YEARLY=1000
3694remote: ++ MIXPANEL_TOKEN=293267eaaebc469a6380eb2b0fc9b4f0
3695remote: ++ NIGHTLY_JOB_CONCURRENT_JOBS_LIMIT=3
3696remote: ++ NIGHTLY_JOB_INTERVAL_BETWEEN_BATCH=30
3697remote: ++ NIGHTLY_REMOVE_OLD_ITEMS=false
3698remote: ++ NIGHTLY_SYNC_DELAY=300
3699remote: ++ RACK_ENV=production
3700remote: ++ RAILS_ENV=production
3701remote: ++ RAILS_LOG_TO_STDOUT=enabled
3702remote: ++ S3_ACCESS_KEY=<redacted>
3703remote: ++ S3_BUCKET=stocksavvy-dev
3704remote: ++ S3_SECRET_KEY=<redacted>
3705remote: ++ SHORYUKEN_CONCURRENCY=30
3706remote: ++ SIDEKIQ_CONCURRENCY=30
3707remote: ++ SIDEKIQ_PASSWORD=stocksavvypass
3708remote: ++ SIDEKIQ_USERNAME=dev
3709remote: ++ STACK=production
3710remote: ++ UNSCANNED_ZEROING_LIMIT=5
3711remote: ++ WEB_CONCURRENCY=1
3712remote: ++ WEBHOOK_PROCESSOR_URL=<redacted>
3713remote: ++ FEATURE_ENABLED_SQS_WEBHOOKS=falseCURL_CONNECT_TIMEOUT=180
3714remote: ++ CURL_TIMEOUT=1200
3715remote: ++ DATABASE_URL=<redacted>
3716remote: ++ DOKKU_APP_RESTORE=1
3717remote: ++ DOKKU_APP_TYPE=herokuish
3718remote: ++ DOKKU_DOCKERFILE_PORTS=3000
3719remote: ++ DOKKU_LETSENCRYPT_EMAIL=<redacted>
3720remote: ++ DOKKU_PROXY_PORT_MAP=http:80:3000
3721remote: ++ GIT_REV=97a9f7abed61e9c037927e6567360fd1cd1d284c
3722remote: ++ REDISCLOUD_URL=<redacted>
3723remote: ++ REDIS_URL=<redacted>
3724remote: + indent
3725remote: + + buildpack-executeread -r line
3726remote:
3727remote: + _select-buildpack
3728remote: + [[ -n '' ]]
3729remote: + buildpacks=('/tmp/buildpacks/00_buildpack-multi' '/tmp/buildpacks/01_buildpack-ruby' '/tmp/buildpacks/02_buildpack-nodejs' '/tmp/buildpacks/03_buildpack-clojure' '/tmp/buildpacks/04_buildpack-python' '/tmp/buildpacks/05_buildpack-java' '/tmp/buildpacks/06_buildpack-gradle' '/tmp/buildpacks/07_buildpack-scala' '/tmp/buildpacks/08_buildpack-play' '/tmp/buildpacks/09_buildpack-php' '/tmp/buildpacks/10_buildpack-go' '/tmp/buildpacks/11_buildpack-static' '/tmp/buildpacks/12_buildpack-null')
3730remote: + local buildpacks
3731remote: + valid_buildpacks=()
3732remote: + local valid_buildpacks
3733remote: + for buildpack in "${buildpacks[@]}"
3734remote: + unprivileged /tmp/buildpacks/00_buildpack-multi/bin/detect /tmp/build
3735remote: + valid_buildpacks+=("$buildpack")
3736remote: + for buildpack in "${buildpacks[@]}"
3737remote: + unprivileged /tmp/buildpacks/01_buildpack-ruby/bin/detect /tmp/build
3738remote: + valid_buildpacks+=("$buildpack")
3739remote: + for buildpack in "${buildpacks[@]}"
3740remote: + unprivileged /tmp/buildpacks/02_buildpack-nodejs/bin/detect /tmp/build
3741remote: + valid_buildpacks+=("$buildpack")
3742remote: + for buildpack in "${buildpacks[@]}"
3743remote: + unprivileged /tmp/buildpacks/03_buildpack-clojure/bin/detect /tmp/build
3744remote: + for buildpack in "${buildpacks[@]}"
3745remote: + unprivileged /tmp/buildpacks/04_buildpack-python/bin/detect /tmp/build
3746remote: + for buildpack in "${buildpacks[@]}"
3747remote: + unprivileged /tmp/buildpacks/05_buildpack-java/bin/detect /tmp/build
3748remote: + for buildpack in "${buildpacks[@]}"
3749remote: + unprivileged /tmp/buildpacks/06_buildpack-gradle/bin/detect /tmp/build
3750remote: + for buildpack in "${buildpacks[@]}"
3751remote: + unprivileged /tmp/buildpacks/07_buildpack-scala/bin/detect /tmp/build
3752remote: + for buildpack in "${buildpacks[@]}"
3753remote: + unprivileged /tmp/buildpacks/08_buildpack-play/bin/detect /tmp/build
3754remote: + for buildpack in "${buildpacks[@]}"
3755remote: + unprivileged /tmp/buildpacks/09_buildpack-php/bin/detect /tmp/build
3756remote: + for buildpack in "${buildpacks[@]}"
3757remote: + unprivileged /tmp/buildpacks/10_buildpack-go/bin/detect /tmp/build
3758remote: + for buildpack in "${buildpacks[@]}"
3759remote: + unprivileged /tmp/buildpacks/11_buildpack-static/bin/detect /tmp/build
3760remote: + for buildpack in "${buildpacks[@]}"
3761remote: + unprivileged /tmp/buildpacks/12_buildpack-null/bin/detect /tmp/build
3762remote: + [[ 3 -gt 1 ]]
3763remote: + title 'Warning: Multiple default buildpacks reported the ability to handle this app. The first buildpack in the list below will be used.'
3764----->' 'Warning: Multiple default buildpacks reported the ability to handle this app. The first buildpack in the list below will be used.'
3765-----> Warning: Multiple default buildpacks reported the ability to handle this app. The first buildpack in the list below will be used. == --* ]]
3766-----> Warning: Multiple default buildpacks reported the ability to handle this app. The first buildpack in the list below will be used. == ==* ]]
3767-----> Warning: Multiple default buildpacks reported the ability to handle this app. The first buildpack in the list below will be used.
3768-----> Warning: Multiple default buildpacks reported the ability to handle this app. The first buildpack in the list below will be used.'
3769remote: + read -r line
3770remote: + indent
3771remote: + read -r line
3772remote: ++ sed -e 's:/tmp/buildpacks/[0-9][0-9]_buildpack-::g'
3773remote: + echo 'Detected buildpacks: multi ruby nodejs'
3774remote: + [[ Detected buildpacks: multi ruby nodejs == --* ]]
3775remote: + [[ Detected buildpacks: multi ruby nodejs == ==* ]]
3776 ' 'Detected buildpacks: multi ruby nodejs'
3777 Detected buildpacks: multi ruby nodejs == --* ]]
3778 Detected buildpacks: multi ruby nodejs == ==* ]]
3779 Detected buildpacks: multi ruby nodejs'
3780remote: + read -r line
3781 Detected buildpacks: multi ruby nodejs
3782remote: read -r line
3783remote: + [[ 3 -gt 0 ]]
3784remote: + selected_path=/tmp/buildpacks/00_buildpack-multi
3785remote: ++ unprivileged /tmp/buildpacks/00_buildpack-multi/bin/detect /tmp/build
3786remote: ++ setuidgid herokuishuser /tmp/buildpacks/00_buildpack-multi/bin/detect /tmp/build
3787remote: + selected_name=Multipack
3788remote: + [[ -n /tmp/buildpacks/00_buildpack-multi ]]
3789remote: + [[ -n Multipack ]]
3790remote: + title 'Multipack app detected'
3791----->' 'Multipack app detected'
3792-----> Multipack app detected == --* ]]
3793-----> Multipack app detected == ==* ]]
3794-----> Multipack app detected'
3795remote: + read -r line
3796-----> Multipack app detected
3797remote: + cd /tmp/build
3798remote: + unprivileged /tmp/buildpacks/00_buildpack-multi/bin/compile /tmp/build /cache /tmp/env
3799remote: + setuidgid herokuishuser /tmp/buildpacks/00_buildpack-multi/bin/compile /tmp/build /cache /tmp/env
3800remote: + [[ =====> Downloading Buildpack: https://github.com/heroku/heroku-buildpack-nodejs.git == --* ]]
3801remote: + [[ =====> Downloading Buildpack: https://github.com/heroku/heroku-buildpack-nodejs.git == ==* ]]
3802=====>' Downloading Buildpack: https://github.com/heroku/heroku-buildpack-nodejs.git
3803remote: + read -r line
3804=====> Downloading Buildpack: https://github.com/heroku/heroku-buildpack-nodejs.git
3805remote: + [[ =====> Detected Framework: Node.js == --* ]]
3806remote: + [[ =====> Detected Framework: Node.js == ==* ]]
3807=====>' Detected Framework: Node.js
3808=====> Detected Framework: Node.js
3809remote: + read -r line
3810remote: + [[ '' == --* ]]
3811remote: + [[ '' == ==* ]]
3812 ' ''echo '
3813
3814remote: + read -r line
3815remote: + [[ -----> Creating runtime environment == --* ]]
3816----->' Creating runtime environment
3817remote: + read -r line
3818-----> Creating runtime environment
3819remote: + [[ '' == --* ]]
3820remote: + [[ '' == ==* ]]
3821 ' ''echo '
3822
3823remote: + read -r line
3824remote: + [[ NPM_CONFIG_LOGLEVEL=error == --* ]]
3825remote: + [[ NPM_CONFIG_LOGLEVEL=error == ==* ]]
3826 ' NPM_CONFIG_LOGLEVEL=error
3827 NPM_CONFIG_LOGLEVEL=error
3828remote: + read -r line
3829remote: + [[ USE_YARN_CACHE=true == --* ]]
3830remote: + [[ USE_YARN_CACHE=true == ==* ]]
3831 ' USE_YARN_CACHE=true
3832 USE_YARN_CACHE=true
3833remote: + read -r line
3834remote: + [[ NODE_VERBOSE=false == --* ]]
3835remote: + [[ NODE_VERBOSE=false == ==* ]]
3836 ' NODE_VERBOSE=false
3837 NODE_VERBOSE=false
3838remote: + read -r line
3839remote: + [[ NODE_ENV=production == --* ]]
3840remote: + [[ NODE_ENV=production == ==* ]]
3841 ' NODE_ENV=production
3842remote: + read -r line
3843remote: + [[ NODE_MODULES_CACHE=true == --* ]]
3844remote: + [[ NODE_MODULES_CACHE=true == ==* ]]
3845 ' NODE_MODULES_CACHE=true
3846remote: + read -r line
3847 NODE_ENV=production
3848 NODE_MODULES_CACHE=true
3849remote: + [[ '' == --* ]]
3850remote: + [[ '' == ==* ]]
3851 ' ''echo '
3852
3853remote: + read -r line
3854remote: + [[ -----> Installing binaries == --* ]]
3855----->' Installing binaries
3856remote: + read -r line
3857-----> Installing binaries
3858remote: + [[ engines.node (package.json): unspecified == --* ]]
3859remote: + [[ engines.node (package.json): unspecified == ==* ]]
3860 ' 'engines.node (package.json): unspecified'
3861 engines.node (package.json): unspecified
3862remote: + read -r line
3863remote: + [[ engines.npm (package.json): unspecified (use default) == --* ]]
3864remote: + [[ engines.npm (package.json): unspecified (use default) == ==* ]]
3865 ' 'engines.npm (package.json): unspecified (use default)'
3866remote: + read -r line
3867remote: + [[ engines.yarn (package.json): unspecified (use default) == --* ]]
3868remote: + [[ engines.yarn (package.json): unspecified (use default) == ==* ]]
3869 ' 'engines.yarn (package.json): unspecified (use default)'
3870remote: + read -r line
3871remote: + [[ '' == --* ]]
3872remote: + [[ '' == ==* ]]
3873 ' ''
3874remote: + read -r line
3875 engines.npm (package.json): unspecified (use default)
3876 engines.yarn (package.json): unspecified (use default)
3877
3878remote: + [[ Resolving node version 14.x... == --* ]]
3879remote: + [[ Resolving node version 14.x... == ==* ]]
3880 ' 'Resolving node version 14.x...'
3881remote: + read -r line
3882 Resolving node version 14.x...
3883remote: + [[ Downloading and installing node 14.17.6... == --* ]]
3884remote: + [[ Downloading and installing node 14.17.6... == ==* ]]
3885 ' 'Downloading and installing node 14.17.6...'
3886remote: + read -r line
3887 Downloading and installing node 14.17.6...
3888remote: + [[ Using default npm version: 6.14.15 == --* ]]
3889remote: + [[ Using default npm version: 6.14.15 == ==* ]]
3890 ' 'Using default npm version: 6.14.15'
3891remote: + read -r line
3892 Using default npm version: 6.14.15
3893remote: + [[ Resolving yarn version 1.22.x... == --* ]]
3894remote: + [[ Resolving yarn version 1.22.x... == ==* ]]
3895 ' 'Resolving yarn version 1.22.x...'
3896 Resolving yarn version 1.22.x...
3897remote: + read -r line
3898remote: + [[ Downloading and installing yarn (1.22.11) == --* ]]
3899remote: + [[ Downloading and installing yarn (1.22.11) == ==* ]]
3900 ' 'Downloading and installing yarn (1.22.11)'
3901remote: + read -r line
3902 Downloading and installing yarn (1.22.11)
3903remote: + [[ Installed yarn 1.22.11 == --* ]]
3904remote: + [[ Installed yarn 1.22.11 == ==* ]]
3905 Installed yarn 1.22.11
3906 ' 'Installed yarn 1.22.11'
3907remote: + read -r line
3908remote: + [[ '' == --* ]]
3909remote: + [[ '' == ==* ]]
3910 ' ''echo '
3911remote: + read -r line
3912
3913remote: + [[ -----> Restoring cache == --* ]]
3914----->' Restoring cache
3915remote: + read -r line
3916-----> Restoring cache
3917remote: + [[ - yarn cache == --* ]]
3918remote: + [[ - yarn cache == ==* ]]
3919 ' '- yarn cache'
3920 - yarn cache
3921remote: -r line
3922remote: + [[ '' == --* ]]
3923remote: + [[ '' == ==* ]]
3924 ' ''echo '
3925
3926remote: + read -r line
3927remote: + [[ -----> Installing dependencies == --* ]]
3928----->' Installing dependencies
3929remote: + read -r line
3930-----> Installing dependencies
3931remote: + [[ Installing node modules (yarn.lock) == --* ]]
3932remote: + [[ Installing node modules (yarn.lock) == ==* ]]
3933 ' 'Installing node modules (yarn.lock)'
3934 Installing node modules (yarn.lock)
3935remote: + read -r line
3936remote: + [[ yarn install v1.22.11 == --* ]]
3937remote: + [[ yarn install v1.22.11 == ==* ]]
3938 ' 'yarn install v1.22.11'
3939 yarn install v1.22.11
3940remote: + read -r line
3941remote: + [[ [1/4] Resolving packages... == --* ]]
3942remote: + [[ [1/4] Resolving packages... == ==* ]]
3943 ' '[1/4] Resolving packages...'
3944 [1/4] Resolving packages...
3945remote: + read -r line
3946remote: + [[ [2/4] Fetching packages... == --* ]]
3947remote: + [[ [2/4] Fetching packages... == ==* ]]
3948 ' '[2/4] Fetching packages...'
3949 [2/4] Fetching packages...
3950remote: + read -r line
3951remote: + [[ info fsevents@1.2.9: The platform "linux" is incompatible with this module. == --* ]]
3952remote: + [[ info fsevents@1.2.9: The platform "linux" is incompatible with this module. == ==* ]]
3953 ' 'info fsevents@1.2.9: The platform "linux" is incompatible with this module.'
3954 info fsevents@1.2.9: The platform "linux" is incompatible with this module.
3955remote: + read -r line
3956remote: + [[ info "fsevents@1.2.9" is an optional dependency and failed compatibility check. Excluding it from installation. == --* ]]
3957remote: + [[ info "fsevents@1.2.9" is an optional dependency and failed compatibility check. Excluding it from installation. == ==* ]]
3958 ' 'info "fsevents@1.2.9" is an optional dependency and failed compatibility check. Excluding it from installation.'
3959remote: + read -r line
3960 info "fsevents@1.2.9" is an optional dependency and failed compatibility check. Excluding it from installation.
3961remote: + [[ [3/4] Linking dependencies... == --* ]]
3962remote: + [[ [3/4] Linking dependencies... == ==* ]]
3963 ' '[3/4] Linking dependencies...'
3964 [3/4] Linking dependencies...
3965remote: + read -r line
3966remote: + [[ warning " > @date-io/date-fns@1.3.11" has incorrect peer dependency "date-fns@2.1.0". == --* ]]
3967remote: + [[ warning " > @date-io/date-fns@1.3.11" has incorrect peer dependency "date-fns@2.1.0". == ==* ]]
3968 ' 'warning " > @date-io/date-fns@1.3.11" has incorrect peer dependency "date-fns@2.1.0".'
3969 warning " > @date-io/date-fns@1.3.11" has incorrect peer dependency "date-fns@2.1.0".
3970remote: + read -r line
3971remote: + [[ warning " > @devexpress/dx-react-grid@1.11.2" has unmet peer dependency "@devexpress/dx-core@1.11.2". == --* ]]
3972remote: + [[ warning " > @devexpress/dx-react-grid@1.11.2" has unmet peer dependency "@devexpress/dx-core@1.11.2". == ==* ]]
3973 warning " > @devexpress/dx-react-grid@1.11.2" has unmet peer dependency "@devexpress/dx-core@1.11.2".
3974 ' 'warning " > @devexpress/dx-react-grid@1.11.2" has unmet peer dependency "@devexpress/dx-core@1.11.2".'
3975remote: + read -r line
3976remote: + [[ warning "@devexpress/dx-react-grid > @devexpress/dx-grid-core@1.11.2" has unmet peer dependency "@devexpress/dx-core@1.11.2". == --* ]]
3977remote: + [[ warning "@devexpress/dx-react-grid > @devexpress/dx-grid-core@1.11.2" has unmet peer dependency "@devexpress/dx-core@1.11.2". == ==* ]]
3978 ' 'warning "@devexpress/dx-react-grid > @devexpress/dx-grid-core@1.11.2" has unmet peer dependency "@devexpress/dx-core@1.11.2".'
3979 warning "@devexpress/dx-react-grid > @devexpress/dx-grid-core@1.11.2" has unmet peer dependency "@devexpress/dx-core@1.11.2".
3980remote: + read -r line
3981remote: + [[ warning " > @devexpress/dx-react-grid-material-ui@1.11.2" has unmet peer dependency "@devexpress/dx-grid-core@1.11.2". == --* ]]
3982remote: + [[ warning " > @devexpress/dx-react-grid-material-ui@1.11.2" has unmet peer dependency "@devexpress/dx-grid-core@1.11.2". == ==* ]]
3983 ' 'warning " > @devexpress/dx-react-grid-material-ui@1.11.2" has unmet peer dependency "@devexpress/dx-grid-core@1.11.2".'
3984remote: + read -r line
3985 warning " > @devexpress/dx-react-grid-material-ui@1.11.2" has unmet peer dependency "@devexpress/dx-grid-core@1.11.2".
3986remote: + [[ warning " > @material-ui/pickers@3.2.6" has unmet peer dependency "@date-io/core@^1.3.6". == --* ]]
3987remote: + [[ warning " > @material-ui/pickers@3.2.6" has unmet peer dependency "@date-io/core@^1.3.6". == ==* ]]
3988 ' 'warning " > @material-ui/pickers@3.2.6" has unmet peer dependency "@date-io/core@^1.3.6".'
3989 warning " > @material-ui/pickers@3.2.6" has unmet peer dependency "@date-io/core@^1.3.6".
3990remote: + read -r line
3991remote: + [[ warning "@rails/webpacker > postcss-cssnext@3.1.0" has unmet peer dependency "caniuse-lite@^1.0.30000697". == --* ]]
3992remote: + [[ warning "@rails/webpacker > postcss-cssnext@3.1.0" has unmet peer dependency "caniuse-lite@^1.0.30000697". == ==* ]]
3993 ' 'warning "@rails/webpacker > postcss-cssnext@3.1.0" has unmet peer dependency "caniuse-lite@^1.0.30000697".'
3994remote: + read -r line
3995 warning "@rails/webpacker > postcss-cssnext@3.1.0" has unmet peer dependency "caniuse-lite@^1.0.30000697".
3996remote: + [[ warning " > react-on-rails@11.2.2" has unmet peer dependency "js-yaml@>= 3.0.0". == --* ]]
3997remote: + [[ warning " > react-on-rails@11.2.2" has unmet peer dependency "js-yaml@>= 3.0.0". == ==* ]]
3998 ' 'warning " > react-on-rails@11.2.2" has unmet peer dependency "js-yaml@>= 3.0.0".'
3999 warning " > react-on-rails@11.2.2" has unmet peer dependency "js-yaml@>= 3.0.0".
4000remote: + read -r line
4001remote: + [[ warning " > webpack-dev-server@2.11.2" has unmet peer dependency "webpack@^2.2.0 || ^3.0.0". == --* ]]
4002remote: + [[ warning " > webpack-dev-server@2.11.2" has unmet peer dependency "webpack@^2.2.0 || ^3.0.0". == ==* ]]
4003 ' 'warning " > webpack-dev-server@2.11.2" has unmet peer dependency "webpack@^2.2.0 || ^3.0.0".'
4004 warning " > webpack-dev-server@2.11.2" has unmet peer dependency "webpack@^2.2.0 || ^3.0.0".
4005remote: + read -r line
4006remote: + [[ warning "webpack-dev-server > webpack-dev-middleware@1.12.2" has unmet peer dependency "webpack@^1.0.0 || ^2.0.0 || ^3.0.0". == --* ]]
4007remote: + [[ warning "webpack-dev-server > webpack-dev-middleware@1.12.2" has unmet peer dependency "webpack@^1.0.0 || ^2.0.0 || ^3.0.0". == ==* ]]
4008 warning "webpack-dev-server > webpack-dev-middleware@1.12.2" has unmet peer dependency "webpack@^1.0.0 || ^2.0.0 || ^3.0.0".
4009 ' 'warning "webpack-dev-server > webpack-dev-middleware@1.12.2" has unmet peer dependency "webpack@^1.0.0 || ^2.0.0 || ^3.0.0".'
4010remote: + read -r line
4011remote: + [[ [4/4] Building fresh packages... == --* ]]
4012remote: + [[ [4/4] Building fresh packages... == ==* ]]
4013 ' '[4/4] Building fresh packages...'
4014remote: + read -r line
4015 [4/4] Building fresh packages...
4016remote: + [[ Done in 271.87s. == --* ]]
4017remote: + [[ Done in 271.87s. == ==* ]]
4018 ' 'Done in 271.87s.'
4019remote: + read -r line
4020 Done in 271.87s.
4021remote: + [[ '' == --* ]]
4022remote: + [[ '' == ==* ]]
4023 ' ''
4024remote: + read -r line
4025
4026remote: + [[ -----> Build == --* ]]
4027----->' Build
4028remote: + read -r line
4029-----> Build
4030remote: + [[ '' == --* ]]
4031remote: + [[ '' == ==* ]]
4032 ' ''
4033remote: + read -r line
4034
4035remote: + [[ -----> Pruning devDependencies == --* ]]
4036----->' Pruning devDependencies
4037remote: + read -r line
4038-----> Pruning devDependencies
4039remote: + [[ yarn install v1.22.11 == --* ]]
4040remote: + [[ yarn install v1.22.11 == ==* ]]
4041 ' 'yarn install v1.22.11'
4042 yarn install v1.22.11
4043remote: + read -r line
4044remote: + [[ [1/4] Resolving packages... == --* ]]
4045remote: + [[ [1/4] Resolving packages... == ==* ]]
4046 ' '[1/4] Resolving packages...'
4047 [1/4] Resolving packages...
4048remote: + read -r line
4049remote: + [[ [2/4] Fetching packages... == --* ]]
4050remote: + [[ [2/4] Fetching packages... == ==* ]]
4051 ' '[2/4] Fetching packages...'
4052 [2/4] Fetching packages...
4053remote: + read -r line
4054remote: + [[ info fsevents@1.2.9: The platform "linux" is incompatible with this module. == --* ]]
4055remote: + [[ info fsevents@1.2.9: The platform "linux" is incompatible with this module. == ==* ]]
4056 ' 'info fsevents@1.2.9: The platform "linux" is incompatible with this module.'
4057 info fsevents@1.2.9: The platform "linux" is incompatible with this module.
4058remote: + read -r line
4059remote: + [[ info "fsevents@1.2.9" is an optional dependency and failed compatibility check. Excluding it from installation. == --* ]]
4060remote: + [[ info "fsevents@1.2.9" is an optional dependency and failed compatibility check. Excluding it from installation. == ==* ]]
4061 ' 'info "fsevents@1.2.9" is an optional dependency and failed compatibility check. Excluding it from installation.'
4062remote: + read -r line
4063 info "fsevents@1.2.9" is an optional dependency and failed compatibility check. Excluding it from installation.
4064remote: + [[ [3/4] Linking dependencies... == --* ]]
4065remote: + [[ [3/4] Linking dependencies... == ==* ]]
4066 ' '[3/4] Linking dependencies...'
4067 [3/4] Linking dependencies...
4068remote: + read -r line
4069remote: + [[ warning " > @date-io/date-fns@1.3.11" has incorrect peer dependency "date-fns@2.1.0". == --* ]]
4070remote: + [[ warning " > @date-io/date-fns@1.3.11" has incorrect peer dependency "date-fns@2.1.0". == ==* ]]
4071 ' 'warning " > @date-io/date-fns@1.3.11" has incorrect peer dependency "date-fns@2.1.0".'
4072 warning " > @date-io/date-fns@1.3.11" has incorrect peer dependency "date-fns@2.1.0".
4073remote: + read -r line
4074remote: + [[ warning " > @devexpress/dx-react-grid@1.11.2" has unmet peer dependency "@devexpress/dx-core@1.11.2". == --* ]]
4075remote: + [[ warning " > @devexpress/dx-react-grid@1.11.2" has unmet peer dependency "@devexpress/dx-core@1.11.2". == ==* ]]
4076 ' 'warning " > @devexpress/dx-react-grid@1.11.2" has unmet peer dependency "@devexpress/dx-core@1.11.2".'
4077 warning " > @devexpress/dx-react-grid@1.11.2" has unmet peer dependency "@devexpress/dx-core@1.11.2".
4078remote: + read -r line
4079remote: + [[ warning "@devexpress/dx-react-grid > @devexpress/dx-grid-core@1.11.2" has unmet peer dependency "@devexpress/dx-core@1.11.2". == --* ]]
4080remote: + [[ warning "@devexpress/dx-react-grid > @devexpress/dx-grid-core@1.11.2" has unmet peer dependency "@devexpress/dx-core@1.11.2". == ==* ]]
4081 ' 'warning "@devexpress/dx-react-grid > @devexpress/dx-grid-core@1.11.2" has unmet peer dependency "@devexpress/dx-core@1.11.2".'
4082 warning "@devexpress/dx-react-grid > @devexpress/dx-grid-core@1.11.2" has unmet peer dependency "@devexpress/dx-core@1.11.2".
4083remote: + read -r line
4084 warning " > @devexpress/dx-react-grid-material-ui@1.11.2" has unmet peer dependency "@devexpress/dx-grid-core@1.11.2".
4085remote: == --* ]]
4086remote: + [[ warning " > @devexpress/dx-react-grid-material-ui@1.11.2" has unmet peer dependency "@devexpress/dx-grid-core@1.11.2". == ==* ]]
4087 ' 'warning " > @devexpress/dx-react-grid-material-ui@1.11.2" has unmet peer dependency "@devexpress/dx-grid-core@1.11.2".'
4088remote: + read -r line
4089remote: + [[ warning " > @material-ui/pickers@3.2.6" has unmet peer dependency "@date-io/core@^1.3.6". == --* ]]
4090remote: + [[ warning " > @material-ui/pickers@3.2.6" has unmet peer dependency "@date-io/core@^1.3.6". == ==* ]]
4091 ' 'warning " > @material-ui/pickers@3.2.6" has unmet peer dependency "@date-io/core@^1.3.6".'
4092 warning " > @material-ui/pickers@3.2.6" has unmet peer dependency "@date-io/core@^1.3.6".
4093remote: + read -r line
4094remote: + [[ warning "@rails/webpacker > postcss-cssnext@3.1.0" has unmet peer dependency "caniuse-lite@^1.0.30000697". == --* ]]
4095remote: + [[ warning "@rails/webpacker > postcss-cssnext@3.1.0" has unmet peer dependency "caniuse-lite@^1.0.30000697". == ==* ]]
4096 ' 'warning "@rails/webpacker > postcss-cssnext@3.1.0" has unmet peer dependency "caniuse-lite@^1.0.30000697".'
4097 warning "@rails/webpacker > postcss-cssnext@3.1.0" has unmet peer dependency "caniuse-lite@^1.0.30000697".
4098remote: + read -r line
4099remote: + [[ warning " > react-on-rails@11.2.2" has unmet peer dependency "js-yaml@>= 3.0.0". == --* ]]
4100remote: + [[ warning " > react-on-rails@11.2.2" has unmet peer dependency "js-yaml@>= 3.0.0". == ==* ]]
4101 ' 'warning " > react-on-rails@11.2.2" has unmet peer dependency "js-yaml@>= 3.0.0".'
4102 warning " > react-on-rails@11.2.2" has unmet peer dependency "js-yaml@>= 3.0.0".
4103remote: + read -r line
4104remote: + [[ warning " > webpack-dev-server@2.11.2" has unmet peer dependency "webpack@^2.2.0 || ^3.0.0". == --* ]]
4105remote: + [[ warning " > webpack-dev-server@2.11.2" has unmet peer dependency "webpack@^2.2.0 || ^3.0.0". == ==* ]]
4106 ' 'warning " > webpack-dev-server@2.11.2" has unmet peer dependency "webpack@^2.2.0 || ^3.0.0".'
4107 warning " > webpack-dev-server@2.11.2" has unmet peer dependency "webpack@^2.2.0 || ^3.0.0".
4108remote: + read -r line
4109remote: + [[ warning "webpack-dev-server > webpack-dev-middleware@1.12.2" has unmet peer dependency "webpack@^1.0.0 || ^2.0.0 || ^3.0.0". == --* ]]
4110remote: + [[ warning "webpack-dev-server > webpack-dev-middleware@1.12.2" has unmet peer dependency "webpack@^1.0.0 || ^2.0.0 || ^3.0.0". == ==* ]]
4111 warning "webpack-dev-server > webpack-dev-middleware@1.12.2" has unmet peer dependency "webpack@^1.0.0 || ^2.0.0 || ^3.0.0".
4112 ' 'warning "webpack-dev-server > webpack-dev-middleware@1.12.2" has unmet peer dependency "webpack@^1.0.0 || ^2.0.0 || ^3.0.0".'
4113remote: + read -r line
4114remote: + [[ [4/4] Building fresh packages... == --* ]]
4115remote: + [[ [4/4] Building fresh packages... == ==* ]]
4116 ' '[4/4] Building fresh packages...'
4117 [4/4] Building fresh packages...
4118remote: read -r line
4119remote: + [[ warning Ignored scripts due to flag. == --* ]]
4120remote: + [[ warning Ignored scripts due to flag. == ==* ]]
4121 ' 'warning Ignored scripts due to flag.'
4122remote: + read -r line
4123 warning Ignored scripts due to flag.
4124remote: + [[ Done in 14.48s. == --* ]]
4125remote: + [[ Done in 14.48s. == ==* ]]
4126 ' 'Done in 14.48s.'
4127 Done in 14.48s.
4128remote: + read -r line
4129remote: + [[ '' == --* ]]
4130remote: + [[ '' == ==* ]]
4131 ' ''echo '
4132
4133remote: + read -r line
4134remote: + [[ -----> Caching build == --* ]]
4135----->' Caching build
4136remote: + read -r line
4137-----> Caching build
4138remote: + [[ - yarn cache == --* ]]
4139remote: + [[ - yarn cache == ==* ]]
4140 ' '- yarn cache'
4141 - yarn cache
4142remote: + read -r line
4143remote: + [[ '' == --* ]]
4144remote: + [[ '' == ==* ]]
4145 ' ''echo '
4146
4147remote: + read -r line
4148remote: + [[ -----> Build succeeded! == --* ]]
4149----->' Build 'succeeded!'
4150remote: + read -r line
4151-----> Build succeeded!
4152remote: + [[ ! Unmet dependencies don't fail yarn install but may cause runtime issues == --* ]]
4153remote: + [[ ! Unmet dependencies don't fail yarn install but may cause runtime issues == ==* ]]
4154 ' '! Unmet dependencies don'\''t fail yarn install but may cause runtime issues'
4155 ! Unmet dependencies don't fail yarn install but may cause runtime issues
4156remote: + read -r line
4157remote: + [[ https://github.com/npm/npm/issues/7494 == --* ]]
4158remote: + [[ https://github.com/npm/npm/issues/7494 == ==* ]]
4159 ' https://github.com/npm/npm/issues/7494
4160remote: + read -r line
4161remote: + [[ '' == --* ]]
4162remote: + [[ '' == ==* ]]
4163 ' ''
4164remote: + read -r line
4165 https://github.com/npm/npm/issues/7494
4166
4167remote: + [[ =====> Downloading Buildpack: https://github.com/heroku/heroku-buildpack-ruby.git == --* ]]
4168remote: + [[ =====> Downloading Buildpack: https://github.com/heroku/heroku-buildpack-ruby.git == ==* ]]
4169=====>' Downloading Buildpack: https://github.com/heroku/heroku-buildpack-ruby.git
4170=====> Downloading Buildpack: https://github.com/heroku/heroku-buildpack-ruby.git
4171remote: + read -r line
4172remote: + [[ =====> Detected Framework: Ruby == --* ]]
4173remote: + [[ =====> Detected Framework: Ruby == ==* ]]
4174=====>' Detected Framework: Ruby
4175remote: + read -r line
4176=====> Detected Framework: Ruby
4177remote: + [[ Failed to download a Ruby executable for bootstrapping! == --* ]]
4178remote: + [[ Failed to download a Ruby executable for bootstrapping! == ==* ]]
4179 ' 'Failed to download a Ruby executable for bootstrapping!'
4180remote: + read -r line
4181remote: + [[ '' == --* ]]
4182remote: + [[ '' == ==* ]]
4183 ' ''
4184remote: + read -r line
4185remote: + [[ This is most likely a temporary internal error. If the problem == --* ]]
4186remote: + [[ This is most likely a temporary internal error. If the problem == ==* ]]
4187 ' 'This is most likely a temporary internal error. If the problem'
4188remote: + read -r line
4189remote: + [[ persists, make sure that you are not running a custom or forked == --* ]]
4190remote: + [[ persists, make sure that you are not running a custom or forked == ==* ]]
4191 ' 'persists, make sure that you are not running a custom or forked'
4192 Failed to download a Ruby executable for bootstrapping!
4193
4194 This is most likely a temporary internal error. If the problem
4195 persists, make sure that you are not running a custom or forked
4196 version of the Heroku Ruby buildpack which may need updating.
4197
4198 url: https://s3-external-1.amazonaws.com/heroku-buildpack-ruby/production/ruby-2.6.6.tgz
4199remote: + read -r line
4200remote: + [[ version of the Heroku Ruby buildpack which may need updating. == --* ]]
4201remote: + [[ version of the Heroku Ruby buildpack which may need updating. == ==* ]]
4202 ' 'version of the Heroku Ruby buildpack which may need updating.'
4203remote: + read -r line
4204remote: + [[ '' == --* ]]
4205remote: + [[ '' == ==* ]]
4206 ' ''
4207remote: + read -r line
4208remote: + [[ url: https://s3-external-1.amazonaws.com/heroku-buildpack-ruby/production/ruby-2.6.6.tgz == --* ]]
4209remote: + [[ url: https://s3-external-1.amazonaws.com/heroku-buildpack-ruby/production/ruby-2.6.6.tgz == ==* ]]
4210 ' 'url: https://s3-external-1.amazonaws.com/heroku-buildpack-ruby/production/ruby-2.6.6.tgz'
4211remote: + read -r line
4212remote: /tmp/buildpackWvqZR/bin/compile: line 31: /tmp/tmp.1AytGSDw35/bin/ruby: No such file or directory
4213remote: 2021/09/08 07:12:00 exit status 127
4214remote: 2021/09/08 07:12:01 exit status 1
4215remote: + rm -rf /tmp/dokku-155642-git_build_app_repo.qIN41O
4216remote: + exit_code=1
4217remote: + set -e
4218remote: + [[ 1 -eq 10 ]]
4219remote: + implemented=1
4220remote: + [[ 1 -ne 0 ]]
4221remote: + exit 1
4222+ exit_code=0
4223+ set -e
4224+ [[ 0 -eq 10 ]]
4225+ implemented=1
4226+ [[ 0 -ne 0 ]]
4227+ for script in $PLUGIN_ENABLED_PATH/*/commands
4228+ set +e
4229+ /var/lib/dokku/plugins/enabled/letsencrypt/commands git-receive-pack ''\''stockapp'\'''
4230+ exit_code=10
4231+ set -e
4232+ [[ 10 -eq 10 ]]
4233+ continue
4234+ for script in $PLUGIN_ENABLED_PATH/*/commands
4235+ set +e
4236+ /var/lib/dokku/plugins/enabled/logs/commands git-receive-pack ''\''stockapp'\'''
4237+ exit_code=10
4238+ set -e
4239+ [[ 10 -eq 10 ]]
4240+ continue
4241+ for script in $PLUGIN_ENABLED_PATH/*/commands
4242+ set +e
4243+ /var/lib/dokku/plugins/enabled/network/commands git-receive-pack ''\''stockapp'\'''
4244+ exit_code=10
4245+ set -e
4246+ [[ 10 -eq 10 ]]
4247+ continue
4248+ for script in $PLUGIN_ENABLED_PATH/*/commands
4249+ set +e
4250+ /var/lib/dokku/plugins/enabled/nginx-vhosts/commands git-receive-pack ''\''stockapp'\'''
4251+ exit_code=10
4252+ set -e
4253+ [[ 10 -eq 10 ]]
4254+ continue
4255+ for script in $PLUGIN_ENABLED_PATH/*/commands
4256+ set +e
4257+ /var/lib/dokku/plugins/enabled/plugin/commands git-receive-pack ''\''stockapp'\'''
4258+ exit_code=10
4259+ set -e
4260+ [[ 10 -eq 10 ]]
4261+ continue
4262+ for script in $PLUGIN_ENABLED_PATH/*/commands
4263+ set +e
4264+ /var/lib/dokku/plugins/enabled/postgres/commands git-receive-pack ''\''stockapp'\'''
4265+ exit_code=10
4266+ set -e
4267+ [[ 10 -eq 10 ]]
4268+ continue
4269+ for script in $PLUGIN_ENABLED_PATH/*/commands
4270+ set +e
4271+ /var/lib/dokku/plugins/enabled/proxy/commands git-receive-pack ''\''stockapp'\'''
4272+ exit_code=10
4273+ set -e
4274+ [[ 10 -eq 10 ]]
4275+ continue
4276+ for script in $PLUGIN_ENABLED_PATH/*/commands
4277+ set +e
4278+ /var/lib/dokku/plugins/enabled/ps/commands git-receive-pack ''\''stockapp'\'''
4279+ exit_code=10
4280+ set -e
4281+ [[ 10 -eq 10 ]]
4282+ continue
4283+ for script in $PLUGIN_ENABLED_PATH/*/commands
4284+ set +e
4285+ /var/lib/dokku/plugins/enabled/redis/commands git-receive-pack ''\''stockapp'\'''
4286+ exit_code=10
4287+ set -e
4288+ [[ 10 -eq 10 ]]
4289+ continue
4290+ for script in $PLUGIN_ENABLED_PATH/*/commands
4291+ set +e
4292+ /var/lib/dokku/plugins/enabled/registry/commands git-receive-pack ''\''stockapp'\'''
4293+ exit_code=10
4294+ set -e
4295+ [[ 10 -eq 10 ]]
4296+ continue
4297+ for script in $PLUGIN_ENABLED_PATH/*/commands
4298+ set +e
4299+ /var/lib/dokku/plugins/enabled/repo/commands git-receive-pack ''\''stockapp'\'''
4300+ exit_code=10
4301+ set -e
4302+ [[ 10 -eq 10 ]]
4303+ continue
4304+ for script in $PLUGIN_ENABLED_PATH/*/commands
4305+ set +e
4306+ /var/lib/dokku/plugins/enabled/resource/commands git-receive-pack ''\''stockapp'\'''
4307+ exit_code=10
4308+ set -e
4309+ [[ 10 -eq 10 ]]
4310+ continue
4311+ for script in $PLUGIN_ENABLED_PATH/*/commands
4312+ set +e
4313+ /var/lib/dokku/plugins/enabled/run/commands git-receive-pack ''\''stockapp'\'''
4314+ exit_code=10
4315+ set -e
4316+ [[ 10 -eq 10 ]]
4317+ continue
4318+ for script in $PLUGIN_ENABLED_PATH/*/commands
4319+ set +e
4320+ /var/lib/dokku/plugins/enabled/scheduler-docker-local/commands git-receive-pack ''\''stockapp'\'''
4321+ source /var/lib/dokku/plugins/available/scheduler-docker-local/help-functions
4322++ set -eo pipefail
4323++ [[ -n 1 ]]
4324++ set -x
4325+ case "$1" in
4326+ exit 10
4327+ exit_code=10
4328+ set -e
4329+ [[ 10 -eq 10 ]]
4330+ continue
4331+ for script in $PLUGIN_ENABLED_PATH/*/commands
4332+ set +e
4333+ /var/lib/dokku/plugins/enabled/scheduler-null/commands git-receive-pack ''\''stockapp'\'''
4334+ exit_code=10
4335+ set -e
4336+ [[ 10 -eq 10 ]]
4337+ continue
4338+ for script in $PLUGIN_ENABLED_PATH/*/commands
4339+ set +e
4340+ /var/lib/dokku/plugins/enabled/shell/commands git-receive-pack ''\''stockapp'\'''
4341+ exit_code=10
4342+ set -e
4343+ [[ 10 -eq 10 ]]
4344+ continue
4345+ for script in $PLUGIN_ENABLED_PATH/*/commands
4346+ set +e
4347+ /var/lib/dokku/plugins/enabled/ssh-keys/commands git-receive-pack ''\''stockapp'\'''
4348+ exit_code=10
4349+ set -e
4350+ [[ 10 -eq 10 ]]
4351+ continue
4352+ for script in $PLUGIN_ENABLED_PATH/*/commands
4353+ set +e
4354+ /var/lib/dokku/plugins/enabled/storage/commands git-receive-pack ''\''stockapp'\'''
4355+ exit_code=10
4356+ set -e
4357+ [[ 10 -eq 10 ]]
4358+ continue
4359+ for script in $PLUGIN_ENABLED_PATH/*/commands
4360+ set +e
4361+ /var/lib/dokku/plugins/enabled/tags/commands git-receive-pack ''\''stockapp'\'''
4362+ exit_code=10
4363+ set -e
4364+ [[ 10 -eq 10 ]]
4365+ continue
4366+ for script in $PLUGIN_ENABLED_PATH/*/commands
4367+ set +e
4368+ /var/lib/dokku/plugins/enabled/tar/commands git-receive-pack ''\''stockapp'\'''
4369+ exit_code=10
4370+ set -e
4371+ [[ 10 -eq 10 ]]
4372+ continue
4373+ for script in $PLUGIN_ENABLED_PATH/*/commands
4374+ set +e
4375+ /var/lib/dokku/plugins/enabled/trace/commands git-receive-pack ''\''stockapp'\'''
4376+ exit_code=10
4377+ set -e
4378+ [[ 10 -eq 10 ]]
4379+ continue
4380+ [[ 1 -eq 0 ]]
4381+ set +f
4382+ exit 0
4383To 165.232.153.227:stockapp
4384 ! [remote rejected] dokku-deployment -> master (pre-receive hook declined)
4385error: failed to push some refs to '165.232.153.227:stockapp'