mirror of
https://ops.gitlab.net/gitlab-org/gitlab-build-images.git
synced 2025-12-10 02:22:57 +01:00
Welcome to the matrix
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
This commit is contained in:
parent
32d1908296
commit
a9cf88c469
11 changed files with 325 additions and 292 deletions
45
.gitlab/ci/customers.images.yml
Normal file
45
.gitlab/ci/customers.images.yml
Normal file
|
|
@ -0,0 +1,45 @@
|
|||
# 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
|
||||
Loading…
Add table
Add a link
Reference in a new issue