pcf_blue_green 0.1 → 0.1.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 -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: f0b6425aa384870aa7aa9c7dbc542130ea03052d
|
4
|
+
data.tar.gz: 95fb5a2ecdc163a62ca3be93e6509957381a6942
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 83d6074135705be2e023085b8ddb566a57d19fdad76f87f9590a91f9fb55048c92fa4c0a3f84f6ebd89a657eb00faf1baeb3baac7a18586a391282a10d22e18d
|
7
|
+
data.tar.gz: 71206888e1f2c5eccb60ad1df08304d4c5eb02c3791d296f52800c60a9edd2d1823ef476830d0405678414986c74287843c8e269b7be71da70479fb5ba03025a
|
@@ -136,6 +136,7 @@ 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
|
+
cf routes | tail -n +4 | grep ${cf_app} | awk '{print $3" -n "$2}' | xargs -n 3 cf map-route ${green}
|
139
140
|
run-cmd cf routes | tail -n +4 | awk '($2==ENVIRON["sso_hostname"]) && ($5==ENVIRON["cf_app"]) {print $3" -n "$2 " --path "substr($4,2) }'
|
140
141
|
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}
|
141
142
|
fi
|