Commit graph

202 commits

Author SHA1 Message Date
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
Stan Hu
3bf80b1b64 Bump yamllint version to 1.25.0
https://packages.debian.org/testing/yamllint bumped the version, so
the previous version no longer exists.
2021-01-07 22:04:06 +05:30
Paul Okstad
c866076fac Add Golang 1.15.5 to build containers 2020-12-01 08:29:15 +00:00
Zeger-Jan van de Weg
a329f7f743 Merge branch 'fix_immediate_configuration_error' into 'master'
Fix: Could not perform immediate configuration on 'libcrypt1:amd64'

See merge request gitlab-org/gitlab-build-images!332
2020-10-20 14:48:27 +00:00
Vasilii Iakliushin
722983bf6b Fix: Could not perform immediate configuration on 'libcrypt1:amd64'
https://gitlab.com/gitlab-org/gitlab-build-images/-/jobs/801097436#L1727

Error message:
```
E: Could not configure 'libc6:amd64'.
E: Could not perform immediate configuration on
'libcrypt1:amd64'. Please see man 5 apt.conf under
APT::Immediate-Configure for details. (2)
```
2020-10-20 16:20:47 +02:00
Patrick Steinhardt
f03ad820b0 Upgrade to Git v2.29.0
With Git v2.29.0 being released, let's start building Docker images for
that version so we can make use of it throughout GitLab.
2020-10-20 09:45:35 +02:00
Lukas Eipert
fc95963fc7
Update yarn to 1.22.5 2020-10-01 13:20:04 +02:00
Lukas Eipert
b743e862e8
Update node to 12.18.4 2020-10-01 13:18:51 +02:00
Rémy Coutable
ceca4d94f4
Update Chrome version to 85
Signed-off-by: Rémy Coutable <remy@rymai.me>
2020-09-02 11:19:57 +02:00
Stan Hu
a7a13a87d6 Add Ruby 2.7 images for GitLab CE/EE images
Ruby 2.7.1 is only available on Debian Buster, so we have to upgrade
from Debian Stretch.

Fix install-essentials for Debian 10 (Buster):

1. MySQL client is no longer needed
2. Yank libgdbm3 and libgdbm-dev because it's not clear why it's needed
3. Pull legacy nodejs from Debian Buster builds since Node 12.x conflicted
2020-08-04 12:57:50 -07:00
Craig Furman
a0cf0d57ca
Update yamllint
The old version, 1.23.0, looks to have been pulled from the repos:
https://gitlab.com/gitlab-org/gitlab-build-images/-/jobs/669766401
2020-08-04 09:52:16 +01:00
Patrick Steinhardt
bff2b6b42b Upgrade Git from v2.28.0-rc1 to v2.28.0
Now that Git v2.28.0 has been released, let's update our custom build
instructions to use it instead of the release candidate.
2020-07-29 07:26:44 +02:00
Chad Woolley
a24216113f Add python3-crcmod to www-gitlab-com image
Apparently gsutil started using python3. Leaving the python2 version just in case it's needed too
2020-07-21 17:12:59 -07:00
Patrick Steinhardt
3e75b17a99 Upgrade to Git v2.28.0.rc1
Git v2.28.0.rc1 has been released. As the v2.28.0 release series is the
first to contain support for the reference-transaction hook which is
currently a focus for Gitaly, this commit adds the release candidate
version so we can test the hook as part of Gitaly's CI.
2020-07-20 14:10:22 +02:00
Pavlo Strokov
48c98a5191 Adding of PgBouncer
Fix installation script of PgBouncer.
Single download + removal of all tmp data.

Related to: https://gitlab.com/gitlab-org/gitaly/-/issues/2816
2020-07-16 00:46:52 +03:00
Stan Hu
4bfa4ce901 Merge branch 'support-chrome-84' into 'master'
Support chrome 84

See merge request gitlab-org/gitlab-build-images!311
2020-07-15 15:53:53 +00:00