kontena-cli 1.5.0.pre3 → 1.5.0.pre4
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/VERSION +1 -1
- data/lib/kontena/cli/services/scale_command.rb +2 -1
- data/omnibus/config/software/kontena-cli.rb +1 -1
- metadata +2 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 989a16e76176644497433cebd8503130e5be3940f7917d62fcada7be40605767
|
4
|
+
data.tar.gz: 233db8cc6236f684c2a48b170ff6c145e11450a8d92a0442ef6dba0aa28d50ff
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: b54e936045cb434918f914ff09ba9477684ad7ef1f08632442ac2f638f89906b835aaeeefc5adf7262364a7f34a6438ce072cf3ad7ceae909c595272646ed5e7
|
7
|
+
data.tar.gz: 2ba9b24775842c52aef66eef02e9204d7a1172bf89b3a6ef3e207feae36c7477c93c36da8c18472ab3801aec36e460ca6424f6b4ef8beaeccbf18f4c7ae2f56c
|
data/VERSION
CHANGED
@@ -1 +1 @@
|
|
1
|
-
1.5.0.
|
1
|
+
1.5.0.pre4
|
@@ -8,12 +8,13 @@ module Kontena::Cli::Services
|
|
8
8
|
|
9
9
|
parameter "NAME", "Service name"
|
10
10
|
parameter "INSTANCES", "Scales service to given number of instances"
|
11
|
+
option '--[no-]wait', :flag, 'Wait for service deployment', default: true
|
11
12
|
|
12
13
|
def execute
|
13
14
|
token = require_token
|
14
15
|
spinner "Scaling #{pastel.cyan(name)} to #{instances} instances " do
|
15
16
|
deployment = scale_service(token, name, instances)
|
16
|
-
wait_for_deploy_to_finish(token, deployment)
|
17
|
+
wait_for_deploy_to_finish(token, deployment) if wait?
|
17
18
|
end
|
18
19
|
end
|
19
20
|
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: 1.5.0.
|
4
|
+
version: 1.5.0.pre4
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Kontena, Inc
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2018-02-
|
11
|
+
date: 2018-02-20 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: bundler
|