pcf_blue_green 0.0.8 → 0.0.9

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: e792a177f405fab759cf09583051e3e91d2464c9
4
- data.tar.gz: 706a8bc4cb350e9ebecfdb1bd76648df81c4afa6
3
+ metadata.gz: a9c3215f14b474b95e8570d0e6751370c3c32d55
4
+ data.tar.gz: 14c4cab583459c52ff784cf670073999cf99251a
5
5
  SHA512:
6
- metadata.gz: 5f4b53a10ee0d4fec29964dd4326337db3d1413a229d7f1b93959ff40fb7d5767c24ebf84caf42918a6027efb73db06df5ed76ddaba7e055b1c3e8c6e891903d
7
- data.tar.gz: 856881b33bb0b8ebf19f7413de39ff05964e32c4ac8a3345e4674be783d9259482d456d1d81d98df5da87c155aaadba200f73f179e75abe58a204dad7f497f83
6
+ metadata.gz: ac2f15f7207697c1a59ff35a3ad2e20407d7685c848e5ad2bd0e722d8d489e1045bc2af1264302ecb4885c70b264316020d166eaf0ae9d8916a44a2eab677158
7
+ data.tar.gz: df5d72ec99fdc236b54729a4b098eb2f77dd73b5110f0f81488f84d829de847a9acd110f719013e1c3e64deabf3cdefe3024974a4f1f78482811f78ed1689ca8
@@ -1,3 +1,3 @@
1
1
  module PcfBlueGreen
2
- VERSION = "0.0.8"
2
+ VERSION = "0.0.9"
3
3
  end
@@ -69,7 +69,7 @@ function cf-push {
69
69
  function check-health {
70
70
  local app_url=$1
71
71
  announce-task "Checking health"
72
- cf_output=$(echo $(cf env quote2main)| grep -o 'User-Provided:.*')
72
+ cf_output=$(echo $(cf env ${cf_app})| grep -o 'User-Provided:.*')
73
73
  echo "Executing curl of ${app_url}\n\n"
74
74
  if echo $cf_output| egrep -o 'MAINTENANCE_ENABLED: \S*'
75
75
  then
@@ -143,7 +143,7 @@ function remove-blue {
143
143
  }
144
144
 
145
145
  function get-domain {
146
- domain=$(cf routes | grep quote2main | awk '{print $3}' | grep "^apps\\." | tail -1)
146
+ domain=$(cf routes | grep ${cf_app} | awk '{print $3}' | grep "^apps\\." | tail -1)
147
147
  announce-task "Domain is ${domain}"
148
148
  }
149
149
 
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: pcf_blue_green
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.0.8
4
+ version: 0.0.9
5
5
  platform: ruby
6
6
  authors:
7
7
  - Pawel Bardzinski
8
8
  autorequire:
9
9
  bindir: exe
10
10
  cert_chain: []
11
- date: 2017-02-16 00:00:00.000000000 Z
11
+ date: 2017-02-24 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: mixlib-shellout