Commit graph

999 commits

Author SHA1 Message Date
Stan Hu
5aa555e5bf
Ensure jemalloc is always linked with ruby binary
Debian bullseye changed the linker defaults to use `--as-needed`, which
breaks when `--enable-shared` and `--with-jemalloc` are used.

In preparation for updating to bullseye, define `LDFLAGS` with
`--no-as-needed` so that jemalloc will be properly used.

This mirrors the CNG change in
https://gitlab.com/gitlab-org/build/CNG/-/merge_requests/884.

Relates to https://bugs.ruby-lang.org/issues/18409
2022-02-03 17:32:20 -08:00
Rémy Coutable
908944a211 Merge branch 'add-triage-ops-image' into 'master'
Add triage-ops image

See merge request gitlab-org/gitlab-build-images!480
2022-02-03 14:49:13 +00:00
Rémy Coutable
422013d00b
Add triage-ops image
Signed-off-by: Rémy Coutable <remy@rymai.me>
2022-02-03 15:34:29 +01:00
Balasankar 'Balu' C
09e50210c3 Merge branch 'vs/update-nodejs-customersdot' into 'master'
Bump Node.js to 14 for CustomersDot images

See merge request gitlab-org/gitlab-build-images!479
2022-01-31 09:01:07 +00:00
Vitaly Slobodin
620b53a7a6 Bump Node.js to 14 for CustomersDot images 2022-01-31 09:01:06 +00:00
Balasankar 'Balu' C
575e740fdd Merge branch 'sh-update-golang-1.17.6' into 'master'
Update to Go v1.17.6

See merge request gitlab-org/gitlab-build-images!478
2022-01-27 07:33:30 +00:00
Stan Hu
7883570dc7 Update to Go v1.17.6 2022-01-27 07:33:29 +00:00
Balasankar 'Balu' C
8dfc41ac7d Merge branch 'mk-revert-475' into 'master'
Revert "Apply object tracing mark patch from upstream Ruby"

See merge request gitlab-org/gitlab-build-images!477
2022-01-25 09:09:57 +00:00
Matthias Käppler
aa5be09409 Revert "Apply object tracing mark patch from upstream Ruby" 2022-01-25 09:09:57 +00:00
Stan Hu
9359da523d Merge branch 'mk-object-tracing-patch' into 'master'
Apply object tracing mark patch from upstream Ruby

Closes gitlab#350296

See merge request gitlab-org/gitlab-build-images!475
2022-01-24 08:22:19 +00:00
Matthias Käppler
5c40e913a9 Apply object tracing mark patch from upstream Ruby 2022-01-24 08:22:19 +00:00
Stan Hu
54cd4ef6df Merge branch 'sh-patch-ruby-object-tracing' into 'master'
Add Ruby patch to test GC issues with object tracing enabled

See merge request gitlab-org/gitlab-build-images!474
2022-01-20 09:01:24 +00:00
Stan Hu
012bc5654a
Add Ruby patch to test GC issues with object tracing enabled
It's possible we just need a `RB_GC_GUARD` to prevent `obj` from being
prematurely freed by the garbage collector. This is test out
https://github.com/ruby/ruby/pull/5470/files.

Part of https://gitlab.com/gitlab-org/gitlab/-/issues/350296
2022-01-19 11:37:36 -08:00
Stan Hu
91314bb6f8 Merge branch 'sh-fix-gsutil-patch' into 'master'
Fix gsutil rsync supported args

See merge request gitlab-org/gitlab-build-images!473
2022-01-06 04:36:19 +00:00
Stan Hu
b90f2f9d79
Fix gsutil rsync supported args
This fixes a problem with -x <args> no longer worked. Seen in
https://gitlab.com/gitlab-com/www-gitlab-com/-/jobs/1946099171.
2022-01-05 20:20:54 -08:00
Stan Hu
77f0f3d150 Merge branch 'sh-gsutil-rsync-patch' into 'master'
Patch gsutil in www-gitlab-com image

See merge request gitlab-org/gitlab-build-images!472
2022-01-05 17:10:44 +00:00
Stan Hu
0e7a55eb8a
Fold patched www-gitlab-com-3.0.patched-gsutil into www-gitlab-com-3.0
This eliminates an extra build.
2022-01-05 08:38:11 -08: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
DJ Mountney
57f7aae6a5 Merge branch 'sh-update-go-1.17' into 'master'
Add Go 1.17 to GitLab images building

See merge request gitlab-org/gitlab-build-images!470
2021-12-10 17:00:19 +00:00
Stan Hu
e94fd5db83
Add Go 1.17 to GitLab images building
We can also drop Git v2.31 now since v2.33 is the default.
2021-12-10 08:39:45 -08:00
Stan Hu
139a31965c Merge branch 'vs/switch-to-npm-for-apollo' into 'master'
Switch to npm for building apollo container

See merge request gitlab-org/gitlab-build-images!469
2021-12-10 05:52:50 +00:00
Vitaly Slobodin
ea2091ca38 Switch to npm for building apollo container
We saw several OOM errors and we suspect
this happens due to a bug in Yarn when
it stucks in endless loop on linking dependencies.
2021-12-10 08:33:09 +03:00
DJ Mountney
4d24d0dfb8 Merge branch 'sh-upgrade-golang-releases' into 'master'
Upgrade to Go v1.16.12 and v1.17.5

See merge request gitlab-org/gitlab-build-images!467
2021-12-09 22:13:29 +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
Rémy Coutable
ab474cb8ff Merge branch 'leipert-fix-missing-build-image-name' into 'master'
Properly tag images when building them

See merge request gitlab-org/gitlab-build-images!466
2021-12-08 15:32:11 +00:00
Lukas Eipert
94ebd90c7f Properly tag images when building them 2021-12-08 12:44:00 +01:00
Rémy Coutable
db5a4f37ea Merge branch 'welcome-to-the-matrix' into 'master'
Welcome to the matrix

See merge request gitlab-org/gitlab-build-images!460
2021-12-07 14:19:33 +00: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
32d1908296 Merge branch 'sh-add-ruby-2.7.5-patches' into 'master'
Add Ruby 2.7.5 patches

See merge request gitlab-org/gitlab-build-images!464
2021-12-04 16:29:15 +00:00
Stan Hu
ef05340775
Add Ruby 2.7.5 patches 2021-12-04 08:11:19 -08:00
Stan Hu
4a00d56a9c Merge branch 'sh-cleanup-images' into 'master'
Drop unused Ruby 2.7.2 images

See merge request gitlab-org/gitlab-build-images!463
2021-12-04 08:54:47 +00:00
Stan Hu
de93cf17ab
Drop unused Ruby 2.7.2 images 2021-12-04 00:40:19 -08:00
Stan Hu
77dbdfad62 Merge branch 'sh-update-ruby-2.7.5' into 'master'
Update to Ruby 2.7.5

See merge request gitlab-org/gitlab-build-images!462
2021-12-04 08:32:49 +00: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
Stan Hu
c5b06fec3f Merge branch 'add-debian-bullseye-ci' into 'master'
Add Debian Bullseye jobs to CI

See merge request gitlab-org/gitlab-build-images!461
2021-12-03 03:26:46 +00:00
Balasankar "Balu" C
895b69b089
Add Debian Bullseye jobs to CI
Signed-off-by: Balasankar "Balu" C <balasankar@gitlab.com>
2021-12-03 08:41:10 +05:30
DJ Mountney
95da062d69 Merge branch 'add-debian-bullseye' into 'master'
Add image for Debian 11 - Bullseye

See merge request gitlab-org/gitlab-build-images!454
2021-12-02 22:30:51 +00:00
DJ Mountney
3cd69e184b Merge branch '92-kubebuilder-320' into 'master'
Use Kubebuilder 3.2 and Kubernetes 1.21 for GitLab Operator build

Closes #92

See merge request gitlab-org/gitlab-build-images!445
2021-12-02 21:13:33 +00:00
Hossein Pursultani
9fb4306ddc Use Kubebuilder 3.2 and Kubernetes 1.21 for GitLab Operator build 2021-12-02 21:13:33 +00:00
Rémy Coutable
80e90a097a Merge branch 'vs/add-docker-image-with-apollo' into 'master'
Add docker container with Apollo

See merge request gitlab-org/gitlab-build-images!455
2021-12-01 11:05:13 +00:00
Vitaly Slobodin
9a192676ec Add docker container with Apollo 2021-12-01 10:41:30 +03:00
Rémy Coutable
dbf11edefc Merge branch '95-codeowners' into 'master'
Add CODEOWNERS file

Closes #95

See merge request gitlab-org/gitlab-build-images!458
2021-11-25 10:42:11 +00:00
Matthias Käppler
4c59a5008d Add CODEOWNERS file 2021-11-25 10:42:10 +00:00
Balasankar 'Balu' C
bdce9cdb4c Merge branch 'mk-ruby-3.0.3' into 'master'
Update Ruby 3 images to 3.0.3

See merge request gitlab-org/gitlab-build-images!457
2021-11-25 08:21:32 +00:00
Matthias Käppler
88d8ef2879 Update Ruby 3 images to 3.0.3 2021-11-25 08:21:32 +00:00
Rémy Coutable
e1bfec0c95 Merge branch 'shl-add-curl-to-qa-alpine-images' into 'master'
Add curl to qa alpine images

See merge request gitlab-org/gitlab-build-images!456
2021-11-24 18:05:54 +00:00
Sanad Liaquat
c84d0db853 Add curl to qa alpine images 2021-11-24 18:05:54 +00:00
Balasankar "Balu" C
e3e552a936
Add image for Debian 11 - Bullseye
Signed-off-by: Balasankar "Balu" C <balasankar@gitlab.com>
2021-11-24 10:25:45 +05:30