Commit Graph

34 Commits

Author SHA1 Message Date
Philip Marc Schwartz
83fe8878bf Upodate pip provider to use openstack_pip provider
Change-Id: I727a1233c1a0833e03b4bef1a94f0f470778ee60
Signed-off-by: Philip Marc Schwartz <philip@progmad.com>
2016-06-16 09:25:28 -04:00
Jenkins
bb49abf9c4 Merge "Remove libtidy install" 2016-03-30 14:04:55 +00:00
Andreas Jaeger
770611b4e5 Remove libtidy install
libtidy was needed "for python-tidy, used by sphinxcontrib-docbookrestapi".

sphinxcontrib-docbookrestapi is retired as stackforge project.
There are three repositories using it in test-requirements but those
do not build any documents - and installing sphinxcontrib-docbookrestapi
works even without libtidy installed.

libtidy is in bindep-fallback, so can get removed here.

Change-Id: I2140917471b09e4d4d53652f4d608ea4c7df65db
2016-03-29 20:02:09 +02:00
Andreas Jaeger
85d93d60b6 Do not install sbcl
This is only needed by cl-openstack-client and handled via
other-requirements now.

See also If8b4e412f8ae48c6c0133634df4a95d10a876be3.

Change-Id: I23079763b8247e4b342231177546436182ab48d8
2016-03-29 11:42:32 +02:00
Andreas Jaeger
ba0367417e Remove unused nspr dependency
Since change Ie38deadf190db33863c99d4610157349484ac10f ceilometer does
not use spidermonkey which needed libnspr4-dev to be installed. There's
also no other repository using the library.

Thus the requirement can be removed now.

Change-Id: I0dcc581d4c20d6b0da85495cfeb9923cb5bbee93
2016-03-28 18:46:13 +02:00
Paul Belanger
93ab8feca6 Move curl to jenkins_common.pp
After switching to ubuntu-trusty and project that use
other-requirements.txt for bindep, log uploads will fail.  So rather
then forcing all projects to include curl in other-requirements.txt,
we'll install it with puppet.

Our entry point is ::openstack_project::single_use_slave.

Change-Id: Icade064bd32c2179836f4d1c3d2ec91425422d02
Signed-off-by: Paul Belanger <pabelanger@redhat.com>
2016-03-04 14:28:03 -05:00
Andreas Jaeger
23d47a9c9e Remove obsolete dvipng install
dvipng is used by Sphinx pngmath extension - but none of the projects
actually uses it as a search for ".. math" reveals. Remove it from
images.

Corresponding project-config change: Id1c421038d9819b52b0018c1c9b117dabddbc69a

Change-Id: I87f8109c708011f256df600f5f782c3fbb5f4e52
2016-02-29 20:29:24 +01:00
Andreas Jaeger
c624680a7d Remove obsolete pandoc install
pandoc was used in the past for building identity-api and image-api,
these are now retired.

A search using codesearch.openstack.org shows only a usage in terracotta
and that one is not invoked anywhere in infra scripts.

Corresponding project-config change:
Id2e2278e160fa22e75ffbc15a8f9e233c9eeb7e9

Change-Id: I83050f32dd45330831e01c9828ff75a924469f82
2016-02-24 20:30:56 +01:00
Jeremy Stanley
5bea3e11fb Revert "Install etcd on nodes for tooz unit tests"
This package doesn't exist on, at least, Ubuntu 12.04 LTS. Please
check that the package names are relevant to the platforms targeted
before resubmitting/approving.

This reverts commit 39839a04dd.

Change-Id: I2dc258d800bea63b721e0ae9f5a33cd26bb1d728
2015-12-17 03:30:50 +00:00
Julien Danjou
39839a04dd Install etcd on nodes for tooz unit tests
We're building a tooz driver based on etcd, so we'd need it installed.

Change-Id: I82339ef338a0d9f194f5a1793ffeee4a3bf93726
2015-12-04 12:26:26 +01:00
Tushar Gohad
83d1d30e72 Add liberasurecode to CI slaves for Swift/PyECLib
Swift requirement PyECLib won't bundle liberasurecode
going forward, given the package is available in common
distros now.  This patch adds liberasurecode-dev
package to the CI slave image as a PyECLib dependency.
CI slave flavors covered are Ubuntu precise/trusty,
Centos7, and Fedora 22 or later.

Change-Id: I57997f7e6b6f5258220f173de48292a0d06b5876
2015-11-20 17:35:10 -07:00
Vladimir Kozhukalov
7bfe3ff367 Support egg pypcap
Without this change pip could not install pypcap.

Change-Id: I2c29a47038fe0fdc1d12f5e5b4d35edc4cb86ce7
2015-10-26 18:25:05 +03:00
Vladimir Sharshov (warpc)
ace4802837 Support egg Gevent (http://www.gevent.org/)
Without this change pip could not install Gevent library.

Change-Id: I468fb84bb5afd93a8d4387d235e4c73d7296de76
2015-10-20 19:12:20 +03:00
Clark Boylan
f66693d44f Add Pillow C deps to thick slaves
Pillow's 3.0.0 release requires libjpeg and zlib development headers to
build against. Make sure these packages are installed on the thick
slaves so that things like doc builds can run.

Change-Id: I8da7dd95ae24cf06dc7bdc300fcf39947a6df093
2015-10-01 15:10:18 -07:00
Jenkins
617d36bb5f Merge "Add swig packages" 2015-06-10 14:47:39 +00:00
Flavio Percoco
8bb3f35a2b Add swig packages
python-qpid-proton does something similar to pyzmq when libzmq is not
installed. It bundles the underlying library and builds it.
Unfortunately, python-qpid-proton currently has a dependency on `swig`
to build the python module. I'm adding swig to the list of packages
to install by default.

Change-Id: I2bba0392fa2d35e8877d0c33b89c0245f625fcaf
2015-06-09 22:54:38 +02:00
Jenkins
0a33b3d325 Merge "Add libjerasure dev packages on workers" 2015-06-09 20:50:59 +00:00
Jeremy Stanley
fc8ad0e4ff Add libjerasure dev packages on workers
Without libjerasure-dev and its declared dependency, libjerasure2,
pyeclib doesn't build extensions needed to support Swift's Python
2.7 unit test jobs. Preinstall this on our job workers.

Change-Id: Ia8ea54a8dc3350d17abc4ff33fe03fd937e0a068
2015-06-08 21:26:29 +00:00
Flavio Percoco
b24f2636a1 Add libuuid devel packages
python-qpid-proton does something similar to pyzmq when libzmq is not
installed. It bundles the underlying library and builds it.
Unfortunately, python-qpid-proton currently has a dependency on
`libuuid` and therefore, it depends on the devel packages to be present.

This dependency will be removed in the future but it'll take time. Until
that happens, I'm adding uuid-dev to the list of packages to install by
default.

Change-Id: Iae4d7138311eec0cd90c0865f30b84a98ce3c142
2015-06-08 15:13:37 +02:00
Joshua Hesketh
28d6448f94 Remove python magic
zuul-swift-upload is now ran in a virtualenv with python-magic
already installed into it. As such we don't need to install python-
magic into the system libraries.

Depends-On: Ife20d633131a35eb9a07bec6ba875cfb00f55753

Change-Id: Ia1892938dbec1199ed0dceb2da42c79f933dca18
2014-12-22 23:13:10 +00:00
Jenkins
90267e6fb9 Merge "Ensure redis is on slaves (and running)" 2014-10-08 23:51:23 +00:00
Joshua Harlow
ddf0b32212 Ensure redis is on slaves (and running)
Quite a few projects are/would like to use redis and
being able to have their tests use the slave provided
servers would be a great addition to ensure functionality
is working as expected (when mocking just doesn't cut
it).

Change-Id: I6081b6cfe1c6393c7c6f2d028c313da759220a72
2014-10-03 05:11:30 +00:00
Jenkins
a06773f359 Merge "Trim jenkins::slave package installations further" 2014-09-30 17:43:10 +00:00
Jeremy Stanley
03325b920c Add Python 3.4 and PyPy to Ubuntu Trusty slaves
When building Ubuntu 14.04 LTS workers, install the python3-all-dev,
python3.4 and pypy packages so that they can be used by future jobs.
This is in preparation to deprecate the special "precise-py3k"
nodepool node types we maintain for py33 and pypy tox jobs.

Change-Id: If6543e75eda5822d645164636720f6c597e07729
2014-09-11 18:07:46 +00:00
Clark Boylan
de01e82ec0 Trim jenkins::slave package installations further
We are installing packages in jenkins::slave that we do not need on all
of our slaves. Trim the package install down there and move things to
openstack_project::thick_slave where they belong. In particular
zookeeper and php mcrypt packages.

As part of this cleanup remove unused parameter values from
jenkins::params.

Change-Id: I57bf1c61287f74418bb06502f06bcd2989161243
2014-09-08 15:34:26 -07:00
Romain Chantereau
b47b8f144e Be able to generate math formulae with Sphinx mathpng base extension.
Change-Id: If9f53894d449bf54f7dcefe33c8f7597843a0438
2014-08-28 20:53:52 +00:00
Clark Boylan
8b9eb289c0 Pin puppet lint to 0.3.2.
Puppet lint released a 1.0 version that we are not prepared for as
existing checks are not more strict. Pin to the old version that we work
against allowing us to continuing to use puppet lint in a way that works
for us. We can consider upgrading at some point in the future.

Change-Id: I310c9d4e09f706f24e67f39ec6fbb1fb006148dc
2014-08-19 11:24:34 -07:00
Jeremy Stanley
77e34c7e27 Safely remove python-requests on workers
* modules/openstack_project/manifests/thick_slave.pp: Effectively
reimplement package removal in Puppet for Red Hat based platforms to
work around https://bugzilla.redhat.com/show_bug.cgi?id=973375 when
python-requests is installed. This was causing image updates to fail
on CentOS machines where the provider preinstalled the package as a
dependency of cloud-init, resulting in an error message "Rpmdb
checksum is invalid: pkg checksums: python-requests...".

Change-Id: I5933f6cbbe8f0258bb443b7ce9c511c7c1072db2
2014-08-15 23:28:56 +00:00
Jenkins
0e9f34a456 Merge "Split the database grants into their own class" 2014-07-05 23:08:19 +00:00
Monty Taylor
b0b2f2d088 Split the database grants into their own class
In anticipation of the nodepool patch, make the database grants,
which need a running database server to run, their own class. This
allows us to skip running them while in the chroot, and then on
boot we can simply run:

  puppet apply 'class {"openstack_project::slave_db": }'

Change-Id: I4223e691d7545b445d39048a8ca801458cc3c2ed
2014-07-05 15:57:56 -07:00
Monty Taylor
c701075c01 Remove mod_wsgi package
If something needs this on a slave, it should install it - say in
devstack. It's here for historical cruft reasons. On Oct 11, 2011,
when we reworked everything to use virtualenvs and not distro
packages, we pulled the initial package list from the list of
things in devstack's apts files. Since then, we've developed a
wee bit more automation around doing the right thing.

Change-Id: If5a88cb3dfe11928682d221ce333eb63b6a5437a
2014-06-14 11:45:31 -07:00
Jeremy Stanley
2f038884b6 Install newer requests package for twine
The twine upload client for PyPI needs a newer version of the Python
requests library than is provided on Ubuntu 12.04, so get it via pip
instead of from distribution packages.

Change-Id: Ibc9a7e1e496a3aa573902c4d1aad11d20187d260
2014-06-05 00:03:25 +00:00
Monty Taylor
ad574bedee Changes to get nodepool working with trusty
There are few things that are different for our slaves on trusty. Of
note, we don't want to pin puppet, and we need to provide a version
for postgres.

Change-Id: Ibee78cd4fbeef2e6af43379d2bc3a0f0e9767a06
2014-05-28 10:09:35 -07:00
K Jonathan Harker
8e7f9e3458 Move openstack-specific config out of ::jenkins
The ::jenkins::slave class contained a lot of openstack-specific
configuration rather than configuration of a generic jenkins slave.

The term "bare slave" is overloaded and confusing: create simple_slave
and thick_slave to differentiate between the two meanings of "bare".
Some portions of ::jenkins::slave will move to simple_slave, some
portions to thick_slave, and some portions to slave_common (all in the
openstack_project module).

Change-Id: I5281a03a7f6da3f98714bcc59ae840ace8435578
2014-05-20 14:39:51 -07:00