Skip to content

Commit ab7ac0c

Browse files
committed
ruby: don't use ruby 2.7
1 parent bbbe865 commit ab7ac0c

File tree

1 file changed

+18
-14
lines changed

1 file changed

+18
-14
lines changed

ruby/ruby-build-pipeline.groovy

Lines changed: 18 additions & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@ pipeline {
2020
}
2121
axis {
2222
name 'CB_RUBY_VERSION'
23-
values '2.7', '3.0', '3.1', '3.2', 'brew'
23+
values /* '2.7', */'3.0', '3.1', '3.2', 'brew'
2424
}
2525
}
2626
excludes {
@@ -113,7 +113,7 @@ pipeline {
113113
}
114114
axis {
115115
name 'CB_RUBY_VERSION'
116-
values '2.7', '3.0', '3.1', '3.2', 'brew'
116+
values /* '2.7', */'3.0', '3.1', '3.2', 'brew'
117117
}
118118
}
119119
excludes {
@@ -145,7 +145,8 @@ pipeline {
145145
timestamps {
146146
cleanWs()
147147
dir("inst-${PLATFORM}-${CB_RUBY_VERSION}-${BUILD_NUMBER}") {
148-
unstash(name: "scripts-centos7-2.7")
148+
// unstash(name: "scripts-centos7-2.7")
149+
unstash(name: "scripts-centos7-3.0")
149150
sh("bin/jenkins/install-dependencies")
150151
}
151152
}
@@ -190,7 +191,7 @@ pipeline {
190191
}
191192
axis {
192193
name 'CB_RUBY_VERSION'
193-
values '2.7', '3.0', '3.1', '3.2'
194+
values /* '2.7', */ '3.0', '3.1', '3.2'
194195
}
195196
}
196197
agent { label PLATFORM }
@@ -254,7 +255,8 @@ pipeline {
254255
timestamps {
255256
cleanWs()
256257
dir("deps-${BUILD_NUMBER}") {
257-
unstash(name: "scripts-centos7-2.7")
258+
// unstash(name: "scripts-centos7-2.7")
259+
unstash(name: "scripts-centos7-3.0")
258260
sh("bin/jenkins/install-dependencies")
259261
}
260262
}
@@ -264,28 +266,30 @@ pipeline {
264266
steps {
265267
cleanWs()
266268
dir("repo-${BUILD_NUMBER}") {
267-
unstash(name: "scripts-centos7-2.7")
269+
// unstash(name: "scripts-centos7-2.7")
270+
unstash(name: "scripts-centos7-3.0")
268271
dir("gem-bin") {
269272
unstash(name: "gem-m1-brew-bin")
270-
unstash(name: "gem-macos-11.0-2.7-bin")
273+
//unstash(name: "gem-macos-11.0-2.7-bin")
271274
unstash(name: "gem-macos-11.0-3.0-bin")
272275
unstash(name: "gem-macos-11.0-3.1-bin")
273276
unstash(name: "gem-macos-11.0-3.2-bin")
274-
unstash(name: "gem-macos-10.15-2.7-bin")
277+
//unstash(name: "gem-macos-10.15-2.7-bin")
275278
unstash(name: "gem-macos-10.15-3.0-bin")
276279
unstash(name: "gem-macos-10.15-3.2-bin")
277-
unstash(name: "gem-centos7-2.7-bin")
280+
//unstash(name: "gem-centos7-2.7-bin")
278281
unstash(name: "gem-centos7-3.0-bin")
279282
unstash(name: "gem-centos7-3.1-bin")
280283
unstash(name: "gem-centos7-3.2-bin")
281-
unstash(name: "gem-alpine-2.7-bin")
284+
//unstash(name: "gem-alpine-2.7-bin")
282285
unstash(name: "gem-alpine-3.0-bin")
283286
unstash(name: "gem-alpine-3.1-bin")
284287
unstash(name: "gem-alpine-3.2-bin")
285288
archiveArtifacts(artifacts: "*.gem")
286289
}
287290
dir("gem-src") {
288-
unstash(name: "gem-centos7-2.7-src")
291+
//unstash(name: "gem-centos7-2.7-src")
292+
unstash(name: "gem-centos7-3.0-src")
289293
archiveArtifacts(artifacts: "*.gem")
290294
}
291295
}
@@ -340,9 +344,9 @@ pipeline {
340344
cfInvalidate(
341345
distribution: "$AWS_CF_DISTRIBUTION",
342346
paths: [
343-
"/${prefix}ruby/2.7.0/latest_specs.*",
344-
"/${prefix}ruby/2.7.0/prerelease_specs.*",
345-
"/${prefix}ruby/2.7.0/specs.*",
347+
//"/${prefix}ruby/2.7.0/latest_specs.*",
348+
//"/${prefix}ruby/2.7.0/prerelease_specs.*",
349+
//"/${prefix}ruby/2.7.0/specs.*",
346350
"/${prefix}ruby/3.0.0/latest_specs.*",
347351
"/${prefix}ruby/3.0.0/prerelease_specs.*",
348352
"/${prefix}ruby/3.0.0/specs.*",

0 commit comments

Comments
 (0)