Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP

Loading…

Added branch information to cap available #1

Merged
merged 1 commit into from

2 participants

@arockwell

cap avaialbe now shows what branches are deployed where:

breport (7121-create-facebook-api) $ cap available

  • executing `available'
  • executing `maitre_d:available'

alpha is reserved
amitsainani@alpha for 20.9 hours at branch qa_34-0-5

beta is reserved
amitsainani@beta for 23.2 hours at branch qa_rc_asainani

gamma is reserved
amitsainani@gamma for 23.8 hours at branch agiri/rc-7445-norton-custom-video-hub

delta is available

@winton winton merged commit 8192f45 into winton:master
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Commits on Feb 13, 2012
  1. Adding branch information to the cap avaialble command.

    Alex Rockwell authored
This page is out of date. Refresh to see the latest.
Showing with 2 additions and 2 deletions.
  1. +2 −2 lib/cap_reserve.rb
View
4 lib/cap_reserve.rb
@@ -107,10 +107,10 @@ def yellow
res = get.call("#{url}/reservations/show", :environment => env)
puts "#{env.yellow} is #{res['status'] == 'available' ? "available".green : "reserved".red}"
if res['status'] == 'reserved'
- puts " #{"#{res['user']}@#{env}".yellow} for #{expires_to_string.call(Time.at(res['expires'])).yellow}"
+ puts " #{"#{res['user']}@#{env}".yellow} for #{expires_to_string.call(Time.at(res['expires'])).yellow} at branch #{res['branch'].yellow}"
end
puts "\n"
end
end
end
-end
+end
Something went wrong with that request. Please try again.