pcf_blue_green 0.0.13 → 0.0.14
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 -4
- 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: 8c0db7babaa8a64a809852f486a537da8692cf41
|
4
|
+
data.tar.gz: aea2c6cea0a03b34a01db433110132b0766fea24
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: bbbe8101ed5116d6b20f238db1a540eb649efdb2f7c90dccabcf868dc43880fbd72ebb76b55fd48bbfa324ab0de13f59eb251e84d7b1a90e127221d8ea65030b
|
7
|
+
data.tar.gz: 874884dc813250bfd20b3df2dc56f48cdd385a656925d4d69928c416bc2812a8f6ff86ca20e338cb9bc67140fd02af41c244b7cd4c727daf48e34f71aa409e66
|
@@ -76,7 +76,7 @@ function check-health {
|
|
76
76
|
kv=$(echo $cf_output| egrep -o 'MAINTENANCE_ENABLED: \S*')
|
77
77
|
arrkv=(${kv// / })
|
78
78
|
if [ ${arrkv[1]} == true ] ; then
|
79
|
-
status=$(curl -sSIL -o /dev/null -w "%{http_code}" ${app_url} --insecure)
|
79
|
+
status=$(curl -sSIL -X GET -o /dev/null -w "%{http_code}" ${app_url} --insecure)
|
80
80
|
if [ $status == 503 ] ; then
|
81
81
|
echo -e "${BGre}curl of ${app_url} 503 OK"
|
82
82
|
else
|
@@ -85,7 +85,7 @@ function check-health {
|
|
85
85
|
fi
|
86
86
|
else
|
87
87
|
curl -fsSIL --user "${BASIC_AUTH_USERNAME}:${BASIC_AUTH_PASSWORD}" ${app_url} --insecure
|
88
|
-
status=$(curl -sSIL -o /dev/null -w "%{http_code}" ${app_url} --insecure)
|
88
|
+
status=$(curl -sSIL -X GET -o /dev/null -w "%{http_code}" ${app_url} --insecure)
|
89
89
|
if [ $status == 200 ] ; then
|
90
90
|
echo -e "${BGre}curl of ${app_url} 200 OK"
|
91
91
|
else
|
@@ -94,8 +94,8 @@ function check-health {
|
|
94
94
|
fi
|
95
95
|
fi
|
96
96
|
else
|
97
|
-
curl -fsSIL --user "${BASIC_AUTH_USERNAME}:${BASIC_AUTH_PASSWORD}" ${app_url} --insecure
|
98
|
-
status=$(curl -sSIL -o /dev/null -w "%{http_code}" ${app_url} --insecure)
|
97
|
+
curl -fsSIL -X GET --user "${BASIC_AUTH_USERNAME}:${BASIC_AUTH_PASSWORD}" ${app_url} --insecure
|
98
|
+
status=$(curl -sSIL -X GET -o /dev/null -w "%{http_code}" ${app_url} --insecure)
|
99
99
|
if [ $status == 200 ] ; then
|
100
100
|
echo -e "${BGre}curl of ${app_url} 200 OK"
|
101
101
|
else
|