pcf_blue_green 0.0.21 → 0.0.22
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 +4 -4
- data/lib/pcf_blue_green/version.rb +1 -1
- data/lib/shared-deploy-functions.sh +1 -0
- 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: e52286809d47a4d391ee99ab203cae3360212748
|
|
4
|
+
data.tar.gz: 59e5ca73a778144d7eb77ff7c137c809b473e56e
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: 1dced501c734fe8f45c0253e680b3ad5a5ef1e5ea81f1369c4312e9ca6c2a86bb1e70113486d97ca5aa5c312a93f6301760d6f2a5b9f203ace995ca52b21bdd8
|
|
7
|
+
data.tar.gz: 454fbe66a96f945e715312364deb74d15c9edee8a1d57c7978db8155157530e0b50b001a1d3c06e78af3d0d1333347d88491b8522fb8b4648c90c9799c13a424
|
|
@@ -149,6 +149,7 @@ function remove-blue {
|
|
|
149
149
|
if [ -z ${sso_hostname+x} ]; then
|
|
150
150
|
run-cmd cf delete-route $domain -n $green -f
|
|
151
151
|
else
|
|
152
|
+
run-cmd cf routes | tail -n +4 | awk '$2==ENVIRON["green"] {print $3" -n "$2 " --path "substr($4,2)" -f"}' | xargs -n 6
|
|
152
153
|
run-cmd cf routes | tail -n +4 | awk '$2==ENVIRON["green"] {print $3" -n "$2 " --path "substr($4,2)" -f"}' | xargs -n 6 cf delete-route
|
|
153
154
|
fi
|
|
154
155
|
}
|