gitlab-build-images/.gitlab/ci/gitlab.images.yml
Rémy Coutable 684f0ce8ef
ci: Only build custom images that need to be rebuilt
Signed-off-by: Rémy Coutable <remy@rymai.me>
2023-01-25 19:05:07 +01:00

80 lines
1.7 KiB
YAML

# Used by GitLab: https://gitlab.com/gitlab-org/gitlab/blob/master/.gitlab-ci.yml
.gitlab:
extends:
- .build_dynamic_image
stage: gitlab
rules:
- !reference [.build_dynamic_image, rules]
- changes:
- "scripts/lib/custom-docker-build"
- ".gitlab/ci/gitlab.images.yml"
gitlab:
extends:
- .gitlab
stage: gitlab
variables:
RUBYGEMS: '3.2'
LFS: '2.9'
YARN: '1.22'
GRAPHICSMAGICK: '1.3.36'
ARCH: linux/amd64,linux/arm64
parallel:
matrix:
- OS: ['debian:bullseye']
RUBY: ['2.7.patched', '3.0.patched']
GIT: ['2.36']
POSTGRESQL: ['11', '12', '13']
GOLANG: ['1.18', '1.19']
RUST: ['1.65.0']
NODE: ['16.14', '18.12']
CHROME: ['106', '108']
gitlab-ruby-3.2:
extends:
- .gitlab
variables:
RUBYGEMS: '3.4'
LFS: '2.9'
YARN: '1.22'
GRAPHICSMAGICK: '1.3.36'
ARCH: linux/amd64,linux/arm64
parallel:
matrix:
- OS: ['debian:bullseye']
RUBY: ['3.2.patched']
GIT: ['2.36']
POSTGRESQL: ['11', '12', '13']
GOLANG: ['1.19']
RUST: ['1.65.0']
NODE: ['16.14']
CHROME: ['108']
# Used by GitLab's compile-production-assets and compile-test-assets jobs
gitlab-assets:
extends:
- .gitlab
stage: gitlab-assets
variables:
RUBYGEMS: '3.2'
LFS: '2.9'
YARN: '1.22'
GRAPHICSMAGICK: '1.3.36'
ARCH: amd64,arm64
parallel:
matrix:
- OS: ['debian:bullseye']
RUBY: ['2.7', '3.0']
GIT: ['2.33']
NODE: ['16.14', '18.12']
# Used by GitLab's Review app jobs
gitlab-review-app:
extends:
- .gitlab
stage: gitlab-review-app
variables:
RUBY: '3.0'
GCLOUD: '383'
KUBECTL: '1.23'
HELM: '3.5'