SuccessChanges

Summary

  1. Configure `build-origin-base` to use local scripts (details)
  2. Allow for users to specify Golang and Docker versions and RPM repos (details)
  3. add rhel7.3 image and default rhel7 tag to it (details)
Commit 77625d2efe274b4df86c9ab6e877a713a26b21f3 by Steve Kuznetsov
Configure `build-origin-base` to use local scripts
The code that supports `build-origin-base` was becoming unwieldy, so to
allow for easy modification and maintenance, it will be refactored to
run local scripts on the machine. The scripts are packaged with the
plugin.
The first step of this command now is to copy all the available scripts
to the machine. The workflow for running scripts is shown in the
refactor of the network configuration script in this commit.
Signed-off-by: Steve Kuznetsov <skuznets@redhat.com>
The file was addedlib/vagrant-openshift/resources/install_chrome.sh
The file was addedlib/vagrant-openshift/resources/install_rhaos_repos.sh
The file was addedlib/vagrant-openshift/resources/rhaos34.repo
The file was addedlib/vagrant-openshift/resources/dockerextra.repo
The file was addedlib/vagrant-openshift/resources/reconfigure_network_fedora.sh
The file was modifiedlib/vagrant-openshift/action/install_origin_base_dependencies.rb (diff)
The file was addedlib/vagrant-openshift/resources/rhaos32.repo
The file was addedlib/vagrant-openshift/resources/rhaos33.repo
The file was addedlib/vagrant-openshift/resources/install_golang.sh
The file was addedlib/vagrant-openshift/resources/install_dockerextra_repo.sh
The file was addedlib/vagrant-openshift/resources/configure_docker.sh
The file was addedlib/vagrant-openshift/resources/install_nonessential.sh
The file was addedlib/vagrant-openshift/resources/install_dependencies.sh
The file was addedlib/vagrant-openshift/resources/origin-deps-rhel7.repo
The file was addedlib/vagrant-openshift/resources/configure_system.sh
The file was addedlib/vagrant-openshift/resources/rhaos31.repo
Commit 7ab8d5f5598898bc5a3a8f7fbbd94416cddb68ae by Steve Kuznetsov
Allow for users to specify Golang and Docker versions and RPM repos
In order to allow each job building an AMI to be able to declare the
Docker and Golang versions that should be present, the Docker and Golang
install paths are separated out so that they live alone and are not
called in the `build-origin-base` command but instead in specific
`install-docker` and `install-golang` commands that can be run by a user
to configfure the version of Docker or Golang installed on the system.
These new commands have the following flags:
--{golang,docker}.version to specify the version to install The
following flags determine what repos are enabled during the installation
process:
--repourl to specify the URL of an RPM repo
--repo to specify the name of an installed repo
Any repositories installed from URLs  provided with the above flags will
be enabled *only* for the installation of Golang or Docker, and will be
disabled thereafter.
The `--{golang,docker}.version` flags are used to construct package
names for the core package as well as for peripheral packages, for
instance `golang` and `golang-src`. No leading dash is necessary to
specify the version. For instance, a user would specify that they want
`golang-1.6.2` by passing `--golang.version=1.6.2`.
Repositories installed from URLs will have a .repo file created for them
automatically. The name of the repository will be the given URL with all
non-alphanumeric characters (/[^a-zA-Z0-9]/) stripped out. Then, the URL
and name will be inserted into the following definition:
```
[#{reponame}] name=#{reponame} baseurl=#{url} enabled=1 gpgcheck=0
sslverify=0 sslclientcert=/var/lib/yum/client-cert.pem
sslclientkey=/var/lib/yum/client-key.pem
```
As the sslclient{cert,key} are not used unless the RPM repository
responds to a request with auth headers, these fields are ignored unless
the repository needs them and therefore repositories that do not need
them are not broken and it is safe to append them always.
Signed-off-by: Steve Kuznetsov <skuznets@redhat.com>
The file was modifiedhack/update.sh (diff)
The file was modifiedlib/vagrant-openshift/action/install_origin_base_dependencies.rb (diff)
The file was modifiedlib/vagrant-openshift/resources/install_rhaos_repos.sh (diff)
The file was modifiedlib/vagrant-openshift/action.rb (diff)
The file was removedlib/vagrant-openshift/resources/origin-deps-rhel7.repo
The file was modifiedlib/vagrant-openshift/plugin.rb (diff)
The file was modifiedREADME.asciidoc (diff)
The file was modifiedhack/test.sh (diff)
The file was removedlib/vagrant-openshift/resources/install_dockerextra_repo.sh
The file was addedlib/vagrant-openshift/action/install_golang.rb
The file was addedlib/vagrant-openshift/command/install_golang.rb
The file was addedlib/vagrant-openshift/action/install_docker.rb
The file was addedlib/vagrant-openshift/command/install_docker.rb
The file was addedlib/vagrant-openshift/helper/install_helper.rb
The file was removedlib/vagrant-openshift/resources/dockerextra.repo
The file was removedlib/vagrant-openshift/resources/install_golang.sh
The file was modifiedlib/vagrant-openshift.rb (diff)
The file was modifiedlib/vagrant-openshift/resources/configure_docker.sh (diff)
The file was modifiedlib/vagrant-openshift/resources/configure_system.sh (diff)
Commit c0852da1512732ca85c12a627da4622882620377 by Ben Parees
add rhel7.3 image and default rhel7 tag to it
The file was modifiedlib/vagrant-openshift/action/install_origin_rhel7.rb (diff)