bellows 1.0.7 → 1.0.8

Sign up to get free protection for your applications and to get access to all the features.
Files changed (4) hide show
  1. data/CHANGELOG +3 -0
  2. data/VERSION +1 -1
  3. data/lib/bellows/tasks.rb +6 -3
  4. metadata +3 -3
data/CHANGELOG CHANGED
@@ -1,3 +1,6 @@
1
+ * Mon Dec 12 2011 Dan Prince <dan.prince@rackspace.com> - 1.0.8
2
+ - Update 'comment' task to display msg for test failures.
3
+
1
4
  * Mon Dec 12 2011 Dan Prince <dan.prince@rackspace.com> - 1.0.7
2
5
  - Add 'comment' task to comment on Gerrit reviews w/ test result links.
3
6
 
data/VERSION CHANGED
@@ -1 +1 @@
1
- 1.0.7
1
+ 1.0.8
data/lib/bellows/tasks.rb CHANGED
@@ -141,11 +141,14 @@ module Bellows
141
141
  libvirt=Bellows::SmokeStack.job_data_for_type(jobs_for_rev, 'job_vpc')
142
142
  xenserver=Bellows::SmokeStack.job_data_for_type(jobs_for_rev, 'job_xen_hybrid')
143
143
  if unit and libvirt and xenserver then
144
+ puts unit.inspect
145
+
144
146
  puts "Commenting ... " + desc if not options[:quiet]
145
147
  message = "SmokeStack Results (patch set #{patchset_num}):\n"
146
- message += "\tUnit #{unit['status']}: http://smokestack.openstack.org/?go=/jobs/#{unit['id']}\n"
147
- message += "\tLibvirt #{libvirt['status']}: http://smokestack.openstack.org/?go=/jobs/#{libvirt['id']}\n"
148
- message += "\tXenServer #{xenserver['status']}: http://smokestack.openstack.org/?go=/jobs/#{xenserver['id']}"
148
+ message += "\tUnit #{unit['status']}:#{unit['msg']} http://smokestack.openstack.org/?go=/jobs/#{unit['id']}\n"
149
+ message += "\tLibvirt #{libvirt['status']}:#{libvirt['msg']} http://smokestack.openstack.org/?go=/jobs/#{libvirt['id']}\n"
150
+ message += "\tXenServer #{xenserver['status']}:#{xenserver['msg']} http://smokestack.openstack.org/?go=/jobs/#{xenserver['id']}"
151
+ puts message
149
152
  out = Bellows::Gerrit.comment(review['currentPatchSet']['revision'], message) if not test
150
153
  puts out if not options[:quiet]
151
154
  file.write revision + "\n" if not test
metadata CHANGED
@@ -1,13 +1,13 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: bellows
3
3
  version: !ruby/object:Gem::Version
4
- hash: 25
4
+ hash: 7
5
5
  prerelease: false
6
6
  segments:
7
7
  - 1
8
8
  - 0
9
- - 7
10
- version: 1.0.7
9
+ - 8
10
+ version: 1.0.8
11
11
  platform: ruby
12
12
  authors:
13
13
  - Dan Prince