Commit graph

1623 commits

Author SHA1 Message Date
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
Clemens Beck
21989210b0
Remove ginkgo v1 from operator build base 2023-02-07 14:56:34 +01: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
Stan Hu
bc3223ac21
Add Ruby 3.2.0 images
This will be used to see how much effort it would be to
jump to Ruby 3.2.0 and to see what performance improvements
we might see with YJIT.
2023-01-18 14:01:53 -08:00
DJ Mountney
5cc90b8ba2 Merge branch 'remove-omnibus-images' into 'master'
Remove obsolete omnibus-gitlab OS images

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

Merged-by: DJ Mountney <dj@gitlab.com>
Approved-by: DJ Mountney <dj@gitlab.com>
Co-authored-by: Balasankar "Balu" C <balasankar@gitlab.com>
2023-01-09 22:15:13 +00:00
Balasankar 'Balu' C
ff484a3c91 Merge branch 'bump-chrome-version' into 'master'
Update chrome version to 108

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

Merged-by: Balasankar 'Balu' C <balasankar@gitlab.com>
Approved-by: Balasankar 'Balu' C <balasankar@gitlab.com>
Co-authored-by: Andrejs Cunskis <acunskis@gitlab.com>
2023-01-09 04:51:13 +00:00
Andrejs Cunskis
8650f9a4e4
Update chrome version to 108 2023-01-06 11:01:12 +02:00
Balasankar "Balu" C
dfc99b524f
Remove unused depscan and cve-search image
Signed-off-by: Balasankar "Balu" C <balasankar@gitlab.com>
2023-01-03 22:16:59 +05:30
Balasankar "Balu" C
51b609d407
Remove obsolete omnibus-gitlab OS images
Signed-off-by: Balasankar "Balu" C <balasankar@gitlab.com>
2023-01-03 22:16:57 +05:30
DJ Mountney
b2450136ba Merge branch 'add-amazon2022-image' into 'master'
Add amazon linux 2022 image

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

Merged-by: DJ Mountney <dj@gitlab.com>
Approved-by: Andrew Patterson <apatterson@gitlab.com>
Approved-by: DJ Mountney <dj@gitlab.com>
Reviewed-by: Balasankar 'Balu' C <balasankar@gitlab.com>
Reviewed-by: DJ Mountney <dj@gitlab.com>
Co-authored-by: Dmitry Makovey <dmakovey@gitlab.com>
2022-12-28 02:36:20 +00:00
Dmytro Makovey
2a7301a460 Add amazon linux 2022 image 2022-12-28 02:36:19 +00:00
Rémy Coutable
503a5bb421 Merge branch 'leipert-add-node-18-to-matrix' into 'master'
Add node@18 to the build matrix for the GitLab image

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

Merged-by: Rémy Coutable <remy@rymai.me>
Approved-by: Rémy Coutable <remy@rymai.me>
Co-authored-by: Lukas Eipert <leipert@gitlab.com>
2022-12-13 13:11:09 +00:00
Lukas Eipert
94efe6c2c4 Update yarn to latest patch
There has been no game-changer, but while we are at it, we can just
update it.
2022-12-13 11:03:19 +01:00
Lukas Eipert
8af15e7962 Add node@18 to the build matrix for the GitLab image
See: https://gitlab.com/gitlab-org/gitlab/-/issues/385512
2022-12-13 11:00:22 +01:00
Rémy Coutable
40de346eb3 Merge branch 'leipert-chrome-install-noto' into 'master'
feat: Proper Emoji support in Chrome images

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

Merged-by: Rémy Coutable <remy@rymai.me>
Approved-by: Rémy Coutable <remy@rymai.me>
Co-authored-by: Lukas Eipert <leipert@gitlab.com>
2022-12-07 13:39:30 +00:00
Lukas Eipert
51cdfcf732 feat: Proper Emoji support in Chrome images
We often have flaky tests around emoji rendering. Maybe we can improve
the test quality by adding a proper emoji font.

The existing install-noto-image script wasn't utilized and could be
simplified anyhow. Furthermore I think it is fine to install the font
when Chrome is installed, given that we use the Chrome images for
integration tests with the browser.
2022-12-07 11:46:06 +01:00
Lukas Eipert
cc548a28af chore: Update apt commands in chrome install script
Replace `apt install` with `apt-get install` because the former should
not be used for scripting purposes.

Otherwise I wasn't able to get it running locally as well.
2022-12-07 11:46:06 +01:00
Stan Hu
632bca6084 Merge branch 'mk-verify-mandatory-ruby-patches' into 'master'
Verify mandatory Ruby patches exist

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

Merged-by: Stan Hu <stanhu@gmail.com>
Approved-by: Stan Hu <stanhu@gmail.com>
Co-authored-by: Matthias Kaeppler <mkaeppler@gitlab.com>
2022-11-30 16:44:38 +00:00
Matthias Käppler
b9bddb9b12 Verify mandatory Ruby patches exist 2022-11-30 16:44:38 +00:00
Rémy Coutable
11c39ae1c9 Merge branch 'add-rust' into 'master'
Add Rust lang

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

Merged-by: Rémy Coutable <remy@rymai.me>
Approved-by: Rémy Coutable <remy@rymai.me>
Co-authored-by: Hannes Moser <box@hannesmoser.at>
2022-11-30 15:01:14 +00:00