kontena-cli 0.10.0 → 0.10.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:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: a8f5bc539e826b11f55d55afbe568130310943a5
|
4
|
+
data.tar.gz: 2deb53aab67826428fdf4ebf665000f40c28952f
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 65fac439ad52f5b1622fff0e4f501c47d2b94959754dbf9a672b1dd07ed470acde8f01090cec5c6d1476090c64d98fa5335f6a63ffa2b70fc3e7630003e24cc3
|
7
|
+
data.tar.gz: 4d4ba8b1ef68e5134e56311d40d74240d4f3c8bf37f368d3f0e0813b9a4c332387d8ca33339096855aed4e8e8c6cccd59a8b392a385b2962837ffb0207c288ce
|
data/VERSION
CHANGED
@@ -1 +1 @@
|
|
1
|
-
0.10.
|
1
|
+
0.10.1
|
@@ -38,10 +38,7 @@ module Kontena::Cli::Apps
|
|
38
38
|
|
39
39
|
def deploy_services(queue)
|
40
40
|
queue.each do |service|
|
41
|
-
|
42
|
-
short_name = name.sub("#{service_prefix}-", "")
|
43
|
-
puts "deploying #{short_name.colorize(:cyan)}"
|
44
|
-
deploy_service(token, name, {})
|
41
|
+
deploy_service(token, service['id'].split('/').last, {})
|
45
42
|
end
|
46
43
|
end
|
47
44
|
|
@@ -72,13 +72,10 @@ module Kontena::Cli::Registry
|
|
72
72
|
affinity: ["node==#{node['name']}"]
|
73
73
|
}
|
74
74
|
client(token).post("grids/#{current_grid}/services", data)
|
75
|
-
|
76
|
-
|
77
|
-
|
78
|
-
print '.'
|
79
|
-
sleep 1
|
75
|
+
client(token).post("services/#{current_grid}/registry/deploy", {})
|
76
|
+
ShellSpinner "Deploying registry service " do
|
77
|
+
sleep 1 until client(token).get("services/#{current_grid}/registry")['state'] != 'deploying'
|
80
78
|
end
|
81
|
-
puts ' done'
|
82
79
|
puts "Docker Registry 2.1 is now running at registry.kontena.local."
|
83
80
|
puts "Note: OpenVPN connection is needed to establish connection to this registry. See 'kontena vpn' for details."
|
84
81
|
puts 'Note 2: you must set "--insecure-registry 10.81.0.0/19" to your client docker daemon before you are able to push to this registry.'
|
@@ -39,13 +39,10 @@ module Kontena::Cli::Vpn
|
|
39
39
|
affinity: ["node==#{node['name']}"]
|
40
40
|
}
|
41
41
|
client(token).post("grids/#{current_grid}/services", data)
|
42
|
-
|
43
|
-
|
44
|
-
|
45
|
-
print '.'
|
46
|
-
sleep 1
|
42
|
+
client(token).post("services/#{current_grid}/vpn/deploy", {})
|
43
|
+
ShellSpinner "Deploying vpn service " do
|
44
|
+
sleep 1 until client(token).get("services/#{current_grid}/vpn")['state'] != 'deploying'
|
47
45
|
end
|
48
|
-
puts ' done'
|
49
46
|
puts "OpenVPN service is now started (udp://#{vpn_ip}:1194)."
|
50
47
|
puts "Use 'kontena vpn config' to fetch OpenVPN client config to your machine (it takes a while until config is ready)."
|
51
48
|
end
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: kontena-cli
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.10.
|
4
|
+
version: 0.10.1
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Kontena, Inc
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2015-12-
|
11
|
+
date: 2015-12-03 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: bundler
|