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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: d4e27052b1cc180d218838a0d36573b467bbf502f51ffae63218ae90f20e54b3
4
- data.tar.gz: 919928366841ca83e6ae96a601b38e7e60f518c2a115ce59dd684f0fb36303b5
3
+ metadata.gz: 989a16e76176644497433cebd8503130e5be3940f7917d62fcada7be40605767
4
+ data.tar.gz: 233db8cc6236f684c2a48b170ff6c145e11450a8d92a0442ef6dba0aa28d50ff
5
5
  SHA512:
6
- metadata.gz: 17b115b92e98b9251d45988b65c35b0cde651861c45ac3a1d6982697c85ad7810c00e70f50a81e148d7ea63de8371c7a7c4e32511467389f4571289c3c17c40e
7
- data.tar.gz: b8900cad7da03ef20c5d37682b3321750eea62b13713410bea0dfc043ae2eb02933554745c34d0278766d0963d38aca3a24f226ac46a3323caeb62ac21cd007d
6
+ metadata.gz: b54e936045cb434918f914ff09ba9477684ad7ef1f08632442ac2f638f89906b835aaeeefc5adf7262364a7f34a6438ce072cf3ad7ceae909c595272646ed5e7
7
+ data.tar.gz: 2ba9b24775842c52aef66eef02e9204d7a1172bf89b3a6ef3e207feae36c7477c93c36da8c18472ab3801aec36e460ca6424f6b4ef8beaeccbf18f4c7ae2f56c
data/VERSION CHANGED
@@ -1 +1 @@
1
- 1.5.0.pre3
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
@@ -16,4 +16,4 @@ build do
16
16
  gem "install -N kontena-cli-%s.gem" % default_version, env: env, cwd: File.expand_path('..', Omnibus::Config.project_root)
17
17
  gem "install kontena-plugin-cloud -N", env: env
18
18
  copy "sh/kontena", "#{install_dir}/bin/kontena"
19
- end
19
+ 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.pre3
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-19 00:00:00.000000000 Z
11
+ date: 2018-02-20 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: bundler