summaryrefslogtreecommitdiff
path: root/bin/custodian-dequeue
AgeCommit message (Collapse)Author
2015-08-25Force default encoding to be UTF-8.Steve Kemp
This shouldn't be required, but adding it is harmless and indicates our intent cleanly.
2015-03-09Moved usage-information to foot of script.Steve Kemp
This removes the nasty self-parsing of the script to generate the help/manual output. I've also removed global-variables and made the code almost-100% warning free.
2015-03-09Remove spaces inside blocks.Steve Kemp
2015-03-09Removed spaces inside parenthesis.Steve Kemp
2015-03-09Prefer single-quotes when you don't need interpolation.Steve Kemp
So "foo" is less good than 'foo'.
2015-03-09Don't use parenthesis aroudn conditions in an if.Steve Kemp
2015-03-09Do not use parentheses for method calls with no arguments.Steve Kemp
This is neater. Flagged by rubocop
2015-03-09Avoid redundent ".to_s" methods.Steve Kemp
These are not required if the argument is string already, or has a _to_s method which will be automatically invoked by magic.
2015-03-09Use long-namesSteve Kemp
Instead of "$0" use $PROGRAM_NAME, instead of $! use "$LOAD_PATH". This is more explicit and less-magic. Flagged by rubocop
2015-02-05Updated documentation to match reality.Steve Kemp
(This mostly means the removal of --logfile.)
2015-02-05More simplification - don't pass state around.Steve Kemp
Rather than passing our settings-object around, as well as specific settings that are read from it, just pass the object. The worker can read the settings directly if/when it needs to.
2015-01-19Updated to use our queue-abstraction.Steve Kemp
This means we can queue/dequeue to either Redis or Beanstalkd.
2015-01-13Avoid hard-wiring 1.8 rubySteve Kemp
2013-04-23 Allow --queue to specify the beanstalkd tube.Steve Kemp
2012-12-12 The dequeuing process passes the settings to the wroker.Steve Kemp
2012-11-30 Removed --repeat.Steve Kemp
2012-11-26 Updated to make the requirement of redis soft, as it will probably beSteve Kemp
not used.
2012-11-25 Removed references to sentinel.Steve Kemp
2012-11-24 Removed the trailing ".rb" from our 'require ...' lines.Steve Kemp
2012-11-24 Use the alert-factory, rather than hard-coding our mauve-alert.Steve Kemp
2012-11-23 We no longer refer to JSON.Steve Kemp
2012-11-23 Fixed the name of the settings class.Steve Kemp
2012-11-23 Read the server address:port from the settings object. Along with the ↵Steve Kemp
filename if appropriate for logging.
2012-11-22 Removed the reference to the alerter - that comes from the worker.Steve Kemp
2012-11-22 Moved the worker into the custodian namespace.Steve Kemp
2012-11-22 Renamed class Custodian -> Custodian/WorkerSteve Kemp
2012-11-20 Updated case statements for ruby1.9Steve Kemp
2012-11-18 Added --fail flag.Steve Kemp
2012-11-14 Moved core of the code into their own libraries.Steve Kemp
2012-11-14 Log the number of times we run the test(s).Steve Kemp
2012-11-14 Removed the flushing-action from custodian-dequeue and added it to theSteve Kemp
new helper tool
2012-11-14 Removed the -low suffix from alert IDsSteve Kemp
2012-11-14 Don't replace alertSteve Kemp
2012-11-14 Interpolate the ID correctly. Remove duplication of the hostname.Steve Kemp
2012-11-14 Updated.Steve Kemp
2012-11-14 Updated ID for mauve alertsSteve Kemp
2012-11-14 Updated the alertingSteve Kemp
2012-11-14 Actually raise & clear alerts now - wire priority to be "low"Steve Kemp
2012-11-14 Allow the logfile to be specified.Steve Kemp
2012-11-14 Be explicit about the keysSteve Kemp
2012-11-13 Added --help/--manualSteve Kemp
2012-11-13 Load the DNS protocol test.Steve Kemp
2012-11-13 Use ruby1.8 explicitlySteve Kemp
2012-11-13 RenamedSteve Kemp