Commit graph

258 commits

Author SHA1 Message Date
Andrejs Cunskis
8b1b51a97c
Correctly set tag for images without minor tools 2022-05-03 14:15:31 +03:00
Andrejs Cunskis
8fff315864
Move custom images to separate major component directories 2022-05-03 13:52:10 +03:00
Kamil Trzciński
384f6231b4 Update scripts to compile arm64 based images
This changes all binaries to be platform dependent
instead of being amd64 hardcoded.
2022-05-02 17:20:44 +02:00
Kamil Trzciński
ee1bb21ec9 Allow to prefix deployed images into nested
This allows to escape the tag length limit of 128
and better organise images from different architectures
2022-05-02 15:26:47 +02:00
Rémy Coutable
779a199009 Merge branch 'buildkit-inline-cache' into 'master'
Use buildkit and inline cache to speed up builds

See merge request gitlab-org/gitlab-build-images!526
2022-05-02 12:49:43 +00:00
Andrejs Cunskis
9822179497
Set debian and add missing docker for custom build 2022-05-01 22:29:14 +03:00
Andrejs Cunskis
1f15ec8684
Add option to pass custom bundler version 2022-05-01 19:31:13 +03:00
Andrejs Cunskis
e5885af2fb
Use buildkit and inline cache to speed up builds 2022-04-29 16:19:34 +03:00
Andrejs Cunskis
423759a39f
Add explicit kubectl sha256 check 2022-04-29 16:08:04 +03:00
Andrejs Cunskis
0b459c20fe
Remove unnecessary curl installation in kubectl 2022-04-28 21:34:54 +03:00
Andrejs Cunskis
06a761ebf6
Update Dockerfile.custom 2022-04-28 19:38:02 +03:00
Andrejs Cunskis
9906770111
Fix copy paste mistakes in variables 2022-04-28 18:56:57 +03:00
Andrejs Cunskis
7a97735026
Integrate gcloud and kubectl in custom build 2022-04-28 18:32:48 +03:00
Andrejs Cunskis
5cd81e9b3c
Add kubectl install script 2022-04-28 18:23:42 +03:00
Andrejs Cunskis
a0317aa98d
Add gcloud installation script 2022-04-28 18:07:39 +03:00
feistel
17f6443c23 Update Go to 1.17.9 2022-04-13 23:20:50 +02:00
Matthias Käppler
86fa76e02a Update Go to 1.17.8 2022-04-07 10:52:47 +00:00
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