Commit graph

861 commits

Author SHA1 Message Date
Takuya Noguchi
49c7ae3457 Deprecate www-gitlab-com2.7 image tag
Signed-off-by: Takuya Noguchi <takninnovationresearch@gmail.com>
2021-06-07 14:40:01 +00:00
Rémy Coutable
87bf723dda Update Dockerfile.kaniko 2021-05-11 16:40:38 +00:00
Rémy Coutable
f0a24db32f Merge branch 'fix-kaniko-image' into 'master'
Fix Kaniko image by creating a root user

See merge request gitlab-org/gitlab-build-images!406
2021-05-11 15:59:35 +00:00
Rémy Coutable
c80666a3a9
Fix Kaniko image by creating a root user
Signed-off-by: Rémy Coutable <remy@rymai.me>
2021-05-11 17:36:11 +02:00
Rémy Coutable
d661bc18ae Merge branch 'add-kaniko-image-with-git' into 'master'
Introduce a new kaniko image that includes Git

See merge request gitlab-org/gitlab-build-images!404
2021-05-10 15:01:23 +00:00
Rémy Coutable
851644234c
Introduce a new kaniko image that includes Git
Signed-off-by: Rémy Coutable <remy@rymai.me>
2021-05-10 15:46:27 +02:00
Stan Hu
1bbac35a38 Merge branch 'sh-optimize-ruby' into 'master'
Set frame pointer in cflags instead of optargs

See merge request gitlab-org/gitlab-build-images!402
2021-04-28 23:01:15 +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
83c6bd9076 Merge branch 'sh-no-omit-frame-pointer' into 'master'
Enable frame pointer in Ruby compile options

See merge request gitlab-org/gitlab-build-images!401
2021-04-28 22:30:03 +00: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
DJ Mountney
e2e3574568 Merge branch 'operator-build-base-update-yq' into 'master'
[operator-build-base] Update yq to 4.7.0

See merge request gitlab-org/gitlab-build-images!398
2021-04-27 19:31:02 +00:00
Mike Greiling
a902a5303e Merge branch 'gitlab-puppeteer-node-14' into 'master'
Update Node.js to 14 in gitlab-puppeteer image

See merge request gitlab-org/gitlab-build-images!400
2021-04-27 16:46:05 +00:00
Mike Greiling
0dc406c14b Merge branch '79-yarn-1-from-npm' into 'master'
Use npm repo instead of apt on Yarn install

Closes #79

See merge request gitlab-org/gitlab-build-images!397
2021-04-27 16:38:36 +00: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
Mitchell Nielsen
d88e7d6e5e [operator-build-base] Update yq to 4.7.0
Updates yq to 4.7.0, including a syntax change in the version to have a
'v' prefix.
2021-04-23 10:57:05 -04:00
Rémy Coutable
351ef2e34a Merge branch 'customers-gitlab-com' into 'master'
Overhaul image for customers-gitlab-com

See merge request gitlab-org/gitlab-build-images!396
2021-04-22 10:36:55 +00:00
Rémy Coutable
954b621a79 Merge branch 'overhaul-danger' into 'master'
Maintain Danger image with Node.js 14 etc.

See merge request gitlab-org/gitlab-build-images!395
2021-04-21 08:21:42 +00:00
Takuya Noguchi
82983ff9d8 Update Node.js to 14 in gitlab-puppeteer image
Signed-off-by: Takuya Noguchi <takninnovationresearch@gmail.com>
2021-04-21 05:49:17 +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
Takuya Noguchi
56292ed139 Maintain Danger image with Node.js 14 etc.
Signed-off-by: Takuya Noguchi <takninnovationresearch@gmail.com>
2021-04-21 01:50:39 +00:00
Stan Hu
17d4e349ae Merge branch 'sh-debug-segfault' into 'master'
Add patch to debug seg faults

See merge request gitlab-org/gitlab-build-images!394
2021-04-20 23:40:15 +00:00
Stan Hu
8c7986e6af
Add patch to debug seg faults
This is a temporary patch to investigate
https://gitlab.com/gitlab-org/gitlab/-/issues/326348.
2021-04-20 16:23:40 -07:00
Rémy Coutable
f5168de9b4 Merge branch 'sh-enable-jemalloc' into 'master'
Build ruby with jemalloc

See merge request gitlab-org/gitlab-build-images!393
2021-04-20 09:48:46 +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
4019ae1df0 Merge branch 'sh-upgrade-git-2.31.1' into 'master'
Upgrade to Git v2.31.1

See merge request gitlab-org/gitlab-build-images!392
2021-04-16 18:03:45 +00:00
Stan Hu
af5b5a6208
Upgrade to Git v2.31.1 2021-04-16 10:37:08 -07:00
DJ Mountney
2ea117cc14 Merge branch 'pks-go-1.16' into 'master'
Bump Go version to v1.16

See merge request gitlab-org/gitlab-build-images!390
2021-04-12 17:43:08 +00:00
Patrick Steinhardt
15e07ceb10 Bump Go version to v1.16
Gitaly is about to drop its minimum required Go version to v1.15, but we
do not yet create any images for it. Going that both v1.15 and v1.16 are
supported, this commit bumps the Go version to v1.16 such that we start
to use the newer of both supported versions.
2021-04-12 08:28:28 +02:00
Patrick Steinhardt
0620261374 Drop images using unsupported git v2.29
The minimum required version for git has been bumped to v2.31, so we can
now safely drop old build images which had been using git v2.29.
2021-04-12 08:27:49 +02:00
DJ Mountney
0a2842a08c Merge branch '77-avoid-openssl-1.0-dev' into 'master'
Avoid to use libssl1.0-dev packages in Debian/Ubuntu distribution

Closes #77

See merge request gitlab-org/gitlab-build-images!389
2021-04-07 14:31:42 +00:00
Takuya Noguchi
8f3b93bd6a Avoid to use libssl1.0-dev packages in Debian/Ubuntu distribution
Signed-off-by: Takuya Noguchi <takninnovationresearch@gmail.com>
2021-04-07 07:13:00 +00:00
Rémy Coutable
e361c4a097 Merge branch '70-deprecate-ruby-2.7.2-git-2.29-chrome-85-node-12.18-yarn-1.22-docker-19.03.1' into 'master'
Remove ruby-2.7.2-git-2.29-chrome-85-node-12.18-yarn-1.22-docker-19.03.1 images

Closes #70

See merge request gitlab-org/gitlab-build-images!388
2021-04-06 13:45:00 +00:00
Takuya Noguchi
a0dff839c4 Remove ruby-2.7.2-git-2.29-chrome-85-node-12.18-yarn-1.22-docker-19.03.1
Deprecate the 6 following images:

- ruby-2.6.5-git-2.29-chrome-74.0-node-12.18-yarn-1.22-docker-19.03.1
- ruby-2.6.5-git-2.29-chrome-85-node-12.18-yarn-1.22-docker-19.03.1
- ruby-2.7.2-git-2.29-chrome-85-node-12.18-yarn-1.22-docker-19.03.1
- ruby-2.6.5-git-2.31-chrome-74.0-node-12.18-yarn-1.22-docker-19.03.1
- ruby-2.6.5-git-2.31-chrome-85-node-12.18-yarn-1.22-docker-19.03.1
- ruby-2.7.2-git-2.31-chrome-85-node-12.18-yarn-1.22-docker-19.03.1

Signed-off-by: Takuya Noguchi <takninnovationresearch@gmail.com>
2021-04-06 03:51:42 +00:00
Rémy Coutable
a10d19c8d8 Merge branch '69-kubectl-1.17' into 'master'
Add kubectl 1.17/Helm 3.5.3-based image

Closes #69

See merge request gitlab-org/gitlab-build-images!387
2021-03-30 15:08:56 +00:00
Takuya Noguchi
cc121a93fb Add kubectl 1.17/Helm 3.5.2-based image
Signed-off-by: Takuya Noguchi <takninnovationresearch@gmail.com>
2021-03-30 14:40:18 +00:00
Rémy Coutable
9ca0d2567b Merge branch '66-add-go-1.16.2-to-build-images' into 'master'
Add Go 1.16.2 to the build images

Closes #66

See merge request gitlab-org/gitlab-build-images!381
2021-03-22 17:44:56 +00: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
Rémy Coutable
f6b81e7b98 Merge branch 'update-chrome-89' into 'master'
Update Chrome to 89

See merge request gitlab-org/gitlab-build-images!384
2021-03-16 14:44:15 +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
Zeger-Jan van de Weg
587926665e Merge branch 'pks-fix-pgbouncer-build' into 'master'
scripts: Install libevent-dev dependency to fix pgbouncer build

See merge request gitlab-org/gitlab-build-images!386
2021-03-16 10:10:47 +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
Zeger-Jan van de Weg
3b889f72ed Merge branch 'pks-git-v2.31.0' into 'master'
Start building images for git v2.31.0

See merge request gitlab-org/gitlab-build-images!385
2021-03-16 08:00:37 +00: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
Patrick Steinhardt
cfdf217808 ci: Upgrade customers-gitlab-com image to use git v2.31
One of the images we build is still using git v2.26.0. Upgrade it to use
git v2.31.0 such that we can drop all git versions before v2.29.0 at a
later point. Downstream will be upgraded accordingly after the updated
build image has landed.
2021-03-16 08:41:54 +01:00
Patrick Steinhardt
ee508fa7a4 ci: Drop builds with git v2.28.0
The minimum required version of git has been bumped to v2.29.0 some time
ago. It's thus not necessary anymore to build images for git v2.28.0.
Drop them.
2021-03-16 08:34:53 +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