Commit Graph

24 Commits

Author SHA1 Message Date
Vladimir Kozhukalov ec70407d68 Build jammy images
Change-Id: I639588a618816f6ff70a7736963589977bb36eb1
2023-07-11 19:34:19 +03:00
Gage Hugo e77485f8b0 Bump centos version up to 9-stream
This change updates the version of centos that we currently
contain in the repository to 9-stream.

Change-Id: Ia4f4d6eaee6d9e272f5276ce961691fa980cd957
2022-08-02 11:40:36 -05:00
Zuul 9a3d79d4a4 Merge "Reduce build targets" 2022-06-15 16:55:38 +00:00
Mohammed Naser 9e7b71c304 Reduce build targets
OpenSUSE LEAP is currently not in use by any known downstream
users and it has been broken for quite sometime, leaving the gate
in a broken state and unable to land any code.  There's no active
maintainer for it as well.

Debian support was added by us (VEXXHOST) but we decided that
we're not going to continue using it and move towards Ubuntu, so
we do not want to maintain it, as well as that it is building images
for Train only.

It also updates the README file accordingly as well as includes
focal in there which has been recently added.

Change-Id: Ideb497c169828184d301b6be4359a7c2228aa444
2022-05-23 15:59:49 +00:00
Gage Hugo 6441c2fc1f Update cloud archive to yoga for focal
This change updates the cloud archive version to yoga in the
ubuntu_focal dockerfile sources.list. This is to facilitate the
upgrade to the latest version of openstack.

Change-Id: I56bce55adde466ad0b175b39e9d7b2820f03bdb8
2022-05-04 15:45:09 +00:00
Gage Hugo 804023692e Remove ubuntu xenial image building
This change removes the ubuntu xenial image building support since
it's quite old at this point and most services have moved on to
newer releases.

Change-Id: I5b87806d2f07c4d49ac994c0bda8d1e154e02e1d
2022-04-27 14:19:50 -05:00
Thiago Brito a52d700d86 Fixing job issues
- Missing nss-devel-3.53.1 pkg on centos
- Commenting out leap15 job until the mirror are updated to 15.3
- Commenting configurations related to not yet set debian mirror

Depends-On: https://review.opendev.org/c/openstack/watcher/+/823606
Signed-off-by: Thiago Brito <thiago.brito@windriver.com>
Change-Id: Idee88bd7eac1994fa899b22ccd3c6676a643583b
2022-01-12 14:39:54 +00:00
Andrii Ostapenko a61c73e9b2
Update gates
* Use bionic for ussuri build as it's the latest supported
release [0][1].
* Switch to centos 8 to run master [1][2].
* Switch default base image to ubuntu:focal.

[0] https://governance.openstack.org/tc/reference/runtimes/ussuri.html
[1] https://governance.openstack.org/tc/reference/runtimes/victoria.html
[2] https://governance.openstack.org/tc/reference/runtimes/train.html

Change-Id: I9a70aebd9636e170c6e04398356933668a2bfbba
Signed-off-by: Andrii Ostapenko <andrii.ostapenko@att.com>
2021-10-12 18:30:09 -06:00
Sam Morrison 8baeb8ecea Add focal base to dockerfiles
Change-Id: I2e57506e94d468e8c342814dad740b8a450aa23d
2021-04-15 20:05:06 +00:00
Andrii Ostapenko 3e5730cd53 Enable Debian gate build and fix mirrors related issues
Also fixes related issue with distutils installation for Debian Stretch
and Ubuntu Xenial with py3: unlike in Bionic, distutils is installed with
python3 and python3-distutils package is not available in these distributions.

Run Debian build with py3 against stable/train, as master requires at
least python3.6, not available for distribution out of box.

Also increases job timeout to 5400 due to increased amount of builds.

Change-Id: I04c9253af80d941afb45231bee20f7bb1c4a96d4
2021-02-16 14:33:04 +00:00
Andrii Ostapenko ce66853ab9 Update leap15 base image
Change-Id: I6578df9daaf95dc13412f8a02bd9a358d7ec9fd3
Signed-off-by: Andrii Ostapenko <andrii.ostapenko@att.com>
2020-10-08 18:31:31 +00:00
Andrii Ostapenko d910229ce9
Allow to specify eol release for project and fix gates
There's a need to keep building images from eol releases. This commit
introduces ability to specify eol release for project and clone to
{release}-eol instead of stable/{release}

Octavia moved to eol, using ocata-eol instead.

Also fixes gates providing ensure-pip role to executor.

Also pins openSUSE image to 15.1

Change-Id: I041033bb6c9cfe193c4bae9a0b6b4028f4602c5f
Signed-off-by: Andrii Ostapenko <andrii.ostapenko@att.com>
2020-07-03 10:36:44 -05:00
Andrii Ostapenko d5ff58a973 Update dockerfiles and gates
Introduces image build for bionic with py3 and nautilus.
Switches centos to py3 and fixes related issues.
Xenial is now run with stable/ocata.

Adds ability to skip specific build for particular component specifying
"supported_releases" in zuul component configuration. Sets
supported_releases for placement not available for releases prior to
Stein.

Removes redundant parameters for project reference using defaults
instead, as they relate to loci project, not to project we build
with loci. Also hard-codes parameters in playbooks/vars.yaml, making
it a definitive build configuration.

Change-Id: I7290203d80461f46ed70d5e3bea55c9765f9e746
2020-01-20 19:37:55 -06:00
Alfredo Moralejo 14ee0f585a Move CentOS to use RDO Stein packages
Pike is in extended maintenance and is EOLed in terms of RDO.

To be accurate the version of RDO repo should match with the branch
being used to build the containers. Anyway, IIUC, most python packages
are installed from source or pip, so i guess few packages should be
installed from distro repos.

Change-Id: I17354765c896fddc5962ee53d287d5a61abe8e11
2019-07-01 18:18:33 +02:00
Chris Hoge ddbfef95ba Update repositories of Centos base to get updated qemu
The default version of qemu that ships with CentOS, 1.5, does
not satisfy the minimum requirement for Nova. This path adds
the CentOS Enterprise qemu Repository that will install a
Nova compatible version of qemu.

Change-Id: Id307f244744857bd8b1b535e10559491d34c9775
2019-01-18 21:27:08 +00:00
Chris Hoge d0ef425ef6 Clean up comment style and identify bugs and workarounds
Cleans up the comment style to remove author names and clarify
the comment as it relates to the code. Using the NOTE (NAME):
format is redundant and takes away attention from the purpose
of documenting why an action is being taken.

Also updates status of TODO and FIXME items, including removing
code was a workaround fixed by a recent patch.

Change-Id: I2e087be1e204c618d1dbe499b3f69eae34ce656f
2018-10-25 11:33:25 -07:00
Jean-Philippe Evrard f78e45c304 Build OpenSUSE Leap 15 by default
This includes the building of OpenSUSE Leap 15 in checks/gates.

As the build of each project requires the building of the
requirements first, added to the fact that a new distro is added
into the jobs, this extends the timeout for the base job beyond
the maximum time for requirements, so that all the projects
(excluding requirements) have more time to complete.

Change-Id: I73b055b3942a6d80b8474544a9d65df0b3005e15
2018-10-23 08:34:59 +00:00
Sam Yaple 471ad839dd Add back debian support
We cannot build python-qpid-proton pip package on debian due to it
having 1.1.0 openssl. This seems like a lesser used package, so for now
we will just skip building it and give the world some time to resolve
the issue.

Change-Id: I4af88cb57ce2fc614d373c83cf3745c4aaaa5c7b
2017-10-31 03:03:14 -04:00
Sam Yaple e3d41e874b Use infra mirrors
We have to stop pinning Docker because upstream only mirrors the latest
version. Hopefully this won't turn into an issue.

Change-Id: I33bb9527cf3d8718361d84b1efff62426d7b711b
2017-10-09 02:27:33 -04:00
Sam Yaple cf9ad64f3b Adjust the generic dockerfiles base for new gate
Change-Id: Idde23a5552e033d793fff3c0067ca9f6f87e4938
2017-10-01 01:02:32 -04:00
Sam Yaple 9ad99a9c95 Move to single dockerfile
Build-args will control FROM args. Centos, Ubuntu, and Debian will
remain officially supported.

This will completely remove the logic from Dockerfile and put it in the
scripts control which is the direction we have been headed for a while.

Change-Id: I8e0745b50e6c141da5ca8f57b415ae206dad5ab4
2017-09-30 22:48:56 -04:00
Sam Yaple f7e7f75d7c Quick fix for broken builds
Change-Id: I642306a0d75c41187405b7cead86f4f8ee73ea82
2017-09-21 19:02:25 -04:00
Sam Yaple 76cb708cd9 Add base files that setup repos
With the new generic dockerfile an optional base file is needed. We will
be building images and gating off of this new base image. The end user
is welcome to build and specify thier own base image with thier own
repos and keys if they choose.

Change-Id: I0fea959c0433ad06be68aa446271859c46c87ed9
2017-09-20 20:13:32 -04:00
Sam Yaple 6faac4e966 Add generic dockerfile with bindep
With a generic dockerfile we can build all the services, most without
additional changes to the loci repositories, off of a single dockerfile.

bindep allows us to specify all packages by tags (profiles) and built-in
bits that bindep knows how to check (like rpm vs deb). It additionally
allows us to install plugins via the same method removing the need for
"plugin" dockerfiles that consist of a package install.

Keystone build looks like:
docker build --build-arg PROJECT=keystone https://github.com/openstack/loci.git#:dockerfiles/dpkg

For nova with ceph and qemu-img:
docker build --build-arg PROJECT=nova --build-arg PROFILES="ceph qemu" https://github.com/openstack/loci.git#:dockerfiles/dpkg

Depends-On: Iabe9db42d282f04798df6b4c842bd181e5907c03
Change-Id: I9143a52ab95877f945f3759446ae50392fa5e9cc
2017-09-20 12:33:32 -04:00