Commit graph

217 commits

Author SHA1 Message Date
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
Patrick Steinhardt
8380f29a24 scripts: Install libevent-dev dependency to fix pgbouncer build
The pgbouncer build is currently broken because of a missing build
dependency. This went unnoticed because the build script previously
didn't report any build errors.

Fix the build by installing the missing libevent-dev dependency.
2021-03-16 10:44:13 +01:00
Patrick Steinhardt
9e8f7b973a scripts: Fix pgbouncer install script not reporting errors
The install-pgbouncer script is not currently reporting any build errors
to the caller, except if the final `rm -rf` fails. Fix the issue by
executing `set -xeuo pipefail` to properly report errors of any
unchecked commands and chaining commands with `&&`'s. While the latter
shouldn't be necessary anymore because of changed options, it's easy
enough to do for this script.

With this change, we now properly notice that building pgbouncer fails
currently because of a missing libevent dependency. This failure is
fixed in a subsequent commit.
2021-03-16 10:41:30 +01:00
Patrick Steinhardt
3272fc25cc ci: Start building images for git v2.31.0
We're going to switch over to git v2.31.0 soonish. As a preparatory
step, this commit adds a bunch of jobs to start building images with
this version.
2021-03-16 08:41:54 +01:00
Patrick Steinhardt
368176b2e7 scripts: Drop old versions of git
The minimum required version of git nowadays is v2.29.0, and thus we
don't create images with versions older than that anymore. We can thus
safely drop their hashes from the custom-docker-build script.
2021-03-16 08:41:54 +01:00
Stan Hu
59cbeda30f Merge branch '68-avoid-stretch-in-ruby-images' into 'master'
Avoid to use stretch image in Ruby 2.6-base images

Closes #68

See merge request gitlab-org/gitlab-build-images!383
2021-03-15 17:58:17 +00:00
Takuya Noguchi
c66de8800e Avoid to use stretch image in Ruby 2.6-base images
Signed-off-by: Takuya Noguchi <takninnovationresearch@gmail.com>
2021-03-15 07:15:09 +00:00
Takuya Noguchi
f544166aba Update Golang 1.14/1.15 minor revisions
Signed-off-by: Takuya Noguchi <takninnovationresearch@gmail.com>
2021-03-15 03:02:50 +00:00
Takuya Noguchi
160258a0a7 Update GraphicsMagick to 1.3.36
Signed-off-by: Takuya Noguchi <takninnovationresearch@gmail.com>
2021-03-08 04:29:11 +00:00
Takuya Noguchi
adc2958921 Upgrade the default Node.js version from 12.4.0 to 14.16.0
Also node-14 will be changed from 14.15.4 to 14.16.0 as intended,
while node-12 will not be changed staying with 12.4.0.

Signed-off-by: Takuya Noguchi <takninnovationresearch@gmail.com>
2021-02-27 13:25:53 +00:00
DJ Mountney
d2a6d209fe Merge branch '60-remove-ansible-and-terraform-installation-scripts-from-this-repository' into 'master'
Remove Ansible and Terraform custom installation scripts

Closes #60

See merge request gitlab-org/gitlab-build-images!371
2021-02-22 17:29:54 +00:00
Takuya Noguchi
e7edcceefb Remove Ansible and Terraform custom installation scripts
Signed-off-by: Takuya Noguchi <takninnovationresearch@gmail.com>
2021-02-16 09:11:00 +00:00
Takuya Noguchi
f2da17d538 Use Docker daemon 20.10.3 instead of 19.03.0
Signed-off-by: Takuya Noguchi <takninnovationresearch@gmail.com>
2021-02-15 08:31:08 +00:00
Kamil Trzciński
ba4b0253d4 Install git-core 2021-02-03 10:56:53 +00:00
Kamil Trzciński
8321e76cab Install all required by GitLab dependencies 2021-02-02 20:18:37 +01:00
Kamil Trzciński
2269f81b22 It is cache-from 2021-02-02 14:06:35 +01:00
Kamil Trzciński
c393e4e804 Fix custom-docker-build 2021-02-02 13:33:49 +01:00
Kamil Trzciński
3acad93b15 Use a manual job to trigger a selective build/push 2021-02-02 13:30:18 +01:00
Kamil Trzciński
d9530f3124 Fix patching ruby 2021-02-01 18:31:37 +01:00
Kamil Trzciński
255e47d887 Fix node-10 support 2021-02-01 17:56:38 +01:00
Kamil Trzciński
f0bf9d8f0c Fix support for Ruby versions 2021-02-01 17:45:17 +01:00
Kamil Trzciński
d25cb10067 Apply thread allocations patch to Ruby 2.7
This makes us to compile Ruby 2.7 manually
and apply relevant patch.
2021-02-01 14:20:17 +01:00
Takuya Noguchi
172a4ac8e7 Update Ruby 2.6 to 2.7 in www-gitlab-com image
Drops Ruby 2.4 test and build.

Signed-off-by: Takuya Noguchi <takninnovationresearch@gmail.com>
2021-01-29 15:11:27 +00:00
Lukas Eipert
5a3dce5eaf Update gitlab build images to use node 14 2021-01-20 12:16:54 +01:00
Rémy Coutable
9ba71df9cf
Update Chrome to 87
Signed-off-by: Rémy Coutable <remy@rymai.me>
2021-01-19 12:03:40 +01:00