ops_build 1.1.11 → 1.1.12
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- checksums.yaml +4 -4
- data/lib/ops_build/commands/build.rb +3 -2
- data/lib/ops_build/version.rb +1 -1
- metadata +3 -4
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: e9a43e19adee395a6997df8eb2aeb32ac96baad0
|
4
|
+
data.tar.gz: 6a3661526563576ce84831dd42809fda46c6a28a
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 74fed1ef0fc4be6863d2ec5698f7e3da0455e6e3694f6e131435ebf7d8f8d4a7abca2d8bda881a8c0a263bd48a4cf71f8476c1716b8ea584a34395750d345075
|
7
|
+
data.tar.gz: c1a1c35aa09482bc47fb74724f1f36316b45ddee495c8d62e3ff550625477a8f70ad9bf5e9da528cba6f2e6dfa5947dd4bef5b1abcb4547bbf9e3550006e5333
|
@@ -6,6 +6,7 @@ module OpsBuild
|
|
6
6
|
option :aws_access, type: :string, aliases: '-A', desc: 'AWS Access key'
|
7
7
|
option :aws_secret, type: :string, aliases: '-S', desc: 'AWS Secret key'
|
8
8
|
option :params, type: :string, aliases: '-p', desc: 'path to JSON as params'
|
9
|
+
option :no_berks, type: :string, aliases: '-n', desc: 'Do not run berkshelf'
|
9
10
|
end
|
10
11
|
|
11
12
|
desc 'packer TEMPLATE', 'build packer template'
|
@@ -36,10 +37,10 @@ module OpsBuild
|
|
36
37
|
|
37
38
|
begin
|
38
39
|
# Install missing cookbooks
|
39
|
-
berkshelf.install
|
40
|
+
berkshelf.install unless options[:no_berks]
|
40
41
|
|
41
42
|
# Load cookbooks to correct dir.
|
42
|
-
berkshelf.vendor
|
43
|
+
berkshelf.vendor unless options[:no_berks]
|
43
44
|
|
44
45
|
# Validate packer template
|
45
46
|
packer.validate(template)
|
data/lib/ops_build/version.rb
CHANGED
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: ops_build
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 1.1.
|
4
|
+
version: 1.1.12
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- HAMSIK Adam
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2015-
|
11
|
+
date: 2015-04-28 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: thor
|
@@ -90,9 +90,8 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
90
90
|
version: '0'
|
91
91
|
requirements: []
|
92
92
|
rubyforge_project:
|
93
|
-
rubygems_version: 2.4.
|
93
|
+
rubygems_version: 2.4.6
|
94
94
|
signing_key:
|
95
95
|
specification_version: 4
|
96
96
|
summary: RSD Devops related build tool to run packer, berkshelf
|
97
97
|
test_files: []
|
98
|
-
has_rdoc:
|