pcf_blue_green 0.43.31 → 0.43.35

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 011eb75337c8c229ac950dbe189c4a9a8500d043
4
- data.tar.gz: ea321f5cfeaf19f390f94d682a116deadee93b63
3
+ metadata.gz: 4996f3fa9582aaecb81ee6548bd9ec4ec01ee9a7
4
+ data.tar.gz: 59f0586e05fa903d0e17d0230634f1a67a4ca852
5
5
  SHA512:
6
- metadata.gz: 3b3b58206f6664362d264b0d691e16cfdf18cd2a0941794396c0f82c740a74232a0fd38224e79602f615e08dae24e1950b8d289f955e64217b8274498bf9cd65
7
- data.tar.gz: 607f3f713376182e7aa0b1fc1c074a404a3df4f57d588609512a788d1a0bc671e1c7d89c1203d4ad22bc4c5db901e3c74b4533d68727fb725f831c9ab438338f
6
+ metadata.gz: 65e60d37d0a3b42889362a2d2129dbedc3c941d70024ef01fb2a4d538b75dfb87d7c691b936008f47e62cfae15ed9c9f1f062afa7ee3e81d5c11741594186f5f
7
+ data.tar.gz: 8dae20a839adbd256f34095e2130465b31bf5f03aad54625106ce56db752f76192b264f689ec3c5bb122b67bcd5175ca4ab063706dea806d819f3a8bb6d3da95
@@ -1,3 +1,3 @@
1
1
  module PcfBlueGreen
2
- VERSION = "0.43.31"
2
+ VERSION = "0.43.35"
3
3
  end
@@ -56,7 +56,7 @@ function cf-setup {
56
56
  run-cmd cf api ${cf_api} --skip-ssl-validation
57
57
  set +x
58
58
  cf auth ${cf_user} ${cf_password}
59
- run-cmd cf target -o ${cf_org} -s "${cf_space}"
59
+ run-cmd cf target -o ${cf_org} -s ${cf_space}
60
60
  }
61
61
 
62
62
  function cf-push {
@@ -69,6 +69,7 @@ function cf-push {
69
69
  function check-health {
70
70
  local app_url=$1
71
71
  announce-task "Checking health"
72
+ sleep 5
72
73
  maitenance_enabled=$(echo $(cf curl '/v2/apps' -X GET -H 'Content-Type: application/x-www-form-urlencoded' -d "q=name:$cf_app" | jq '.resources[0].entity.environment_json.MAINTENANCE_ENABLED'))
73
74
  maitenance_enabled=$(echo ${maitenance_enabled//\"} | awk '{ print tolower($1) }')
74
75
  if [ $maitenance_enabled == "true" ] ; then
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.43.31
4
+ version: 0.43.35
5
5
  platform: ruby
6
6
  authors:
7
7
  - Pawel Bardzinski
8
8
  autorequire:
9
9
  bindir: exe
10
10
  cert_chain: []
11
- date: 2018-07-24 00:00:00.000000000 Z
11
+ date: 2018-05-22 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: mixlib-shellout
@@ -132,7 +132,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
132
132
  version: '0'
133
133
  requirements: []
134
134
  rubyforge_project:
135
- rubygems_version: 2.6.10
135
+ rubygems_version: 2.4.5.3
136
136
  signing_key:
137
137
  specification_version: 4
138
138
  summary: gem encapsualting blue-green bash script