shiplane_bootstrappers_chef 0.1.11 → 0.1.16

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: 2c89c4ccdee37cd708b895a0d6c7f641528fcb7a4fc19ad93eca9c3ce684057f
4
- data.tar.gz: 4d3c987d68cd4a4c08eb2b7a5cdd515723289c88243368534f5bc486e9aaa8c9
3
+ metadata.gz: 52c598659fa41fafdc95915cc9d4a3cdf2fb71f9a0ca1fc9903eae8dae4a62f7
4
+ data.tar.gz: e5672d5664a8edb877a379cb89079e00acb82bb00457ecd3c9a961a487e01fd9
5
5
  SHA512:
6
- metadata.gz: d28909d5bbc35429e028d6baa4335dc0cffc5c04f39a10ddbf0a2e943bd5217beb41626036d22ba20c5fa6b00e52067b86da45ed5c2c6ea3d4f4bfcb89123b33
7
- data.tar.gz: 891a724e3cc3792035364a5ee5e556a13e1bab87adce5b5e9f47bff19bebf923f20071042e07d819a6102e1b52a05d48ef3b2be4a9e7c83d4e5edf8fcbcec71f
6
+ metadata.gz: 4dc208066b9b860ac2f5a79ccce35a14de8943d502d0a7dfa4803a145a97da7375d6beff2500fa96c1e51614eab9e52a855233077ab2f79f17cc6a736b42b9a5
7
+ data.tar.gz: c5045a70fe05cc991f9e8e183cd5a55f98e5e9447b982595d06cfee0db8f4551a8627e16530c8947b708df5e5888635571f26690684b73dc65bfc41f6e19fc85
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.11"
6
+ VERSION = "0.1.16"
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.11
4
+ version: 0.1.16
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-07-14 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