- Some style adjustments.
- Use SRC_REPOS for mapping repo name to source repository name.
- Split the build_binary into individual tiny functions.
- Fix up the progress bars and iterable logging.
- Ensure that we log that we wrote to /etc/yum.repos.d and leave a trace for later cleanup.
- Quiet some of the new executes (and put there output to files).
- Add a smithy clean_pip() function that will help avoid hitting https://github.com/pypa/pip/issues/982
- Further cleanup of smithy after it being partially rewritten.
- Instead of hard coding 'conf/distros/rhel.yaml' in smithy, take this from the sourced file.
- Ensure that we can't remove packages smithy requires to operate.
- Ensure the package version that py2rpm is building is also trimmed of zeros.
Change-Id: I2df8a47f0115de2684777b64db42e08d50ef4115
* add build action to build binary packages
* remove conflicting packages on install phase
* process rhel.yaml to get required RPM package names
* allow including only /usr directory to packages
Build action is run as root after prepare action.
Change-Id: I6beec02e1c6ff48ec24a6ae382aae0193c1af95f
Fixes: bug #1193088
Fixes: bug #1193085
Export and ensure that we don't remove the
dependencies that anvil and openstack source
directories requires to operate.
- d2to1 is required to even run setup.py
- setuptools-git (the same)
- pbr (the same)
Fixes bug: #1189707
Change-Id: I099856eba07784afa2b65c3e4ebf6c0abcaab4bd
In order to correctly build the openstack dependencies we need
to bring in setuptools-git, or the package builiding process
blows up. In order to do this we need to attempt to install the
rpm, or build the rpm from source and install that.
Change-Id: If4bd64a96f2edda4c4640ffe455e0d6db11e02c6
Ensure that we build and install the newer d2to1 tool instead
of installing the old one from epel (which does not meet the
version requirements of the openstack components).
Change-Id: Ic2b76a8654adff6874bfa4758798b9e9fb545076
* support for OEL 6.3+ added to smithy
* smithy no longer bootstraps as a side-effect of being run: it asks the user to
set '--bootstrap' if necessary.
* bootstrap steps and (rpm, pip) package dependencies moved to configuration files
under tools/bootstrap/$distribution
* common bootstrap code refactored
* rpm installs are now idempotent.
* smithy checksum now based on bootstrap config files
* --force also supported as a command-line flag
TODO:
* pypi installs should probably also be made idempotent
* CentOS support