gantree 0.5.0 → 0.5.0.1
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/README.md +1 -1
- data/lib/gantree/docker.rb +2 -6
- data/lib/gantree/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: 270c14c364f82b0e1a12bc6c0ba8892001037959
|
4
|
+
data.tar.gz: 5889daf3bef216bdc488d4f04305b089bf16cdda
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: a07845770f4eb0fae0642f5629a61562c010ab49a0eb4602abdf154674c8e25823ce31e11aa44521b18ee99e9a04aa99c8953b57d0f648eda5c06bdf63914d2a
|
7
|
+
data.tar.gz: 121fec1d71a3929c9673cbe20b2a3b0052cc00e5c669155d130908446d491c491d268229dafb174b8b5eb0016df2c2d3f11a6bbeab41a8300f638facba64b06f
|
data/README.md
CHANGED
@@ -1,6 +1,6 @@
|
|
1
1
|
# Gantree
|
2
2
|
|
3
|
-
[![
|
3
|
+
[![Circle CI](https://circleci.com/gh/feelobot/gantree/tree/master.svg?style=svg)](https://circleci.com/gh/feelobot/gantree/tree/master)
|
4
4
|
[![Test Coverage](https://codeclimate.com/github/feelobot/gantree/badges/coverage.svg)](https://codeclimate.com/github/feelobot/gantree)
|
5
5
|
[![Code Climate](https://codeclimate.com/github/feelobot/gantree/badges/gpa.svg)](https://codeclimate.com/github/feelobot/gantree)
|
6
6
|
[![Gem Version](https://badge.fury.io/rb/gantree.svg)](http://badge.fury.io/rb/gantree)
|
data/lib/gantree/docker.rb
CHANGED
@@ -14,27 +14,23 @@ module Gantree
|
|
14
14
|
|
15
15
|
def build
|
16
16
|
puts "Building..."
|
17
|
-
|
18
|
-
if build_status.success?
|
17
|
+
if system("docker build -t #{@image_path}:#{@tag} .")
|
19
18
|
puts "Image Built: #{@image_path}:#{@tag}".green
|
20
19
|
puts "gantree push --image-path #{@image_path} -t #{@tag}" unless @options[:hush]
|
21
20
|
puts "gantree deploy app_name -t #{@tag}" unless @options[:hush]
|
22
21
|
else
|
23
22
|
puts "Error: Image was not built successfully".red
|
24
|
-
puts "#{output}"
|
25
23
|
exit 1
|
26
24
|
end
|
27
25
|
end
|
28
26
|
|
29
27
|
def push
|
30
28
|
puts "Pushing to #{@image_path}:#{@tag} ..."
|
31
|
-
|
32
|
-
if push_status.success?
|
29
|
+
if system("docker push #{@image_path}:#{@tag}")
|
33
30
|
puts "Image Pushed: #{@image_path}:#{@tag}".green
|
34
31
|
puts "gantree deploy app_name -t #{@tag}" unless @options[:hush]
|
35
32
|
else
|
36
33
|
puts "Error: Image was not pushed successfully".red
|
37
|
-
puts "#{output}"
|
38
34
|
exit 1
|
39
35
|
end
|
40
36
|
end
|
data/lib/gantree/version.rb
CHANGED
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: gantree
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.5.0
|
4
|
+
version: 0.5.0.1
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Felix
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2015-02-
|
11
|
+
date: 2015-02-20 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: thor
|