pcf_blue_green 0.1.3 → 0.1.4

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: 581efa7598f1295c9d806403cd7e92077681d528
4
- data.tar.gz: c46a22b4bfcb649fbf6ee6bf76d0303fca0c2a92
3
+ metadata.gz: 26ecf64071825f82cca701b8b19bf1e77c36de64
4
+ data.tar.gz: dc3f82a3e34f996056716448fef99bba5119aee3
5
5
  SHA512:
6
- metadata.gz: 8d87891678c2bbbbf38243ea454a404ab74377e62507105efed93345520539a284d40def6164b0522a4f7f5cf44b15b6f51c348bf535aab5be2fd321860a59d3
7
- data.tar.gz: 200a9ced3b80934340bbc797f46476223ffcff7a6cc06de92aa6b33102651f081b981f83ef619485bb4e569f941b84c6b9deae700edf226c7c0404a7f88432bf
6
+ metadata.gz: 02d69e85420d8178b15ddad3b51034f1d9c4a6c9f72af700bcc83826e503097b47391d0b0d4085a6fd6d489533c35946ff26afe7097a70ef969c7543cbd5a9d3
7
+ data.tar.gz: a3c78dd063683fab49e0ccd52eb9011f46a6a365c55e091350b1cdea82b997e7a5e323be4dad62f35aebb1d0f32fccc306da76ff926f64d5df239051f56fb533
@@ -1,3 +1,3 @@
1
1
  module PcfBlueGreen
2
- VERSION = "0.1.3"
2
+ VERSION = "0.1.4"
3
3
  end
@@ -137,7 +137,7 @@ function remap-routes {
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
139
  if [ -n "$map_main_route" ]; then
140
- run-cmd cf routes | tail -n +4 | awk '($3==ENVIRON["domain"]) && ($2==ENVIRON["hostname"]) {print $3" -n " $2 }' | xargs -n 3 cf map-route ${green}
140
+ run-cmd cf routes | tail -n +4 | awk '($3==ENVIRON["domain"]) && ($2==ENVIRON["cf_app"]) {print $3" -n " $2 }' | xargs -n 3 cf map-route ${green}
141
141
  fi
142
142
  run-cmd cf routes | tail -n +4 | awk '($2==ENVIRON["sso_hostname"]) && ($5==ENVIRON["cf_app"]) {print $3" -n "$2 " --path "substr($4,2) }'
143
143
  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}
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.1.3
4
+ version: 0.1.4
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-03-01 00:00:00.000000000 Z
11
+ date: 2017-03-02 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: mixlib-shellout