minke 1.13.19 → 1.13.20
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/.travis.yml +2 -2
- data/README.md +1 -0
- data/docker/Dockerfile +1 -1
- data/docker/Gemfile +1 -1
- data/lib/minke/scripts/minke +6 -5
- data/lib/minke/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: 811e42427f6cae2eeca648798c896f854dd27696
|
4
|
+
data.tar.gz: e526903241f2dcc47cfba0d034766a6ada9d75eb
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: ac68a11e3ca4f3d397381d507d672c6b95c4ce2a01629be346d83c422647f91dd09e50a06e759428f29df1c496225eafa5bcfc4b573bc168acb2dba8f6ac7c49
|
7
|
+
data.tar.gz: bbe73b673a52fd539be0d145c08e6e2341fa9101e4f8ac901e7acfc152b1431f0a47865aa36e8a7243a3aa2c2ea899d3ef5b3a5155c66fad1c24c2df250c4f78
|
data/.travis.yml
CHANGED
@@ -30,7 +30,7 @@ after_deploy:
|
|
30
30
|
docker build -t nicholasjackson/minke --build-arg BUILD_DATE=`date -u +"%Y-%m-%dT%H:%M:%SZ"` --build-arg VCS_REF=`git rev-parse --short HEAD` .;
|
31
31
|
docker login -e="$DOCKER_EMAIL" -u="$DOCKER_USERNAME" -p="$DOCKER_PASSWORD";
|
32
32
|
docker push nicholasjackson/minke:latest;
|
33
|
-
docker tag nicholasjackson/minke nicholasjackson/minke:1.13.
|
34
|
-
docker push nicholasjackson/minke:1.13.
|
33
|
+
docker tag nicholasjackson/minke nicholasjackson/minke:1.13.20;
|
34
|
+
docker push nicholasjackson/minke:1.13.20;
|
35
35
|
curl https://hooks.microbadger.com/images/nicholasjackson/minke/tkpohfdrYPE0B0TL5NzLcOap4k0=;
|
36
36
|
fi
|
data/README.md
CHANGED
@@ -6,6 +6,7 @@
|
|
6
6
|
| Test Coverage: | [![Test Coverage](https://codeclimate.com/github/nicholasjackson/minke/badges/coverage.svg)](https://codeclimate.com/github/nicholasjackson/minke/coverage) |
|
7
7
|
| Build Status: | [![Build Status](https://travis-ci.org/nicholasjackson/minke.svg?branch=master)](https://travis-ci.org/nicholasjackson/minke) [ ![Codeship Status for nicholasjackson/minke](https://codeship.com/projects/9e365bb0-46c3-0134-0bf1-568f97ef61e4/status?branch=master)](https://codeship.com/projects/168996) |
|
8
8
|
| Chat: | [![Join the chat at https://gitter.im/nicholasjackson/minke](https://badges.gitter.im/nicholasjackson/minke.svg)](https://gitter.im/nicholasjackson/minke?utm_source=badge&utm_medium=badge&utm_campaign=pr-badge&utm_content=badge) |
|
9
|
+
| Ruby Doc: | [http://www.rubydoc.info/gems/minke/1.13.19/index](http://www.rubydoc.info/gems/minke/1.13.19/index) |
|
9
10
|
|
10
11
|
# Documentation and Tutorial
|
11
12
|
[https://minke.rocks/index.html](http://minke.rocks/index.html)
|
data/docker/Dockerfile
CHANGED
data/docker/Gemfile
CHANGED
data/lib/minke/scripts/minke
CHANGED
@@ -1,5 +1,5 @@
|
|
1
1
|
#!/bin/bash
|
2
|
-
MINKE_VERSION="1.13.
|
2
|
+
MINKE_VERSION="1.13.20"
|
3
3
|
|
4
4
|
DOCKER_SOCK="/var/run/docker.sock:/var/run/docker.sock"
|
5
5
|
NEW_UUID=$(base64 /dev/urandom | tr -d '/+' | head -c 32 | tr '[:upper:]' '[:lower:]')
|
@@ -14,12 +14,12 @@ if [[ $1 == "-A" || $2 == "-A" ]]; then
|
|
14
14
|
# for docker machine
|
15
15
|
SSH_SOCK=boot2docker.$$.ssh.socket
|
16
16
|
docker-machine ssh ${DOCKER_MACHINE} -A -S $SSH_SOCK -M -f -n tail -f /dev/null
|
17
|
-
AGENT_SOCK=$(docker-machine ssh ${DOCKER_MACHINE} -S $SSH_SOCK echo \$SSH_AUTH_SOCK)
|
18
|
-
SSH_AUTH="-e AGENT_SOCK=${AGENT_SOCK}"
|
17
|
+
AGENT_SOCK=$(docker-machine ssh ${DOCKER_MACHINE} -S $SSH_SOCK echo \$\(readlink -f \$SSH_AUTH_SOCK\))
|
18
|
+
SSH_AUTH="-e AGENT_SOCK=${AGENT_SOCK} -e SSH_AUTH_SOCK=/ssh-agent/ssh.sock -v ${AGENT_SOCK}:/ssh-agent/ssh.sock"
|
19
19
|
fi
|
20
20
|
|
21
21
|
if [[ "${DOCKER_MACHINE}" == "" ]]; then
|
22
|
-
SSH_AUTH="-e AGENT_SOCK=${SSH_AUTH_SOCK}"
|
22
|
+
SSH_AUTH="-e AGENT_SOCK=${SSH_AUTH_SOCK} -e SSH_AUTH_SOCK=/ssh-agent/ssh.sock -v ${SSH_AUTH_SOCK}:/ssh-agent/ssh.sock"
|
23
23
|
fi
|
24
24
|
|
25
25
|
echo "Forwarding SSH Keys: ${SSH_AUTH}"
|
@@ -38,6 +38,7 @@ if [[ $1 != \generate* ]]; then
|
|
38
38
|
done < <(grep :path Gemfile)
|
39
39
|
|
40
40
|
DIR=$(dirname `pwd`)
|
41
|
+
|
41
42
|
DOCKER_RUN="docker run ${IT} --rm --net=minke_${NEW_UUID} ${SSH_AUTH} ${GEM_VOLUMES} -v ${DOCKER_SOCK} -v ${DIR}:${DIR} -e BUNDLE_PATH=${PWD}/vendor -e BUNDLE_JOBS=2 -e DOCKER_NETWORK=minke_${NEW_UUID} -w ${DIR}/_minke ${DOCKER_IMAGE} ${COMMAND}"
|
42
43
|
|
43
44
|
echo "Running command: minke ${COMMAND}"
|
@@ -45,8 +46,8 @@ if [[ $1 != \generate* ]]; then
|
|
45
46
|
eval "${DOCKER_RUN}"
|
46
47
|
id=$(docker network rm minke_${NEW_UUID})
|
47
48
|
|
49
|
+
# Clean up socket
|
48
50
|
if [[ "${DOCKER_MACHINE}" != "" ]]; then
|
49
|
-
# Clean up socket
|
50
51
|
docker-machine ssh default -S $SSH_SOCK -O exit
|
51
52
|
fi
|
52
53
|
fi
|
data/lib/minke/version.rb
CHANGED
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: minke
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 1.13.
|
4
|
+
version: 1.13.20
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Nic Jackson
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date:
|
11
|
+
date: 2017-02-14 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: bundler
|