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 +4 -4
- data/lib/pcf_blue_green/version.rb +1 -1
- data/lib/shared-deploy-functions.sh +4 -5
- 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: 3ef3ac7221ebcd9f16eb96ef9277be37ccd6aa2b
|
|
4
|
+
data.tar.gz: e209d35e6104d0063f369d207c203e242eae159d
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: c582540c658c37b35ae83ce38124060005d5045d445ef5fe7c229dc2d19dc06b8c03ff144d7e5b585344bb1685e5f4344611b76f486a71c17cff66e021291ec4
|
|
7
|
+
data.tar.gz: e581420d91d3ada83a18f694d84260816da38b2e8931aeedf62032b2982f09971e9b1ad4d4372f46bacc8389931adcea6ab036cffbf6b6b3073b534e86ce7407
|
|
@@ -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 '
|
|
157
|
-
run-cmd cf routes | tail -n +4 | awk
|
|
158
|
-
run-cmd cf routes | tail -n +4 | awk
|
|
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 {
|