shiplane_bootstrappers_chef 0.1.13 → 0.1.18

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: ef06e2a6121a0a3e6a2647f8166845128797e06cab9d5b6701de9baf7e43ce60
4
- data.tar.gz: 857a6d4bb2c079868903ab4fbecc295da78adbccc01394a196e71befb6006478
3
+ metadata.gz: dcc628bc298639d873b9cea78cb1ee645e84c659a4bea1956f1d9c350b6b04b7
4
+ data.tar.gz: cde982940aac78aa5b35df49180401fa311d7d36e6710a21abac11d2598fd347
5
5
  SHA512:
6
- metadata.gz: 1b7cfcefe86386648e07b8cbcdbd3bd698a8455349daa77551763706aede1ffd31a88bdab91943d42b96fbebe740f5fef6ec6d43a60c5171780564b407dee102
7
- data.tar.gz: 5fce24f1e673f7424f2fbd224da69682dac3a9c2187c3a99135f5b4d2f79d6e49eab2731e5fb42c741c5a1af589981f1420837080186f5640627c6da1923d892
6
+ metadata.gz: 0c59d0a29925e08f9f0076fab3ad920c104275c7653c6415b63d255d78509d0e627c038b150e2bd095c1f1eb2774d3eef2240b77de1fc77acc804f684ace6a20
7
+ data.tar.gz: 13db566054b8399229785fc46982586979321e2d28d8aa3245fed558bcf586f432513d7cfdca19d22e5f2e8f1ee818ca1b038b9b5b1ebd4a16bc0a285ead4cff
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.13"
6
+ VERSION = "0.1.18"
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.13
4
+ version: 0.1.18
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-27 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