kitchen-docker_cli 0.16.0 → 0.17.0

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: 9d028d23a49fb2312efb4fa63ec1e7e3830d80c7
4
- data.tar.gz: c47a6d396d48d043e970ae52c98b73dec27fd5e0
3
+ metadata.gz: e8dceb30441238af20e54085bd05246412ab6998
4
+ data.tar.gz: ae5298feb43f10dc1cc88f93d261eba51c21abee
5
5
  SHA512:
6
- metadata.gz: 2b932f1850b9c00dc0468d1756d5e3b3a834e0283ba9ee9dcdacc6f5ac1411159e0261e13d412fbbe74617c63ad0653db18faba03bf4acc182d7cf908856157e
7
- data.tar.gz: 2bb0a5327f95d3ed40f40dcc97a49eb5cdd532fe3b4c74ac10527531cc2653597b39b2f72b5c85e3ed380b0b1e34c463953c71cfa57106e62d503131af79e3e4
6
+ metadata.gz: 0ac22c3ec44a358a8df46775fb2e333a31a3f9ef31b25eeaade96d3516ad2e4bcef3ea4ee742df8bd4c51152642e23fa95ca99fa9ef97726501365874b2c1df3
7
+ data.tar.gz: 6a0300dd26598046315f2cf8b68d9c26de76d26ae29892b4fb7804d0d86e5ec3556b3cf139cea0ee055fe0560e8ed714317d4d8576057653d525c2a3a7ef6421
data/CHANGELOG.md CHANGED
@@ -1,3 +1,7 @@
1
+ ## 0.17.0
2
+
3
+ * Pull request [#32][]: Add ability to configure security options ([@fphilippon][])
4
+
1
5
  ## 0.16.0
2
6
 
3
7
  * Pull request [#31][]: Add instance_container_name option ([@s-bernard][])
data/README.md CHANGED
@@ -166,6 +166,18 @@ Examples:
166
166
  privileged: true
167
167
  ```
168
168
 
169
+ ### security_opt
170
+
171
+ Define the seccomp security profile to use.
172
+
173
+ The default value is `nil`.
174
+
175
+ Examples:
176
+
177
+ ```yml
178
+ security_opt: seccomp=unconfined
179
+ ```
180
+
169
181
  ### container_name
170
182
 
171
183
  Set the name of container to link other container(s).
@@ -109,6 +109,7 @@ module Kitchen
109
109
  cmd << ' -P' if config[:publish_all]
110
110
  cmd << " -m #{config[:memory_limit]}" if config[:memory_limit]
111
111
  cmd << " -c #{config[:cpu_shares]}" if config[:cpu_shares]
112
+ cmd << " --security-opt #{config[:security_opt]}" if config[:security_opt]
112
113
  cmd << ' --privileged' if config[:privileged]
113
114
  cmd << " --net #{config[:network]}" if config[:network]
114
115
  if config[:hostname]
@@ -21,6 +21,6 @@ module Kitchen
21
21
  module Driver
22
22
 
23
23
  # Version string for DockerCli Kitchen driver
24
- DOCKER_CLI_VERSION = '0.16.0'
24
+ DOCKER_CLI_VERSION = '0.17.0'
25
25
  end
26
26
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: kitchen-docker_cli
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.16.0
4
+ version: 0.17.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - Masashi Terui
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2016-06-17 00:00:00.000000000 Z
11
+ date: 2016-07-04 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: test-kitchen