File tree Expand file tree Collapse file tree 1 file changed +4
-8
lines changed Expand file tree Collapse file tree 1 file changed +4
-8
lines changed Original file line number Diff line number Diff line change @@ -10,6 +10,9 @@ include:
10
10
variables :
11
11
DOCKER_VERSION : " 20.10.15"
12
12
BUNDLE_FROZEN : " true"
13
+ GO_VERSION : " 1.18"
14
+ DEBIAN_VERSION : " bullseye"
15
+ RUBY_VERSION : " 2.7"
13
16
14
17
workflow :
15
18
rules : &workflow_rules
@@ -21,7 +24,7 @@ workflow:
21
24
- if : ' $CI_COMMIT_TAG'
22
25
23
26
default :
24
- image : golang:1.14
27
+ image : registry.gitlab.com/gitlab-org/gitlab-build-images/debian-${DEBIAN_VERSION}-ruby-${RUBY_VERSION}- golang-${GO_VERSION}:git-2.36
25
28
tags :
26
29
- gitlab-org
27
30
@@ -38,12 +41,7 @@ default:
38
41
GITALY_CONNECTION_INFO : ' {"address":"tcp://gitaly:8075", "storage":"default"}'
39
42
before_script :
40
43
# Set up the environment to run integration tests (still written in Ruby)
41
- - apt-get update -qq && apt-get install -y ruby ruby-dev
42
- - ruby -v
43
- - export PATH=~/bin:/usr/local/bin:/usr/bin:/bin:/usr/sbin:/sbin:/usr/local/go/bin
44
- - gem install --force --bindir /usr/local/bin bundler -v 2.3.6
45
44
- bundle install
46
- # Now set up to run the Golang tests
47
45
- make build
48
46
- cp config.yml.example config.yml
49
47
- go version
@@ -58,7 +56,6 @@ default:
58
56
59
57
tests :
60
58
extends : .test
61
- image : golang:${GO_VERSION}
62
59
parallel :
63
60
matrix :
64
61
- GO_VERSION : ["1.17", "1.18", "1.19"]
68
65
69
66
race :
70
67
extends : .test
71
- image : golang:1.18
72
68
script :
73
69
- make test_golang_race
74
70
You can’t perform that action at this time.
0 commit comments