Commit graph

888 commits

Author SHA1 Message Date
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
Zeger-Jan van de Weg
fe1ff48604 Merge branch '46-update-golang-minor-revision' into 'master'
Update Golang 1.14/1.15 minor revisions

Closes #67 and #46

See merge request gitlab-org/gitlab-build-images!382
2021-03-15 09:25:11 +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
Stan Hu
a777a18652 Merge branch 'remove-legacy-chrome-tags' into 'master'
Remove entries of legacy Chrome image tags from the CI manifest

Closes #65

See merge request gitlab-org/gitlab-build-images!379
2021-03-10 15:44:54 +00:00
Takuya Noguchi
7de9a01c6a Remove entries of legacy Chrome image tags from the CI manifest
Signed-off-by: Takuya Noguchi <takninnovationresearch@gmail.com>
2021-03-10 13:59:13 +00:00
Stan Hu
0d0895bb97 Merge branch 'update-graphicsmagick-to-1.3.36' into 'master'
Update GraphicsMagick to 1.3.36

See merge request gitlab-org/gitlab-build-images!378
2021-03-09 14:27:48 +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
Stan Hu
30b6c4afac Merge branch '63-deprecate-gitaly-build-images-for-ruby-2-6' into 'master'
Deprecate Gitaly build images for Ruby 2.6

Closes #63

See merge request gitlab-org/gitlab-build-images!377
2021-03-06 00:18:20 +00:00
Takuya Noguchi
3d767cea42 Deprecate Gitaly build images for Ruby 2.6
Signed-off-by: Takuya Noguchi <takninnovationresearch@gmail.com>
2021-03-05 23:04:33 +00:00
DJ Mountney
5bdd119258 Merge branch 'hp-add-helm-to-operator-build-image' into 'master'
Add Helm to Operator build image

See merge request gitlab-org/gitlab-build-images!376
2021-03-02 20:39:02 +00:00
Hossein Pursultani
f8b01d2ef8 Add Helm to Operator build image
Also includes cleanups
2021-03-02 20:39:01 +00:00
Rémy Coutable
5d140acade Merge branch 'update-node-to-12.18-on-customers-gitlab-com' into 'master'
Update Node from 12.4.0 to 12.18.4 in the image for gitlab-org/customers-gitlab-com

See merge request gitlab-org/gitlab-build-images!375
2021-03-01 10:34:54 +00:00
Rémy Coutable
615e078e0e Merge branch '62-upgrade-noe-js-from-12-4-0-non-lts-to-14-x-lts-14-16-0-by-default' into 'master'
Upgrade the default Node.js version from 12.4.0 to 14.16.0 as a system

Closes #62

See merge request gitlab-org/gitlab-build-images!374
2021-03-01 10:19:36 +00:00
Takuya Noguchi
805eece0ce Update Node from 12.4.0 to 12.18.4
Signed-off-by: Takuya Noguchi <takninnovationresearch@gmail.com>
2021-02-27 13:37:15 +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
Stan Hu
48aab17673 Merge branch 'follow-ci-best-practices' into 'master'
Follow GitLab CI best practices

See merge request gitlab-org/gitlab-build-images!217
2021-02-25 15:18:19 +00:00
Tomasz Maczukin
026e9fa6ef
Follow GitLab CI best practices
This commit changes few things, implementing some of the GitLab CI known
best practices:

1. Explicitly pointing the `docker:git` image to a specific version.

    Leaving the floating one we're risking that a buggy release of new
    Docker image will be randomly introduced to our pipelines. It's also
    best to make the Docker Client (used by the job from within the
    `docker:git` image) to be at the same version as the Docker Engine
    (running in the `docker:dind` service container).

2. Replacing `ci-job-token` with `CI_REGISTRY_USER` and `CI_JOB_TOKEN`
   with `CI_REGISTRY_PASSWORD` makes the script more bulletproff. Yes,
   at this moment these variables contain the same values. But they are
   dedicated for such usage and if GitLab CI will ever decide to switch
   how Registry access should be done, the dedicated variables will
   folow the proper way.
2021-02-25 14:19:31 +01:00
Stan Hu
9ce844b7f4 Merge branch '61-add-ruby-3-0-based-image-for-www-gitlab-com-repo' into 'master'
Add Ruby 3.0-based image for www-gitlab-com repo

Closes #61

See merge request gitlab-org/gitlab-build-images!372
2021-02-23 18:21:22 +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
Mayra Cabrera
710fdf2609 Merge branch 'bjk/bump_golangci-lint' into 'master'
Update golangci-lint

See merge request gitlab-org/gitlab-build-images!373
2021-02-22 16:33:40 +00:00
Ben Kochie
b40a85d08c
Update golangci-lint
* Bump to latest golangci-lint version.
* Add bash to image to allow `set -o pipefail` to be used.

Related to https://gitlab.com/gitlab-org/labkit/-/merge_requests/112

Signed-off-by: Ben Kochie <superq@gmail.com>
2021-02-22 12:45:38 +01:00
Takuya Noguchi
4687a3b967 Add Ruby 3.0-based image for www-gitlab-com repo
Signed-off-by: Takuya Noguchi <takninnovationresearch@gmail.com>
2021-02-20 21:46:19 +00:00
Rémy Coutable
ab8f6f2046 Merge branch '56-docker-20.10.3' into 'master'
Use Docker daemon 20.10.3 instead of 19.03.0

Closes #56

See merge request gitlab-org/gitlab-build-images!365
2021-02-16 12:42:18 +00:00