pcf_blue_green 0.0.33 → 0.0.34
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/pcf_blue_green/version.rb +1 -1
- data/lib/shared-deploy-functions.sh +2 -3
- metadata +1 -1
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: d12c05df8c3a8dd6646a9695f5cfd2bdcbc4f364
|
4
|
+
data.tar.gz: fefbbbd861d430603eb67b3f852ccd9277be50ed
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 843d4e2249b70ecb59f8fc1a501c9756143d8b7073a25589cc6226fad578e5f8c095b1824dac82ce4bdffddcb92bb053d128cec44e07c044129bdcde05d177aa
|
7
|
+
data.tar.gz: 9d1fa5cc253fb0594f54f554170aa54510d2072fe2104bb8b1fce171f1972e8b3eb218cab442f10d2383776e8e0ac3902d031ec1727c2c76ca9cfe6f26385a9e
|
@@ -146,9 +146,8 @@ function remap-routes {
|
|
146
146
|
function remove-blue {
|
147
147
|
run-cmd cf delete ${blue} -f
|
148
148
|
run-cmd cf rename $green $blue
|
149
|
-
|
150
|
-
|
151
|
-
else
|
149
|
+
run-cmd cf delete-route $domain -n $green -f
|
150
|
+
if [ -n ${sso_hostname+x} ]; then
|
152
151
|
set -x
|
153
152
|
run-cmd cf routes | tail -n +4 | awk '($2==ENVIRON["green"]) && $4 {print $3" -n "$2 " --path "substr($4,2)" -f"}' | xargs -n 6
|
154
153
|
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
|