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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 025e35972b93ea612102fec7acc7746e572d19ff
4
- data.tar.gz: a2475b29f49869fd79c37522135bbe8387fded38
3
+ metadata.gz: a4d1591386e1438dffedf92d0ee7acfe31c48a6c
4
+ data.tar.gz: 1557e700e2a295f18aef33d82894ed8339b5cbc1
5
5
  SHA512:
6
- metadata.gz: 91f1632a6db589541e6fef1d14d1bcac2604ef795eae7f9cbe56ee57c7e6fd387f6d7cfddf91ff67a9ed63c8c7354f4e600c37d963cb0a3d718a99fe006f0c30
7
- data.tar.gz: b2606f7aea5427eb599fdf625b8687d5ade1ee5d100fa51af51f7cf22db20c5ba04edd70b5bbc43951486675f9b89319fd58dae1c6783d38f8aae0847e3d7b0e
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
- links:
127
- - mysql:db
128
- - redis:kvs
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, true
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|
@@ -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.1.0.alpha2'
24
+ DOCKER_CLI_VERSION = '0.1.1.alpha'
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.1.0.alpha2
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-24 00:00:00.000000000 Z
11
+ date: 2014-12-29 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: test-kitchen