kitchen-docker_ssh 0.1.1 → 0.1.2
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/README.md +46 -47
- data/VERSION +1 -1
- metadata +3 -3
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: ee1704f870f3e85b675bffa27e8f7ac99a48d568
|
4
|
+
data.tar.gz: 86b2e6353d9886864503e10a3a4d570433622bb1
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: b20b21caa6ba50ef2cb06f13fb2c7c9e7cc5a9b9617d5c17b60778f0ea6ae24ce3db05a92d3c7ff1b4511dcbfa709df46e3ac100f99f6aa972f36edbc08411a1
|
7
|
+
data.tar.gz: 2ed18945e2c8b5ad11234881d9b420b76b16a566a53dac861971210af9185889327b0c95555a9b2ef87457a221d00a691c06b28b0bb71b4c1192632b0edfe243
|
data/README.md
CHANGED
@@ -1,4 +1,4 @@
|
|
1
|
-
# Kitchen::
|
1
|
+
# Kitchen::DockerSSH
|
2
2
|
|
3
3
|
[](https://circleci.com/gh/peterabbott/kitchen-docker_ssh)
|
4
4
|
|
@@ -6,7 +6,7 @@
|
|
6
6
|
[](https://travis-ci.org/peterabbott/kitchen-docker_ssh)
|
7
7
|
|
8
8
|
|
9
|
-
A Test Kitchen Driver for Docker. This is a fork of http://github.com/portertech/kitchen-docker because the original driver is only
|
9
|
+
A Test Kitchen Driver for Docker. This is a fork of http://github.com/portertech/kitchen-docker because the original driver is only sporadically updated.
|
10
10
|
|
11
11
|
|
12
12
|
|
@@ -40,7 +40,7 @@ Please read the Test Kitchen [docs][test_kitchen_docs] for more details.
|
|
40
40
|
|
41
41
|
Example `.kitchen.local.yml`:
|
42
42
|
|
43
|
-
```
|
43
|
+
```yaml
|
44
44
|
---
|
45
45
|
driver:
|
46
46
|
name: docker_ssh
|
@@ -64,7 +64,7 @@ platforms.
|
|
64
64
|
|
65
65
|
Examples:
|
66
66
|
|
67
|
-
```
|
67
|
+
```yaml
|
68
68
|
---
|
69
69
|
driver:
|
70
70
|
name: docker_ssh
|
@@ -75,7 +75,7 @@ platforms:
|
|
75
75
|
|
76
76
|
This will effectively generate a configuration similar to:
|
77
77
|
|
78
|
-
```
|
78
|
+
```yaml
|
79
79
|
---
|
80
80
|
platforms:
|
81
81
|
- name: ubuntu-12.04
|
@@ -98,17 +98,17 @@ The default value is `docker`.
|
|
98
98
|
|
99
99
|
Examples:
|
100
100
|
|
101
|
-
```
|
101
|
+
```yaml
|
102
102
|
binary: docker.io
|
103
103
|
```
|
104
104
|
|
105
|
-
```
|
105
|
+
```yaml
|
106
106
|
binary: /opt/docker
|
107
107
|
```
|
108
108
|
|
109
109
|
Windows, requires docker cli to be on the path, otherwise use absolute path:
|
110
110
|
|
111
|
-
```
|
111
|
+
```yaml
|
112
112
|
binary: docker.exe
|
113
113
|
```
|
114
114
|
|
@@ -122,17 +122,17 @@ to suite containers.
|
|
122
122
|
|
123
123
|
Examples:
|
124
124
|
|
125
|
-
```
|
125
|
+
```yaml
|
126
126
|
socket: unix:///tmp/docker.sock
|
127
127
|
```
|
128
128
|
|
129
|
-
```
|
129
|
+
```yaml
|
130
130
|
socket: tcp://docker.example.com:4242
|
131
131
|
```
|
132
132
|
|
133
133
|
If you use [Boot2Docker](https://github.com/boot2docker/boot2docker), set your `DOCKER_HOST` environment variable properly (e.g. `export DOCKER_HOST=tcp://192.168.59.103:2375`) or you have to use the following:
|
134
134
|
|
135
|
-
```
|
135
|
+
```yaml
|
136
136
|
socket: tcp://192.168.59.103:2375
|
137
137
|
```
|
138
138
|
|
@@ -140,7 +140,7 @@ socket: tcp://192.168.59.103:2375
|
|
140
140
|
|
141
141
|
Flags whether commands should be run as sudo, default true.
|
142
142
|
|
143
|
-
```
|
143
|
+
```yaml
|
144
144
|
use_sudo: false
|
145
145
|
```
|
146
146
|
|
@@ -195,17 +195,17 @@ Custom command(s) to be run when provisioning the base for the suite containers.
|
|
195
195
|
|
196
196
|
Examples:
|
197
197
|
|
198
|
-
```
|
198
|
+
```yaml
|
199
199
|
provision_command: curl -L https://www.opscode.com/chef/install.sh | bash
|
200
200
|
```
|
201
201
|
|
202
|
-
```
|
202
|
+
```yaml
|
203
203
|
provision_command:
|
204
204
|
- apt-get install dnsutils
|
205
205
|
- apt-get install telnet
|
206
206
|
```
|
207
207
|
|
208
|
-
```
|
208
|
+
```yaml
|
209
209
|
driver_config:
|
210
210
|
provision_command: curl -L https://www.opscode.com/chef/install.sh | bash
|
211
211
|
require_chef_omnibus: false
|
@@ -241,7 +241,7 @@ The default value is `/usr/sbin/sshd -D -o UseDNS=no -o UsePAM=no -o PasswordAut
|
|
241
241
|
|
242
242
|
Examples:
|
243
243
|
|
244
|
-
```
|
244
|
+
```yaml
|
245
245
|
run_command: /sbin/init
|
246
246
|
```
|
247
247
|
|
@@ -263,11 +263,11 @@ suite container. Otherwise use Dockers defaults. You can read more in the
|
|
263
263
|
|
264
264
|
Examples:
|
265
265
|
|
266
|
-
```
|
266
|
+
```yaml
|
267
267
|
cpuset: 0-3
|
268
268
|
```
|
269
269
|
|
270
|
-
```
|
270
|
+
```yaml
|
271
271
|
cpuset: '0,1'
|
272
272
|
```
|
273
273
|
Notice that when using commas in the `cpuset` value you **must** quote them as
|
@@ -281,11 +281,11 @@ Adds a data volume(s) to the suite container.
|
|
281
281
|
|
282
282
|
Examples:
|
283
283
|
|
284
|
-
```
|
284
|
+
```yaml
|
285
285
|
volume: /ftp
|
286
286
|
```
|
287
287
|
|
288
|
-
```
|
288
|
+
```yaml
|
289
289
|
volume:
|
290
290
|
- /ftp
|
291
291
|
- /srv
|
@@ -297,11 +297,11 @@ Mount volumes managed by other containers.
|
|
297
297
|
|
298
298
|
Examples:
|
299
299
|
|
300
|
-
```
|
300
|
+
```yaml
|
301
301
|
volumes_from: repos
|
302
302
|
```
|
303
303
|
|
304
|
-
```
|
304
|
+
```yaml
|
305
305
|
volumes_from:
|
306
306
|
- repos
|
307
307
|
- logging
|
@@ -315,11 +315,11 @@ Dockers defaults.
|
|
315
315
|
|
316
316
|
Examples:
|
317
317
|
|
318
|
-
```
|
318
|
+
```yaml
|
319
319
|
dns: 8.8.8.8
|
320
320
|
```
|
321
321
|
|
322
|
-
```
|
322
|
+
```yaml
|
323
323
|
dns:
|
324
324
|
- 8.8.8.8
|
325
325
|
- 8.8.4.4
|
@@ -330,7 +330,7 @@ Sets an http proxy for the suite container using the `http_proxy` environment va
|
|
330
330
|
|
331
331
|
Examples:
|
332
332
|
|
333
|
-
```
|
333
|
+
```yaml
|
334
334
|
http_proxy: http://proxy.host.com:8080
|
335
335
|
```
|
336
336
|
### https\_proxy
|
@@ -339,7 +339,7 @@ Sets an https proxy for the suite container using the `https_proxy` environment
|
|
339
339
|
|
340
340
|
Examples:
|
341
341
|
|
342
|
-
```
|
342
|
+
```yaml
|
343
343
|
https_proxy: http://proxy.host.com:8080
|
344
344
|
```
|
345
345
|
### forward
|
@@ -349,11 +349,11 @@ the host (public) port in the mappings, if not, Docker chooses for you.
|
|
349
349
|
|
350
350
|
Examples:
|
351
351
|
|
352
|
-
```
|
352
|
+
```yaml
|
353
353
|
forward: 80
|
354
354
|
```
|
355
355
|
|
356
|
-
```
|
356
|
+
```yaml
|
357
357
|
forward:
|
358
358
|
- 22:2222
|
359
359
|
- 80:8080
|
@@ -365,7 +365,7 @@ Set the suite container hostname. Otherwise use Dockers default.
|
|
365
365
|
|
366
366
|
Examples:
|
367
367
|
|
368
|
-
```
|
368
|
+
```yaml
|
369
369
|
hostname: foobar.local
|
370
370
|
```
|
371
371
|
|
@@ -378,7 +378,7 @@ The default value is `false`.
|
|
378
378
|
|
379
379
|
Examples:
|
380
380
|
|
381
|
-
```
|
381
|
+
```yaml
|
382
382
|
privileged: true
|
383
383
|
```
|
384
384
|
|
@@ -388,7 +388,7 @@ Use a custom Dockerfile, instead of having Kitchen-Docker build one for you.
|
|
388
388
|
|
389
389
|
Examples:
|
390
390
|
|
391
|
-
```
|
391
|
+
```yaml
|
392
392
|
dockerfile: test/Dockerfile
|
393
393
|
```
|
394
394
|
|
@@ -398,7 +398,7 @@ Set the name of container to link to other container(s).
|
|
398
398
|
|
399
399
|
Examples:
|
400
400
|
|
401
|
-
```
|
401
|
+
```yaml
|
402
402
|
instance_name: web
|
403
403
|
```
|
404
404
|
|
@@ -408,13 +408,13 @@ Set ```instance_name```(and alias) of other container(s) that connect from the s
|
|
408
408
|
|
409
409
|
Examples:
|
410
410
|
|
411
|
-
```
|
411
|
+
```yaml
|
412
412
|
links: db:db
|
413
413
|
```
|
414
414
|
|
415
415
|
Examples:
|
416
416
|
|
417
|
-
```
|
417
|
+
```yaml
|
418
418
|
links:
|
419
419
|
- db:db
|
420
420
|
- kvs:kvs
|
@@ -429,27 +429,25 @@ The default value is `false`.
|
|
429
429
|
|
430
430
|
Examples:
|
431
431
|
|
432
|
-
```
|
432
|
+
```yaml
|
433
433
|
publish_all: true
|
434
434
|
```
|
435
435
|
|
436
436
|
### cap_add
|
437
437
|
Adds a capability to the running container, for example SYS_PTRACE
|
438
438
|
|
439
|
-
|
439
|
+
```yaml
|
440
440
|
cap_add:
|
441
441
|
- SYS_PTRACE
|
442
|
-
|
443
|
-
````
|
442
|
+
```
|
444
443
|
|
445
444
|
### cap_drop
|
446
445
|
Drops a capability to the running container, for example CHOWN
|
447
446
|
|
448
|
-
|
447
|
+
```yaml
|
449
448
|
cap_drop:
|
450
449
|
- CHOWN
|
451
|
-
|
452
|
-
````
|
450
|
+
```
|
453
451
|
|
454
452
|
|
455
453
|
## Development
|
@@ -483,9 +481,10 @@ Apache 2.0 (see [LICENSE][license])
|
|
483
481
|
|
484
482
|
|
485
483
|
|
486
|
-
[author]:
|
487
|
-
[issues]:
|
488
|
-
[license]:
|
489
|
-
[repo]:
|
490
|
-
[driver_usage]:
|
491
|
-
[
|
484
|
+
[author]: https://github.com/peterabbott
|
485
|
+
[issues]: https://github.com/peterabbott/kitchen-docker_ssh/issues
|
486
|
+
[license]: https://github.com/peterabbott/kitchen-docker_ssh/blob/master/LICENSE
|
487
|
+
[repo]: https://github.com/peterabbott/kitchen-docker_ssh
|
488
|
+
[driver_usage]: http://docs.kitchen-ci.org/drivers/usage
|
489
|
+
[test_kitchen_docs]: http://kitchen.ci/docs/getting-started/
|
490
|
+
[chef_omnibus_dl]: http://www.getchef.com/chef/install/
|
data/VERSION
CHANGED
@@ -1 +1 @@
|
|
1
|
-
0.1.
|
1
|
+
0.1.2
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: kitchen-docker_ssh
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.1.
|
4
|
+
version: 0.1.2
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Peter Abbott
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2015-
|
11
|
+
date: 2015-07-06 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: test-kitchen
|
@@ -155,7 +155,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
155
155
|
version: '0'
|
156
156
|
requirements: []
|
157
157
|
rubyforge_project:
|
158
|
-
rubygems_version: 2.4.
|
158
|
+
rubygems_version: 2.4.7
|
159
159
|
signing_key:
|
160
160
|
specification_version: 4
|
161
161
|
summary: A Test Kitchen Driver for Docker using ssh
|