kitchen-docker_cli 0.1.0.alpha2 → 0.1.1.alpha
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/README.md +24 -4
- data/lib/kitchen/driver/docker_cli.rb +1 -1
- data/lib/kitchen/driver/docker_cli_version.rb +1 -1
- metadata +2 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: a4d1591386e1438dffedf92d0ee7acfe31c48a6c
|
4
|
+
data.tar.gz: 1557e700e2a295f18aef33d82894ed8339b5cbc1
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 5d0f8f91446db6873f9ff0eba03c63bc4ce3183d8a5dccb06cad964aee5f7d0c9b425598382bb5123e914e33c4080bc2ca7a001e8aa06381c4898f06923007f7
|
7
|
+
data.tar.gz: e85823ec45f02e87c2b72c80e6d7faa4e462e9e017cb9af1e6c65abec5c5b1cafe2405659cbf04d07b50bb7a2fd8036c77a8f4043a5ef20d155a7e627f0d2d50
|
data/README.md
CHANGED
@@ -1,7 +1,10 @@
|
|
1
|
-
# <a name="title"></a> Kitchen::DockerCli [![Build Status](https://travis-ci.org/marcy-terui/kitchen-docker_cli.svg?branch=master)](https://travis-ci.org/marcy-terui/kitchen-docker_cli) [![Coverage Status](https://coveralls.io/repos/marcy-terui/kitchen-docker_cli/badge.png)](https://coveralls.io/r/marcy-terui/kitchen-docker_cli) [![Code Climate](https://codeclimate.com/github/marcy-terui/kitchen-docker_cli/badges/gpa.svg)](https://codeclimate.com/github/marcy-terui/kitchen-docker_cli)
|
1
|
+
# <a name="title"></a> Kitchen::DockerCli [![Gem Version](https://badge.fury.io/rb/kitchen-docker_cli.svg)](http://badge.fury.io/rb/kitchen-docker_cli) [![Build Status](https://travis-ci.org/marcy-terui/kitchen-docker_cli.svg?branch=master)](https://travis-ci.org/marcy-terui/kitchen-docker_cli) [![Coverage Status](https://coveralls.io/repos/marcy-terui/kitchen-docker_cli/badge.png)](https://coveralls.io/r/marcy-terui/kitchen-docker_cli) [![Code Climate](https://codeclimate.com/github/marcy-terui/kitchen-docker_cli/badges/gpa.svg)](https://codeclimate.com/github/marcy-terui/kitchen-docker_cli)
|
2
2
|
|
3
3
|
A Test Kitchen Driver for Docker command line interface.
|
4
4
|
|
5
|
+
This plugin is created with only Docker CLI functions.
|
6
|
+
Therefore, we can test with an environment that has no extra software such as ```sshd```.
|
7
|
+
|
5
8
|
## <a name="requirements"></a> Requirements
|
6
9
|
|
7
10
|
- Docker (>= 1.3)
|
@@ -38,6 +41,23 @@ gem 'kitchen-docker_cli'
|
|
38
41
|
|
39
42
|
## <a name="config"></a> Configuration
|
40
43
|
|
44
|
+
At first, put your ```.kithcen(.local).yml``` like this.
|
45
|
+
|
46
|
+
```yml
|
47
|
+
---
|
48
|
+
driver:
|
49
|
+
name: docker_cli
|
50
|
+
|
51
|
+
platforms:
|
52
|
+
- name: ubuntu-12.04
|
53
|
+
- name: centos-6.4
|
54
|
+
|
55
|
+
suites:
|
56
|
+
- name: default
|
57
|
+
run_list:
|
58
|
+
attributes:
|
59
|
+
```
|
60
|
+
|
41
61
|
### image
|
42
62
|
|
43
63
|
The Docker image's path.
|
@@ -123,9 +143,9 @@ Examples:
|
|
123
143
|
Examples:
|
124
144
|
|
125
145
|
```yml
|
126
|
-
|
127
|
-
|
128
|
-
|
146
|
+
link:
|
147
|
+
- mysql:db
|
148
|
+
- redis:kvs
|
129
149
|
```
|
130
150
|
|
131
151
|
### publish_all
|
@@ -27,7 +27,7 @@ module Kitchen
|
|
27
27
|
# @author Masashi Terui <marcy9114@gmail.com>
|
28
28
|
class DockerCli < Kitchen::Driver::Base
|
29
29
|
|
30
|
-
default_config :no_cache,
|
30
|
+
default_config :no_cache, false
|
31
31
|
default_config :command, 'sh -c \'while true; do sleep 1d; done;\''
|
32
32
|
|
33
33
|
default_config :image do |driver|
|
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.1.
|
4
|
+
version: 0.1.1.alpha
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Masashi Terui
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2014-12-
|
11
|
+
date: 2014-12-29 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: test-kitchen
|