pcf_blue_green 0.0.25 → 0.0.26

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: 3c4e00d2d8cc55ba9aa17a06e0f2f827eecac13a
4
- data.tar.gz: a2fd47ba013f83809417af5915fba301b30cfb5d
3
+ metadata.gz: 3ef3ac7221ebcd9f16eb96ef9277be37ccd6aa2b
4
+ data.tar.gz: e209d35e6104d0063f369d207c203e242eae159d
5
5
  SHA512:
6
- metadata.gz: 48198f620abf368ecee682de4f7ad9edd1dd2de8864fe519241ffb059079a0ecd0737c544b03d6040e49ba46e83d5ed4c82cba4db2ce29fe713220efc98d64be
7
- data.tar.gz: 6207d55253939002ca6607345228281d05c4e10e2b7a820884802205a5d583c2e4aee4839b3966459d1756bb00dcb8990a34a782c59499109a547df75761a2c0
6
+ metadata.gz: c582540c658c37b35ae83ce38124060005d5045d445ef5fe7c229dc2d19dc06b8c03ff144d7e5b585344bb1685e5f4344611b76f486a71c17cff66e021291ec4
7
+ data.tar.gz: e581420d91d3ada83a18f694d84260816da38b2e8931aeedf62032b2982f09971e9b1ad4d4372f46bacc8389931adcea6ab036cffbf6b6b3073b534e86ce7407
@@ -1,3 +1,3 @@
1
1
  module PcfBlueGreen
2
- VERSION = "0.0.25"
2
+ VERSION = "0.0.26"
3
3
  end
@@ -149,15 +149,14 @@ function remove-blue {
149
149
  echo $sso_hostname
150
150
  run-cmd cf routes
151
151
  run-cmd cf routes | tail -n +4 | awk '($2==ENVIRON["green"]) && $4 {print $3" -n "$2 " --path "substr($4,2)" -f"}' | xargs -n 6
152
- set -x
153
152
  if [ -z ${sso_hostname+x} ]; then
153
+ echo 'hi1'
154
154
  run-cmd cf delete-route $domain -n $green -f
155
155
  else
156
- echo 'insde sso'
157
- run-cmd cf routes | tail -n +4 | awk '($2==ENVIRON["green"]) && $4 {print $3" -n "$2 " --path "substr($4,2)" -f"}' | xargs -n 6
158
- run-cmd cf routes | tail -n +4 | awk '($2==ENVIRON["green"]) && $4 {print $3" -n "$2 " --path "substr($4,2)" -f"}' | xargs -n 6 cf delete-route
156
+ echo 'hi2'
157
+ run-cmd cf routes | tail -n +4 | awk '($2==ENVIRON["green"]) && $4 {print $3" -n "$2 " --path "substr($4,2)" -f"}' | xargs -n 6
158
+ run-cmd cf routes | tail -n +4 | awk '($2==ENVIRON["green"]) && $4 {print $3" -n "$2 " --path "substr($4,2)" -f"}' | xargs -n 6 cf delete-route
159
159
  fi
160
- set +x
161
160
  }
162
161
 
163
162
  function get-domain {
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.0.25
4
+ version: 0.0.26
5
5
  platform: ruby
6
6
  authors:
7
7
  - Pawel Bardzinski