pcf_blue_green 0.0.8 → 0.0.9
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 +2 -2
- metadata +2 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: a9c3215f14b474b95e8570d0e6751370c3c32d55
|
4
|
+
data.tar.gz: 14c4cab583459c52ff784cf670073999cf99251a
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: ac2f15f7207697c1a59ff35a3ad2e20407d7685c848e5ad2bd0e722d8d489e1045bc2af1264302ecb4885c70b264316020d166eaf0ae9d8916a44a2eab677158
|
7
|
+
data.tar.gz: df5d72ec99fdc236b54729a4b098eb2f77dd73b5110f0f81488f84d829de847a9acd110f719013e1c3e64deabf3cdefe3024974a4f1f78482811f78ed1689ca8
|
@@ -69,7 +69,7 @@ function cf-push {
|
|
69
69
|
function check-health {
|
70
70
|
local app_url=$1
|
71
71
|
announce-task "Checking health"
|
72
|
-
cf_output=$(echo $(cf env
|
72
|
+
cf_output=$(echo $(cf env ${cf_app})| grep -o 'User-Provided:.*')
|
73
73
|
echo "Executing curl of ${app_url}\n\n"
|
74
74
|
if echo $cf_output| egrep -o 'MAINTENANCE_ENABLED: \S*'
|
75
75
|
then
|
@@ -143,7 +143,7 @@ function remove-blue {
|
|
143
143
|
}
|
144
144
|
|
145
145
|
function get-domain {
|
146
|
-
domain=$(cf routes | grep
|
146
|
+
domain=$(cf routes | grep ${cf_app} | awk '{print $3}' | grep "^apps\\." | tail -1)
|
147
147
|
announce-task "Domain is ${domain}"
|
148
148
|
}
|
149
149
|
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: pcf_blue_green
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.0.
|
4
|
+
version: 0.0.9
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Pawel Bardzinski
|
8
8
|
autorequire:
|
9
9
|
bindir: exe
|
10
10
|
cert_chain: []
|
11
|
-
date: 2017-02-
|
11
|
+
date: 2017-02-24 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: mixlib-shellout
|