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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 7e7d655396888d1b4ba314720ea7e5c0a1f894f2
4
- data.tar.gz: 337cfe16175391943cc7670dede1b58deca3d8e3
3
+ metadata.gz: f3e86363e1868924b2a5cc8d3730dea204c6c4ef
4
+ data.tar.gz: a0602bf3e7a92a9d6ca8d509af5de9e4f4b3ee73
5
5
  SHA512:
6
- metadata.gz: a831effa46adeec62c4fd5cc0bd16db8896d10dd7aa45a3c2f8e4fea6aa8badbb4e26b8907cb42507b70826aa603ad97b640fb01f28aea3109d23ca0f3115065
7
- data.tar.gz: b4cb4d1bd8d4eeecd8d956bb8ea95af71e146c3f272252d9b2c34c3e7d8c391ac9d45fca81bb7857738ee53b3e79a2e68ceab023a810184b7b5875d10fa8bd0b
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.34)
18
- aws-sdk-resources (= 2.2.34)
19
- aws-sdk-core (2.2.34)
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.34)
22
- aws-sdk-core (= 2.2.34)
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.3
1
+ 1.0.4
@@ -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="6321c863-ef3a-4714-82f7-596ef8aa2449"
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.3
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-15 00:00:00.000000000 Z
11
+ date: 2016-04-19 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: rake