mirror of
https://ops.gitlab.net/gitlab-org/gitlab-build-images.git
synced 2025-12-09 10:02:56 +01:00
This refactors our custom image building to utilize GitLab parallel jobs with a matrix. This makes it easier to parse what kind of matrix we are going to build in our docker images. Furthermore instead of splitting the image name, we can simply pull the versions of the tools from the environment variables. The ultimative reason: Dogfooding
45 lines
1 KiB
YAML
45 lines
1 KiB
YAML
# Used by customers-gitlab-com rspec job: https://gitlab.com/gitlab-org/customers-gitlab-com/-/blob/staging/.gitlab-ci.yml
|
|
.customers-matrix:
|
|
variables:
|
|
LFS: '2.9'
|
|
CHROME: '89'
|
|
NODE: '12.22'
|
|
YARN: '1.22'
|
|
POSTGRESQL: '9.5'
|
|
parallel:
|
|
matrix:
|
|
- RUBY: ['2.6.6', '2.7', '2.7.2']
|
|
GIT: ['2.31', '2.33']
|
|
DOCKER: ['19.03.1', '']
|
|
|
|
customers test:
|
|
extends:
|
|
- .customers-matrix
|
|
- .test_custom
|
|
|
|
customers push:
|
|
extends:
|
|
- .customers-matrix
|
|
- .build_and_deploy_custom
|
|
|
|
# Used by customers-gitlab-com qa e2e test: https://gitlab.com/gitlab-org/customers-gitlab-com/-/blob/staging/.gitlab/ci/e2e.gitlab-ci.yml
|
|
.customers-qa-matrix:
|
|
variables:
|
|
CHROME: '89'
|
|
NODE: '12.22'
|
|
YARN: '1.22'
|
|
DOCKER: '19.03.1'
|
|
parallel:
|
|
matrix:
|
|
- RUBY: ['2.7', '2.7.2']
|
|
GIT: ['2.31', '2.33']
|
|
|
|
customers-qa-assets test:
|
|
extends:
|
|
- .customers-qa-matrix
|
|
- .test_custom
|
|
|
|
customers-qa-assets push:
|
|
extends:
|
|
- .customers-qa-matrix
|
|
- .build_and_deploy_custom
|