Commit Graph

11 Commits

Author SHA1 Message Date
Ian Wienand 2ef9b25101 zuul-worker: remove additional install of apt-transport-https
This is installed for the base images in the dependent change

Depends-On: https://review.opendev.org/716788
Change-Id: Ic6ae3c5406fc0efd7fff1875459dfab85b4f702c
2020-04-03 09:20:21 -05:00
Ian Wienand 8a1b382301 zuul-worker: remove python-apt & libselinux deps
These have been here since the initial commit
I0e76931fdb4ca0c7445b1e72dc348f0cf03eaee5 in 2016.

These have now bifurcated into python3 packages and are brought in
elsewhere; we don't need to additionally bring it in here.  At best we
duplicate the install, at worse we get it wrong
(I563896f1caa1a68781f10b27cd7d9cf2606aaa17).

libselinux is installed for all platforms by the redhat-common package
[1].  This element probably pre-dates that.

python[3]-apt is brought in by software-properties-common [2] for all
platforms, which will bring in the correct python[3] version.

[1] https://opendev.org/openstack/diskimage-builder/src/branch/master/diskimage_builder/elements/redhat-common/package-installs.yaml#L14
[2] https://opendev.org/openstack/diskimage-builder/src/branch/master/diskimage_builder/elements/base/pre-install.d/03-baseline-tools

Change-Id: Ie1ca9bda749e17cdd5269850c03feca100395f1f
2020-04-03 09:20:05 -05:00
Ian Wienand 539b1a3b6c zuul-worker element: use python3-libselinux for fedora
It seems Fedora 31 has completely remvoed python-libselinux, so this
now causes a build failure.

Change-Id: I563896f1caa1a68781f10b27cd7d9cf2606aaa17
2020-04-02 09:34:09 +11:00
Ian Wienand 8138f1d843 zuul-worker: no selinux python2 libs on CentOS 8
There are no libselinux bindings for Python 2 on CentOS 8 [1].  The
Python 3 packages are there as part of the base install.

These are required for Ansible to run correctly.  We will need to set
ansible_python_interpreter to python3 for CentOS 8 until
auto-detection is complete with [2].

[1] https://bugs.centos.org/view.php?id=16458
[2] https://review.opendev.org/682797

Change-Id: I52eef3069fa8699cc72b423d476c92b339600c23
2019-10-09 03:07:05 +00:00
Paul Belanger 726d199eef
Cleanup zuul-worker pkg-map
Default pkg-map to empty packages, and opt-in for each distro. This
fixes fedora builds.

Change-Id: Ic077eb39c6ad331dabe905773784a027d736ccaa
Signed-off-by: Paul Belanger <pabelanger@redhat.com>
2017-09-22 14:32:50 -04:00
Paul Belanger fd3af3c91b
Add ansible dependencies to infra-package-needs
Lets use zuul-worker element to install more ansible task
dependencies.

Change-Id: Icea27d0de8fce1275f5008e336f7b6711f353913
Signed-off-by: Paul Belanger <pabelanger@redhat.com>
2017-09-14 12:30:25 -04:00
Dirk Mueller f694c91bcb Update nodepool elements for openSUSE Leap 42.2
stackviz: In general newer openSUSE distributions switched to nodejs6 LTS,
but Leap 42.2 is still on 4.x.

zuul-worker: No need for libselinux enablement in openSUSE

puppet: cleanup the puppet repo that got added in the install_puppet.sh
code part

Change-Id: If7bf3c799ebb74aeb36c4b1b607b0454993f0ed6
2017-02-28 10:54:53 +01:00
Matthew Thode 9231f9b57d
Add Gentoo support to nodepool
This commit adds Gentoo support to elements needed to build a Gentoo
nodepool image.  The previous version of this commit had the default
section of the pkg-map in the wrong area, specifically in the following
file.

nodepool/elements/infra-package-needs/pkg-map

Change-Id: Ic686c325bc06564585a2e3ac50cadd7556612333
2016-10-16 20:37:14 -05:00
Paul Belanger 510faf0bde Revert "Add Gentoo support to nodepool"
Our images have failed to build for the last 3 days, reverting until we can debug.

This reverts commit 4c515e2073.

Change-Id: I2e653bcd8a30a85ea46a9861bdf9f95413a76f64
2016-10-13 21:39:04 +00:00
Matthew Thode 4c515e2073
Add Gentoo support to nodepool
This commit adds Gentoo support to elements needed to build a Gentoo
nodepool image.

Change-Id: I2ceeb915748a11d8e729069566e722a3fe30ba99
Signed-off-by: Matthew Thode <mthode@mthode.org>
2016-10-03 10:24:44 -05:00
Paul Belanger d4bbb4570c
Initial commit of zuul-worker DIB element
Now that zuulv2.5 has landed, we can start building our DIBs using the
new zuul-worker element.  As part of the jenkins clean up, we'll
eventually be removing all things jenkins from our puppet manifests.

As we move forward, we'll be using DIB to bootstrap our zuul-workers
over puppet.

Change-Id: I0e76931fdb4ca0c7445b1e72dc348f0cf03eaee5
Depends-On: Idb4ef11576671180060fb5b2b1202f9bfec5fd47
Signed-off-by: Paul Belanger <pabelanger@redhat.com>
2016-05-14 12:28:41 -04:00