pcf_blue_green 0.25 → 0.26
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 +4 -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: ca593b08d6c40ebdbbc54c9833df1f900bc9fe8c
|
4
|
+
data.tar.gz: 1ca466e6d16fc15f2e20425b75ead6353e8afb6b
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: d3d8f4ebfe373bfc1256e6a5f9874a56d60aa9891832d63241bf1982238647a1d2288398d9e4aa5161c0dedd67a8ed2b9ef99c42e047aa1a023d183872403b5d
|
7
|
+
data.tar.gz: f1850390209b34750714cfdab937e1e2a8a1837539b36d027711c1a788db5f3fac080d21229daeb6780cadcdad3da7c61365cd3d953cb6358551a5b1e07bfd64
|
@@ -136,13 +136,14 @@ function remap-routes {
|
|
136
136
|
run-cmd cf routes | tail -n +4 | grep ${cf_app} | awk '{print $3" -n "$2}'
|
137
137
|
cf routes | tail -n +4 | grep ${cf_app} | awk '{print $3" -n "$2}' | xargs -n 3 cf map-route ${green}
|
138
138
|
else
|
139
|
-
if [ -n "$map_main_route" ]; then
|
140
|
-
run-cmd cf routes | tail -n +4 | awk '($3==ENVIRON["domain"]) && ($2==ENVIRON["cf_app"]) {print $3" -n " $2 }' | xargs -n 3 cf map-route ${green}
|
141
|
-
fi
|
142
139
|
run-cmd cf routes | tail -n +4 | awk '($2==ENVIRON["sso_hostname"]) && ($5==ENVIRON["cf_app"]) {print $3" -n "$2 " --path "substr($4,2) }'
|
143
140
|
cf routes | tail -n +4 | awk '($2==ENVIRON["sso_hostname"]) && ($5==ENVIRON["cf_app"]) {print $3" -n "$2 " --path "substr($4,2) }' | xargs -n 5 cf map-route ${green}
|
144
141
|
fi
|
145
142
|
|
143
|
+
if [ -n "$map_main_route" ]; then
|
144
|
+
run-cmd cf routes | tail -n +4 | awk '($3==ENVIRON["domain"]) && ($2==ENVIRON["cf_app"]) {print $3" -n " $2 }' | xargs -n 3 cf map-route ${green}
|
145
|
+
fi
|
146
|
+
|
146
147
|
if [ -n "$handle_all_green_paths" ]; then
|
147
148
|
run-cmd cf routes | tail -n +4 | awk '($5==ENVIRON["cf_app"]) {print $3" -n "$2 " --path "substr($4,2) }'
|
148
149
|
cf routes | tail -n +4 | awk '($5==ENVIRON["cf_app"]) {print $3" -n "$2 " --path "substr($4,2) }' | xargs -n 5 cf map-route ${green}
|