minke 1.13.14 → 1.13.15
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/scripts/minke +1 -1
- data/lib/minke/tasks/build.rb +5 -1
- data/lib/minke/tasks/fetch.rb +5 -1
- data/lib/minke/tasks/test.rb +5 -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: 91332371ea0b79e30114c2dd941a6944a0e87ee7
|
4
|
+
data.tar.gz: 6016853d9987a423e99ae2e742ef627ea3e17af5
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: a97898bcd0001be5e23b3f686989b464de19fb1e31eff3035eb3772b97b1a297e7193e8b927c85baa4c443cc6894fb8947062ac8bbf142aa9577ad69187e334f
|
7
|
+
data.tar.gz: 30bc1a0027fc42c3c4a60d7446fdfd8881e60503c50cc571e1886a3b5eeeebbea8386bc772ffafe240f17c837a09362ed01ffde1bb534743612b34f230fda1de
|
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.15;
|
34
|
+
docker push nicholasjackson/minke:1.13.15;
|
35
35
|
curl https://hooks.microbadger.com/images/nicholasjackson/minke/tkpohfdrYPE0B0TL5NzLcOap4k0=;
|
36
36
|
fi
|
data/docker/Gemfile
CHANGED
data/lib/minke/scripts/minke
CHANGED
data/lib/minke/tasks/build.rb
CHANGED
@@ -6,11 +6,15 @@ module Minke
|
|
6
6
|
@logger.info "## Build application"
|
7
7
|
|
8
8
|
if @generator_config.build_settings.build_commands.build != nil
|
9
|
-
run_with_block do
|
9
|
+
run_with_block do |pre_tasks, post_tasks|
|
10
|
+
pre_tasks.call
|
11
|
+
|
10
12
|
@generator_config.build_settings.build_commands.build.each do |command|
|
11
13
|
@logger.debug command.to_s
|
12
14
|
run_command_in_container command
|
13
15
|
end
|
16
|
+
|
17
|
+
post_tasks.call
|
14
18
|
end
|
15
19
|
end
|
16
20
|
end
|
data/lib/minke/tasks/fetch.rb
CHANGED
@@ -6,10 +6,14 @@ module Minke
|
|
6
6
|
@logger.info '### Fetching dependencies'
|
7
7
|
|
8
8
|
if @generator_config.build_settings.build_commands.fetch != nil
|
9
|
-
run_with_block do
|
9
|
+
run_with_block do |pre_tasks, post_tasks|
|
10
|
+
pre_tasks.call
|
11
|
+
|
10
12
|
@generator_config.build_settings.build_commands.fetch.each do |command|
|
11
13
|
run_command_in_container command
|
12
14
|
end
|
15
|
+
|
16
|
+
post_tasks.call
|
13
17
|
end
|
14
18
|
end
|
15
19
|
end
|
data/lib/minke/tasks/test.rb
CHANGED
@@ -5,10 +5,14 @@ module Minke
|
|
5
5
|
def run args = nil
|
6
6
|
@logger.info "## Test application"
|
7
7
|
|
8
|
-
run_with_block do
|
8
|
+
run_with_block do |pre_tasks, post_tasks|
|
9
|
+
pre_tasks.call
|
10
|
+
|
9
11
|
@generator_config.build_settings.build_commands.test.each do |command|
|
10
12
|
run_command_in_container command
|
11
13
|
end
|
14
|
+
|
15
|
+
post_tasks.call
|
12
16
|
end
|
13
17
|
end
|
14
18
|
|
data/lib/minke/version.rb
CHANGED