vagrant-openshift 3.0.4 → 3.0.5

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: b6fed7895b9c29e2bc6c343bf45e64e77a7826c1
4
- data.tar.gz: f5912d91922785dc54314d6c62bf4ee6643eda98
3
+ metadata.gz: 05edc816ea3867fcd242b1ab2fc58a34104f65fb
4
+ data.tar.gz: 41b8d65098b4c85bb978bb8c3d0c0f61fdcaf724
5
5
  SHA512:
6
- metadata.gz: 1a31420933e35afa585e1d08e7e4a563b455ee71ecb2efff5d6796da1779e6756ca485aa23046ccb147b55d57e0082d12305a4b7b67fa72c52705a8e51f9116c
7
- data.tar.gz: 51ebaf5f3f26c9a3cb140f2acbd07479e56bdad3c0015e98bba28724f52b3197c8c0593191d08f578d8b05996004e1de8ab58448abe1fb4b14c9ee734ded37f2
6
+ metadata.gz: d23f49c892ec3a715066f3f662539bdd1ce345bed566c14158fc679284e004441530d0279b1c2507150bcedcbb27108b29ebf622e54a2d7e2adccf05642879a4
7
+ data.tar.gz: c81b286fe9dd4fe7101a5895e28520ca3b531e933b1c0cc73656057c75f89466a562128189a590dd459d536900d29295974e938c7a0d8d81fd2b8019405b34d1
@@ -195,6 +195,7 @@ usermod -a -G docker #{ssh_user}
195
195
 
196
196
  sed -i "s,^OPTIONS='\\(.*\\)',OPTIONS='--insecure-registry=172.30.0.0/16 \\1'," /etc/sysconfig/docker
197
197
  sed -i "s,^OPTIONS=-\\(.*\\),OPTIONS='--insecure-registry=172.30.0.0/16 -\\1'," /etc/sysconfig/docker
198
+ sed -i "s,^OPTIONS=-\\(.*\\),OPTIONS='--insecure-registry=ci.dev.openshift.redhat.com:5000 -\\1'," /etc/sysconfig/docker
198
199
  sed -i "s,^ADD_REGISTRY='\\(.*\\)',#ADD_REGISTRY='--add-registry=docker.io \\1'," /etc/sysconfig/docker
199
200
 
200
201
  cat /etc/sysconfig/docker
@@ -215,6 +216,13 @@ then
215
216
  sudo lvcreate -n docker-data -l 90%FREE /dev/${VG}
216
217
  sudo lvcreate -n docker-metadata -l 50%FREE /dev/${VG}
217
218
  sudo sed -i "s,^DOCKER_STORAGE_OPTIONS=.*,DOCKER_STORAGE_OPTIONS='-s devicemapper --storage-opt dm.datadev=/dev/${VG}/docker-data --storage-opt dm.metadatadev=/dev/${VG}/docker-metadata'," /etc/sysconfig/docker-storage
219
+
220
+ sudo lvcreate -n openshift-xfs-vol-dir -l 100%FREE /dev/${VG}
221
+ sudo mkfs.xfs /dev/${VG}/openshift-xfs-vol-dir
222
+ sudo mkdir -p /tmp/openshift/xfs-vol-dir
223
+ sudo sh -c "echo /dev/${VG}/openshift-xfs-vol-dir /tmp/openshift/xfs-vol-dir xfs gquota 1 1 >> /etc/fstab"
224
+ sudo mount /tmp/openshift/xfs-vol-dir
225
+ sudo chown -R #{ssh_user}:#{ssh_user} /tmp/openshift
218
226
  fi
219
227
 
220
228
  # Force socket reuse
@@ -105,18 +105,22 @@ popd >/dev/null
105
105
  cmd_env += @options[:envs]
106
106
  end
107
107
 
108
- if @options[:image_registry]
109
- cmd_env << "OPENSHIFT_TEST_IMAGE_REGISTRY=#{@options[:image_registry]}"
110
- end
111
-
112
108
  cmd = cmd_env.join(' ') + ' ' + build_targets.join(' ')
113
109
  env[:test_exit_code] = run_tests(env, [cmd], @options[:root])
114
110
 
115
111
  if env[:test_exit_code] == 0 && @options[:extended_test_packages].length > 0
116
112
  cmds = parse_extended(@options[:extended_test_packages])
113
+
114
+ extended_cmd_env = []
117
115
  # TODO(skuznets): make this a boolean and pass it through --env instead, to allow
118
116
  # openshift/origin/test/extended/util/test.go to choose where it places this artifact
119
- cmds = cmds.map{ |s| 'TEST_REPORT_DIR=/tmp/openshift/test-extended/junit ' + s }
117
+ extended_cmd_env << 'TEST_REPORT_DIR=/tmp/openshift/test-extended/junit'
118
+ if @options[:image_registry]
119
+ extended_cmd_env << "OPENSHIFT_TEST_IMAGE_REGISTRY=#{@options[:image_registry]}"
120
+ end
121
+ extended_cmd_env_str = extended_cmd_env.join(' ')
122
+
123
+ cmds = cmds.map{ |s| "#{extended_cmd_env_str} #{s}".strip }
120
124
  env[:test_exit_code] = run_tests(env, cmds, @options[:root])
121
125
  end
122
126
 
@@ -16,6 +16,6 @@
16
16
 
17
17
  module Vagrant
18
18
  module Openshift
19
- VERSION = "3.0.4"
19
+ VERSION = "3.0.5"
20
20
  end
21
21
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: vagrant-openshift
3
3
  version: !ruby/object:Gem::Version
4
- version: 3.0.4
4
+ version: 3.0.5
5
5
  platform: ruby
6
6
  authors:
7
7
  - Red Hat
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2016-03-08 00:00:00.000000000 Z
11
+ date: 2016-03-15 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: rake