Publish images with full Ruby version

Signed-off-by: Rémy Coutable <remy@rymai.me>
This commit is contained in:
Rémy Coutable 2024-05-24 13:18:37 +02:00
parent b16d8a9f74
commit 57fe03c0e4
No known key found for this signature in database
15 changed files with 97 additions and 98 deletions

View file

@ -1,36 +1,19 @@
# Used by GitLab: https://gitlab.com/gitlab-org/gitlab/blob/master/.gitlab-ci.yml
.gitlab:
.gitlab-base:
extends:
- .build_dynamic_image
stage: gitlab
rules:
- !reference [.build_dynamic_image, rules]
- changes:
- "scripts/install-bazelisk"
- "scripts/install-chrome"
- "scripts/install-docker"
- "scripts/install-essentials"
- "scripts/install-exiftool"
- "scripts/install-git"
- "scripts/install-gcloud"
- "scripts/install-golang"
- "scripts/install-graphicsmagick"
- "scripts/install-helm"
- "scripts/install-kubectl"
- "scripts/install-lfs"
- "scripts/install-node"
- "scripts/install-pcre2"
- "scripts/install-postgresql"
- "scripts/install-ruby"
- "scripts/install-rust"
- "scripts/install-*"
- "scripts/lib/custom-docker-build"
- ".gitlab/ci/gitlab.images.yml"
- "patches/ruby/**/*"
gitlab:
extends:
- .gitlab
stage: gitlab
- .gitlab-base
variables:
RUBYGEMS: '3.4'
LFS: '2.9'
@ -43,15 +26,24 @@ gitlab:
parallel:
matrix:
- OS: ['debian:bookworm', 'debian:bookworm-slim']
RUBY: ['3.0.patched', '3.1.patched', '3.2.patched']
RUBY: ['3.0.6', '3.1.5', '3.2.4']
POSTGRESQL: ['13', '14', '15', '16']
GOLANG: ['1.21', '1.22']
CHROME: ['123']
# Used by GitLab's jobs that work with ruby gems
gitlab-slim-ruby:
extends:
- .gitlab-base
parallel:
matrix:
- RUBY: ['3.0.6', '3.1.5', '3.2.4']
OS: ['debian:bookworm-slim']
# Used by GitLab's compile-production-assets and compile-test-assets jobs
gitlab-assets:
extends:
- .gitlab
- .gitlab-base
stage: gitlab-assets
variables:
RUBYGEMS: '3.4'
@ -63,48 +55,27 @@ gitlab-assets:
parallel:
matrix:
- OS: ['debian:bookworm']
RUBY: ['3.0', '3.1', '3.2']
RUBY: ['3.0.6', '3.1.5', '3.2.4']
GIT: ['2.33']
# Used by GitLab's Review app jobs and triage-ops
ep-native-cloud-services:
extends:
- .gitlab
stage: gitlab-review-app
variables:
RUBY: '3.0'
GCLOUD: '383'
KUBECTL: '1.27'
HELM: '3.9'
# Used by GitLab's jobs that work with ruby gems
gitlab-slim-ruby:
extends:
- .gitlab
stage: gitlab
parallel:
matrix:
- RUBY: ['3.0', '3.1', '3.2']
OS: ['debian:bookworm-slim']
# Used by GitLab's workhorse tests
gitlab-workhorse:
needs: []
extends:
- .gitlab
stage: workhorse
- .gitlab-base
stage: gitlab-workhorse
variables:
EXIFTOOL: '12.60'
RUBYGEMS: '3.4'
parallel:
matrix:
- OS: ['debian:bookworm']
RUBY: ['3.0', '3.1', '3.2']
RUBY: ['3.0.6', '3.1.5', '3.2.4']
GOLANG: ['1.21', '1.22']
RUST: ['1.73']
GIT: ['2.36']
- OS: ['ubi:8.6']
RUBY: ['3.0', '3.1', '3.2']
RUBY: ['3.0.6', '3.1.5', '3.2.4']
GOLANG: ['1.21', '1.22']
RUST: ['1.73']
GIT: ['2.36']