docker-rake-flow 0.0.1 → 0.0.2
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/utils.rb +3 -7
- 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: 19fd4a2e6230ddcf7594dd6f42c2fd7e1f384258
|
4
|
+
data.tar.gz: ba090869668784b53254a53847439b5299356eef
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: b1819c6e9338e2a75cad9245be1734986b0d22a6a3c651b80b35d662cb9e6193e2fdcc86872b326e72cff7cedabc2bf4800e112f5603b19d9079f4ddea18c762
|
7
|
+
data.tar.gz: d7e9e99aadb36533c488a9cef5a86740f0e7cd1848d4d09ed67de263d2b8f907400bb256de5c040f77414558dbf9f07a238f5483a6a1270886713747c9198b10
|
data/lib/utils.rb
CHANGED
@@ -28,11 +28,7 @@ class DockerFlow::Utils
|
|
28
28
|
end
|
29
29
|
|
30
30
|
def self.is_ci
|
31
|
-
|
32
|
-
true
|
33
|
-
end
|
34
|
-
|
35
|
-
false
|
31
|
+
return (ENV.include? 'CI' and ENV['CI'] == 'true')
|
36
32
|
end
|
37
33
|
|
38
34
|
def self.get_system_info
|
@@ -54,7 +50,7 @@ class DockerFlow::Utils
|
|
54
50
|
|
55
51
|
def self.put_build_information(info)
|
56
52
|
puts ' # Build information'
|
57
|
-
puts "
|
53
|
+
puts " Environment: #{info[:host_type]}"
|
58
54
|
puts " Git branch: #{info[:branch]} @ #{info[:commit_version]}"
|
59
55
|
puts " Container repository: #{info[:repository]}"
|
60
56
|
puts " Build container tag: #{info[:build_container_tag]}"
|
@@ -113,4 +109,4 @@ class DockerFlow::Utils
|
|
113
109
|
container.stop
|
114
110
|
container.delete
|
115
111
|
end
|
116
|
-
end
|
112
|
+
end
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: docker-rake-flow
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.0.
|
4
|
+
version: 0.0.2
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- VJ Patel
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2016-03-
|
11
|
+
date: 2016-03-19 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: docker-api
|