This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
foo |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
2013-08-09T18:24:18+09:30 [DEBUG] :: flapjack-notifier :: notification: media_to_use: {"jabber"=>"[email protected]", "pagerduty"=>"xxxxxxxx"} | |
2013-08-09T18:24:18+09:30 [INFO] :: flapjack-notifier :: Enqueueing email alert for foo-app-01.example.com:Foo to [email protected] | |
2013-08-09T18:24:18+09:30 [WARN] :: flapjack-notifier :: Failed to dump Flapjack::Data::TagSet Object to JSON in strict mode. | |
2013-08-09T18:24:18+09:30 [WARN] :: flapjack-notifier :: /Users/jesse/src/flpjck/flapjack-ali-graham/lib/flapjack/data/message.rb:15:in `dump' | |
/Users/jesse/src/flpjck/flapjack-ali-graham/lib/flapjack/data/message.rb:15:in `push' | |
/Users/jesse/src/flpjck/flapjack-ali-graham/lib/flapjack/notifier.rb:144:in `block in process_notification' | |
/Users/jesse/src/flpjck/flapjack-ali-graham/lib/flapjack/notifier.rb:101:in `each' | |
/Users/jesse/src/flpjck/flapjack-ali-graham/lib/flapjack/notifier.rb:101:in `process_notification' | |
/Users/jesse/src/flpjck/flapjack-ali-graham/lib/flapjack/notifier.rb:61:in `block (3 levels) in sta |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
[fetcher:net::cacerts] fetching /var/cache/omnibus/cache/cacert.pem from http://curl.haxx.se/ca/cacert.pem | |
[fetcher:net::cacerts] getting from http://curl.haxx.se/ca/cacert.pem with 10 redirects left | |
[fetcher:net::cacerts] Invalid MD5 for cacerts | |
[fetcher:net::cacerts] Expected: 47961e7ef15667c93cd99be01b51f00a | |
[fetcher:net::cacerts] Actual: 349ba2d6964db9ca558c9e1daf38e428 | |
Something went wrong...the Omnibus just ran off the road! | |
Error raised was: | |
Checksum of downloaded file /var/cache/omnibus/cache/cacert.pem doesn't match expected |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/sh | |
# | |
# An example hook script to verify what is about to be committed. | |
# Called by "git commit" with no arguments. The hook should | |
# exit with non-zero status after issuing an appropriate message if | |
# it wants to stop the commit. | |
# | |
# To enable this hook, rename this file to "pre-commit". | |
echo "in git pre-commit hook" |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/usr/bin/env ruby | |
require 'httparty' | |
require 'json/pure' | |
class VisageClient | |
include HTTParty | |
default_timeout 10 | |
ENDPOINTS = [ 'stats-a', 'stats-b' ] |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/usr/bin/env ruby | |
require 'httparty' | |
require 'json/pure' | |
class VisageClient | |
include HTTParty | |
default_timeout 10 | |
ENDPOINTS = [ 'stats-a', 'stats-b' ] |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/bash | |
dir='/private/tmp' | |
if [ ! -d $dir ] ; then | |
echo "the directory has gone" | |
#echo 'body' | mailx -s "the directory has gone" [email protected] | |
exit 1 | |
fi |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
jesse@heart-of-gold flapjack $ be cucumber features/rollup.feature:121 | |
@rollup @notification_rules @resque @processor @notifier @events | |
Feature: Rollup on a per contact, per media basis | |
Background: # features/rollup.feature:4 | |
Given the following users exist: # features/steps/events_steps.rb:327 | |
| id | first_name | last_name | email | sms | timezone | | |
| 1 | Malak | Al-Musawi | [email protected] | +61400000001 | Asia/Baghdad | | |
And the following entities exist: # features/steps/events_steps.rb:314 | |
| id | name | contacts | |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
jesse@heart-of-gold flapjack $ be rake features | |
/Users/jesse/.rbenv/versions/1.9.3-p448/bin/ruby -S bundle exec cucumber --format Cucumber::Formatter::Fuubar | |
<internal:gem_prelude>:1:in `initialize': Interrupt | |
from <internal:gem_prelude>:1:in `exception' | |
from <internal:gem_prelude>:1:in `require' | |
from <internal:gem_prelude>:1:in `<compiled>' |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Coverage report generated for Cucumber Features, RSpec to /Users/jesse/src/flpjck/flapjack/coverage. 2754 / 3372 LOC (81.67%) covered. | |
/Users/jesse/.rbenv/versions/1.9.3-p448/lib/ruby/gems/1.9.1/gems/simplecov-0.7.1/lib/simplecov/json.rb:16:in `pretty_generate': In :strict mode all Hash keys must be Strings, not Symbol. (TypeError) | |
from /Users/jesse/.rbenv/versions/1.9.3-p448/lib/ruby/gems/1.9.1/gems/simplecov-0.7.1/lib/simplecov/json.rb:16:in `dump' | |
from /Users/jesse/.rbenv/versions/1.9.3-p448/lib/ruby/gems/1.9.1/gems/simplecov-0.7.1/lib/simplecov/last_run.rb:15:in `block in write' | |
from /Users/jesse/.rbenv/versions/1.9.3-p448/lib/ruby/gems/1.9.1/gems/simplecov-0.7.1/lib/simplecov/last_run.rb:14:in `open' | |
from /Users/jesse/.rbenv/versions/1.9.3-p448/lib/ruby/gems/1.9.1/gems/simplecov-0.7.1/lib/simplecov/last_run.rb:14:in `write' | |
from /Users/jesse/.rbenv/versions/1.9.3-p448/lib/ruby/gems/1.9.1/gems/simplecov-0.7.1/lib/simplecov/defaults.rb:78:in `block in <top (required)>' |