Skip to content

Commit aa205f3

Browse files
committed
Make Go and Ruby versions more readable in CI
1 parent 10b61ae commit aa205f3

File tree

1 file changed

+5
-5
lines changed

1 file changed

+5
-5
lines changed

.gitlab-ci.yml

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -10,9 +10,9 @@ include:
1010
variables:
1111
DOCKER_VERSION: "20.10.15"
1212
BUNDLE_FROZEN: "true"
13-
GO_VERSION: "1.18"
13+
GO_VERSION: "golang-1.18"
1414
DEBIAN_VERSION: "bullseye"
15-
RUBY_VERSION: "2.7"
15+
RUBY_VERSION: "ruby-2.7"
1616

1717
workflow:
1818
rules: &workflow_rules
@@ -24,7 +24,7 @@ workflow:
2424
- if: '$CI_COMMIT_TAG'
2525

2626
default:
27-
image: registry.gitlab.com/gitlab-org/gitlab-build-images/debian-${DEBIAN_VERSION}-ruby-${RUBY_VERSION}-golang-${GO_VERSION}:git-2.36
27+
image: registry.gitlab.com/gitlab-org/gitlab-build-images/debian-${DEBIAN_VERSION}-${RUBY_VERSION}-${GO_VERSION}:git-2.36
2828
tags:
2929
- gitlab-org
3030

@@ -56,8 +56,8 @@ tests:
5656
extends: .test
5757
parallel:
5858
matrix:
59-
- GO_VERSION: ["1.17", "1.18", "1.19"]
60-
- RUBY_VERSION: ["2.7", "3.0"]
59+
- GO_VERSION: ["golang-1.17", "golang-1.18", "golang-1.19"]
60+
- RUBY_VERSION: ["ruby-2.7", "ruby-3.0"]
6161
script:
6262
- make verify test
6363
after_script:

0 commit comments

Comments
 (0)