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 +4 -4
- data/.travis.yml +2 -2
- data/docker/Gemfile +1 -1
- data/lib/minke/generators/processor.rb +11 -5
- data/lib/minke/scripts/minke +2 -1
- data/lib/minke/version.rb +1 -1
- metadata +1 -1
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 97c33c7f7fd702358fb6091c3520b45fc1f7a17c
|
4
|
+
data.tar.gz: 2e17caa1c46785d9ca1e00b0e70979506fb00388
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
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.
|
34
|
-
docker push nicholasjackson/minke:1.14.
|
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
@@ -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 + "/
|
41
|
-
Minke::Generators::create_rvm_files output_folder + "/
|
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
|
-
|
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
|
data/lib/minke/scripts/minke
CHANGED
data/lib/minke/version.rb
CHANGED