pcf_blue_green 0.0.34 → 0.1
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 +1 -1
- 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: 9ae4fedd92ab23cfb2718abc689c43daecf12fb3
|
4
|
+
data.tar.gz: a8fe18634c3098e9ed3fe5aed429bd3d22b51f7a
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 3361f4bdd33b0d1acd9bb040bd39dedd01af3819cf628c5c236e599f2bf31a041e6f779bc939cac141ab42e49864d09ecf389e33a9c2ec46b3cd5f686f4de11d
|
7
|
+
data.tar.gz: 9fc63c20bef5898a365b7a7e86bd1edf81dee879e0b6820b0dd87994e3d0bc81de84f5ed6fd4c50f211756adf4f51e40c2cb86b67f319a8881af53bff12838fe
|
@@ -147,7 +147,7 @@ function remove-blue {
|
|
147
147
|
run-cmd cf delete ${blue} -f
|
148
148
|
run-cmd cf rename $green $blue
|
149
149
|
run-cmd cf delete-route $domain -n $green -f
|
150
|
-
if [ -n $
|
150
|
+
if [ -n "$sso_hostname" ]; then
|
151
151
|
set -x
|
152
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
|
153
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
|