minke 1.13.13 → 1.13.14
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/docker/Dockerfile +2 -1
- data/docker/Gemfile +1 -6
- data/docker/entrypoint.sh +2 -3
- data/lib/minke/scripts/minke +2 -2
- data/lib/minke/tasks/bundle.rb +1 -1
- 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: e3b59e1ea5d9381f5999bf6f892ac2603f2fa6d7
|
4
|
+
data.tar.gz: 615125bf7abf184d7eb054bbbd762d2efea64dae
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: abf2299d8977a32f46b90bbf55243d972ee18286e175e33d5e83b2d3cf8cce493d19287cc880b95dc5def07f5aac0c5b1fb1fb1eb8f86dbc6d22c003be0af0c2
|
7
|
+
data.tar.gz: 5d5413b6f6a6aff6dc9c5b7b16e8c917b6c0dfa28eac2f66804acfed2a1b89e5840b0eebbef476134af8ec657150f4f5eaa95a0bbffa547725f829494fa635d8
|
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.14;
|
34
|
+
docker push nicholasjackson/minke:1.13.14;
|
35
35
|
curl https://hooks.microbadger.com/images/nicholasjackson/minke/tkpohfdrYPE0B0TL5NzLcOap4k0=;
|
36
36
|
fi
|
data/docker/Dockerfile
CHANGED
@@ -33,12 +33,13 @@ COPY Gemfile Gemfile
|
|
33
33
|
COPY entrypoint.sh /
|
34
34
|
RUN chmod +x /entrypoint.sh
|
35
35
|
|
36
|
+
RUN gem update --system
|
37
|
+
RUN gem install bundler -v 1.13.6
|
36
38
|
RUN bundle install
|
37
39
|
|
38
40
|
RUN mkdir /usr/local/backup
|
39
41
|
|
40
42
|
RUN cp -R /usr/local/bundle/* /usr/local/backup
|
41
|
-
RUN rm -rf /usr/local/backup/cache
|
42
43
|
|
43
44
|
ENTRYPOINT ["/entrypoint.sh"]
|
44
45
|
|
data/docker/Gemfile
CHANGED
@@ -1,14 +1,9 @@
|
|
1
1
|
|
2
2
|
source 'https://rubygems.org'
|
3
|
-
|
4
3
|
gem "rake"
|
5
|
-
gem "bundler"
|
6
|
-
gem 'nokogiri'
|
7
4
|
gem "cucumber"
|
8
|
-
gem "cucumber-rest-api", "= 0.3"
|
9
|
-
gem 'cucumber-api', '~> 0.3'
|
10
5
|
|
11
|
-
gem 'minke', "= 1.13.
|
6
|
+
gem 'minke', "= 1.13.14"
|
12
7
|
gem 'minke-generator-swift', "= 0.4"
|
13
8
|
gem 'minke-generator-netmvc'
|
14
9
|
gem 'minke-generator-go', "= 0.8.5"
|
data/docker/entrypoint.sh
CHANGED
@@ -1,10 +1,9 @@
|
|
1
1
|
#!/usr/bin/env bash
|
2
|
-
|
3
|
-
INSTALL="echo \"#Copying cache\" && cp -r /usr/local/backup/* /usr/local/bundle/ && gem install bundler && bundle install"
|
2
|
+
INSTALL="echo \"#Copying cache\" && gem install bundler && bundle install"
|
4
3
|
COMMAND="bundle exec minke $@"
|
5
4
|
|
6
5
|
if [[ $1 != \generate* ]]; then
|
7
|
-
if [
|
6
|
+
if [ -d "./vendor" ]; then
|
8
7
|
eval $COMMAND
|
9
8
|
else
|
10
9
|
eval "$INSTALL && $COMMAND"
|
data/lib/minke/scripts/minke
CHANGED
@@ -1,5 +1,5 @@
|
|
1
1
|
#!/bin/bash
|
2
|
-
MINKE_VERSION="1.13.
|
2
|
+
MINKE_VERSION="1.13.14"
|
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:]')
|
@@ -23,7 +23,7 @@ if [[ $1 != \generate* ]]; then
|
|
23
23
|
done < <(grep :path Gemfile)
|
24
24
|
|
25
25
|
DIR=$(dirname `pwd`)
|
26
|
-
DOCKER_RUN="docker run ${IT} --rm --net=minke_${NEW_UUID} ${GEM_VOLUMES} -v ${DOCKER_SOCK} -v ${DIR}:${DIR} -
|
26
|
+
DOCKER_RUN="docker run ${IT} --rm --net=minke_${NEW_UUID} ${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}/_build ${DOCKER_IMAGE} ${COMMAND}"
|
27
27
|
|
28
28
|
echo "Running command: minke ${COMMAND}"
|
29
29
|
|
data/lib/minke/tasks/bundle.rb
CHANGED
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.14
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Nic Jackson
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2016-10-
|
11
|
+
date: 2016-10-26 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: bundler
|