summaryrefslogtreecommitdiff
path: root/tools
Commit message (Collapse)AuthorAgeFilesLines
* Update integration script for Apache 2.4Sean Dague2014-06-261-4/+24
| | | | | | | | | | | | | | | | | | | | | | | | Apache 2.4 requires site configuration files to have a ".conf" extension, and Apache 2.2 does not want the extension. Add logic to figure out the right name for the file so we can run the tests against both versions of Apache. Fixes bug: #1334326 install required libraries for mixed c things use build-dep to install the required libraries needed for the python build deps. Without this we can get cryptic library compilation issues. And use ccache explicitly Change-Id: Ia750e4221b119097521cf373752aae364759913b squashed into this one because we can't move forward without both. Co-Authored-By: Sean Dague <sean@dague.net> Change-Id: I5ab8898bd3cc2de18681fe3262cb784f7d9519ab
* Make tools/integration.sh take a branchJoe Gordon2014-03-181-2/+4
| | | | | | | | Instead of always using master branch support the option to use stable branches. Read the branch via the $OVERRIDE_ZUUL_BRANCH environmental variable that devstack-gate sets Change-Id: Iab4ae1efddc4dca38dcd3779dae1a79ddc2b0852
* Build mirror using proper requirements.Clark Boylan2013-12-051-3/+7
| | | | | | | | | | | | | * tools/integration.sh: Use the --no-update flag to run-mirror to make sure that the repo checked out by devstack-gate is the repo used to build the mirror. Otherwise `git reset --hard remote/origin/master` is used which we do not want. Also, we can't update the requirements repo until integration.sh is working and for that we need to install d2to1 into the mirror. Usually this would require a requirements repo change, but chicken and egg. Force it in along with pip and setuptools instead. This can be removed when d2to1 is added to the requirements repo. Change-Id: Id5c2c902832e475f28310fdd547672464bf42c0c
* Use wheels for installationMonty Taylor2013-12-041-1/+0
| | | | | | | | Add an option to pbr to use wheels when installing things from pip. The speed boost this gives is quite sexy, as it can avoid having to re-build C things all the time. Change-Id: Id9b9b21ef949ff44c7c962e81576266661264a13
* show diff between pip installed packages and requirementsKhai Do2013-12-031-2/+35
| | | | | | | | | | | This change will display the difference between which python packages pip installed and the packages from the requirements lists. It will print the list of dependencies to the console (not including the directly declared dependencies from the requirements list). Closes-Bug: #1172417 Change-Id: I9363b50d6d7f5ef19c42bb2e30de45e352060ccd
* Enable wheel processing in the testsMonty Taylor2013-11-291-1/+3
| | | | | | | In advance of enabling wheel processing in pbr overall, enable it in the integration testing. Change-Id: Ide460e000c872902590726639d42a5ecac9e4673
* Clean up integration scriptMonty Taylor2013-11-291-47/+27
| | | | | | | | There are several things in the script that are no longer necessary. Remove them to clean things up so that we can reason about this script with less stress. Change-Id: I02863c8ab98d7e403fada2973a0b5807e1b75595
* Serve local mirror using apacheMonty Taylor2013-11-221-3/+33
| | | | | | | | | | There are enough behavioral differences between http and file urls for pypi mirrors that we should do the local mirror via apache. That way we're testing what we care about - consumption of changes in the mirror context - and not what we don't - how well pip deals with file urls. Change-Id: Icb16e8bbe77c03f224d06010eeb6bd0877b0d6ca
* Add wheel mirror structure awarenessMonty Taylor2013-10-311-0/+5
| | | | | | | | | We are going to start having wheels in the gate. Having them there should not break folks who are not using wheels. Don't start actually consuming wheels yet, but add awareness about the wheel structure to the pypi config. Change-Id: Id29bb1bb31fc1647f8e1ea00bab487e447ba2838
* Remove pip as an argument from mkvenvMonty Taylor2013-10-311-9/+8
| | | | | | | We no longer care about or support old pip, because it turns out that evil happens. Remove it from the mkvenv function. Change-Id: I27dbef7816eaac856e97ec5a036f6d5ca9b183af
* Use pypi-mirror instead of jeepybMonty Taylor2013-10-311-10/+10
| | | | Change-Id: I56dffb73526bd56ac544d320d9d6f2baa6175a2a
* Get rid of PyPI URL override in integration testJeremy Stanley2013-10-071-15/+0
| | | | | | | | * tools/integration.sh: Overriding the PyPI URL is logic best left to devstack-gate since it does those things already. Remove the similar dance found here. Change-Id: Ie2fcabb11b30dc3ab6564bdedd55b2b173c1bf2a
* Fix python-ldap mirroring.Robert Collins2013-08-141-1/+1
| | | | | | python-ldap wants ldap headers to compile. Change-Id: I57dc54a3b745702ee8c1f8f8f91fc4ef1aa169fd
* Update requirements in integration testMonty Taylor2013-08-101-0/+7
| | | | | | | So that we don't test combinations of things that we won't see in the gate, run the same requirements sync job that devstack does. Change-Id: I0ee375b4e41aa214acf4cd3bfeb1b3a8ccb08dff
* Clean up some style warningsMonty Taylor2013-08-031-3/+3
| | | | | | | | ksh -n, weirdly enough, can be used as a rudimentary syntax and style checker for bash. tools/integration.sh was mostly clean, but it suggested that `` should be replaced with $(). Sure, why not. Change-Id: I76beff1194133444284c1e8fbbd5d87db369e47f
* Consume the OpenStack mirror by defaultMonty Taylor2013-08-031-4/+23
| | | | | | | | | | | | | | PyPI upstream obviously breaks all the time. Like, literally, I've spent my whole life dealing with it this past week. In this test, we were avoiding the OpenStack mirror so that we could be sure to be testing that we could build the mirror when new requirements are added. However, the only time that's a concern is on a requirements repo change. Add an option --no-mirror that will trigger the "don't use OpenStack's mirrors as an upstream" behavior, and we'll add that option to the invocation on requirements changes. Change-Id: I8d01c1fbb8a5df5aa83ffba3b6489e374abef1af
* Merge "Revert include_package_data change"Jenkins2013-07-271-0/+5
|\
| * Revert include_package_data changeMonty Taylor2013-07-231-0/+5
| | | | | | | | | | | | | | | | | | | | | | | | | | Setting the value directly in kwargs is not doing what we want it to do. This is largely because of how the hook system works. When the hooks process backwards_compat, they do a config.get('backwards_compat', dict()), which is then written back to the config dict - which means that blank override values are being fed in. Later we can go through and just re-engineer how that works. For now, unbreak nova. Change-Id: I0c6055253cbc89b6884553e6f2fbfe8a7bbd1953
* | Install jeepyb and requirements from REPODIRMonty Taylor2013-07-251-2/+5
| | | | | | | | | | | | | | | | integration.sh already expects there to be a pbr source dir in $REPODIR/pbr. If we pull jeepyb and requirements from the same place, then we can gate them as wel as pbr. Change-Id: Ie0eb513c2deade957d480a25dfba2c5486d14876
* | Stop trying to install old pip and setuptoolsMonty Taylor2013-07-251-3/+2
|/ | | | | | | | | | | | | Now that pip 1.4 is out, setuptools<0.7 is invalid because 1.4 will not install 'pre-release' software without being explicitly asked, and all of the pre 0.7 setuptools releases have a letter in them. Just stop trying to do it, because we actually don't use it anyway. Additionally, we were trying to intsall pip 1.3 for a test but were not installing that into the local mirror. Match them so that they're equal and can install. Change-Id: I61b9b810e64b40ceccb5eb0f4b2ddc4faefd8e04
* Merge "Do not assume the tests run as jenkins"Jenkins2013-07-221-2/+2
|\
| * Do not assume the tests run as jenkinsDoug Hellmann2013-07-211-2/+2
| | | | | | | | | | | | | | Use $HOME instead of "/home/jenkins" in the generated configuration files to let the script be run as a user other than jenkins. Change-Id: I9413591bb4a7d821382eae6dc3edd1df0c41a5e6
* | Merge "Replace entry_points console_scripts"Jenkins2013-07-221-0/+43
|\ \
| * | Replace entry_points console_scriptsMonty Taylor2013-07-211-0/+43
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | The console scripts generated by entry_points are too complex for our needs and make things run slowly in service of a multi-version install that we don't use. Instead, install a simple script which just does a direct import. Change-Id: I1ec46837cea07db514f2fb6338c7bced34a83c4a
* | | Merge "Move d2to1 more into the source tree"Jenkins2013-07-221-1/+1
|\ \ \ | |/ /
| * | Move d2to1 more into the source treeMonty Taylor2013-07-211-1/+1
| |/ | | | | | | | | | | | | When we merged in d2to1, we kept it separate, but I don't think there is a great benefit to doing that. Change-Id: I3972b3132619e8e2dd7e362ca5fe9d1e3add43b8
* | Add libffi-devMonty Taylor2013-07-201-1/+1
|/ | | | Change-Id: I4dc822eba0e1597e9eec1ec057d37871d930eb84
* Don't try to install requirements repo.Monty Taylor2013-07-111-2/+12
| | | | Change-Id: I5c4c4a6128f9d71da9725160e62e74575f7cddae
* Fix integration scriptJulien Danjou2013-06-241-76/+118
| | | | | | | | Don't fail on inability to write new ChangeLog or AUTHORS files. Ignore comments in requirements files Change-Id: I0c017b493ca1ef3f1c770daf25d8778bd98f02ef Fixes: bug #1192889
* Add an integration test script.Monty Taylor2013-06-141-0/+105
The script is intended to be run on a prepared server such as what devstack-gate produces. Test that each of the projects can be installed from scratch without pbr being previously installed into a plain raw non-distribute-based virtualenv. This is the closest we can come to testing that pip installing from the internet is going to work. We also need to test that this can be done in the various combinations of setuptools/distribute/pip, and we need to test that pip installing the repo, the tarball and running python setup.py install work. Change-Id: If3f17795374cfce726c60de0f09fc2a1e694eea3