vagrant-openshift 3.0.8 → 3.0.9

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (49) hide show
  1. checksums.yaml +4 -4
  2. data/.travis.yml +6 -1
  3. data/Gemfile +5 -1
  4. data/README.asciidoc +65 -78
  5. data/hack/test.sh +135 -0
  6. data/hack/update.sh +32 -0
  7. data/lib/vagrant-openshift.rb +1 -0
  8. data/lib/vagrant-openshift/action.rb +83 -12
  9. data/lib/vagrant-openshift/action/build_origin_images.rb +2 -2
  10. data/lib/vagrant-openshift/action/create_yum_repositories.rb +1 -1
  11. data/lib/vagrant-openshift/action/download_artifacts_origin_console.rb +2 -2
  12. data/lib/vagrant-openshift/action/download_artifacts_origin_metrics.rb +67 -0
  13. data/lib/vagrant-openshift/action/install_docker.rb +54 -0
  14. data/lib/vagrant-openshift/action/install_golang.rb +52 -0
  15. data/lib/vagrant-openshift/action/install_origin_asset_dependencies.rb +6 -3
  16. data/lib/vagrant-openshift/action/install_origin_base_dependencies.rb +22 -237
  17. data/lib/vagrant-openshift/action/install_origin_rhel7.rb +29 -6
  18. data/lib/vagrant-openshift/action/push_openshift_images.rb +26 -37
  19. data/lib/vagrant-openshift/action/run_customer_diagnostics_tests.rb +79 -0
  20. data/lib/vagrant-openshift/action/run_origin_asset_tests.rb +1 -3
  21. data/lib/vagrant-openshift/action/run_origin_metrics_tests.rb +83 -0
  22. data/lib/vagrant-openshift/action/run_origin_tests.rb +9 -4
  23. data/lib/vagrant-openshift/command/checkout_repositories.rb +1 -3
  24. data/lib/vagrant-openshift/command/create_local_yum_repo.rb +2 -2
  25. data/lib/vagrant-openshift/command/download_artifacts_origin_metrics.rb +49 -0
  26. data/lib/vagrant-openshift/command/install_docker.rb +68 -0
  27. data/lib/vagrant-openshift/command/install_golang.rb +68 -0
  28. data/lib/vagrant-openshift/command/repo_sync_customer_diagnostics.rb +71 -0
  29. data/lib/vagrant-openshift/command/repo_sync_origin_metrics.rb +71 -0
  30. data/lib/vagrant-openshift/command/test_customer_diagnostics.rb +69 -0
  31. data/lib/vagrant-openshift/command/test_origin_image.rb +1 -1
  32. data/lib/vagrant-openshift/command/test_origin_metrics.rb +67 -0
  33. data/lib/vagrant-openshift/constants.rb +8 -2
  34. data/lib/vagrant-openshift/helper/command_helper.rb +63 -39
  35. data/lib/vagrant-openshift/helper/install_helper.rb +139 -0
  36. data/lib/vagrant-openshift/plugin.rb +37 -2
  37. data/lib/vagrant-openshift/resources/configure_docker.sh +53 -0
  38. data/lib/vagrant-openshift/resources/configure_system.sh +23 -0
  39. data/lib/vagrant-openshift/resources/install_chrome.sh +22 -0
  40. data/lib/vagrant-openshift/resources/install_dependencies.sh +58 -0
  41. data/lib/vagrant-openshift/resources/install_nonessential.sh +6 -0
  42. data/lib/vagrant-openshift/resources/install_rhaos_repos.sh +11 -0
  43. data/lib/vagrant-openshift/resources/reconfigure_network_fedora.sh +13 -0
  44. data/lib/vagrant-openshift/resources/rhaos31.repo +13 -0
  45. data/lib/vagrant-openshift/resources/rhaos32.repo +13 -0
  46. data/lib/vagrant-openshift/resources/rhaos33.repo +13 -0
  47. data/lib/vagrant-openshift/resources/rhaos34.repo +13 -0
  48. data/lib/vagrant-openshift/version.rb +1 -1
  49. metadata +29 -3
@@ -0,0 +1,58 @@
1
+ #!/bin/bash
2
+
3
+ set -o errexit
4
+
5
+ yum install -y \
6
+ augeas \
7
+ bzr \
8
+ bridge-utils \
9
+ bzip2 \
10
+ bind \
11
+ bsdtar \
12
+ btrfs-progs-devel \
13
+ bind-utils \
14
+ ctags \
15
+ device-mapper-devel \
16
+ ethtool \
17
+ e2fsprogs \
18
+ firefox \
19
+ fontconfig \
20
+ git \
21
+ gcc \
22
+ gcc-c++ \
23
+ glibc-static \
24
+ gnuplot \
25
+ httpie \
26
+ hg \
27
+ iscsi-initiator-utils \
28
+ jq \
29
+ java-1.?.0-openjdk \
30
+ kernel-devel \
31
+ krb5-devel \
32
+ libselinux-devel \
33
+ libnetfilter_queue-devel \
34
+ lsof \
35
+ make \
36
+ mlocate \
37
+ ntp \
38
+ openldap-clients \
39
+ openssl \
40
+ openvswitch \
41
+ rubygems \
42
+ screen \
43
+ ShellCheck \
44
+ socat \
45
+ sqlite-devel \
46
+ strace \
47
+ sysstat \
48
+ tcpdump \
49
+ tig \
50
+ tmux \
51
+ unzip \
52
+ vim \
53
+ wget \
54
+ xfsprogs \
55
+ xorg-x11-utils \
56
+ Xvfb \
57
+ yum-utils \
58
+ zip
@@ -0,0 +1,6 @@
1
+ #!/bin/bash
2
+
3
+ set -o errexit
4
+
5
+ yum install -y \
6
+ facter
@@ -0,0 +1,11 @@
1
+ #!/bin/bash
2
+
3
+ set -o errexit
4
+
5
+ # on RHEL machines, if we're installing or using OSE, we will need the
6
+ # following repositories in order to fetch OSE-specific RPMs
7
+
8
+ mv "$(dirname "${BASH_SOURCE}")/rhaos31.repo" /etc/yum.repos.d/
9
+ mv "$(dirname "${BASH_SOURCE}")/rhaos32.repo" /etc/yum.repos.d/
10
+ mv "$(dirname "${BASH_SOURCE}")/rhaos33.repo" /etc/yum.repos.d/
11
+ mv "$(dirname "${BASH_SOURCE}")/rhaos34.repo" /etc/yum.repos.d/
@@ -0,0 +1,13 @@
1
+ #!/bin/bash
2
+
3
+ set -o errexit
4
+
5
+ if [[ -e /etc/fedora-release ]]; then
6
+ if [[ ! -L /etc/udev/rules.d/80-net-setup-link.rules ]]; then
7
+ # If it's not already done, we need to enforce the older eth* naming
8
+ # sequence on Fedora machines as Vagrant isn't compatible with the
9
+ # systemd197 name changes.
10
+ ln -s /dev/null /etc/udev/rules.d/80-net-setup-link.rules
11
+ rm -f /etc/sysconfig/network-scripts/ifcfg-enp0s3
12
+ fi
13
+ fi
@@ -0,0 +1,13 @@
1
+ [rhel-7-server-ose-3.1-rpms]
2
+ name=RHEL7 Red Hat Atomic OpenShift 3.1
3
+ baseurl=https://mirror.ops.rhcloud.com/enterprise/enterprise-3.1/RH7-RHAOS-3.1/x86_64/os/
4
+ https://use-mirror1.ops.rhcloud.com/enterprise/enterprise-3.1/RH7-RHAOS-3.1/x86_64/os/
5
+ https://use-mirror2.ops.rhcloud.com/enterprise/enterprise-3.1/RH7-RHAOS-3.1/x86_64/os/
6
+ https://euw-mirror1.ops.rhcloud.com/enterprise/enterprise-3.1/RH7-RHAOS-3.1/x86_64/os/
7
+ enabled=1
8
+ gpgcheck=0
9
+ gpgkey=file:///etc/pki/rpm-gpg/RPM-GPG-KEY-redhat-release,file:///etc/pki/rpm-gpg/RPM-GPG-KEY-redhat-beta,https://mirror.ops.rhcloud.com/libra/keys/RPM-GPG-KEY-redhat-openshifthosted
10
+ failovermethod=priority
11
+ sslverify=0
12
+ sslclientcert=/var/lib/yum/client-cert.pem
13
+ sslclientkey=/var/lib/yum/client-key.pem
@@ -0,0 +1,13 @@
1
+ [rhel-7-server-ose-3.2-rpms]
2
+ name=RHEL7 Red Hat Atomic OpenShift 3.2
3
+ baseurl=https://mirror.ops.rhcloud.com/enterprise/enterprise-3.2/latest/RH7-RHAOS-3.2/x86_64/os/
4
+ https://use-mirror1.ops.rhcloud.com/enterprise/enterprise-3.2/latest/RH7-RHAOS-3.2/x86_64/os/
5
+ https://use-mirror2.ops.rhcloud.com/enterprise/enterprise-3.2/latest/RH7-RHAOS-3.2/x86_64/os/
6
+ https://euw-mirror1.ops.rhcloud.com/enterprise/enterprise-3.2/latest/RH7-RHAOS-3.2/x86_64/os/
7
+ enabled=1
8
+ gpgcheck=0
9
+ gpgkey=file:///etc/pki/rpm-gpg/RPM-GPG-KEY-redhat-release,file:///etc/pki/rpm-gpg/RPM-GPG-KEY-redhat-beta,https://mirror.ops.rhcloud.com/libra/keys/RPM-GPG-KEY-redhat-openshifthosted
10
+ failovermethod=priority
11
+ sslverify=0
12
+ sslclientcert=/var/lib/yum/client-cert.pem
13
+ sslclientkey=/var/lib/yum/client-key.pem
@@ -0,0 +1,13 @@
1
+ [rhel-7-server-ose-3.3-rpms]
2
+ name=RHEL7 Red Hat Atomic OpenShift 3.3
3
+ baseurl=https://mirror.ops.rhcloud.com/enterprise/enterprise-3.3/latest/RH7-RHAOS-3.3/x86_64/os/
4
+ https://use-mirror1.ops.rhcloud.com/enterprise/enterprise-3.3/latest/RH7-RHAOS-3.3/x86_64/os/
5
+ https://use-mirror2.ops.rhcloud.com/enterprise/enterprise-3.3/latest/RH7-RHAOS-3.3/x86_64/os/
6
+ https://euw-mirror1.ops.rhcloud.com/enterprise/enterprise-3.3/latest/RH7-RHAOS-3.3/x86_64/os/
7
+ enabled=1
8
+ gpgcheck=0
9
+ gpgkey=file:///etc/pki/rpm-gpg/RPM-GPG-KEY-redhat-release,file:///etc/pki/rpm-gpg/RPM-GPG-KEY-redhat-beta,https://mirror.ops.rhcloud.com/libra/keys/RPM-GPG-KEY-redhat-openshifthosted
10
+ failovermethod=priority
11
+ sslverify=0
12
+ sslclientcert=/var/lib/yum/client-cert.pem
13
+ sslclientkey=/var/lib/yum/client-key.pem
@@ -0,0 +1,13 @@
1
+ [rhel-7-server-ose-3.4-rpms]
2
+ name=RHEL7 Red Hat Atomic OpenShift 3.4
3
+ baseurl=https://mirror.ops.rhcloud.com/enterprise/enterprise-3.4/latest/RH7-RHAOS-3.4/x86_64/os/
4
+ https://use-mirror1.ops.rhcloud.com/enterprise/enterprise-3.4/latest/RH7-RHAOS-3.4/x86_64/os/
5
+ https://use-mirror2.ops.rhcloud.com/enterprise/enterprise-3.4/latest/RH7-RHAOS-3.4/x86_64/os/
6
+ https://euw-mirror1.ops.rhcloud.com/enterprise/enterprise-3.4/latest/RH7-RHAOS-3.4/x86_64/os/
7
+ enabled=1
8
+ gpgcheck=0
9
+ gpgkey=file:///etc/pki/rpm-gpg/RPM-GPG-KEY-redhat-release,file:///etc/pki/rpm-gpg/RPM-GPG-KEY-redhat-beta,https://mirror.ops.rhcloud.com/libra/keys/RPM-GPG-KEY-redhat-openshifthosted
10
+ failovermethod=priority
11
+ sslverify=0
12
+ sslclientcert=/var/lib/yum/client-cert.pem
13
+ sslclientkey=/var/lib/yum/client-key.pem
@@ -16,6 +16,6 @@
16
16
 
17
17
  module Vagrant
18
18
  module Openshift
19
- VERSION = "3.0.8"
19
+ VERSION = "3.0.9"
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.8
4
+ version: 3.0.9
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-05-29 00:00:00.000000000 Z
11
+ date: 2016-11-30 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: rake
@@ -121,6 +121,8 @@ files:
121
121
  - LICENSE.txt
122
122
  - README.asciidoc
123
123
  - Rakefile
124
+ - hack/test.sh
125
+ - hack/update.sh
124
126
  - lib/vagrant-openshift.rb
125
127
  - lib/vagrant-openshift/action.rb
126
128
  - lib/vagrant-openshift/action/atomic_host_upgrade.rb
@@ -140,8 +142,11 @@ files:
140
142
  - lib/vagrant-openshift/action/download_artifacts_origin.rb
141
143
  - lib/vagrant-openshift/action/download_artifacts_origin_aggregated_logging.rb
142
144
  - lib/vagrant-openshift/action/download_artifacts_origin_console.rb
145
+ - lib/vagrant-openshift/action/download_artifacts_origin_metrics.rb
143
146
  - lib/vagrant-openshift/action/download_artifacts_sti.rb
144
147
  - lib/vagrant-openshift/action/generate_template.rb
148
+ - lib/vagrant-openshift/action/install_docker.rb
149
+ - lib/vagrant-openshift/action/install_golang.rb
145
150
  - lib/vagrant-openshift/action/install_origin.rb
146
151
  - lib/vagrant-openshift/action/install_origin_asset_dependencies.rb
147
152
  - lib/vagrant-openshift/action/install_origin_base_dependencies.rb
@@ -152,8 +157,10 @@ files:
152
157
  - lib/vagrant-openshift/action/prepare_ssh_config.rb
153
158
  - lib/vagrant-openshift/action/push_openshift_images.rb
154
159
  - lib/vagrant-openshift/action/push_openshift_release.rb
160
+ - lib/vagrant-openshift/action/run_customer_diagnostics_tests.rb
155
161
  - lib/vagrant-openshift/action/run_origin_aggregated_logging_tests.rb
156
162
  - lib/vagrant-openshift/action/run_origin_asset_tests.rb
163
+ - lib/vagrant-openshift/action/run_origin_metrics_tests.rb
157
164
  - lib/vagrant-openshift/action/run_origin_tests.rb
158
165
  - lib/vagrant-openshift/action/run_sti_tests.rb
159
166
  - lib/vagrant-openshift/action/run_systemctl.rb
@@ -176,7 +183,10 @@ files:
176
183
  - lib/vagrant-openshift/command/download_artifacts_origin.rb
177
184
  - lib/vagrant-openshift/command/download_artifacts_origin_aggregated_logging.rb
178
185
  - lib/vagrant-openshift/command/download_artifacts_origin_console.rb
186
+ - lib/vagrant-openshift/command/download_artifacts_origin_metrics.rb
179
187
  - lib/vagrant-openshift/command/download_artifacts_sti.rb
188
+ - lib/vagrant-openshift/command/install_docker.rb
189
+ - lib/vagrant-openshift/command/install_golang.rb
180
190
  - lib/vagrant-openshift/command/install_origin.rb
181
191
  - lib/vagrant-openshift/command/install_origin_assets_base.rb
182
192
  - lib/vagrant-openshift/command/local_origin_setup.rb
@@ -185,21 +195,37 @@ files:
185
195
  - lib/vagrant-openshift/command/origin_init.rb
186
196
  - lib/vagrant-openshift/command/push_openshift_images.rb
187
197
  - lib/vagrant-openshift/command/push_openshift_release.rb
198
+ - lib/vagrant-openshift/command/repo_sync_customer_diagnostics.rb
188
199
  - lib/vagrant-openshift/command/repo_sync_origin.rb
189
200
  - lib/vagrant-openshift/command/repo_sync_origin_aggregated_logging.rb
190
201
  - lib/vagrant-openshift/command/repo_sync_origin_console.rb
202
+ - lib/vagrant-openshift/command/repo_sync_origin_metrics.rb
191
203
  - lib/vagrant-openshift/command/repo_sync_sti.rb
204
+ - lib/vagrant-openshift/command/test_customer_diagnostics.rb
192
205
  - lib/vagrant-openshift/command/test_origin.rb
193
206
  - lib/vagrant-openshift/command/test_origin_aggregated_logging.rb
194
207
  - lib/vagrant-openshift/command/test_origin_console.rb
195
208
  - lib/vagrant-openshift/command/test_origin_image.rb
209
+ - lib/vagrant-openshift/command/test_origin_metrics.rb
196
210
  - lib/vagrant-openshift/command/test_sti.rb
197
211
  - lib/vagrant-openshift/command/try_restart_origin.rb
198
212
  - lib/vagrant-openshift/config.rb
199
213
  - lib/vagrant-openshift/constants.rb
200
214
  - lib/vagrant-openshift/helper/command_helper.rb
215
+ - lib/vagrant-openshift/helper/install_helper.rb
201
216
  - lib/vagrant-openshift/plugin.rb
202
217
  - lib/vagrant-openshift/provisioner.rb
218
+ - lib/vagrant-openshift/resources/configure_docker.sh
219
+ - lib/vagrant-openshift/resources/configure_system.sh
220
+ - lib/vagrant-openshift/resources/install_chrome.sh
221
+ - lib/vagrant-openshift/resources/install_dependencies.sh
222
+ - lib/vagrant-openshift/resources/install_nonessential.sh
223
+ - lib/vagrant-openshift/resources/install_rhaos_repos.sh
224
+ - lib/vagrant-openshift/resources/reconfigure_network_fedora.sh
225
+ - lib/vagrant-openshift/resources/rhaos31.repo
226
+ - lib/vagrant-openshift/resources/rhaos32.repo
227
+ - lib/vagrant-openshift/resources/rhaos33.repo
228
+ - lib/vagrant-openshift/resources/rhaos34.repo
203
229
  - lib/vagrant-openshift/templates/builder/Rakefile
204
230
  - lib/vagrant-openshift/templates/builder/lib/.gitkeep
205
231
  - lib/vagrant-openshift/templates/command/init-openshift/box_info.yaml
@@ -224,7 +250,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
224
250
  version: '0'
225
251
  requirements: []
226
252
  rubyforge_project:
227
- rubygems_version: 2.4.8
253
+ rubygems_version: 2.5.1
228
254
  signing_key:
229
255
  specification_version: 4
230
256
  summary: Vagrant plugin to manage OpenShift Origin environments