pcf_blue_green 0.1.6 → 0.1.7

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: 3cbceff069380575a49ce83f0107b0edfaa07223
4
- data.tar.gz: de9f1c39a090811a63981e6c333d0d416ad79625
3
+ metadata.gz: fe9ba3e570aa2008c15f9eca66f85ce4c06ca468
4
+ data.tar.gz: 61a5bd4a590b2a0131e10f7513b3a37d4b459461
5
5
  SHA512:
6
- metadata.gz: af08994abc0d92d68b9caf43faf89390a4212144f1463a01944cc0efb4db885b190d3476501f206ddd749f46ca5996a384c7c8d431710f43999f356a232ab9ef
7
- data.tar.gz: 1b9ee9489791ce84b6ea9b64df3e69a86de775e001af2adf34d944e748024a0075f9e7a17349da41afc1a6c36f8b033f7f61ec9d520640ecc080ac5c9aa7e897
6
+ metadata.gz: 349d7372f8eb066d55f6d71c8086c3718c5b8e83ffe957d3dd55d75c5e9478bbbf65f63afe0ba5a3a555ff0988781a5ab19f8cee972baecdeb25752ea438f12f
7
+ data.tar.gz: db16be4b74cc8f32f8ac7b866c901ee78d0c269d79b2e52406125e1c6185bffcae06076c902b5b187e493991f22633e9e55e4d959b9a3e16f348905e28ef4c17
@@ -1,3 +1,3 @@
1
1
  module PcfBlueGreen
2
- VERSION = "0.1.6"
2
+ VERSION = "0.1.7"
3
3
  end
@@ -197,10 +197,11 @@ function blue-green {
197
197
  prep-green
198
198
 
199
199
  cf-push ${green} ${cf_manifest}
200
+ health_check_domain="${health_check_domain:-$domain}"
200
201
  if [ -z ${app_path+x} ]; then
201
- check-health "https://${green}.${domain}"
202
+ check-health "https://${green}.${health_check_domain}"
202
203
  else
203
- check-health "https://${green}.${domain}/${app_path}"
204
+ check-health "https://${green}.${health_check_domain}/${app_path}"
204
205
  fi
205
206
 
206
207
  remap-routes
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: pcf_blue_green
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.1.6
4
+ version: 0.1.7
5
5
  platform: ruby
6
6
  authors:
7
7
  - Pawel Bardzinski