Commit graph

241 commits

Author SHA1 Message Date
Stan Hu
b48bd1af38 Merge branch 'add-chrome-94-support' into 'master'
Add support for Chrome 94 in GitLab images

See merge request gitlab-org/gitlab-build-images!504
2022-03-21 15:58:00 +00:00
Vitaly Slobodin
1776923a4d Bump Node.js to 16.14.2
https://nodejs.org/en/blog/vulnerability/mar-2022-security-releases/
2022-03-18 10:07:36 +03:00
Rémy Coutable
11df180825
Add support for Chrome 94 in GitLab images
Signed-off-by: Rémy Coutable <remy@rymai.me>
2022-03-17 17:53:10 +01:00
Rémy Coutable
54900fc18d
Update to Chrome 99
Signed-off-by: Rémy Coutable <remy@rymai.me>
2022-03-16 19:07:39 +01:00
Lukas 'Eipi' Eipert
0089899f11 Merge branch 'sh-update-www-gitlab-com-nodejs' into 'master'
Update nodejs to v16.14.0 for www-gitlab-com image

See merge request gitlab-org/gitlab-build-images!498
2022-03-08 13:54:05 +00:00
Stan Hu
edbe08f360
Update nodejs to v16.14.0
This matches the update in
https://gitlab.com/gitlab-com/www-gitlab-com/-/merge_requests/99215.

This also renames the image from `www-gitlab-com-3.0` to
`www-gitlab-com-ruby-3.0-node-16` to make it possible to roll this
change out properly.
2022-03-07 13:26:17 -08:00
Lukas 'Eipi' Eipert
e951d1ab82 Cache Google Chrome deb with generic packages rather than AWS 2022-02-22 15:49:54 +00:00
Lukas Eipert
ce4f19b5aa Create node v16 versions of our build images 2022-02-21 14:27:04 +01:00
Lukas Eipert
b2e4da6246 Update yarn to 1.22.17 2022-02-21 14:24:21 +01:00
Stan Hu
048371d633
Update to Go v1.17.7
See https://twitter.com/golang/status/1491914601948233731
2022-02-11 08:59:38 -08:00
Stan Hu
1cb45d0cab
Downgrade to Chrome 97
Chrome 98 has a bug with sending control keys that is breaking our
keyboard shortcut tests:
https://bugs.chromium.org/p/chromedriver/issues/detail?id=3999

Prune older Chrome entries as we no longer need them.
2022-02-11 00:45:16 -08:00
Stan Hu
6f10e7fd7c Purge system postgresql-client 2022-02-11 06:34:38 +00:00
Stan Hu
122e14854a
Update to Chrome 98
Chrome 89 does not support Debian bullseye.
2022-02-10 12:29:35 -08:00
Stan Hu
114463a3bc Merge branch 'vs/bump-nodejs-lts-customersdot' into 'master'
Bump Node.js version to LTS for CustomersDot

See merge request gitlab-org/gitlab-build-images!483
2022-02-10 16:23:35 +00:00
Vitaly Slobodin
e18ed3a95d Bump Node.js version to LTS for CustomersDot 2022-02-10 15:03:05 +03:00
Stan Hu
27c59b7e27 Update to Debian bullseye 2022-02-10 07:37:01 +00:00
Stan Hu
b62cf0d32f Ensure jemalloc is always linked with ruby binary 2022-02-07 07:34:08 +00:00
Stan Hu
7883570dc7 Update to Go v1.17.6 2022-01-27 07:33:29 +00:00
Stan Hu
519554013c
Add custom www-gitlab-com image with patched gsutil rsync command
Currently the `gsutil rsync` command does not support the `-z` or `-Z`
options available in `gsutil cp` to compress files locally via gzip
before uploading
(https://github.com/GoogleCloudPlatform/gsutil/issues/579). As
https://cloud.google.com/storage/docs/gsutil/commands/cp states:

When you specify the -z option, the data from your files is
compressed before it is uploaded, but your actual files are left
uncompressed on the local disk. The uploaded objects retain the
Content-Type and name of the original files, but have their
Content-Encoding metadata set to gzip to indicate that the object data
stored are compressed on the Cloud Storage servers and have their
Cache-Control metadata set to no-transform.

about.gitlab.com is currently serving uncompressed HTML files because
`Cache-Control: max-age=0` is set (see
https://gitlab.com/gitlab-com/www-gitlab-com/-/merge_requests/87045),
and Fastly has a custom rule to skip HTML files and therefore won't
cache them.

This patches the `rsync.py` using
https://github.com/GoogleCloudPlatform/gsutil/pull/1430 to support these
command-line options so local gzip compression can be performed.

Relates to
https://gitlab.com/gitlab-com/gl-infra/infrastructure/-/issues/14852
2022-01-05 08:37:26 -08:00
Rémy Coutable
58a310f6ce Merge branch 'jp-locales' into 'master'
Use C.UTF-8

See merge request gitlab-org/gitlab-build-images!451
2021-12-13 10:31:08 +00:00
Jan Provaznik
8bd9fd997e Use C.UTF-8 2021-12-13 10:31:08 +00:00
Stan Hu
7aec1105f8
Upgrade to Go v1.16.12 and v1.17.5
See https://groups.google.com/g/golang-announce/c/0fM21h43arc/m/a2Hu_dWRAAAJ
2021-12-09 10:40:39 -08:00
Lukas Eipert
94ebd90c7f Properly tag images when building them 2021-12-08 12:44:00 +01: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
Stan Hu
d6f81f1f5f
Update to Ruby 2.7.5
See https://www.ruby-lang.org/en/news/2021/11/24/ruby-2-7-5-released/
2021-12-04 00:15:22 -08:00
Matthias Käppler
88d8ef2879 Update Ruby 3 images to 3.0.3 2021-11-25 08:21:32 +00:00
Stan Hu
47e1d7c2ed
Update to Golang v1.16.10 and v1.17.3
Announcement:
https://groups.google.com/g/golang-announce/c/0fM21h43arc/m/a2Hu_dWRAAAJ
2021-11-11 14:15:05 -08:00
Stan Hu
a82fd6a09b
Make PostgreSQL v12 the default
This commit is just needed to trigger a new build with PostgreSQL
v12.9.
2021-11-11 07:50:17 -08:00
Balasankar "Balu" C
308f04bb2a
Use sourceforge mirror for PCRE2 as FTP one has been removed
Signed-off-by: Balasankar "Balu" C <balasankar@gitlab.com>
2021-11-10 11:21:04 +05:30
Stan Hu
181fe68c61
Fix indentation 2021-10-21 15:56:50 -07:00
Heinrich Lee Yu
419c259e70
Add Git 2.33 images
This is the new required minimum version of Gitaly
2021-10-13 09:42:25 +08:00
Stan Hu
fab40fe6b5
Update Golang v1.16.9 and v1.17.2
These are security releases:
https://golang.org/doc/devel/release#go1.17
2021-10-12 16:21:01 -07:00
feistel
90453443ef Add Go 1.17 to the build images 2021-08-19 02:40:18 +00:00
Stan Hu
75872c38aa
Update to Go v1.16.7
This has a number of security and bug fixes:
https://golang.org/doc/devel/release#go1.16
2021-08-18 07:48:11 -07:00
Matthias Kaeppler
19cbe92aa9 Pin ruby-2.7.2 image, add ruby-2.7
The ruby-2.7 tags will always contain the latest
patch released for that minor version.

This allows us to ship patches more easily but
retains backwards compatibility with existing
repos asking for 2.7.2.
2021-08-18 11:46:43 +02:00
Lukas Eipert
5726967649 Remove Pandoc and LaTeX from www-gitlab-com image
With https://gitlab.com/gitlab-com/www-gitlab-com/-/merge_requests/81890
the last usage of pandoc / LaTeX was removed from the www-gitlab-com
repo. This happened more than 2 months ago, so removing it from the
image should be rather safe, especially considering we use merge trains.

It reduces the image size by around 500 MB.
2021-07-12 15:47:59 +02:00
Matthias Kaeppler
4e1d0fb9c6 Update Ruby 3 to 3.0.2 2021-07-08 15:06:12 +02:00
Tiger Watson
a7e1e727ef Add Bazelisk support to Dockerfile.custom 2021-06-29 13:25:07 +00:00
Stan Hu
b8ca8022f0
Upgrade to Golang v1.16.4 2021-06-15 00:16:01 -07:00
Takuya Noguchi
12c52d4a9a Update Node.js from 12.4.0 to 12.22.1 for www-gitlab-com image
Signed-off-by: Takuya Noguchi <takninnovationresearch@gmail.com>
2021-06-07 05:09:19 +00:00
Stan Hu
bb1423cd52
Set frame pointer in cflags instead of optargs
!401 set `optflags`, but this overrode the default `-O3`. Using cflags
appends to the default CFLAGS.
2021-04-28 15:45:03 -07:00
Stan Hu
1eca8ebf25
Enable frame pointer in Ruby compile options
This will make it easier to profile and debug Ruby builds.
This also matches with what we do in production:
https://gitlab.com/gitlab-org/omnibus-gitlab/-/merge_requests/4030
2021-04-28 15:07:17 -07:00
Takuya Noguchi
e29a606bbc Use npm repo instead of apt on Yarn install
Co-authored-by: Lukas 'Eipi' Eipert <leipert@gitlab.com>
Signed-off-by: Takuya Noguchi <takninnovationresearch@gmail.com>
2021-04-27 14:19:31 +00:00
Takuya Noguchi
c84a0a0922 Overhaul image for customers-gitlab-com
Signed-off-by: Takuya Noguchi <takninnovationresearch@gmail.com>
2021-04-21 02:21:24 +00:00
Stan Hu
3391b94d39 Clean up jemalloc source dir 2021-04-20 01:54:15 -07:00
Stan Hu
7cde6cc615
Add autoconf to build 2021-04-20 01:14:21 -07:00
Stan Hu
d8636ff0e8
Build ruby with jemalloc
This should improve memory usage and test Ruby the way we do in
production.
2021-04-20 00:54:06 -07:00
Stan Hu
af5b5a6208
Upgrade to Git v2.31.1 2021-04-16 10:37:08 -07:00
Takuya Noguchi
00d0498d63 Add Go 1.16.2 to the build images
Signed-off-by: Takuya Noguchi <takninnovationresearch@gmail.com>
2021-03-17 07:36:29 +00:00
Albert Salim
7fc0ea96c4 Update Chrome to 89
https://chromereleases.googleblog.com/2021/03/stable-channel-update-for-chrome-os.html
https://chromedriver.chromium.org/downloads
2021-03-16 14:44:15 +00:00