kitchen-docker_ssh 0.0.18 → 0.1.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/.travis.yml +1 -0
- data/CHANGELOG.md +14 -2
- data/README.md +6 -3
- data/VERSION +1 -1
- data/circle.yml +2 -2
- metadata +1 -2
- data/gemrelease.sh +0 -50
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 302804d2ea1c03e1d9ae30da9697a12b518eb148
|
4
|
+
data.tar.gz: 4a32253f57c66eaa3fb40b64562d1586e0010490
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 49498d3e91f5478ddd5afe2b2f663143fa3969bc8ecc9ad0be5d6e59bf6e0ee4e7eacd14dd31ac8e91097ef42e14a92dfb17f0741b82032db27a7232c4927965
|
7
|
+
data.tar.gz: 51ab5cc88e44863434b7f8de94d9f0963cb90a85dac740c1a6673188e98a13980ec6488bf2cdc01855fd017b6a74b89dbdb678d69af63d092912588e5c154d84
|
data/.travis.yml
CHANGED
data/CHANGELOG.md
CHANGED
@@ -1,3 +1,15 @@
|
|
1
|
-
## 0.1.0 / Unreleased
|
2
1
|
|
3
|
-
|
2
|
+
|
3
|
+
## 0.1.0
|
4
|
+
|
5
|
+
* Integrate Auto-Versioning
|
6
|
+
* Setup for both CircleCI and Travis to test different aspects
|
7
|
+
|
8
|
+
## 0.0.1
|
9
|
+
|
10
|
+
* Initial release, fork of the kitchen-docker repo
|
11
|
+
* Includes PR's with the follow support
|
12
|
+
* Checks for sudoers.d to enable support for centos 5
|
13
|
+
* Windows Support
|
14
|
+
* Less Chatty when using docker info/insepct
|
15
|
+
|
data/README.md
CHANGED
@@ -1,5 +1,9 @@
|
|
1
|
-
# Kitchen::Docker
|
1
|
+
# Kitchen::Docker
|
2
2
|
|
3
|
+
[![CircleCI Build Status](https://circleci.com/gh/peterabbott/kitchen-docker_ssh.png?style=shield&circle-token=bad3411099b80b42c28842fb59a74ee546eee2b8)](https://circleci.com/gh/peterabbott/kitchen-docker_ssh)
|
4
|
+
|
5
|
+
|
6
|
+
[![Travis Build Status](https://travis-ci.org/peterabbott/kitchen-docker_ssh.svg)](https://travis-ci.org/peterabbott/kitchen-docker_ssh)
|
3
7
|
|
4
8
|
|
5
9
|
A Test Kitchen Driver for Docker. This is a fork of http://github.com/portertech/kitchen-docker because the original driver is only sparodically updated.
|
@@ -106,7 +110,6 @@ Windows, requires docker cli to be on the path, otherwise use absolute path:
|
|
106
110
|
binary: docker.exe
|
107
111
|
```
|
108
112
|
|
109
|
-
|
110
113
|
### socket
|
111
114
|
|
112
115
|
The Docker daemon socket to use. By default, Docker will listen on
|
@@ -483,4 +486,4 @@ Apache 2.0 (see [LICENSE][license])
|
|
483
486
|
[license]: https://github.com/peterabbott/kitchen-docker_ssh/blob/master/LICENSE
|
484
487
|
[repo]: https://github.com/peterabbott/kitchen-docker_ssh
|
485
488
|
[driver_usage]: http://docs.kitchen-ci.org/drivers/usage
|
486
|
-
[chef_omnibus_dl]: http://www.getchef.com/chef/install/
|
489
|
+
[chef_omnibus_dl]: http://www.getchef.com/chef/install/
|
data/VERSION
CHANGED
@@ -1 +1 @@
|
|
1
|
-
0.0
|
1
|
+
0.1.0
|
data/circle.yml
CHANGED
@@ -16,8 +16,8 @@ test:
|
|
16
16
|
|
17
17
|
deployment:
|
18
18
|
release:
|
19
|
-
branch:
|
19
|
+
branch: master
|
20
20
|
commands:
|
21
21
|
- git config user.name "CircleCi"
|
22
22
|
- git config user.email "$CIRCLE_USERNAME@users.noreply.github.com"
|
23
|
-
-
|
23
|
+
- curl --silent https://gist.githubusercontent.com/peterabbott/f654490db7d46fb0e73d/raw/18fe3a3a373f43da32d0beb8a387122c31b13026/gemrelease.sh | bash
|
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: kitchen-docker_ssh
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.0
|
4
|
+
version: 0.1.0
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Peter Abbott
|
@@ -125,7 +125,6 @@ files:
|
|
125
125
|
- Rakefile
|
126
126
|
- VERSION
|
127
127
|
- circle.yml
|
128
|
-
- gemrelease.sh
|
129
128
|
- kitchen-docker_ssh.gemspec
|
130
129
|
- lib/kitchen/driver/docker/erb.rb
|
131
130
|
- lib/kitchen/driver/docker_ssh.rb
|
data/gemrelease.sh
DELETED
@@ -1,50 +0,0 @@
|
|
1
|
-
#!/bin/bash
|
2
|
-
|
3
|
-
[[ $(git status -s | grep -v ?? | wc -l ) -gt 0 ]] && { echo "uncommited changes, can't continue"; exit 1; }
|
4
|
-
|
5
|
-
VERSION_FILE=./VERSION
|
6
|
-
RELEASE_TYPE=patch
|
7
|
-
[ ! -z "$1" ] && RELEASE_TYPE=$1
|
8
|
-
|
9
|
-
[ -z "$(git config user.name)" ] && git config user.name "CI User"
|
10
|
-
[ -z "$(git config user.email)" ] && git config user.email"ci.user@users.noreply.github.com"
|
11
|
-
|
12
|
-
GEMSPEC_FILE=$(ls -1 *.gemspec | head -1)
|
13
|
-
|
14
|
-
[ ! -f $GEMSPEC_FILE ] && { echo "no gemspec file"; exit 1; }
|
15
|
-
[ ! -d ./vendor/bundle/ruby ] && bundle install --deployment
|
16
|
-
|
17
|
-
rm -f $VERSION_FILE && echo "Current Version is: $(bundle exec scmversion current )"
|
18
|
-
|
19
|
-
[ ! -f $VERSION_FILE ] && { echo "no version file"; exit 1; }
|
20
|
-
|
21
|
-
bundle exec scmversion bump $RELEASE_TYPE
|
22
|
-
[[ $? -ne 0 ]] && { echo "Version Update Failed"; exit 1; }
|
23
|
-
|
24
|
-
RELEASE_VERSION=$(cat $VERSION_FILE)
|
25
|
-
GEM_FILE=$(echo $GEMSPEC_FILE | sed 's/\.gemspec//')-${RELEASE_VERSION}.gem
|
26
|
-
|
27
|
-
trap "rm -f $GEM_FILE VERSION" 0 1
|
28
|
-
|
29
|
-
echo "Deploying Release version: $RELEASE_VERSION"
|
30
|
-
|
31
|
-
[[ $? -ne 0 ]] && { echo "unable to update version file"; exit 1; }
|
32
|
-
[ -z "$(bundle exec gem list kitchen-docker_ssh -q | grep "($RELEASE_VERSION)" )" ] && { echo "Version not updated"; exit 1; }
|
33
|
-
|
34
|
-
bundle exec gem build $GEMSPEC_FILE
|
35
|
-
[[ $? -ne 0 ]] && { echo "Gem Build failed"; exit 1; }
|
36
|
-
|
37
|
-
if [ ! -f ~/.gem/credentials ]; then
|
38
|
-
cat <<-EOF > ~/.gem/credentials
|
39
|
-
---
|
40
|
-
:rubygems_api_key: $RUBYGEMS_API_KEY
|
41
|
-
EOF
|
42
|
-
chmod 0600 ~/.gem/credentials
|
43
|
-
fi
|
44
|
-
|
45
|
-
bundle exec gem push $GEM_FILE --key rubygems
|
46
|
-
[[ $? -ne 0 ]] && { echo "Gem Push failed"; exit 1; }
|
47
|
-
|
48
|
-
echo "Done"
|
49
|
-
|
50
|
-
exit 0
|