builderator 1.0.0.pre.rc.1 → 1.0.0.pre.rc.3
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/Gemfile.lock +22 -21
- data/VERSION +1 -1
- data/lib/builderator/metadata.rb +4 -1
- metadata +4 -87
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 7ff038bd3e969c865e49fa084b4152a9742f26b5
|
4
|
+
data.tar.gz: e720b7875a1e8802397140864a69248497ae6e1e
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: fe37e45a8016a2c5917fe602f09547b195dfb2cefd00466cebde639c8acff06bc43bf0db911abd9865832986f7f323753cb06f7960004d9983b28f11bf4fe826
|
7
|
+
data.tar.gz: a08ef71db8bff75511d60a5ce2693b28a7789b00d2b9ac2ed9d4fab962d8a7e5db95af8ba263511e0eb76a529163e9493d44f32eb2539653a1d02e6f227ae7e7
|
data/Gemfile.lock
CHANGED
@@ -24,7 +24,7 @@ GIT
|
|
24
24
|
PATH
|
25
25
|
remote: .
|
26
26
|
specs:
|
27
|
-
builderator (1.0.0.pre.
|
27
|
+
builderator (1.0.0.pre.rc.3)
|
28
28
|
aws-sdk (~> 2.0)
|
29
29
|
berkshelf (~> 3.2)
|
30
30
|
bundler (~> 1.7.0)
|
@@ -41,12 +41,12 @@ GEM
|
|
41
41
|
ast (2.1.0)
|
42
42
|
astrolabe (1.3.1)
|
43
43
|
parser (~> 2.2)
|
44
|
-
aws-sdk (2.2.
|
45
|
-
aws-sdk-resources (= 2.2.
|
46
|
-
aws-sdk-core (2.2.
|
44
|
+
aws-sdk (2.2.9)
|
45
|
+
aws-sdk-resources (= 2.2.9)
|
46
|
+
aws-sdk-core (2.2.9)
|
47
47
|
jmespath (~> 1.0)
|
48
|
-
aws-sdk-resources (2.2.
|
49
|
-
aws-sdk-core (= 2.2.
|
48
|
+
aws-sdk-resources (2.2.9)
|
49
|
+
aws-sdk-core (= 2.2.9)
|
50
50
|
berkshelf (3.3.0)
|
51
51
|
addressable (~> 2.3.4)
|
52
52
|
berkshelf-api-client (~> 1.2)
|
@@ -81,8 +81,8 @@ GEM
|
|
81
81
|
celluloid-io (0.16.2)
|
82
82
|
celluloid (>= 0.16.0)
|
83
83
|
nio4r (>= 1.1.0)
|
84
|
-
chef (12.
|
85
|
-
chef-config (= 12.
|
84
|
+
chef (12.6.0)
|
85
|
+
chef-config (= 12.6.0)
|
86
86
|
chef-zero (~> 4.2, >= 4.2.2)
|
87
87
|
diff-lcs (~> 1.2, >= 1.2.4)
|
88
88
|
erubis (~> 2.7)
|
@@ -96,18 +96,19 @@ GEM
|
|
96
96
|
net-ssh-multi (~> 1.1)
|
97
97
|
ohai (>= 8.6.0.alpha.1, < 9)
|
98
98
|
plist (~> 3.1.0)
|
99
|
+
proxifier (~> 1.0)
|
99
100
|
pry (~> 0.9)
|
100
|
-
rspec-core (~> 3.
|
101
|
-
rspec-expectations (~> 3.
|
102
|
-
rspec-mocks (~> 3.
|
101
|
+
rspec-core (~> 3.4)
|
102
|
+
rspec-expectations (~> 3.4)
|
103
|
+
rspec-mocks (~> 3.4)
|
103
104
|
rspec_junit_formatter (~> 0.2.0)
|
104
105
|
serverspec (~> 2.7)
|
105
106
|
specinfra (~> 2.10)
|
106
107
|
syslog-logger (~> 1.6)
|
107
|
-
chef-config (12.
|
108
|
+
chef-config (12.6.0)
|
108
109
|
mixlib-config (~> 2.0)
|
109
110
|
mixlib-shellout (~> 2.0)
|
110
|
-
chef-zero (4.
|
111
|
+
chef-zero (4.4.0)
|
111
112
|
ffi-yajl (~> 2.2)
|
112
113
|
hashie (>= 2.0, < 4.0)
|
113
114
|
mixlib-log (~> 1.3)
|
@@ -129,7 +130,7 @@ GEM
|
|
129
130
|
faraday_middleware (0.10.0)
|
130
131
|
faraday (>= 0.7.4, < 0.10)
|
131
132
|
ffi (1.9.10)
|
132
|
-
ffi-yajl (2.2.
|
133
|
+
ffi-yajl (2.2.3)
|
133
134
|
libyajl2 (~> 1.2)
|
134
135
|
fission (0.5.0)
|
135
136
|
CFPropertyList (~> 2.2)
|
@@ -289,18 +290,17 @@ GEM
|
|
289
290
|
net-ssh (>= 2.6.5)
|
290
291
|
net-ssh-gateway (>= 1.2.0)
|
291
292
|
net-telnet (0.1.1)
|
292
|
-
nio4r (1.
|
293
|
+
nio4r (1.2.0)
|
293
294
|
nokogiri (1.6.3.1)
|
294
295
|
mini_portile (= 0.6.0)
|
295
296
|
nori (2.6.0)
|
296
297
|
octokit (3.8.0)
|
297
298
|
sawyer (~> 0.6.0, >= 0.5.3)
|
298
|
-
ohai (8.8.
|
299
|
+
ohai (8.8.1)
|
299
300
|
chef-config (>= 12.5.0.alpha.1, < 13)
|
300
301
|
ffi (~> 1.9)
|
301
302
|
ffi-yajl (~> 2.2)
|
302
303
|
ipaddress
|
303
|
-
mime-types (~> 3.0)
|
304
304
|
mixlib-cli
|
305
305
|
mixlib-config (~> 2.0)
|
306
306
|
mixlib-log
|
@@ -312,6 +312,7 @@ GEM
|
|
312
312
|
ast (>= 1.1, < 3.0)
|
313
313
|
plist (3.1.0)
|
314
314
|
powerpack (0.1.1)
|
315
|
+
proxifier (1.0.3)
|
315
316
|
pry (0.10.3)
|
316
317
|
coderay (~> 1.1.0)
|
317
318
|
method_source (~> 0.8.1)
|
@@ -377,19 +378,19 @@ GEM
|
|
377
378
|
addressable (~> 2.3.5)
|
378
379
|
faraday (~> 0.8, < 0.10)
|
379
380
|
semverse (1.2.1)
|
380
|
-
serverspec (2.
|
381
|
+
serverspec (2.28.0)
|
381
382
|
multi_json
|
382
383
|
rspec (~> 3.0)
|
383
384
|
rspec-its
|
384
|
-
specinfra (~> 2.
|
385
|
+
specinfra (~> 2.48)
|
385
386
|
sfl (2.2)
|
386
387
|
slop (3.6.0)
|
387
388
|
solve (1.2.1)
|
388
389
|
dep_selector (~> 1.0)
|
389
390
|
semverse (~> 1.1)
|
390
|
-
specinfra (2.
|
391
|
+
specinfra (2.49.0)
|
391
392
|
net-scp
|
392
|
-
net-ssh (
|
393
|
+
net-ssh (>= 2.7, < 3.1)
|
393
394
|
net-telnet
|
394
395
|
sfl
|
395
396
|
syslog-logger (1.6.8)
|
data/VERSION
CHANGED
@@ -1 +1 @@
|
|
1
|
-
1.0.0-rc.
|
1
|
+
1.0.0-rc.3
|
data/lib/builderator/metadata.rb
CHANGED
@@ -3,5 +3,8 @@ require_relative './util'
|
|
3
3
|
# :nodoc:
|
4
4
|
module Builderator
|
5
5
|
VERSION = Util.source_path('VERSION').read rescue '0.0.1'
|
6
|
-
DESCRIPTION =
|
6
|
+
DESCRIPTION = 'Builderator automates many of the common steps required to build VMs '\
|
7
|
+
'and images with Chef. It provides a common configuration layer for '\
|
8
|
+
'Chef, Berkshelf, Vagrant, and Packer, and tasks to orchestrate the '\
|
9
|
+
'usage of each. https://github.com/rapid7/builderator'
|
7
10
|
end
|
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: builderator
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 1.0.0.pre.rc.
|
4
|
+
version: 1.0.0.pre.rc.3
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- John Manero
|
@@ -164,91 +164,9 @@ dependencies:
|
|
164
164
|
- - "~>"
|
165
165
|
- !ruby/object:Gem::Version
|
166
166
|
version: 0.19.0
|
167
|
-
description:
|
168
|
-
|
169
|
-
|
170
|
-
Orchestration and configuration of the code development life-cycle.
|
171
|
-
|
172
|
-
## Commands
|
173
|
-
|
174
|
-
### `local [PROFILE = default]`
|
175
|
-
|
176
|
-
Provision a local VM using Vagrant and, by default, VirtualBox. Uses Berkshelf to fetch cookbooks, and Chef to provision the VM.
|
177
|
-
|
178
|
-
### `ec2 [PROFILE = default]`
|
179
|
-
|
180
|
-
Provision an EC2 VM using Vagrant. Same workflow as `local` using the `vagrant-aws` plugin.
|
181
|
-
|
182
|
-
### `release [PROFILE = default]`
|
183
|
-
|
184
|
-
Perform release tasks and execute Packer builds with released artifacts.
|
185
|
-
|
186
|
-
## Configuration
|
187
|
-
|
188
|
-
Configuration can be loaded from DSL files as well as JSON and command line arguments. By default, Builderator searches in your home directory (`$HOME/.builderator/Buildfile`) and the working directory (`./Builderator`) for DSL files. Configuration sources are layered and flattened into a single DSL in the following order:
|
189
|
-
|
190
|
-
* Global defaults defined in the Builderator sources
|
191
|
-
* `Config.defaults` set by plugins, tasks, etc. in code
|
192
|
-
* `$HOME/.builderator/Buildfile`
|
193
|
-
* `./Buildfile`
|
194
|
-
* `Config.overrides` set by plugins, tasks, etc. in code
|
195
|
-
* CLI arguments loaded from Thor
|
196
|
-
|
197
|
-
[Additional documentation](docs/configuration.md) describes the configuration DSL interface.
|
198
|
-
|
199
|
-
## Integrations
|
200
|
-
|
201
|
-
Builderator integrates with other tools, including [Berkshelf](http://berkshelf.com), [Vagrant](https://www.vagrantup.com/), and [Packer](https://www.packer.io/), to orchestrate workflows by generating `Berksfile`s, `Vagrantfile`s, and JSON strings for Packer. This means that you can replace all of these files in your project with a single `Buildfile`.
|
202
|
-
|
203
|
-
### Packer
|
204
|
-
|
205
|
-
The Packer integration generates Packer JSON and passes it to STDIN of `packer build -`.
|
206
|
-
|
207
|
-
*NOTE* Currently, we assume that you're building Ubuntu images, as one of the provisioners is hard-coded to chown the Chef data directories to `ubuntu:ubuntu`
|
208
|
-
|
209
|
-
## Versioning
|
210
|
-
|
211
|
-
Builderator can automatically detect versions from SCM tags, increment the latest version of an SCM branch by a variety of steps, and create new SCM tags for new versions.
|
212
|
-
|
213
|
-
[Additional documentation](docs/versioning.md) describes CLI commands, configuration, and detailed behavior.
|
214
|
-
|
215
|
-
## Generators
|
216
|
-
|
217
|
-
Builderator includes a task to generate common project trees from configuration definitions and templates.
|
218
|
-
|
219
|
-
Each type of project is configurable via the project collection in the `generator` namespace:
|
220
|
-
|
221
|
-
```ruby
|
222
|
-
generator.project :default do |default|
|
223
|
-
default.ruby.version '2.1.5'
|
224
|
-
default.builderator.version '~> 1.0'
|
225
|
-
|
226
|
-
default.vagrant do |vagrant|
|
227
|
-
vagrant.install false
|
228
|
-
vagrant.version 'v1.8.0'
|
229
|
-
|
230
|
-
vagrant.plugin 'vagrant-aws'
|
231
|
-
vagrant.plugin 'vagrant-omnibus'
|
232
|
-
end
|
233
|
-
|
234
|
-
default.resource :berksfile do |berksfile|
|
235
|
-
berksfile.path 'Berksfile', 'Berksfile.lock'
|
236
|
-
berksfile.action :rm
|
237
|
-
end
|
238
|
-
|
239
|
-
default.resource :buildfile do |buildfile|
|
240
|
-
buildfile.path 'Buildfile'
|
241
|
-
buildfile.action :create
|
242
|
-
buildfile.template 'template/Buildfile.erb'
|
243
|
-
end
|
244
|
-
|
245
|
-
# ...
|
246
|
-
end
|
247
|
-
```
|
248
|
-
|
249
|
-
Valid actions for resources include `:ignore`, `:create` (update only if missing), `:sync` (create or update with prompt), and `:rm`. `:create` and `:sync` actions require a valid template source.
|
250
|
-
|
251
|
-
By default, the `generator` subcommand includes a `default` project which removes Vagrant, Berkshelf, and Packer configurations.
|
167
|
+
description: Builderator automates many of the common steps required to build VMs
|
168
|
+
and images with Chef. It provides a common configuration layer for Chef, Berkshelf,
|
169
|
+
Vagrant, and Packer, and tasks to orchestrate the usage of each. https://github.com/rapid7/builderator
|
252
170
|
email:
|
253
171
|
- jmanero@rapid7.com
|
254
172
|
executables:
|
@@ -368,4 +286,3 @@ test_files:
|
|
368
286
|
- spec/resource/Buildfile
|
369
287
|
- spec/spec_helper.rb
|
370
288
|
- spec/version_spec.rb
|
371
|
-
has_rdoc:
|