Commit graph

1657 commits

Author SHA1 Message Date
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
Rémy Coutable
df067b4bae Merge branch 'nh-add-action-item-to-add-patch-if-required-to-mr-template' into 'master'
Include checklist to add patches if it's required

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

Merged-by: Rémy Coutable <remy@rymai.me>
Approved-by: Rémy Coutable <remy@rymai.me>
Co-authored-by: Nao Hashizume <nhashizume@gitlab.com>
2022-11-30 10:40:14 +00:00
Hannes Moser
2001e1f9f1
Add Rust lang 2022-11-30 10:22:35 +01:00
Stan Hu
207a35971c Merge branch 'sh-cleanup-ruby-patches' into 'master'
Consolidate Ruby patches using major and minor versions

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

Merged-by: Stan Hu <stanhu@gmail.com>
Approved-by: Balasankar 'Balu' C <balasankar@gitlab.com>
2022-11-30 05:29:08 +00:00
Stan Hu
88901ea9ff
Consolidated Ruby patches using major and minor versions
Previously we had to remember to apply specific patches for each
version of Ruby, and it was easy to forget. Let's just simplify this
by applying patches for the major and minor versions (e.g. 2.7, 3.0,
etc.).
2022-11-29 14:49:23 -08:00
Stan Hu
f0b78cb928 Merge branch 'apply-2.7.7-patches' into 'master'
Apply 2.7.7 patches

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

Merged-by: Stan Hu <stanhu@gmail.com>
Approved-by: Stan Hu <stanhu@gmail.com>
Co-authored-by: Thong Kuah <tkuah@gitlab.com>
2022-11-29 22:42:41 +00:00
Nao Hashizume
ebd114125c Include checklist to add patches if it's required 2022-11-29 14:40:51 -08:00
Thong Kuah
6aa8b6f048 Apply 2.7.7 patches 2022-11-30 09:43:43 +13:00
Balasankar 'Balu' C
c302987b3c Merge branch 'mk-ruby-3.0.5' into 'master'
Update Ruby 2.7 and 3.x images

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

Merged-by: Balasankar 'Balu' C <balasankar@gitlab.com>
Approved-by: Stan Hu <stanhu@gmail.com>
Approved-by: Balasankar 'Balu' C <balasankar@gitlab.com>
Co-authored-by: Matthias Kaeppler <mkaeppler@gitlab.com>
2022-11-29 14:49:45 +00:00
Matthias Käppler
869acf7edd Update Ruby 2.7 and 3.x images 2022-11-29 14:49:45 +00:00
Balasankar 'Balu' C
13a904ffbf Merge branch 'udayan1997-master-patch-26713' into 'master'
Update Dockerfile.golangci-lint-alpine

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

Merged-by: Balasankar 'Balu' C <balasankar@gitlab.com>
Approved-by: Balasankar 'Balu' C <balasankar@gitlab.com>
Co-authored-by: Udayan Joshi <udayan@theom.ai>
2022-11-29 14:22:12 +00:00
Udayan Joshi
7ddbbbd79a Update Dockerfile.golangci-lint-alpine 2022-11-28 23:50:42 +00:00
Balasankar 'Balu' C
1617cbdba8 Merge branch 'add-skopeo-to-kaniko-image' into 'master'
Add skopeo to the kaniko image

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

Merged-by: Balasankar 'Balu' C <balasankar@gitlab.com>
Approved-by: Balasankar 'Balu' C <balasankar@gitlab.com>
Co-authored-by: Rémy Coutable <remy@rymai.me>
2022-11-22 20:04:40 +00:00
Rémy Coutable
f920c29160
Add skopeo to the kaniko image
Signed-off-by: Rémy Coutable <remy@rymai.me>
2022-11-22 17:03:00 +00:00
Balasankar 'Balu' C
7f14c66845 Merge branch 'bump-buildx-docker' into 'master'
Update docker and buildx versions

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

Merged-by: Balasankar 'Balu' C <balasankar@gitlab.com>
Approved-by: Balasankar 'Balu' C <balasankar@gitlab.com>
Co-authored-by: Andrejs Cunskis <acunskis@gitlab.com>
2022-11-10 10:34:58 +00:00
Rémy Coutable
4af3119f5c Merge branch 'andrey-add-interruptible' into 'master'
Add redundant pipeline cancelation

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

Merged-by: Rémy Coutable <remy@rymai.me>
Approved-by: Rémy Coutable <remy@rymai.me>
Co-authored-by: Andrejs Cunskis <acunskis@gitlab.com>
2022-11-10 10:11:10 +00:00
Andrejs Cunskis
2edc87da36 Add redundant pipeline cancelation 2022-11-10 10:11:10 +00:00