Commit graph

1340 commits

Author SHA1 Message Date
Stan Hu
1f51a02893 Merge branch 'andrey-bump-docker-version' into 'master'
Update docker version in CI to 23.0.1

See merge request https://gitlab.com/gitlab-org/gitlab-build-images/-/merge_requests/648

Merged-by: Stan Hu <stanhu@gmail.com>
Approved-by: Stan Hu <stanhu@gmail.com>
Co-authored-by: Andrejs Cunskis <acunskis@gitlab.com>
2023-03-02 15:09:14 +00:00
Rémy Coutable
ebf8e329f2 Merge branch 'andrey-add-latest-chrome' into 'master'
Add chrome 110 and update e2e images

See merge request https://gitlab.com/gitlab-org/gitlab-build-images/-/merge_requests/649

Merged-by: Rémy Coutable <remy@rymai.me>
Approved-by: Rémy Coutable <remy@rymai.me>
Reviewed-by: Rémy Coutable <remy@rymai.me>
Co-authored-by: Andrejs Cunskis <acunskis@gitlab.com>
2023-03-02 12:59:38 +00:00
Andrejs Cunskis
2fc03ac832
Add chrome 110 and update e2e images 2023-03-02 10:53:49 +01:00
Andrejs Cunskis
d85bdc454a
Update docker version in CI to 23.0.1 2023-03-02 10:29:15 +01:00
Stan Hu
66ca240929 Merge branch 'andrey-bump-docker-buildx' into 'master'
Update docker engine and remove manual buildx installation

See merge request https://gitlab.com/gitlab-org/gitlab-build-images/-/merge_requests/642

Merged-by: Stan Hu <stanhu@gmail.com>
Approved-by: Lin Jen-Shin <jen-shin@gitlab.com>
Reviewed-by: Lin Jen-Shin <jen-shin@gitlab.com>
Co-authored-by: Andrejs Cunskis <acunskis@gitlab.com>
2023-02-28 07:39:52 +00:00
Andrejs Cunskis
cf020e0aa6
Add back apt/lists rm 2023-02-22 07:27:46 +09:00
Andrejs Cunskis
6994bdfc9c
Remove specific buildx versions 2023-02-14 06:08:39 +09:00
Andrejs Cunskis
41165c16ff
Install docker and buildx using official instructions 2023-02-14 06:08:37 +09:00
Andrejs Cunskis
65485241a6
Bump to latest patch version 2023-02-14 05:55:00 +09:00
Andrejs Cunskis
96f2c92812
Fix version regex 2023-02-14 05:27:40 +09:00
Balasankar 'Balu' C
adf22e713a Merge branch 'golangci-lint-tag-upstream-version' into 'master'
Add golangci-lint version to image tag

See merge request https://gitlab.com/gitlab-org/gitlab-build-images/-/merge_requests/643

Merged-by: Balasankar 'Balu' C <balasankar@gitlab.com>
Approved-by: Balasankar 'Balu' C <balasankar@gitlab.com>
Co-authored-by: Clemens Beck <cbeck@gitlab.com>
2023-02-10 05:26:03 +00:00
Clemens Beck
9dc2b4f3d8
Add golangci-lint version to image tag 2023-02-09 13:44:11 +01:00
Stan Hu
0e6f67364c Merge branch 'pks-gitaly-ubi-golang-1.19' into 'master'
gitaly: Build UBI images with Go 1.19

See merge request https://gitlab.com/gitlab-org/gitlab-build-images/-/merge_requests/606

Merged-by: Stan Hu <stanhu@gmail.com>
Approved-by: Stan Hu <stanhu@gmail.com>
Reviewed-by: Patrick Steinhardt <psteinhardt@gitlab.com>
Co-authored-by: DJ Mountney <dj@gitlab.com>
Co-authored-by: Patrick Steinhardt <psteinhardt@gitlab.com>
2023-02-08 22:04:48 +00:00
DJ Mountney
bbca5a7fb9
Updated golang 1.19 build steps for ubi fips golang builds 2023-02-08 13:16:42 -08: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
0bb119ff84
Update docker and buildx versions 2023-02-08 19:13:35 +01:00
Rémy Coutable
61c56290ab Merge branch 'andrey-add-chrome-109-gitlab' into 'master'
Add chrome 109 to rest of the images

See merge request https://gitlab.com/gitlab-org/gitlab-build-images/-/merge_requests/641

Merged-by: Rémy Coutable <remy@rymai.me>
Approved-by: Rémy Coutable <remy@rymai.me>
Reviewed-by: Rémy Coutable <remy@rymai.me>
Co-authored-by: Andrejs Cunskis <acunskis@gitlab.com>
2023-02-08 14:20:30 +00:00
Andrejs Cunskis
0fd4444217
Add chrome 109 to gitlab images 2023-02-07 21:01:03 +01:00
Stan Hu
9cfb653c95 Merge branch 'andrey-drop-patch-versions' into 'master'
Drop patch version for rust

See merge request https://gitlab.com/gitlab-org/gitlab-build-images/-/merge_requests/623

Merged-by: Stan Hu <stanhu@gmail.com>
Approved-by: Stan Hu <stanhu@gmail.com>
Co-authored-by: Andrejs Cunskis <acunskis@gitlab.com>
2023-02-07 16:25:48 +00:00
Andrejs Cunskis
e0254af631 Merge branch 'andrey-add-chrome-109' into 'master'
Add chrome 109 to build matrix

See merge request https://gitlab.com/gitlab-org/gitlab-build-images/-/merge_requests/639

Merged-by: Andrejs Cunskis <acunskis@gitlab.com>
Approved-by: Rémy Coutable <remy@rymai.me>
Reviewed-by: Rémy Coutable <remy@rymai.me>
2023-02-07 14:38:10 +00:00
Andrejs Cunskis
3c5a28c0de Add chrome 109 to build matrix 2023-02-07 14:38:10 +00:00
Andrejs Cunskis
a32a614bff
Drop rust patch version number 2023-02-07 09:32:59 +01:00
Andrejs Cunskis
2cc3d8c64b Merge branch 'toon-gitaly-ruby3' into 'master'
gitaly: Add Ruby 3 to UBI images

See merge request https://gitlab.com/gitlab-org/gitlab-build-images/-/merge_requests/638

Merged-by: Andrejs Cunskis <acunskis@gitlab.com>
Approved-by: Andrejs Cunskis <acunskis@gitlab.com>
Co-authored-by: Toon Claes <toon@gitlab.com>
2023-02-06 07:44:20 +00: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
Stan Hu
fdac08bb94 Merge branch 'switch-zoekt-to-main-repo' into 'master'
Change zoekt-ci-image to main repo using SHA

See merge request https://gitlab.com/gitlab-org/gitlab-build-images/-/merge_requests/637

Merged-by: Stan Hu <stanhu@gmail.com>
Approved-by: Stan Hu <stanhu@gmail.com>
Co-authored-by: Dylan Griffith <dyl.griffith@gmail.com>
2023-02-06 06:24:47 +00:00
Dylan Griffith
2bc5e07db6 Make zoekt-ci-image smaller
This reduces the image size from around 2.2GB down to 100MB. This is to,
hopefully, reduce issues we're seeing where our pipelines are running
out of disk space.
2023-02-06 17:21:08 +11:00
Dylan Griffith
6e7039e976 Change zoekt-ci-image to main repo using SHA
We choose a SHA here as this repo does not contain any useable tags and
it does not seem that they keep tagged versions. Tracking master would
probably be too risky as backwards incompatible changes could come up
and break our CI environment which would be quite time consuming to
debug.
2023-02-06 13:11:04 +11:00
Rémy Coutable
338a0a7924 Merge branch 'make-zoekt-ci-image-versioned' into 'master'
Change zoekt-ci-image to be versioned zoekt-ci-image-1.0

See merge request https://gitlab.com/gitlab-org/gitlab-build-images/-/merge_requests/635

Merged-by: Rémy Coutable <remy@rymai.me>
Approved-by: Rémy Coutable <remy@rymai.me>
Co-authored-by: Dylan Griffith <dyl.griffith@gmail.com>
2023-01-31 10:52:27 +00:00
Balasankar 'Balu' C
de379a6665 Merge branch 'clemensbeck-ginkgo-v1-and-v2-side-by-side' into 'master'
Add ginkgo v2 to operator build base

See merge request https://gitlab.com/gitlab-org/gitlab-build-images/-/merge_requests/634

Merged-by: Balasankar 'Balu' C <balasankar@gitlab.com>
Approved-by: Balasankar 'Balu' C <balasankar@gitlab.com>
Co-authored-by: Clemens Beck <cbeck@gitlab.com>
2023-01-31 06:59:38 +00:00
Clemens Beck
66d21d7022 Add ginkgo v2 to operator build base 2023-01-31 06:59:38 +00:00
Dylan Griffith
e718f9a294 Change zoekt-ci-image to be versioned zoekt-ci-image-1.0
Per
https://gitlab.com/gitlab-org/gitlab/-/merge_requests/108937#note_1257390002

This renames `zoekt-ci-image` so that we can have a versioned
`zoekt-ci-image-1.0`. This will allow us to make changes and bump the
version if we end up with breaking changes.

This still targets a fork of Zoekt because we're waiting on
[1 more PR](https://github.com/sourcegraph/zoekt/pull/496)
to be merged before we can target the main repository. At this point
we'll change the cloning command and check out a stable SHA or tag from
the main repo rather than tracking a branch like this is doing now.
2023-01-31 12:02:15 +11:00
Stan Hu
3368a86d26 Merge branch '36-build-only-the-images-whose-dockerfiles-are-changed' into 'master'
ci: Only build custom images that need to be rebuilt

Closes #36

See merge request https://gitlab.com/gitlab-org/gitlab-build-images/-/merge_requests/633

Merged-by: Stan Hu <stanhu@gmail.com>
Approved-by: Stan Hu <stanhu@gmail.com>
Reviewed-by: Rémy Coutable <remy@rymai.me>
Co-authored-by: Rémy Coutable <remy@rymai.me>
2023-01-25 20:44:07 +00: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
Rémy Coutable
ccd8e00291 Merge branch 'fix-zoekt-ci-image-dynamic-indexserver' into 'master'
Fix zoekt-dynamic-indexserver zoekt-ci-image

See merge request https://gitlab.com/gitlab-org/gitlab-build-images/-/merge_requests/632

Merged-by: Rémy Coutable <remy@rymai.me>
Approved-by: Rémy Coutable <remy@rymai.me>
Reviewed-by: Rémy Coutable <remy@rymai.me>
Co-authored-by: Dylan Griffith <dyl.griffith@gmail.com>
2023-01-25 08:36:27 +00:00
Dylan Griffith
48f74b0097 Fix zoekt-dynamic-indexserver zoekt-ci-image
This command was recently changed and the dynamic_server argument
was removed so it wasn't starting up.
2023-01-24 22:49:47 +00:00
Rémy Coutable
7872ef28c3 Merge branch 'add-zoekt-ci-image' into 'master'
Add zoekt-ci-image

See merge request https://gitlab.com/gitlab-org/gitlab-build-images/-/merge_requests/624

Merged-by: Rémy Coutable <remy@rymai.me>
Approved-by: Rémy Coutable <remy@rymai.me>
Reviewed-by: Rémy Coutable <remy@rymai.me>
Co-authored-by: Dylan Griffith <dyl.griffith@gmail.com>
2023-01-24 16:06:43 +00:00
Dylan Griffith
896be72570 Add zoekt-ci-image 2023-01-24 12:31:04 +11:00
Stan Hu
8de66cf7c8 Merge branch 'sh-upgrade-gitlab-operator-base' into 'master'
Upgrade gitlab-operator-build-base image to Go 1.18.10

See merge request https://gitlab.com/gitlab-org/gitlab-build-images/-/merge_requests/627

Merged-by: Stan Hu <stanhu@gmail.com>
Approved-by: Mitchell Nielsen <mnielsen@gitlab.com>
Reviewed-by: Mitchell Nielsen <mnielsen@gitlab.com>
2023-01-24 01:24:08 +00:00
Stan Hu
a34c61451f
Update gitlab-operator URL
It has moved to
https://gitlab.com/gitlab-org/cloud-native/gitlab-operator.
2023-01-23 14:21:01 -08:00
Stan Hu
7dd4c8b771 Merge branch 'sh-add-ruby-3.2' into 'master'
Add Ruby 3.2.0 images and fix Rust installation

See merge request https://gitlab.com/gitlab-org/gitlab-build-images/-/merge_requests/625

Merged-by: Stan Hu <stanhu@gmail.com>
Approved-by: Balasankar 'Balu' C <balasankar@gitlab.com>
2023-01-23 21:38:06 +00:00
Stan Hu
28441fce57
Rename operator-base image to include Golang version
This will prevent unexpected errors when trying to update
Go versions.
2023-01-23 13:11:14 -08:00
Stan Hu
358b1623a0
Fix installation and upgrade kustomize version to 4.5.7 for gitlab-operator-base
These changes were necessary for Go 1.18 to build.
2023-01-19 10:24:58 -08:00
Stan Hu
014281768f Merge branch 'sh-pin-gcloud-version-wwww-gitlab-com' into 'master'
Pin gsutil version in www-gitlab-com image

See merge request https://gitlab.com/gitlab-org/gitlab-build-images/-/merge_requests/630

Merged-by: Stan Hu <stanhu@gmail.com>
Approved-by: Michael Friedrich <mfriedrich@gitlab.com>
2023-01-19 17:36:31 +00:00
Stan Hu
b98a693a2c
Revert "Fix www-gitlab-com image with rsync patch"
This reverts commit dc4fb0a36a.
2023-01-19 09:32:40 -08:00
Stan Hu
e57a2714eb
Pin gsutil version in www-gitlab-com image
This version pin the Cloud SDK to use gsutil 5.17, which introduced a
bug in requiring that the `storage.buckets.get` permission be
available: https://github.com/GoogleCloudPlatform/gsutil/issues/1663

Pinning this version will avoid unexpected problems such as
https://gitlab.com/gitlab-com/gl-infra/production/-/issues/8262 in the
future.
2023-01-19 09:32:22 -08:00
Rémy Coutable
3d191921a1 Merge branch 'sh-fix-rsync-path' into 'master'
Fix www-gitlab-com image with rsync patch

See merge request https://gitlab.com/gitlab-org/gitlab-build-images/-/merge_requests/626

Merged-by: Rémy Coutable <remy@rymai.me>
Approved-by: Rémy Coutable <remy@rymai.me>
Co-authored-by: Stan Hu <stanhu@gmail.com>
2023-01-19 10:29:37 +00:00
Stan Hu
acae923462
Upgrade gitlab-operator-build-base image to Go 1.18.10
This image was failing to build on master since a number of
dependencies now require Go 1.17+.

Relates to https://gitlab.com/gitlab-org/gitlab-build-images/-/issues/114
2023-01-18 22:36:48 -08:00
Stan Hu
dc4fb0a36a
Fix www-gitlab-com image with rsync patch
gsutil updated the rsync class in
https://github.com/GoogleCloudPlatform/gsutil/pull/1642. This patch
ports https://github.com/GoogleCloudPlatform/gsutil/pull/1430 to the
latest version. We should eventually remove this patch and solve the
issue via
https://gitlab.com/gitlab-com/marketing/digital-experience/buyer-experience/-/issues/291.
2023-01-18 21:58:53 -08:00
Stan Hu
9e04d5d21a
Fix Rust installation
There were a number of issues:

1. `rustc` wasn't actually installed since the `INSTALL_RUST_VERSION`
argument wasn't set.

2. `rustup` wasn't running properly since the `CARGO_HOME` and
`RUSTUP_HOME`weren't being exported and set by default. We now use the
technique described in https://github.com/rust-lang/rustup/issues/1085
to create a wrapper and link all the binaries in /opt/rust/bin and
link them to /usr/local/bin.

3. `rustc version` is not a valid command. `rustc --version` is valid.
2023-01-18 17:33:45 -08:00
Stan Hu
a5ac3f8e7f
Install Rust before Ruby
Ruby needs to have rustc available for YJIT to be used.
2023-01-18 17:27:36 -08:00