gitlab-build-images/.gitlab/ci/gitlab.images.yml
Stan Hu a8f2113955
Add Ruby 3.1 to build
Ruby 3.2 contains a number of kwargs fixes, and Rails 7 may be a
prerequisite for Ruby 3.2. We'll want to test and deploy Ruby 3.1
before jumping to 3.2.

Ruby 3.1 requires at least rubygems v3.1.3. Let's just bump
everything to 3.4, and consolidate the Ruby 3.2 build.
2023-03-08 14:12:00 -08:00

60 lines
1.4 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.4'
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', '3.1.patched', '3.2.patched']
GIT: ['2.36']
POSTGRESQL: ['11', '12', '13']
GOLANG: ['1.18', '1.19']
RUST: ['1.65']
NODE: ['16.14', '18.12']
CHROME: ['106', '109']
# Used by GitLab's compile-production-assets and compile-test-assets jobs
gitlab-assets:
extends:
- .gitlab
stage: gitlab-assets
variables:
RUBYGEMS: '3.4'
LFS: '2.9'
YARN: '1.22'
GRAPHICSMAGICK: '1.3.36'
ARCH: amd64,arm64
parallel:
matrix:
- OS: ['debian:bullseye']
RUBY: ['2.7', '3.0', '3.1', '3.2']
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'