minke 1.14.0 → 1.14.1

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: a75b7d20dfa4be64d0c2624adce3b9f9e25ec3ea
4
- data.tar.gz: 681b7ff115b1b9c411cae5cd893f1d627f11c531
3
+ metadata.gz: 97c33c7f7fd702358fb6091c3520b45fc1f7a17c
4
+ data.tar.gz: 2e17caa1c46785d9ca1e00b0e70979506fb00388
5
5
  SHA512:
6
- metadata.gz: 40f40d0ad96bb89401230a08b99001e98993accb2cfd72c899ba27bf86f506efedec85d6de500186a52b5994801875df6eb719c2d82e849f72f0a4eb197795f1
7
- data.tar.gz: ec4dd302f0844486acbc3d816d377bb03e7a2470a5390f03244046ba36c14322d31e65dfd8ac3adc820a63871cf3c7f6e9999c815eb1411cf910e012f4164420
6
+ metadata.gz: 68a625d619a2b710d61023d60b966dbf30fe3056b4aa55c768439a2d7c2205db72a873493307396e57f84d79c7c50d68b3396ae2ffbb91daa67a93ed284b04a0
7
+ data.tar.gz: 5f87d6bedc1685a06dd7a259bbf5382a9a90028be55af1f9f64ea76964f6ddb405d18c9a4e954a734cfba3c3bfb2867e4864acde37cc86043b5b42322288c129
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.14.0;
34
- docker push nicholasjackson/minke:1.14.0;
33
+ docker tag nicholasjackson/minke nicholasjackson/minke:1.14.1;
34
+ docker push nicholasjackson/minke:1.14.1;
35
35
  curl https://hooks.microbadger.com/images/nicholasjackson/minke/tkpohfdrYPE0B0TL5NzLcOap4k0=;
36
36
  fi
data/docker/Gemfile CHANGED
@@ -3,7 +3,7 @@ source 'https://rubygems.org'
3
3
  gem "rake"
4
4
  gem "cucumber"
5
5
 
6
- gem 'minke', "= 1.14.0"
6
+ gem 'minke', "= 1.14.1"
7
7
  gem 'minke-generator-swift', "= 0.4"
8
8
  gem 'minke-generator-netmvc'
9
9
  gem 'minke-generator-go', "= 0.8.6"
@@ -37,8 +37,8 @@ module Minke
37
37
  end
38
38
 
39
39
  # write the shell script
40
- Minke::Generators::write_bash_script output_folder + "/_build/minke"
41
- Minke::Generators::create_rvm_files output_folder + "/_build/", @variables.application_name
40
+ Minke::Generators::write_bash_script output_folder + "/_minke/minke"
41
+ Minke::Generators::create_rvm_files output_folder + "/_minke/", @variables.application_name
42
42
  end
43
43
 
44
44
  def build_image docker_file
@@ -56,12 +56,18 @@ module Minke
56
56
  def run_command_in_container build_image, command
57
57
  @logger.debug command
58
58
  begin
59
- container, success = @docker_runner.create_and_run_container build_image, ["#{File.expand_path(@variables.src_root)}:/src"], nil, '/src', command
59
+ args = {
60
+ :image => build_image,
61
+ :volumes => ["#{File.expand_path(@variables.src_root)}:/src"],
62
+ :working_directory => '/src',
63
+ :command => command
64
+ }
60
65
 
66
+
67
+ container, success = @docker_runner.create_and_run_container args
68
+
61
69
  # throw exception if failed
62
70
  raise " #{command}" unless success
63
- #command = Minke::Helpers.replace_vars_in_section generator.generate_command, '##SERVICE_NAME##', APPLICATION_NAME
64
- #container, ret = Minke::Docker.create_and_run_container config, command
65
71
  ensure
66
72
  @docker_runner.delete_container container
67
73
  end
@@ -1,5 +1,6 @@
1
1
  #!/bin/bash
2
- MINKE_VERSION="1.13.20"
2
+
3
+ MINKE_VERSION="1.14.1"
3
4
 
4
5
  DOCKER_SOCK="/var/run/docker.sock:/var/run/docker.sock"
5
6
  NEW_UUID=$(base64 /dev/urandom | tr -d '/+' | head -c 32 | tr '[:upper:]' '[:lower:]')
data/lib/minke/version.rb CHANGED
@@ -1,3 +1,3 @@
1
1
  module Minke
2
- VERSION = "1.14.0"
2
+ VERSION = "1.14.1"
3
3
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: minke
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.14.0
4
+ version: 1.14.1
5
5
  platform: ruby
6
6
  authors:
7
7
  - Nic Jackson