thelamer
f9a08bb097
use s6 cont-env executor for cleanup
2019-08-19 08:47:35 -07:00
Jonathan Crooke
3740ceeb9b
Export DISKOVER_ARRAY for cleanup.sh
2019-08-19 08:47:35 -07:00
Yocum
7e62aac2d1
Final, minor touchups
2019-08-19 08:33:06 -07:00
Yocum
000fc15bdf
Cleanup
2019-08-19 08:33:06 -07:00
Yocum
fd9b0ca01d
More testing
2019-08-19 08:33:06 -07:00
Yocum
18a43a173e
Fix redis cleanup
...
Cleanup.sh was unable to read array vars and would error out. Moved commands directly into dispatcher.sh so the cleanup can be ran.
2019-08-19 08:33:06 -07:00
Yocum
a384e121cd
Testing fix for redis cleanup script errors
2019-08-19 08:33:06 -07:00
Chris Yocum
0683d52771
Testing fix for cleanup not reading vars
2019-08-19 08:33:06 -07:00
Chris Yocum
f7a2c8907d
Testing array export for cleanup vars
2019-08-19 08:33:06 -07:00
Chris Yocum
ef35212ece
Testing
2019-08-19 08:33:06 -07:00
Chris Yocum
81e62e53aa
Testing fix for path issue
2019-08-19 08:33:06 -07:00
Chris Yocum
2ae2f375bc
Fix for DISKOVER_OPTS
...
Syntax was causing DISKOVER_ARRAY[DISKOVER_OPTS] to get overwritten by the value of DISKOVER_OPTS that the user specified rather than adding to it, IE: specifying "DISKOVER_OPTS=--autotag" resulted in JUST `--autotag -i diskover-2019-07-16` instead of `--autotag -d /data -a -i diskover-2019-07-16`.
2019-07-16 18:46:55 -04:00
alex-phillips
056ed8028b
bot / redis cleanup now in its own script so we can also call it when container is stopped / restarted
2019-01-05 11:15:30 -05:00
alex-phillips
d8ef2c444a
dispatcher now accepts missing worker opts variable
2019-01-05 11:14:40 -05:00
alex-phillips
cb09adc1b2
kill all redis workers in one command instead of 2
2018-11-29 08:23:30 -05:00
alex-phillips
776781e9da
fixed but with improper variables after we converted to using an array
2018-08-24 09:40:08 -04:00
alex-phillips
ff4ba8a75e
config files renamed to higher numbers to prevent race conditions, config env variables now stored in arrays
2018-08-02 14:56:50 -04:00
alex-phillips
0e20d74623
fixed issue with INDEX_NAME variable not being properly evaluated within the conditional of the DISKOVER_OPTS conditional. separated it into a separate string concat to get around this (i'm sure there's probably a better way though)
2018-07-31 12:45:52 -04:00
alex-phillips
c2d01517b3
lots of changes - primarily with the dispatcher and handling killing old bots and emptying existing redis queues
2018-06-13 08:31:33 -04:00
alex-phillips
1c76b77b1d
dispatcher is now run in cron (optionally) but is always initiated when the container starts rather than in a s6 controlled service - more env variables to control dispatcher / worker args as well as to enable cron or not
2018-06-07 10:07:11 -04:00