builderator 1.0.3 → 1.0.4
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/Gemfile.lock +5 -5
- data/README.md +2 -0
- data/VERSION +1 -1
- data/lib/builderator/tasks.rb +3 -0
- data/rvm.env +1 -1
- metadata +2 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: f3e86363e1868924b2a5cc8d3730dea204c6c4ef
|
4
|
+
data.tar.gz: a0602bf3e7a92a9d6ca8d509af5de9e4f4b3ee73
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: f1ce3210066f2867b546715e857fa6f9508a481f68514a5eb6409e6ab7129617b759782a4ba4ef5449627618811f0875400d386e61d6b004ea11583cc5d2643e
|
7
|
+
data.tar.gz: 503bfe61a2fb5cd4b542661c8f8393d5a93fb86f7575f210866edfcb6c8093c9f0deb5483e21cb242a481b830d0fddc333115ad3b6995c0e13c90f36fe7dfb2e
|
data/Gemfile.lock
CHANGED
@@ -14,12 +14,12 @@ GEM
|
|
14
14
|
specs:
|
15
15
|
addressable (2.3.8)
|
16
16
|
ast (2.2.0)
|
17
|
-
aws-sdk (2.2.
|
18
|
-
aws-sdk-resources (= 2.2.
|
19
|
-
aws-sdk-core (2.2.
|
17
|
+
aws-sdk (2.2.35)
|
18
|
+
aws-sdk-resources (= 2.2.35)
|
19
|
+
aws-sdk-core (2.2.35)
|
20
20
|
jmespath (~> 1.0)
|
21
|
-
aws-sdk-resources (2.2.
|
22
|
-
aws-sdk-core (= 2.2.
|
21
|
+
aws-sdk-resources (2.2.35)
|
22
|
+
aws-sdk-core (= 2.2.35)
|
23
23
|
berkshelf (3.3.0)
|
24
24
|
addressable (~> 2.3.4)
|
25
25
|
berkshelf-api-client (~> 1.2)
|
data/README.md
CHANGED
@@ -18,6 +18,8 @@ Provision an EC2 VM using Vagrant. Same workflow as `local` using the `vagrant-a
|
|
18
18
|
|
19
19
|
Use [Packer](https://www.packer.io) to build an image(s) for the specified profile.
|
20
20
|
|
21
|
+
By default, the generated images are copied to their respective `ami_regions` and tagged. Supply the `--no-copy` flag to keep the new image from being automatically copied to its configured regions.
|
22
|
+
|
21
23
|
## Configuration
|
22
24
|
|
23
25
|
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:
|
data/VERSION
CHANGED
@@ -1 +1 @@
|
|
1
|
-
1.0.
|
1
|
+
1.0.4
|
data/lib/builderator/tasks.rb
CHANGED
@@ -68,9 +68,12 @@ module Builderator
|
|
68
68
|
|
69
69
|
desc 'image [PROFILE = default]', 'Build an AMI of PROFILE'
|
70
70
|
method_option :debug, :type => :boolean
|
71
|
+
method_option :copy, :type => :boolean, :default => true
|
71
72
|
def image(profile = :default)
|
72
73
|
prepare
|
74
|
+
|
73
75
|
invoke Tasks::Packer, :build, [profile], options
|
76
|
+
invoke Tasks::Packer, :copy, [profile], options if options['copy']
|
74
77
|
end
|
75
78
|
|
76
79
|
# desc 'cookbook SUBCOMMAND', 'Cookbook tasks'
|
data/rvm.env
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
declare -x GEM_HOME="/home/jenkins/.rvm/gems/ruby-2.1.5@bakery-1"
|
2
2
|
declare -x GEM_PATH="/home/jenkins/.rvm/gems/ruby-2.1.5@bakery-1:/home/jenkins/.rvm/gems/ruby-2.1.5@global"
|
3
3
|
declare -x HOME="/home/jenkins"
|
4
|
-
declare -x HUDSON_COOKIE="
|
4
|
+
declare -x HUDSON_COOKIE="87715455-4b48-40e3-af8b-a730b3387d3a"
|
5
5
|
declare -x IRBRC="/home/jenkins/.rvm/rubies/ruby-2.1.5/.irbrc"
|
6
6
|
declare -x LANG="en_US.UTF-8"
|
7
7
|
declare -x LC_ALL="en_US.UTF-8"
|
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.0.
|
4
|
+
version: 1.0.4
|
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-04-
|
11
|
+
date: 2016-04-19 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: rake
|