summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAsh McKenzie <amckenzie@gitlab.com>2023-01-10 14:06:43 +1100
committerAsh McKenzie <amckenzie@gitlab.com>2023-01-10 14:06:43 +1100
commitaa205f3e9c001070f82340fbcf06aed8afb3f771 (patch)
tree63506422887f042452c90fe318cc07c9931346bc
parent10b61aed006455c989ac8ceb66b85b84855459a3 (diff)
downloadgitlab-shell-aa205f3e9c001070f82340fbcf06aed8afb3f771.tar.gz
Make Go and Ruby versions more readable in CI
-rw-r--r--.gitlab-ci.yml10
1 files changed, 5 insertions, 5 deletions
diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml
index 5ea2793..f06353e 100644
--- a/.gitlab-ci.yml
+++ b/.gitlab-ci.yml
@@ -10,9 +10,9 @@ include:
variables:
DOCKER_VERSION: "20.10.15"
BUNDLE_FROZEN: "true"
- GO_VERSION: "1.18"
+ GO_VERSION: "golang-1.18"
DEBIAN_VERSION: "bullseye"
- RUBY_VERSION: "2.7"
+ RUBY_VERSION: "ruby-2.7"
workflow:
rules: &workflow_rules
@@ -24,7 +24,7 @@ workflow:
- if: '$CI_COMMIT_TAG'
default:
- image: registry.gitlab.com/gitlab-org/gitlab-build-images/debian-${DEBIAN_VERSION}-ruby-${RUBY_VERSION}-golang-${GO_VERSION}:git-2.36
+ image: registry.gitlab.com/gitlab-org/gitlab-build-images/debian-${DEBIAN_VERSION}-${RUBY_VERSION}-${GO_VERSION}:git-2.36
tags:
- gitlab-org
@@ -56,8 +56,8 @@ tests:
extends: .test
parallel:
matrix:
- - GO_VERSION: ["1.17", "1.18", "1.19"]
- - RUBY_VERSION: ["2.7", "3.0"]
+ - GO_VERSION: ["golang-1.17", "golang-1.18", "golang-1.19"]
+ - RUBY_VERSION: ["ruby-2.7", "ruby-3.0"]
script:
- make verify test
after_script: