app-rb 0.5.0 → 0.6.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 04a7cf3fe51832c039c94e42bb3c01d9b85747f8
4
- data.tar.gz: db9d29ba136cdc10b81d3a7efbe3c6523397c0f5
3
+ metadata.gz: a8058d7410253117a512ac4aaaa078c2f82c8499
4
+ data.tar.gz: afc3acbf56448540887b2a6f52c12568c48f0bac
5
5
  SHA512:
6
- metadata.gz: edbfa05ea16f99ce0152c370bebe54502e74a9bcb33c1b12d9a2942b243b1471f2b29e41ca780104683ad14333a631fa71da87d1ddc74ad2ec58956ecfc49632
7
- data.tar.gz: 0adc9408ade0ea60e65c59827edc311706cf8a441b1bee398980a56dccaba246568585abf58a3b853e009ef6c8b8d3db3b1caf42376aa697bdf6af122de48318
6
+ metadata.gz: d0d030ecece01d4ae12096134054c0bc77d174ae1842d437ed5bba2ffeadf7b3751f3d7463404f0bc3824cb54f9725a0aa615564f698a11f44d2e895a19ed7c8
7
+ data.tar.gz: e235501568640bcdc2f5f61b1c87b74c939fd04706112565f9c4def9fbc3df10f95dac4e1e09f8e737aa63b8a4e515a76599beea2540c4c9db596d0848a31177
data/CHANGELOG.md CHANGED
@@ -1,3 +1,7 @@
1
+ ## App-rb 0.6.0 (April 10, 2017) ##
2
+
3
+ * Add kind and name labels to each docker image.
4
+
1
5
  ## App-rb 0.5.0 (April 8, 2017) ##
2
6
 
3
7
  * [breaking change] Rename `restart` cli command into `redeploy`.
@@ -201,7 +201,11 @@ module AppRb
201
201
  AppRb::Util::Docker.run_batch(
202
202
  @config.user, payload["nodes"].sample.ip,
203
203
  "#{@base}-pre-#{index}", full_image_name(hash), payload["cmd"],
204
- {app: @config.app, build: @base},
204
+ {
205
+ app: @config.app,
206
+ build: @base,
207
+ kind: "batch"
208
+ },
205
209
  @config.env,
206
210
  payload["opts"]
207
211
  )
@@ -237,7 +241,13 @@ module AppRb
237
241
  AppRb::Util::Docker.run_daemon(
238
242
  @config.user, node.ip,
239
243
  "#{@base}-#{name}", full_image_name(hash), payload["cmd"],
240
- {app: @config.app, build: @base, has_port: (payload["port"] ? "yes" : "no")},
244
+ {
245
+ app: @config.app,
246
+ build: @base,
247
+ kind: "daemon",
248
+ name: name,
249
+ has_port: (payload["port"] ? "yes" : "no")
250
+ },
241
251
  @config.env,
242
252
  payload["opts"],
243
253
  (payload["port"] ? {"#{node.ip}:#{port}" => payload["port"]} : {})
@@ -1,3 +1,3 @@
1
1
  module AppRb
2
- VERSION = "0.5.0"
2
+ VERSION = "0.6.0"
3
3
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: app-rb
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.5.0
4
+ version: 0.6.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - Alexey Vakhov
8
8
  autorequire:
9
9
  bindir: exe
10
10
  cert_chain: []
11
- date: 2017-04-08 00:00:00.000000000 Z
11
+ date: 2017-04-10 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: bundler