bellows 2.0.4 → 2.0.5
Sign up to get free protection for your applications and to get access to all the features.
- data/CHANGELOG +3 -0
- data/Gemfile +5 -5
- data/VERSION +1 -1
- data/bellows.gemspec +27 -25
- data/lib/bellows/smoke_stack.rb +12 -0
- data/lib/bellows/util.rb +2 -2
- metadata +23 -23
data/CHANGELOG
CHANGED
data/Gemfile
CHANGED
@@ -6,9 +6,9 @@ source "http://rubygems.org"
|
|
6
6
|
# Add dependencies to develop your gem here.
|
7
7
|
# Include everything needed to run rake, tests, features, etc.
|
8
8
|
group :development do
|
9
|
-
gem "bundler"
|
10
|
-
gem "jeweler"
|
11
|
-
gem "thor"
|
12
|
-
gem "json"
|
13
|
-
gem "mocha"
|
9
|
+
gem "bundler"
|
10
|
+
gem "jeweler"
|
11
|
+
gem "thor"
|
12
|
+
gem "json"
|
13
|
+
gem "mocha"
|
14
14
|
end
|
data/VERSION
CHANGED
@@ -1 +1 @@
|
|
1
|
-
2.0.
|
1
|
+
2.0.5
|
data/bellows.gemspec
CHANGED
@@ -4,15 +4,14 @@
|
|
4
4
|
# -*- encoding: utf-8 -*-
|
5
5
|
|
6
6
|
Gem::Specification.new do |s|
|
7
|
-
s.name =
|
8
|
-
s.version = "
|
7
|
+
s.name = "bellows"
|
8
|
+
s.version = "2.0.5"
|
9
9
|
|
10
10
|
s.required_rubygems_version = Gem::Requirement.new(">= 0") if s.respond_to? :required_rubygems_version=
|
11
11
|
s.authors = ["Dan Prince"]
|
12
|
-
s.date =
|
13
|
-
s.
|
14
|
-
s.
|
15
|
-
s.email = %q{dan.prince@rackspace.com}
|
12
|
+
s.date = "2013-09-06"
|
13
|
+
s.description = "CLI to drive SmokeStack test creation and maintenance based on Gerrit reviews."
|
14
|
+
s.email = "dan.prince@rackspace.com"
|
16
15
|
s.executables = ["bellows"]
|
17
16
|
s.extra_rdoc_files = [
|
18
17
|
"LICENSE.txt",
|
@@ -34,46 +33,49 @@ Gem::Specification.new do |s|
|
|
34
33
|
"lib/bellows/smoke_stack.rb",
|
35
34
|
"lib/bellows/tasks.rb",
|
36
35
|
"lib/bellows/util.rb",
|
36
|
+
"test/fixtures/config.yaml",
|
37
|
+
"test/fixtures/config_custom_project.yaml",
|
37
38
|
"test/fixtures/gerrit.json",
|
38
39
|
"test/fixtures/jobs.json",
|
39
40
|
"test/fixtures/nova_smoke_tests.json",
|
41
|
+
"test/fixtures/stream.json",
|
40
42
|
"test/helper.rb",
|
43
|
+
"test/test_smoke_stack.rb",
|
41
44
|
"test/test_task.rb",
|
42
45
|
"test/test_util.rb"
|
43
46
|
]
|
44
|
-
s.homepage =
|
47
|
+
s.homepage = "http://github.com/dprince/bellows"
|
45
48
|
s.licenses = ["MIT"]
|
46
49
|
s.require_paths = ["lib"]
|
47
|
-
s.rubygems_version =
|
48
|
-
s.summary =
|
50
|
+
s.rubygems_version = "1.8.24"
|
51
|
+
s.summary = "Fire it up! SmokeStack automation w/ Gerrit."
|
49
52
|
|
50
53
|
if s.respond_to? :specification_version then
|
51
|
-
current_version = Gem::Specification::CURRENT_SPECIFICATION_VERSION
|
52
54
|
s.specification_version = 3
|
53
55
|
|
54
56
|
if Gem::Version.new(Gem::VERSION) >= Gem::Version.new('1.2.0') then
|
55
|
-
s.add_development_dependency(%q<bundler>, ["
|
56
|
-
s.add_development_dependency(%q<jeweler>, ["
|
57
|
-
s.add_development_dependency(%q<thor>, ["
|
58
|
-
s.add_development_dependency(%q<json>, ["
|
59
|
-
s.add_development_dependency(%q<mocha>, ["
|
57
|
+
s.add_development_dependency(%q<bundler>, [">= 0"])
|
58
|
+
s.add_development_dependency(%q<jeweler>, [">= 0"])
|
59
|
+
s.add_development_dependency(%q<thor>, [">= 0"])
|
60
|
+
s.add_development_dependency(%q<json>, [">= 0"])
|
61
|
+
s.add_development_dependency(%q<mocha>, [">= 0"])
|
60
62
|
s.add_runtime_dependency(%q<json>, [">= 0"])
|
61
63
|
s.add_runtime_dependency(%q<thor>, [">= 0"])
|
62
64
|
else
|
63
|
-
s.add_dependency(%q<bundler>, ["
|
64
|
-
s.add_dependency(%q<jeweler>, ["
|
65
|
-
s.add_dependency(%q<thor>, ["
|
66
|
-
s.add_dependency(%q<json>, ["
|
67
|
-
s.add_dependency(%q<mocha>, ["
|
65
|
+
s.add_dependency(%q<bundler>, [">= 0"])
|
66
|
+
s.add_dependency(%q<jeweler>, [">= 0"])
|
67
|
+
s.add_dependency(%q<thor>, [">= 0"])
|
68
|
+
s.add_dependency(%q<json>, [">= 0"])
|
69
|
+
s.add_dependency(%q<mocha>, [">= 0"])
|
68
70
|
s.add_dependency(%q<json>, [">= 0"])
|
69
71
|
s.add_dependency(%q<thor>, [">= 0"])
|
70
72
|
end
|
71
73
|
else
|
72
|
-
s.add_dependency(%q<bundler>, ["
|
73
|
-
s.add_dependency(%q<jeweler>, ["
|
74
|
-
s.add_dependency(%q<thor>, ["
|
75
|
-
s.add_dependency(%q<json>, ["
|
76
|
-
s.add_dependency(%q<mocha>, ["
|
74
|
+
s.add_dependency(%q<bundler>, [">= 0"])
|
75
|
+
s.add_dependency(%q<jeweler>, [">= 0"])
|
76
|
+
s.add_dependency(%q<thor>, [">= 0"])
|
77
|
+
s.add_dependency(%q<json>, [">= 0"])
|
78
|
+
s.add_dependency(%q<mocha>, [">= 0"])
|
77
79
|
s.add_dependency(%q<json>, [">= 0"])
|
78
80
|
s.add_dependency(%q<thor>, [">= 0"])
|
79
81
|
end
|
data/lib/bellows/smoke_stack.rb
CHANGED
@@ -12,12 +12,16 @@ module Bellows
|
|
12
12
|
'openstack/swift' => 'swift_revision',
|
13
13
|
'openstack/cinder' => 'cinder_revision',
|
14
14
|
'openstack/neutron' => 'neutron_revision',
|
15
|
+
'openstack/ceilometer' => 'ceilometer_revision',
|
16
|
+
'openstack/heat' => 'heat_revision',
|
15
17
|
'stackforge/puppet-nova' => 'nova_conf_module_revision',
|
16
18
|
'stackforge/puppet-glance' => 'glance_conf_module_revision',
|
17
19
|
'stackforge/puppet-keystone' => 'keystone_conf_module_revision',
|
18
20
|
'stackforge/puppet-swift' => 'swift_conf_module_revision',
|
19
21
|
'stackforge/puppet-cinder' => 'cinder_conf_module_revision',
|
20
22
|
'stackforge/puppet-neutron' => 'neutron_conf_module_revision',
|
23
|
+
'stackforge/puppet-ceilometer' => 'ceilometer_conf_module_revision',
|
24
|
+
'stackforge/puppet-heat' => 'heat_conf_module_revision',
|
21
25
|
}
|
22
26
|
|
23
27
|
OBJECT_NAMES = {
|
@@ -27,12 +31,16 @@ module Bellows
|
|
27
31
|
'openstack/swift' => 'swift_package_builder',
|
28
32
|
'openstack/cinder' => 'cinder_package_builder',
|
29
33
|
'openstack/neutron' => 'neutron_package_builder',
|
34
|
+
'openstack/ceilometer' => 'ceilometer_package_builder',
|
35
|
+
'openstack/heat' => 'heat_package_builder',
|
30
36
|
'stackforge/puppet-nova' => 'nova_config_module',
|
31
37
|
'stackforge/puppet-glance' => 'glance_config_module',
|
32
38
|
'stackforge/puppet-keystone' => 'keystone_config_module',
|
33
39
|
'stackforge/puppet-swift' => 'swift_config_module',
|
34
40
|
'stackforge/puppet-cinder' => 'cinder_config_module',
|
35
41
|
'stackforge/puppet-neutron' => 'neutron_config_module',
|
42
|
+
'stackforge/puppet-ceilometer' => 'ceilometer_config_module',
|
43
|
+
'stackforge/puppet-heat' => 'heat_config_module',
|
36
44
|
}
|
37
45
|
|
38
46
|
ATTRIBUTE_NAMES = {
|
@@ -42,12 +50,16 @@ module Bellows
|
|
42
50
|
'openstack/swift' => 'swift_package_builder_attributes',
|
43
51
|
'openstack/cinder' => 'cinder_package_builder_attributes',
|
44
52
|
'openstack/neutron' => 'neutron_package_builder_attributes',
|
53
|
+
'openstack/ceilometer' => 'ceilometer_package_builder_attributes',
|
54
|
+
'openstack/heat' => 'heat_package_builder_attributes',
|
45
55
|
'stackforge/puppet-nova' => 'nova_config_module_attributes',
|
46
56
|
'stackforge/puppet-glance' => 'glance_config_module_attributes',
|
47
57
|
'stackforge/puppet-keystone' => 'keystone_config_module_attributes',
|
48
58
|
'stackforge/puppet-swift' => 'swift_config_module_attributes',
|
49
59
|
'stackforge/puppet-cinder' => 'cinder_config_module_attributes',
|
50
60
|
'stackforge/puppet-neutron' => 'neutron_config_module_attributes',
|
61
|
+
'stackforge/puppet-ceilometer' => 'ceilometer_config_module_attributes',
|
62
|
+
'stackforge/puppet-heat' => 'heat_config_module_attributes',
|
51
63
|
}
|
52
64
|
|
53
65
|
def self.jobs()
|
data/lib/bellows/util.rb
CHANGED
@@ -3,9 +3,9 @@ require 'yaml'
|
|
3
3
|
module Bellows
|
4
4
|
module Util
|
5
5
|
|
6
|
-
CORE_PROJECTS = ['openstack/nova', 'openstack/glance', 'openstack/keystone', 'openstack/swift', 'openstack/cinder', 'openstack/neutron']
|
6
|
+
CORE_PROJECTS = ['openstack/nova', 'openstack/glance', 'openstack/keystone', 'openstack/swift', 'openstack/cinder', 'openstack/neutron', 'openstack/ceilometer', 'openstack/heat']
|
7
7
|
|
8
|
-
PUPPET_PROJECTS = ['stackforge/puppet-nova', 'stackforge/puppet-glance', 'stackforge/puppet-keystone', 'stackforge/puppet-swift', 'stackforge/puppet-cinder', 'stackforge/puppet-neutron']
|
8
|
+
PUPPET_PROJECTS = ['stackforge/puppet-nova', 'stackforge/puppet-glance', 'stackforge/puppet-keystone', 'stackforge/puppet-swift', 'stackforge/puppet-cinder', 'stackforge/puppet-neutron', 'stackforge/puppet-ceilometer', 'stackforge/puppet-heat']
|
9
9
|
|
10
10
|
ALL_PROJECTS = CORE_PROJECTS + PUPPET_PROJECTS
|
11
11
|
|
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: bellows
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 2.0.
|
4
|
+
version: 2.0.5
|
5
5
|
prerelease:
|
6
6
|
platform: ruby
|
7
7
|
authors:
|
@@ -9,88 +9,88 @@ authors:
|
|
9
9
|
autorequire:
|
10
10
|
bindir: bin
|
11
11
|
cert_chain: []
|
12
|
-
date: 2013-
|
12
|
+
date: 2013-09-06 00:00:00.000000000 Z
|
13
13
|
dependencies:
|
14
14
|
- !ruby/object:Gem::Dependency
|
15
15
|
name: bundler
|
16
16
|
requirement: !ruby/object:Gem::Requirement
|
17
17
|
none: false
|
18
18
|
requirements:
|
19
|
-
- -
|
19
|
+
- - ! '>='
|
20
20
|
- !ruby/object:Gem::Version
|
21
|
-
version:
|
21
|
+
version: '0'
|
22
22
|
type: :development
|
23
23
|
prerelease: false
|
24
24
|
version_requirements: !ruby/object:Gem::Requirement
|
25
25
|
none: false
|
26
26
|
requirements:
|
27
|
-
- -
|
27
|
+
- - ! '>='
|
28
28
|
- !ruby/object:Gem::Version
|
29
|
-
version:
|
29
|
+
version: '0'
|
30
30
|
- !ruby/object:Gem::Dependency
|
31
31
|
name: jeweler
|
32
32
|
requirement: !ruby/object:Gem::Requirement
|
33
33
|
none: false
|
34
34
|
requirements:
|
35
|
-
- -
|
35
|
+
- - ! '>='
|
36
36
|
- !ruby/object:Gem::Version
|
37
|
-
version:
|
37
|
+
version: '0'
|
38
38
|
type: :development
|
39
39
|
prerelease: false
|
40
40
|
version_requirements: !ruby/object:Gem::Requirement
|
41
41
|
none: false
|
42
42
|
requirements:
|
43
|
-
- -
|
43
|
+
- - ! '>='
|
44
44
|
- !ruby/object:Gem::Version
|
45
|
-
version:
|
45
|
+
version: '0'
|
46
46
|
- !ruby/object:Gem::Dependency
|
47
47
|
name: thor
|
48
48
|
requirement: !ruby/object:Gem::Requirement
|
49
49
|
none: false
|
50
50
|
requirements:
|
51
|
-
- -
|
51
|
+
- - ! '>='
|
52
52
|
- !ruby/object:Gem::Version
|
53
|
-
version: 0
|
53
|
+
version: '0'
|
54
54
|
type: :development
|
55
55
|
prerelease: false
|
56
56
|
version_requirements: !ruby/object:Gem::Requirement
|
57
57
|
none: false
|
58
58
|
requirements:
|
59
|
-
- -
|
59
|
+
- - ! '>='
|
60
60
|
- !ruby/object:Gem::Version
|
61
|
-
version: 0
|
61
|
+
version: '0'
|
62
62
|
- !ruby/object:Gem::Dependency
|
63
63
|
name: json
|
64
64
|
requirement: !ruby/object:Gem::Requirement
|
65
65
|
none: false
|
66
66
|
requirements:
|
67
|
-
- -
|
67
|
+
- - ! '>='
|
68
68
|
- !ruby/object:Gem::Version
|
69
|
-
version:
|
69
|
+
version: '0'
|
70
70
|
type: :development
|
71
71
|
prerelease: false
|
72
72
|
version_requirements: !ruby/object:Gem::Requirement
|
73
73
|
none: false
|
74
74
|
requirements:
|
75
|
-
- -
|
75
|
+
- - ! '>='
|
76
76
|
- !ruby/object:Gem::Version
|
77
|
-
version:
|
77
|
+
version: '0'
|
78
78
|
- !ruby/object:Gem::Dependency
|
79
79
|
name: mocha
|
80
80
|
requirement: !ruby/object:Gem::Requirement
|
81
81
|
none: false
|
82
82
|
requirements:
|
83
|
-
- -
|
83
|
+
- - ! '>='
|
84
84
|
- !ruby/object:Gem::Version
|
85
|
-
version: 0
|
85
|
+
version: '0'
|
86
86
|
type: :development
|
87
87
|
prerelease: false
|
88
88
|
version_requirements: !ruby/object:Gem::Requirement
|
89
89
|
none: false
|
90
90
|
requirements:
|
91
|
-
- -
|
91
|
+
- - ! '>='
|
92
92
|
- !ruby/object:Gem::Version
|
93
|
-
version: 0
|
93
|
+
version: '0'
|
94
94
|
- !ruby/object:Gem::Dependency
|
95
95
|
name: json
|
96
96
|
requirement: !ruby/object:Gem::Requirement
|
@@ -173,7 +173,7 @@ required_ruby_version: !ruby/object:Gem::Requirement
|
|
173
173
|
version: '0'
|
174
174
|
segments:
|
175
175
|
- 0
|
176
|
-
hash:
|
176
|
+
hash: -4592397943045551371
|
177
177
|
required_rubygems_version: !ruby/object:Gem::Requirement
|
178
178
|
none: false
|
179
179
|
requirements:
|