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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 9ae4fedd92ab23cfb2718abc689c43daecf12fb3
4
- data.tar.gz: a8fe18634c3098e9ed3fe5aed429bd3d22b51f7a
3
+ metadata.gz: f0b6425aa384870aa7aa9c7dbc542130ea03052d
4
+ data.tar.gz: 95fb5a2ecdc163a62ca3be93e6509957381a6942
5
5
  SHA512:
6
- metadata.gz: 3361f4bdd33b0d1acd9bb040bd39dedd01af3819cf628c5c236e599f2bf31a041e6f779bc939cac141ab42e49864d09ecf389e33a9c2ec46b3cd5f686f4de11d
7
- data.tar.gz: 9fc63c20bef5898a365b7a7e86bd1edf81dee879e0b6820b0dd87994e3d0bc81de84f5ed6fd4c50f211756adf4f51e40c2cb86b67f319a8881af53bff12838fe
6
+ metadata.gz: 83d6074135705be2e023085b8ddb566a57d19fdad76f87f9590a91f9fb55048c92fa4c0a3f84f6ebd89a657eb00faf1baeb3baac7a18586a391282a10d22e18d
7
+ data.tar.gz: 71206888e1f2c5eccb60ad1df08304d4c5eb02c3791d296f52800c60a9edd2d1823ef476830d0405678414986c74287843c8e269b7be71da70479fb5ba03025a
@@ -1,3 +1,3 @@
1
1
  module PcfBlueGreen
2
- VERSION = "0.1"
2
+ VERSION = "0.1.1"
3
3
  end
@@ -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
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: pcf_blue_green
3
3
  version: !ruby/object:Gem::Version
4
- version: '0.1'
4
+ version: 0.1.1
5
5
  platform: ruby
6
6
  authors:
7
7
  - Pawel Bardzinski