Commit graph

23 commits

Author SHA1 Message Date
Oscar Tovar
de3bd7ec56 Add Go 1.20 support 2023-05-06 01:56:00 +00:00
Toon Claes
df539bba43 gitaly: Remove Ruby from image 2023-04-07 10:56:55 +00:00
Patrick Steinhardt
d5dee4e6e4
gitaly: Build UBI images with Go 1.19
We only build Gitaly's UBI images with Go 1.18, but Gitaly is about to
start supporting Go 1.19. Build images for both versions so that Gitaly
can upgrade their CI jobs to test with both versions.
2023-02-08 13:16:39 -08:00
Andrejs Cunskis
a32a614bff
Drop rust patch version number 2023-02-07 09:32:59 +01:00
Toon Claes
29b7eec6a1 gitaly: Add Ruby 3 to UBI images
Add a UBI image that uses Ruby 3.0.
2023-02-06 08:17:12 +01:00
Rémy Coutable
684f0ce8ef
ci: Only build custom images that need to be rebuilt
Signed-off-by: Rémy Coutable <remy@rymai.me>
2023-01-25 19:05:07 +01:00
Hannes Moser
2001e1f9f1
Add Rust lang 2022-11-30 10:22:35 +01:00
Stan Hu
daa5d8c725 Update to Go v1.18.6 and v1.19.1 2022-09-26 17:09:19 +00:00
Balasankar "Balu" C
eb9aa3a239
Bump Golang version in Gitaly UBI image
Signed-off-by: Balasankar "Balu" C <balasankar@gitlab.com>
2022-07-06 22:49:13 +05:30
Balasankar "Balu" C
67adad0f40
Add UBI variants of Gitaly images
Signed-off-by: Balasankar "Balu" C <balasankar@gitlab.com>
2022-07-06 13:17:18 +05:30
Patrick Steinhardt
54aeca3308 gitaly: Update Git version to v2.36.0
Update the Git version to v2.36.0. While Gitaly doesn't rely on the Git
version at all anymore, it feels like the right thing to do to update it
to something more current than v2.33.0.
2022-07-06 07:47:43 +02:00
Patrick Steinhardt
2e13e8067c gitaly: Remove Postgres client from Gitaly images
We're currently building Gitaly images with three different Postgres
versions. Ultimately though, Gitaly doesn't need Postgres installed in
its images at all: the Postgres server is tied in as a service, and the
only CI job that uses the the Postgres client is using a different image
anyway. One part that had been using the Postgres client in the past was
the logic to wait for Postgres to come up. But this has been migrated to
instead rely on the health-checking logic provided by CI services in
f89ffa3dc (ci: Stop waiting for Postgres manually, 2022-06-14)

Stop installing Postgres in Gitaly images to reduce the number of images
built.
2022-07-06 07:44:37 +02:00
Patrick Steinhardt
d87b0be061 gitaly: Stop installing PgBouncer
Gitaly is using PgBouncer in its CI pipelines to verify that Praefect
works alright with this proxy for Postgres. While it was initially using
the PgBouncer binary directly, the project has since migrate to set up
PgBouncer as a service via a separate image in 0e5953177 (ci: Tie in
PgBouncer as a service, 2021-12-03). Since then the PgBouncer executable
is not needed anymore in the image used by Gitaly.

Stop installing PgBouncer and remove the architecture we have to build
and install it.
2022-07-06 07:42:08 +02:00
Patrick Steinhardt
daf72c752a gitaly: Bump Go version to v1.17 and v1.18
Gitaly is in the process of migrating to Go v1.18 and has recently
dropped support for v1.17. Adjust the Go versions of the Gitaly images
accordingly.
2022-07-05 09:36:05 +02:00
Balasankar "Balu" C
0dea43ac3b
Support using OS other than Debian as base for custom images
Signed-off-by: Balasankar "Balu" C <balasankar@gitlab.com>
2022-07-04 16:30:29 +05:30
Andrejs Cunskis
6bfe260f3b Experiment: automatically push built images 2022-05-11 12:56:08 +00:00
Takuya Noguchi
f72ffcb906 Add PostgreSQL 13 support to Gitaly CI matrix
Signed-off-by: Takuya Noguchi <takninnovationresearch@gmail.com>
2022-04-27 03:24:01 +00:00
Rémy Coutable
3fc2d174e7
Build GitLab image with buster as well
Signed-off-by: Rémy Coutable <remy@rymai.me>
2022-03-22 16:10:38 +01:00
Rémy Coutable
73ac2428a2
Introduce dedicated deploy stages for gitlab, gitlab-assets, and gitaly images
Signed-off-by: Rémy Coutable <remy@rymai.me>
2022-03-22 11:23:30 +01:00
Stan Hu
9bdd8b4e85
Drop Gitaly support for Git v2.31
Gitaly now bundles its own version of Git, so this version is really
meant for CI testing. We don't need to support older versions.
2022-02-10 21:12:49 -08:00
Stan Hu
5b160738a9
Use explicit PostgreSQL version for Gitaly images
Currently the Gitaly images install the PostgreSQL version available
to the Debian repository. The support scripts in Praefect currently
depend on specific versions of `psql`, so let's be explicit about the
versions used in the image and install PostgreSQL from the PGDG
repository.
2022-02-10 09:14:02 -08:00
Stan Hu
27c59b7e27 Update to Debian bullseye 2022-02-10 07:37:01 +00:00
Lukas Eipert
a9cf88c469 Welcome to the matrix
This refactors our custom image building to utilize GitLab parallel jobs
with a matrix.

This makes it easier to parse what kind of matrix we are going to build
in our docker images. Furthermore instead of splitting the image name,
we can simply pull the versions of the tools from the environment
variables.

The ultimative reason: Dogfooding
2021-12-07 12:10:42 +01:00