Commit Graph

12 Commits

Author SHA1 Message Date
Clark Boylan 738a671459 Update Gerrit bot to python3.11 on bookworm
This drops python3.8 and python3.10 testing focusing only on python3.11.
At the same time we bump the container image to python3.11 and bookworm.

The eventual goal here is to have opendev services on bookworm and
python3.11 so that we can drop docker image builds for bullseye and
older python versions.

Change-Id: I37b2ed3fafb3599db95730f3a9bbb90da95ff0e4
2023-09-19 10:58:24 -07:00
Clark Boylan d4758daf51 Revert "Move gerritbot to quay.io"
This reverts commit f5878e3023.

OpenDev is moving back to docker.io to preserve speculative image
testing.

Change-Id: I349c0016bd57fd03d472703749b2f5bb467acab3
2023-05-24 13:36:23 -07:00
Clark Boylan f5878e3023 Move gerritbot to quay.io
This moves shifts the publication of our gerritbot images from docker
hub to quay.io. It also updates the source of the python base images to
quay.io as they will be moved by the time our depends-on merges.

Depends-On: https://review.opendev.org/c/opendev/system-config/+/881932
Change-Id: I1289923c5e91d9058d28e72ddca56f23490c07d3
2023-05-05 16:23:43 -07:00
Clark Boylan 00ec88ed8e Fix gerritbot CI
This is fallout from the v4 and default nodeset updates.

Change-Id: I11b1c979767aeda64c9436e407b4627cc0d0b16f
2023-05-05 15:33:35 -07:00
Clark Boylan ec934f441c Switch the docker image over to python 3.10
Python 3.10 has been quite a bit quicker than 3.8 with Zuul. With the
3.11 release coming up soon updating to 3.10 will allow us to drop the
3.8 docker images and take advantage of faster python.

We add python 3.10 unittesting to ensure we don't regress when making
changes.

Change-Id: I439027f6e2c6f2d01b4629351a4c72cc1892579a
2022-10-14 15:31:58 -07:00
Clark Boylan 4492ccf01c Update docker image to bullseye
This updates us to bullseye on our docker image.

Change-Id: Id7d4bcee76de84c55f15d2f9ee6970bc5f29bd0a
2021-11-18 15:23:04 -08:00
Clark Boylan 5f67ba2410 Update to python3.8
Our base CI image doesn't have python3.7 anymore so bump this up to
running on 3.8.

Change-Id: Ifa13fe62247bedd77771628aace15ad47e86e07c
2021-05-28 13:22:32 -07:00
Ian Wienand cfcc7d53b3 Build against gerritlib master branch
This adds gerritlib as a required project and installs it as a sibling
into the image.  This effectively means the images promoted are
gerritbot from master with gerritlib also from master.

Change-Id: I7e4040c82b1617b56af3e62de9e5637096892a40
2020-11-25 09:42:02 +11:00
Clark Boylan a934f90f74 Update docker image jobs to advertise the image they build
This should allow depends-on to work properly through the intermediate
registry.

Change-Id: I90275a671bd707ce494a6dd4310dc779869b4bc9
2020-08-06 15:28:13 -07:00
Monty Taylor 83f3097608 Build docker images
So that we can deploy gerritbot in the new world of ansible+docker,
we need container images. Build and publish some.

Change-Id: I3b8a9f7d28af0f9098cfb73051976d7666a46a3c
2020-03-28 12:09:15 -05:00
Monty Taylor 29ff7b3bec Update for python3
We're gonna build an image in the next patch, so let's fix things
up to be python3 ready.

Change-Id: Ia0e1ecf75e6593a7e7be9dc962a1e2f3dc23fe27
2020-03-28 11:46:39 -05:00
John L. Villalovos 4658934d22 Add unit test framework and one unit test
Add an initial unit test framework and one unit test. This way we can
ask people to add unit tests when they contribute code.

Change-Id: If52976e1992945a8e38af3cbad5b5f4389922d4c
2018-02-05 12:59:39 -08:00