Created
March 21, 2012 02:59
-
-
Save quad/2143944 to your computer and use it in GitHub Desktop.
blinky configuration
This file contains 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 '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 |
This file contains 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
# 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)" |
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
config.yml
goes in~/.blinky