In an effort to clean up our manifests, and add support for Ubuntu
Xenial, we can remove this 'temporary' workaround now. If projects
need to enable this, doing so in JJB makes more sense today.
Change-Id: Iebc359de33748668d1c2cb4c953b60be2dacd7dc
Signed-off-by: Paul Belanger <pabelanger@redhat.com>
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>
This makes possible to apply openstack_project::slave_common class
to debian in chroot, e.g. to create a debian image with puppet
element using diskimage-builder
Change-Id: I7a661c8b5d4bb632eb32b5018c55474c1c66a4e8
Consumed puppet modules may declare these (example: openafs).
This patch wraps the kernel header modules in test conditionals to
avoid conflicts.
Change-Id: I72962ae0d006cfe5f5d7e61046fd4862067b3b44
It's useful to be able to add data files on our workers as a common
reference, much in the same way job scripts are provided. This will
be used to keep a local copy of the bindep fallback package list so
that it doesn't require directly cloning the project-config repo
during job run-time.
Change-Id: I4487b841f596cdfa2535c944aa3efe32a501b3c9
Depends-On: I30a8be9167cc5c52faae59a35a284b3f37b93f44
We need the zuul-env venv to be on all slaves not just dib/nodepool
built slaves. Do this by puppeting the virtualenv setup and pip install
of zuul in slave_common.pp.
Change-Id: I290a695c697fb456bee6f8212ba50b6c1b4533fc
In trusty and later, linux-headers-virtual is now a transitional package
that simply depends on linux-headers-generic. This package does not
exist for the aarch64/arm64 architecture and causes installation to fail.
This change continues to specify both linux-headers-virtual and
linux-headers-generic for precise, but only specifies
linux-headers-generic for all other releases.
Change-Id: I64542d818b22c57c6bf77173f83f148e492683ab
Now that pip has global config and we have one, remove the per-user
config in the jenkins user. This patch needs for patches to
devstack-gate and project-config to happen first.
Change-Id: I4b123181aed32eb91c07eac3ec1051bbc846c4d2
Depends-On: If9f3cec10d8057631978f7f1d5cd7e4936e163ef
Depends-On: I3e983102683db3898bd1cae5173eaa0f1259dc6f
The special py3k-precise nodes are no longer needed by any jobs, so
stop building them and clean up any custom Puppet related to them.
Change-Id: I40d5d09f28ef53583d239d2e852e9c50b5962cf8
Depends-On: Ie105674833e0a527f990a7448855a1090f5dc651
Pass the project_config_repo variable from single_use_slave.pp
manifest to the nested slave_common.pp to be able to set it's
value from parent scripts (e.g. prepare_node.sh)
Change-Id: I3c765a72fd48624cddc6146feb94331b2c764df3
In order to use disk-image-builder to build nodepool images, we need
a few things. First, we need additional debs to be installed for
disk-image-builder to work. Then we need the image elements themselves
to describe the images we want to create. Also, a few helper scripts
for locally working with the disk images have been included.
Tested with build-image.sh script; devstack-gate-trusty.qcow2 created
correctly
Change-Id: I539743147341dc5b387d103fecd3e9ff0f01fdfc
slave.pp is skipped for single-use slaves. Put the base mirror config
into slave_common so that it'll get picked up.
Change-Id: I4bff37ecab78264207e83eb237798ed320dfdab7
The jenkins-sudo privileges are specific to the slave_scripts directory,
which has already been moved to the openstack_project. Let's keep these
two things together.
Change-Id: I0ef16850bf97d54f1ac92e41e5bd31e7f6f40ea9
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