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:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 05edc816ea3867fcd242b1ab2fc58a34104f65fb
|
4
|
+
data.tar.gz: 41b8d65098b4c85bb978bb8c3d0c0f61fdcaf724
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
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
|
-
|
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
|
|
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
|
+
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-
|
11
|
+
date: 2016-03-15 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: rake
|