Commit graph

950 commits

Author SHA1 Message Date
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
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
Stan Hu
fcc5115225 Merge branch '59-deprecate-ruby-alpine-aws-image' into 'master'
Deprecate ruby-alpine-aws image

Closes #59

See merge request gitlab-org/gitlab-build-images!370
2021-02-16 07:38:13 +00:00
Takuya Noguchi
917bea8eeb Deprecate ruby-alpine-aws image
Signed-off-by: Takuya Noguchi <takninnovationresearch@gmail.com>
2021-02-16 06:18:30 +00:00
Stan Hu
523e78170f Merge branch '57-deprecate-alpine-aws-image' into 'master'
Deprecate alpine-aws image

Closes #57

See merge request gitlab-org/gitlab-build-images!366
2021-02-16 04:52:08 +00:00
Stan Hu
3c9189db3a Merge branch '58-deprecate-node-10-image' into 'master'
Deprecate node-10 image

Closes #58

See merge request gitlab-org/gitlab-build-images!369
2021-02-15 19:34:34 +00:00
Takuya Noguchi
c681a73885 Deprecate node-10 image
Signed-off-by: Takuya Noguchi <takninnovationresearch@gmail.com>
2021-02-15 18:22:20 +00:00
Rémy Coutable
a5577a9465 Merge branch 'fix-mr360' into 'master'
Fix image pushing on CI in MR 360

See merge request gitlab-org/gitlab-build-images!367
2021-02-15 17:32:02 +00:00
Takuya Noguchi
c19dc44a4f Fix image pushing on CI in MR 360
Signed-off-by: Takuya Noguchi <takninnovationresearch@gmail.com>
2021-02-15 17:06:15 +00:00
Rémy Coutable
0997e1aca8 Merge branch '55-update-danger-to-8.2.2' into 'master'
Update danger from 8.2.1 to 8.2.2

Closes #55

See merge request gitlab-org/gitlab-build-images!364
2021-02-15 16:32:38 +00:00
Takuya Noguchi
c3d2546701 Deprecate alpine-aws image
Signed-off-by: Takuya Noguchi <takninnovationresearch@gmail.com>
2021-02-15 13:21:06 +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
Takuya Noguchi
2f49698f21 Update danger from 8.2.1 to 8.2.2
Signed-off-by: Takuya Noguchi <takninnovationresearch@gmail.com>
2021-02-15 07:47:05 +00:00
Rémy Coutable
de5b1d6d9b Merge branch 'install-git-core' into 'master'
Install git-core

See merge request gitlab-org/gitlab-build-images!363
2021-02-03 10:56:53 +00:00
Kamil Trzciński
ba4b0253d4 Install git-core 2021-02-03 10:56:53 +00:00
Stan Hu
3e7f7696aa Merge branch 'install-dependencies' into 'master'
Install all required by GitLab dependencies

See merge request gitlab-org/gitlab-build-images!362
2021-02-02 21:06:56 +00:00
Kamil Trzciński
8321e76cab Install all required by GitLab dependencies 2021-02-02 20:18:37 +01:00
Rémy Coutable
12d75166db Merge branch 'deploy-stage' into 'master'
Move `build` to `deploy` stage and use MR pipelines

See merge request gitlab-org/gitlab-build-images!361
2021-02-02 17:05:19 +00:00
Kamil Trzciński
9bc5a09673 Apply 1 suggestion(s) to 1 file(s) 2021-02-02 16:00:53 +00:00
Kamil Trzciński
ac8dba73d4 Use MR workflow only 2021-02-02 16:48:38 +01:00
Kamil Trzciński
6a019ea6f2 Move build to deploy stage
This ensures that we always run all `tests` (first).

This also adds ` push` tag to each job that is to push.
2021-02-02 16:46:33 +01:00
Rémy Coutable
2f024f0ae2 Merge branch 'remove-FORCE_BUILD' into 'master'
Remove force build and at ENVs to `Dockerfile.custom`

See merge request gitlab-org/gitlab-build-images!360
2021-02-02 15:41:07 +00:00
Kamil Trzciński
1f070817cd Set ENV once, at end 2021-02-02 16:25:06 +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
74dda8518c For Dockerfile.custom as E_VERSION env variables 2021-02-02 13:30:37 +01:00
Kamil Trzciński
3acad93b15 Use a manual job to trigger a selective build/push 2021-02-02 13:30:18 +01:00
Rémy Coutable
9602498d80 Merge branch 'mark-ruby-as-patched' into 'master'
Mark Ruby images as patched

See merge request gitlab-org/gitlab-build-images!359
2021-02-02 11:46:02 +00:00
Kamil Trzciński
a9204d345d Mark Ruby images as patched 2021-02-02 12:28:41 +01:00
Stan Hu
8ecbdfddc5 Merge branch 'install-and-patch-custom-ruby' into 'master'
Apply thread allocations patch to Ruby 2.7

See merge request gitlab-org/gitlab-build-images!355
2021-02-01 18:52:05 +00: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
0b0a3b745a Add missing patch 2021-02-01 14:20: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
Stan Hu
28db6ad94c Merge branch 'www-gitlab-com-gcloud' into 'master'
Update install script of gcloud for www-gitlab-com

See merge request gitlab-org/gitlab-build-images!358
2021-01-31 16:40:50 +00:00
Takuya Noguchi
5c3d523a7e Update install script of gcloud for www-gitlab-com
Signed-off-by: Takuya Noguchi <takninnovationresearch@gmail.com>
2021-01-31 12:06:26 +00:00
Stan Hu
a5f01747a1 Merge branch 'overhaul-www-gitlab-com' into 'master'
Update Ruby 2.6 to 2.7 in www-gitlab-com image

See merge request gitlab-org/gitlab-build-images!356
2021-01-29 17:09:57 +00: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