kontena-cli 0.11.4 → 0.11.5

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: a146f1bd72f47a1f7805aaeb88ef87dda561a6d3
4
- data.tar.gz: be7453435a084c1aedf71e571afabad1bf26b358
3
+ metadata.gz: 5d9098c361090e27d591cbc3aaf746971edd630c
4
+ data.tar.gz: e94b8da1edbde7c98655dd8a18ea4cdfc5a8dc07
5
5
  SHA512:
6
- metadata.gz: c8ef20d0fa01a285f9aba9868fd0ba46da56208e3e6965e3a59a3c583d69c7f3925188947a0a70494e24b32b7015cc6f1a42f62c6967a7042d0873c7c52da37c
7
- data.tar.gz: 55a70a37241fbf825c0fe41b2d7198f74104884d6a8517c06dcc94789debdc0135bfb4db6a80ef836f6c9e0077a7ceacebcb1bba26c949674dd93956cc803eb2
6
+ metadata.gz: f940dcc0927a58225f36484c4a8c19b0039a562c3a52b3463a40f6588236e92cf68afa314b476d01f20a19b081316f2816ab05ad64b9eb531361f723dfa611a5
7
+ data.tar.gz: 1934f827f62632aaa7591dc6679fc1f7f76655fbf85283213b00b0d5913e9d57d28e2edaee97712b6b0d9b46f64a65e45f534fea462c53ee42c0cfd9696676c8
data/VERSION CHANGED
@@ -1 +1 @@
1
- 0.11.4
1
+ 0.11.5
@@ -43,7 +43,9 @@ module Kontena::Cli::Apps
43
43
  def deploy_services(queue)
44
44
  queue.each do |service|
45
45
  name = service['id'].split('/').last
46
- deploy_service(token, name, {})
46
+ options = {}
47
+ options[:force] = true if force_deploy?
48
+ deploy_service(token, name, options)
47
49
  print "deploying #{name.sub("#{service_prefix}-", '').colorize(:cyan)}"
48
50
  unless async?
49
51
  wait_for_deploy_to_finish(token, service['id'])
@@ -102,7 +104,6 @@ module Kontena::Cli::Apps
102
104
  id = prefixed_name(id)
103
105
  data = parse_data(options)
104
106
  update_service(token, id, data)
105
- deploy_service(token, id, {force: true}) if force_deploy?
106
107
  end
107
108
 
108
109
  # @param [String] name
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: kontena-cli
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.11.4
4
+ version: 0.11.5
5
5
  platform: ruby
6
6
  authors:
7
7
  - Kontena, Inc
@@ -324,7 +324,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
324
324
  version: '0'
325
325
  requirements: []
326
326
  rubyforge_project:
327
- rubygems_version: 2.4.5.1
327
+ rubygems_version: 2.4.8
328
328
  signing_key:
329
329
  specification_version: 4
330
330
  summary: Kontena command line tool