Skip to content

Instantly share code, notes, and snippets.

@quad
Created March 21, 2012 02:59
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save quad/2143944 to your computer and use it in GitHub Desktop.
Save quad/2143944 to your computer and use it in GitHub Desktop.
blinky configuration
#!/usr/bin/env ruby
require 'rubygems'
require 'blinky'
l = Blinky.new.light
module Blinky
module GoCiServer
def get_server_locations
blinky_dir = "#{ENV['HOME']}/.blinky"
config_file = "#{blinky_dir}/config.yml"
if File.directory? blinky_dir
@servers = YAML.load_file config_file
else
Dir.mkdir blinky_dir
puts "config.yml copied to #{file_name} configure it and try again"
end
end
end
end
l.watch_go_server
# If you have a lot of jobs, and you only want to show the status of some of them,
# try listing them explicitly
# A server with basic authentication.
-
url: http://build:8153/go/cctray.xml
user: ci
password: ci
jobs:
-
name: "RMS :: specs"
friendly: "Specs"
-
name: "RMS :: rack"
friendly: "Rack"
-
name: "RMS :: selenium"
friendly: "Selenium"
-
name: "RMS :: prototype_db"
friendly: "DB Prep (Prototype)"
-
name: "RMS :: prototype_deploy"
friendly: "DB Deploy (Prototype)"
-
name: "RMS :: prototype_refdata"
friendly: "DB Reference Data (Prototype)"
-
name: "RMS :: prototype_smoke"
friendly: "Smoke (Prototype)"
@quad
Copy link
Author

quad commented Mar 21, 2012

config.yml goes in ~/.blinky

@quad
Copy link
Author

quad commented Mar 21, 2012

I've had to monkeypatch blinky because it's running on a mostly stock OSX 10.6 box.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment