builderator 1.1.9 → 1.1.10

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 4be75ea4f2312a202b61cde466231fb1199ec69b
4
- data.tar.gz: cac52d00a1baffa7f896163ea2521bf33549df17
3
+ metadata.gz: 678507dd2ad3d84de7a391fb05e51dd6ad00c2cc
4
+ data.tar.gz: 0c14fcc443004f40534836e50af5eaca3ec0521a
5
5
  SHA512:
6
- metadata.gz: 0f35cc3cdc9c58b7af961b94fb4c4c27d839808e0bed7f5b65e9c277949b31ecb6ece6cc95fa0d7029bc4355cd79c628a3a417a37c6661609d44d6f3ab2ab6de
7
- data.tar.gz: a2e37ccb5da6048e08c9f3f078dc5ad2437aeb7dc59f07b39274b27f323813b60b1b122a498552b105910f71de6019cd5fdebd01aa4f1c94624a423b04ccc417
6
+ metadata.gz: 216f3bd6960f5f0d48df25ef0acda875757351e8582114248951daac271f1fca95616dacf410996c1587e03d8327c45fe7f4c2690948d03d6a0f92ab8b963ca8
7
+ data.tar.gz: 4c6b5672c0a3ac636c4a0b896dd8673ceea278fc04d5ad5a92f8d200969c280b574274e0d17c7c46e9184d292adba5fb946a5f97d8b25551a86d3b09702bebce
@@ -80,6 +80,11 @@ module Builderator
80
80
 
81
81
  ## Apply relative subdirectory
82
82
  run "git filter-branch --subdirectory-filter \"#{ params.rel }\" --force" if params.has?(:rel)
83
+
84
+ ## Update Submodules
85
+ if path.join('.gitmodules').exist?
86
+ run "git submodule update --init --recursive"
87
+ end
83
88
  end
84
89
  end
85
90
 
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: builderator
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.1.9
4
+ version: 1.1.10
5
5
  platform: ruby
6
6
  authors:
7
7
  - John Manero
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2016-07-27 00:00:00.000000000 Z
11
+ date: 2016-09-07 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: rake
@@ -190,23 +190,11 @@ executables:
190
190
  extensions: []
191
191
  extra_rdoc_files: []
192
192
  files:
193
- - Buildfile
194
- - Gemfile
195
- - Gemfile.lock
196
193
  - LICENSE.txt
197
194
  - README.md
198
- - Rakefile
199
- - Thorfile
200
- - VERSION
201
195
  - bin/build
202
196
  - bin/build-clean
203
197
  - bin/build-data
204
- - builderator.gemspec
205
- - docs/clean.md
206
- - docs/configuration.md
207
- - docs/configuration/cookbook.md
208
- - docs/configuration/profile.md
209
- - docs/versioning.md
210
198
  - lib/builderator.rb
211
199
  - lib/builderator/config.rb
212
200
  - lib/builderator/config/attributes.rb
@@ -249,26 +237,6 @@ files:
249
237
  - lib/builderator/util/aws_exception.rb
250
238
  - lib/builderator/util/limit_exception.rb
251
239
  - lib/builderator/util/task_exception.rb
252
- - rvm.env
253
- - spec/config_spec.rb
254
- - spec/data/Berksfile
255
- - spec/data/Buildfile
256
- - spec/data/Vagrantfile
257
- - spec/data/history.json
258
- - spec/data/packer.json
259
- - spec/interface_spec.rb
260
- - spec/resource/Buildfile
261
- - spec/resource/Buildfile-home-directory
262
- - spec/resource/Buildfile-in-cookbook
263
- - spec/resource/Buildfile-policy-buildtype1
264
- - spec/resource/Buildfile-policy-buildtype2
265
- - spec/resource/Buildfile-policy-organization
266
- - spec/resource/Buildfile-simple
267
- - spec/resource/Buildfile-with-overrides
268
- - spec/resource/Buildfile-with-overrides2
269
- - spec/resource/Buildfile-with-poilcy
270
- - spec/spec_helper.rb
271
- - spec/version_spec.rb
272
240
  - template/Berksfile.erb
273
241
  - template/Buildfile.erb
274
242
  - template/Gemfile.erb
@@ -300,23 +268,4 @@ rubygems_version: 2.4.3
300
268
  signing_key:
301
269
  specification_version: 4
302
270
  summary: Tools to make CI Packer builds awesome
303
- test_files:
304
- - spec/config_spec.rb
305
- - spec/data/Berksfile
306
- - spec/data/Buildfile
307
- - spec/data/Vagrantfile
308
- - spec/data/history.json
309
- - spec/data/packer.json
310
- - spec/interface_spec.rb
311
- - spec/resource/Buildfile
312
- - spec/resource/Buildfile-home-directory
313
- - spec/resource/Buildfile-in-cookbook
314
- - spec/resource/Buildfile-policy-buildtype1
315
- - spec/resource/Buildfile-policy-buildtype2
316
- - spec/resource/Buildfile-policy-organization
317
- - spec/resource/Buildfile-simple
318
- - spec/resource/Buildfile-with-overrides
319
- - spec/resource/Buildfile-with-overrides2
320
- - spec/resource/Buildfile-with-poilcy
321
- - spec/spec_helper.rb
322
- - spec/version_spec.rb
271
+ test_files: []
data/Buildfile DELETED
@@ -1,4 +0,0 @@
1
- ##
2
- # Use Builderator to release Builderator!
3
- ##
4
- autoversion.create_tags true
data/Gemfile DELETED
@@ -1,4 +0,0 @@
1
- source 'https://rubygems.org'
2
-
3
- # Specify your gem's dependencies in builderator.gemspec
4
- gemspec
@@ -1,254 +0,0 @@
1
- PATH
2
- remote: .
3
- specs:
4
- builderator (0.0.1)
5
- aws-sdk (~> 2.0)
6
- berkshelf (~> 4.3)
7
- chef (~> 12.5)
8
- childprocess (~> 0.5)
9
- dep_selector (~> 1.0)
10
- faraday_middleware (~> 0.10.0)
11
- ignorefile
12
- thor (~> 0.19.0)
13
-
14
- GEM
15
- remote: https://rubygems.org/
16
- specs:
17
- addressable (2.4.0)
18
- ast (2.3.0)
19
- aws-sdk (2.4.3)
20
- aws-sdk-resources (= 2.4.3)
21
- aws-sdk-core (2.4.3)
22
- jmespath (~> 1.0)
23
- aws-sdk-resources (2.4.3)
24
- aws-sdk-core (= 2.4.3)
25
- berkshelf (4.3.5)
26
- addressable (~> 2.3, >= 2.3.4)
27
- berkshelf-api-client (~> 2.0, >= 2.0.2)
28
- buff-config (~> 1.0)
29
- buff-extensions (~> 1.0)
30
- buff-shell_out (~> 0.1)
31
- celluloid (= 0.16.0)
32
- celluloid-io (~> 0.16.1)
33
- cleanroom (~> 1.0)
34
- faraday (~> 0.9)
35
- httpclient (~> 2.7)
36
- minitar (~> 0.5, >= 0.5.4)
37
- mixlib-archive (~> 0.1)
38
- octokit (~> 4.0)
39
- retryable (~> 2.0)
40
- ridley (~> 4.5)
41
- solve (~> 2.0)
42
- thor (~> 0.19)
43
- berkshelf-api-client (2.0.2)
44
- faraday (~> 0.9.1)
45
- httpclient (~> 2.7.0)
46
- ridley (~> 4.5)
47
- buff-config (1.0.1)
48
- buff-extensions (~> 1.0)
49
- varia_model (~> 0.4)
50
- buff-extensions (1.0.0)
51
- buff-ignore (1.1.1)
52
- buff-ruby_engine (0.1.0)
53
- buff-shell_out (0.2.0)
54
- buff-ruby_engine (~> 0.1.0)
55
- builder (3.2.2)
56
- celluloid (0.16.0)
57
- timers (~> 4.0.0)
58
- celluloid-io (0.16.2)
59
- celluloid (>= 0.16.0)
60
- nio4r (>= 1.1.0)
61
- chef (12.5.1)
62
- chef-config (= 12.5.1)
63
- chef-zero (~> 4.2, >= 4.2.2)
64
- diff-lcs (~> 1.2, >= 1.2.4)
65
- erubis (~> 2.7)
66
- ffi-yajl (~> 2.2)
67
- highline (~> 1.6, >= 1.6.9)
68
- mixlib-authentication (~> 1.3)
69
- mixlib-cli (~> 1.4)
70
- mixlib-log (~> 1.3)
71
- mixlib-shellout (~> 2.0)
72
- net-ssh (~> 2.6)
73
- net-ssh-multi (~> 1.1)
74
- ohai (>= 8.6.0.alpha.1, < 9)
75
- plist (~> 3.1.0)
76
- pry (~> 0.9)
77
- rspec-core (~> 3.2)
78
- rspec-expectations (~> 3.2)
79
- rspec-mocks (~> 3.2)
80
- rspec_junit_formatter (~> 0.2.0)
81
- serverspec (~> 2.7)
82
- specinfra (~> 2.10)
83
- syslog-logger (~> 1.6)
84
- chef-config (12.5.1)
85
- mixlib-config (~> 2.0)
86
- mixlib-shellout (~> 2.0)
87
- chef-zero (4.8.0)
88
- ffi-yajl (~> 2.2)
89
- hashie (>= 2.0, < 4.0)
90
- mixlib-log (~> 1.3)
91
- rack (< 2)
92
- uuidtools (~> 2.1)
93
- childprocess (0.5.9)
94
- ffi (~> 1.0, >= 1.0.11)
95
- cleanroom (1.0.0)
96
- coderay (1.1.1)
97
- dep-selector-libgecode (1.3.0)
98
- dep_selector (1.0.3)
99
- dep-selector-libgecode (~> 1.0)
100
- ffi (~> 1.9)
101
- diff-lcs (1.2.5)
102
- erubis (2.7.0)
103
- faraday (0.9.2)
104
- multipart-post (>= 1.2, < 3)
105
- faraday_middleware (0.10.0)
106
- faraday (>= 0.7.4, < 0.10)
107
- ffi (1.9.14)
108
- ffi-yajl (2.3.0)
109
- libyajl2 (~> 1.2)
110
- hashie (3.4.4)
111
- highline (1.7.8)
112
- hitimes (1.2.4)
113
- httpclient (2.7.2)
114
- ignorefile (1.1.0)
115
- ipaddress (0.8.3)
116
- jmespath (1.3.1)
117
- json (2.0.2)
118
- libyajl2 (1.2.0)
119
- method_source (0.8.2)
120
- minitar (0.5.4)
121
- mixlib-archive (0.2.0)
122
- mixlib-log
123
- mixlib-authentication (1.4.1)
124
- mixlib-log
125
- mixlib-cli (1.7.0)
126
- mixlib-config (2.2.1)
127
- mixlib-log (1.6.0)
128
- mixlib-shellout (2.2.6)
129
- molinillo (0.4.5)
130
- multi_json (1.12.1)
131
- multipart-post (2.0.0)
132
- net-scp (1.2.1)
133
- net-ssh (>= 2.6.5)
134
- net-ssh (2.9.4)
135
- net-ssh-gateway (1.2.0)
136
- net-ssh (>= 2.6.5)
137
- net-ssh-multi (1.2.1)
138
- net-ssh (>= 2.6.5)
139
- net-ssh-gateway (>= 1.2.0)
140
- net-telnet (0.1.1)
141
- nio4r (1.2.1)
142
- octokit (4.3.0)
143
- sawyer (~> 0.7.0, >= 0.5.3)
144
- ohai (8.17.1)
145
- chef-config (>= 12.5.0.alpha.1, < 13)
146
- ffi (~> 1.9)
147
- ffi-yajl (~> 2.2)
148
- ipaddress
149
- mixlib-cli
150
- mixlib-config (~> 2.0)
151
- mixlib-log
152
- mixlib-shellout (~> 2.0)
153
- plist (~> 3.1)
154
- systemu (~> 2.6.4)
155
- wmi-lite (~> 1.0)
156
- parser (2.3.1.2)
157
- ast (~> 2.2)
158
- plist (3.1.0)
159
- powerpack (0.1.1)
160
- pry (0.10.4)
161
- coderay (~> 1.1.0)
162
- method_source (~> 0.8.1)
163
- slop (~> 3.4)
164
- rack (1.6.4)
165
- rainbow (2.1.0)
166
- rake (10.5.0)
167
- retryable (2.0.4)
168
- ridley (4.6.0)
169
- addressable
170
- buff-config (~> 1.0)
171
- buff-extensions (~> 1.0)
172
- buff-ignore (~> 1.1)
173
- buff-shell_out (~> 0.1)
174
- celluloid (~> 0.16.0)
175
- celluloid-io (~> 0.16.1)
176
- chef-config (>= 12.5.0)
177
- erubis
178
- faraday (~> 0.9.0)
179
- hashie (>= 2.0.2, < 4.0.0)
180
- httpclient (~> 2.7)
181
- json (>= 1.7.7)
182
- mixlib-authentication (>= 1.3.0)
183
- retryable (~> 2.0)
184
- semverse (~> 1.1)
185
- varia_model (~> 0.4.0)
186
- rspec (3.5.0)
187
- rspec-core (~> 3.5.0)
188
- rspec-expectations (~> 3.5.0)
189
- rspec-mocks (~> 3.5.0)
190
- rspec-core (3.5.1)
191
- rspec-support (~> 3.5.0)
192
- rspec-expectations (3.5.0)
193
- diff-lcs (>= 1.2.0, < 2.0)
194
- rspec-support (~> 3.5.0)
195
- rspec-its (1.2.0)
196
- rspec-core (>= 3.0.0)
197
- rspec-expectations (>= 3.0.0)
198
- rspec-mocks (3.5.0)
199
- diff-lcs (>= 1.2.0, < 2.0)
200
- rspec-support (~> 3.5.0)
201
- rspec-support (3.5.0)
202
- rspec_junit_formatter (0.2.3)
203
- builder (< 4)
204
- rspec-core (>= 2, < 4, != 2.12.0)
205
- rubocop (0.42.0)
206
- parser (>= 2.3.1.1, < 3.0)
207
- powerpack (~> 0.1)
208
- rainbow (>= 1.99.1, < 3.0)
209
- ruby-progressbar (~> 1.7)
210
- unicode-display_width (~> 1.0, >= 1.0.1)
211
- ruby-progressbar (1.8.1)
212
- sawyer (0.7.0)
213
- addressable (>= 2.3.5, < 2.5)
214
- faraday (~> 0.8, < 0.10)
215
- semverse (1.2.1)
216
- serverspec (2.36.0)
217
- multi_json
218
- rspec (~> 3.0)
219
- rspec-its
220
- specinfra (~> 2.53)
221
- sfl (2.2)
222
- slop (3.6.0)
223
- solve (2.0.3)
224
- molinillo (~> 0.4.2)
225
- semverse (~> 1.1)
226
- specinfra (2.60.2)
227
- net-scp
228
- net-ssh (>= 2.7, < 4.0)
229
- net-telnet
230
- sfl
231
- syslog-logger (1.6.8)
232
- systemu (2.6.5)
233
- thor (0.19.1)
234
- thor-scmversion (1.7.0)
235
- mixlib-shellout
236
- thor
237
- timers (4.0.4)
238
- hitimes
239
- unicode-display_width (1.1.0)
240
- uuidtools (2.1.5)
241
- varia_model (0.4.1)
242
- buff-extensions (~> 1.0)
243
- hashie (>= 2.0.2, < 4.0.0)
244
- wmi-lite (1.0.0)
245
-
246
- PLATFORMS
247
- ruby
248
-
249
- DEPENDENCIES
250
- builderator!
251
- rake (~> 10.0)
252
- rspec (~> 3.0)
253
- rubocop (~> 0.35)
254
- thor-scmversion (= 1.7.0)
data/Rakefile DELETED
@@ -1,5 +0,0 @@
1
- require 'rspec/core/rake_task'
2
-
3
- RSpec::Core::RakeTask.new(:spec)
4
-
5
- task :default => :spec
data/Thorfile DELETED
@@ -1 +0,0 @@
1
- require 'thor-scmversion'
data/VERSION DELETED
@@ -1 +0,0 @@
1
- 1.1.9
@@ -1,34 +0,0 @@
1
- # coding: utf-8
2
- lib = File.expand_path('../lib', __FILE__)
3
- $LOAD_PATH.unshift(lib) unless $LOAD_PATH.include?(lib)
4
- require 'builderator/metadata'
5
-
6
- Gem::Specification.new do |spec|
7
- spec.name = 'builderator'
8
- spec.version = Builderator::VERSION
9
- spec.authors = ['John Manero']
10
- spec.email = ['jmanero@rapid7.com']
11
- spec.summary = 'Tools to make CI Packer builds awesome'
12
- spec.description = Builderator::DESCRIPTION
13
- spec.homepage = 'https://github.com/rapid7/builderator'
14
- spec.license = 'MIT'
15
-
16
- spec.files = Dir['**/*']
17
- spec.executables = spec.files.grep(%r{^bin/}) { |f| File.basename(f) }
18
- spec.test_files = spec.files.grep(%r{^(test|spec|features)/})
19
- spec.require_paths = ['lib']
20
-
21
- spec.add_development_dependency 'rake', '~> 10.0'
22
- spec.add_development_dependency 'rspec', '~> 3.0'
23
- spec.add_development_dependency 'rubocop', '~> 0.35'
24
- spec.add_development_dependency 'thor-scmversion', '1.7.0'
25
-
26
- spec.add_dependency 'aws-sdk', '~> 2.0'
27
- spec.add_dependency 'berkshelf', '~> 4.3'
28
- spec.add_dependency 'childprocess', '~> 0.5'
29
- spec.add_dependency 'dep_selector', '~> 1.0'
30
- spec.add_dependency 'chef', '~> 12.5'
31
- spec.add_dependency 'faraday_middleware', '~> 0.10.0'
32
- spec.add_dependency 'ignorefile'
33
- spec.add_dependency 'thor', '~> 0.19.0'
34
- end
@@ -1,21 +0,0 @@
1
- build-clean
2
- ===========
3
- Tasks to delete/deregister abandoned EC2 resources
4
-
5
- ### Options
6
- * `--commit` Execute cleanup task. Default behavior is to display resources that would be removed
7
- * `--filter KEY VALUE [KEY VALUE []]` Key/value pairs to filter resources. Valid keys include tags and native resource properties (See `describe` responses in the Ruby AWS-SDK)
8
-
9
- ### Commands
10
- * `configs` Delete launch configurations that are not associated with an autoscaling group.
11
-
12
- * `images` Delete images that are not associated with a launch configuration, a running instance, or are tagged as the 'parent' of an image that qualifies for any of the previous three conditions. Additionally, a fixed number of images can be retained per ordered groups.
13
-
14
- **Options**
15
- * `--group-by KEY [KEY []]` Tags/properties to group images by for pruning
16
- * `--sort-by KEY` Tag/property to sort grouped images on (Default: creation_date)
17
- * `--keep N` Number of images in each group to keep (Default: 0)
18
-
19
- * `snapshots` Delete snapshots that are not associated with existing volumes or images.
20
-
21
- * `volumes` Delete volumes that are not attached to instances.