shiplane_bootstrappers_chef 0.1.12 → 0.1.17

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
  SHA256:
3
- metadata.gz: d151bc307b7181ecf16a44fc40ee56c1aa03f769ad24617169b37b29b09cd1c9
4
- data.tar.gz: 0141e9ff5693955c4505f470ab3cb7298d63d0353653969e75557d9b0f6c9346
3
+ metadata.gz: 5e73efb5c33076c08190ddba8bd2805b26229a2d696ddfb6822576da3c2aa241
4
+ data.tar.gz: 443578f05780d176225cf6894f8274ed59c25fbfc5c6973e086120934f28a9f7
5
5
  SHA512:
6
- metadata.gz: 290e9b9fd2e949f835cab5e2b04e14ea3f66aaa78a4ca5295ed0df426cfa110e78cc711b7109b4cc8a474b90d328ecc0928cf60ebcb74e3f25aa1d29cb9e38b6
7
- data.tar.gz: 75ab4a8df883a5126471e7c9bf1b4faaf22d381466255079250db35d68fc88c60e25f45d7cceae3cdd2e19c3f7d4788284e588202b43cd3c0f6a5db568e4b39c
6
+ metadata.gz: 92b3b1e7bceb2b16178be927c6813f2c14f9d1ef09422aba9c49bb00d6f2eb3c2afb17ec4443ecadff4f942b4401ae52b933c65939a1ce2d5d292db8efa0a8da
7
+ data.tar.gz: f1f7db726b0ac72fd742c2aa1181ad1ff2ca6174c733abcc173e0b6a3be39673a93b2d493d87c7fe793a18167543b02f43cc3ebefb48b8709b074013c707bbcd
Binary file
@@ -24,6 +24,11 @@ namespace :shiplane do
24
24
  task :evaluate_erb_files, :username, :keypath do |task, args|
25
25
  Dotenv.load Shiplane::ChefHost.env_file
26
26
  on fetch(:shiplane_hosts).map(&:capistrano_role) do |host|
27
+ @shiplane_users = [
28
+ "docker",
29
+ host.user,
30
+ ].compact.uniq.join("\",\"")
31
+
27
32
  Dir["#{File.expand_path("../../../chef", __FILE__)}/**/*.erb"].map do |filename|
28
33
  compiled_template = ERB.new(File.read(filename)).result(binding)
29
34
  compiled_file_name = filename.match(/.*\/chef\/(.*)\.erb/)[1]
@@ -9,9 +9,7 @@
9
9
  "group": {
10
10
  "name": "docker"
11
11
  },
12
- "user": {
13
- "name": "docker"
14
- }
12
+ "users": ["<%= @shiplane_users %>"]
15
13
  },
16
14
  "run_list":
17
15
  [
@@ -3,7 +3,7 @@
3
3
  module Shiplane
4
4
  module Bootstrappers
5
5
  module Chef
6
- VERSION = "0.1.12"
6
+ VERSION = "0.1.17"
7
7
  end
8
8
  end
9
9
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: shiplane_bootstrappers_chef
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.1.12
4
+ version: 0.1.17
5
5
  platform: ruby
6
6
  authors:
7
7
  - John Epperson
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2019-08-02 00:00:00.000000000 Z
11
+ date: 2021-01-26 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: capistrano
@@ -90,6 +90,26 @@ dependencies:
90
90
  - - ">="
91
91
  - !ruby/object:Gem::Version
92
92
  version: 7.0.8
93
+ - !ruby/object:Gem::Dependency
94
+ name: gem-release
95
+ requirement: !ruby/object:Gem::Requirement
96
+ requirements:
97
+ - - ">="
98
+ - !ruby/object:Gem::Version
99
+ version: 2.0.4
100
+ - - "~>"
101
+ - !ruby/object:Gem::Version
102
+ version: 2.2.1
103
+ type: :development
104
+ prerelease: false
105
+ version_requirements: !ruby/object:Gem::Requirement
106
+ requirements:
107
+ - - ">="
108
+ - !ruby/object:Gem::Version
109
+ version: 2.0.4
110
+ - - "~>"
111
+ - !ruby/object:Gem::Version
112
+ version: 2.2.1
93
113
  description: Converts docker-compose.yml files into images that can be uploaded to
94
114
  any docker image repository.
95
115
  email:
@@ -137,8 +157,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
137
157
  - !ruby/object:Gem::Version
138
158
  version: '0'
139
159
  requirements: []
140
- rubyforge_project:
141
- rubygems_version: 2.7.7
160
+ rubygems_version: 3.0.3
142
161
  signing_key:
143
162
  specification_version: 4
144
163
  summary: A toolbox for converting developer docker-compose files into production-ready