Skip to content
This repository was archived by the owner on Apr 19, 2026. It is now read-only.

Commit ca02007

Browse files
authored
feat: Add ruby 3.0.3, 2.7.5 and 2.6.9
1 parent 05dc673 commit ca02007

4 files changed

Lines changed: 14 additions & 8 deletions

File tree

Rakefile

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -17,12 +17,12 @@
1717
RUNTIME_PROJECT="gcp-runtimes"
1818
BUNDLER1_VERSION="1.17.3"
1919
BUNDLER2_VERSION="2.1.4"
20-
DEFAULT_RUBY_VERSION="2.6.8"
20+
DEFAULT_RUBY_VERSION="2.6.9"
2121
NODEJS_VERSION="14.16.1"
2222
GCLOUD_VERSION="334.0.0"
2323
OS_NAME="ubuntu16"
2424

25-
LOCAL_PREBUILT_RUBY_VERSIONS=["2.5.9", "2.6.8", "2.7.4", "3.0.2"]
25+
LOCAL_PREBUILT_RUBY_VERSIONS=["2.5.9", "2.6.9", "2.7.5", "3.0.3"]
2626
LOCAL_PREBUILT_RUBY_IMAGE_BASE="ruby-prebuilt-"
2727
LOCAL_PREBUILT_RUBY_IMAGE_TAG="latest"
2828
RELEASED_PREBUILT_RUBY_VERSIONS=::File.readlines("ruby-pipeline/ruby-latest.yaml")

build-ruby-runtime-images.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@
1818
# This is the Ruby version that is installed in the "basic" convenience image
1919
# and that is used to run generate-dockerfile. It is NOT the same as the Ruby
2020
# version used by the runtime by default if one is not specified by the app.
21-
BASIC_RUBY_VERSION=2.7.4
21+
BASIC_RUBY_VERSION=2.7.5
2222

2323
BUNDLER1_VERSION=1.17.3
2424
BUNDLER2_VERSION=2.1.4

ruby-pipeline/ruby-latest.yaml

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -61,15 +61,18 @@ steps:
6161
'--prebuilt-image=2.6.6=gcr.io/gcp-runtimes/ruby/ubuntu16/prebuilt/ruby-2.6.6:latest',
6262
'--prebuilt-image=2.6.7=gcr.io/gcp-runtimes/ruby/ubuntu16/prebuilt/ruby-2.6.7:latest',
6363
'--prebuilt-image=2.6.8=gcr.io/gcp-runtimes/ruby/ubuntu16/prebuilt/ruby-2.6.8:latest',
64+
'--prebuilt-image=2.6.9=gcr.io/gcp-runtimes/ruby/ubuntu16/prebuilt/ruby-2.6.8:latest',
6465
'--prebuilt-image=2.7.0=gcr.io/gcp-runtimes/ruby/ubuntu16/prebuilt/ruby-2.7.0:latest',
6566
'--prebuilt-image=2.7.1=gcr.io/gcp-runtimes/ruby/ubuntu16/prebuilt/ruby-2.7.1:latest',
6667
'--prebuilt-image=2.7.2=gcr.io/gcp-runtimes/ruby/ubuntu16/prebuilt/ruby-2.7.2:latest',
6768
'--prebuilt-image=2.7.3=gcr.io/gcp-runtimes/ruby/ubuntu16/prebuilt/ruby-2.7.3:latest',
6869
'--prebuilt-image=2.7.4=gcr.io/gcp-runtimes/ruby/ubuntu16/prebuilt/ruby-2.7.4:latest',
70+
'--prebuilt-image=2.7.5=gcr.io/gcp-runtimes/ruby/ubuntu16/prebuilt/ruby-2.7.5:latest',
6971
'--prebuilt-image=3.0.0=gcr.io/gcp-runtimes/ruby/ubuntu16/prebuilt/ruby-3.0.0:latest',
7072
'--prebuilt-image=3.0.1=gcr.io/gcp-runtimes/ruby/ubuntu16/prebuilt/ruby-3.0.1:latest',
7173
'--prebuilt-image=3.0.2=gcr.io/gcp-runtimes/ruby/ubuntu16/prebuilt/ruby-3.0.2:latest',
72-
'--default-ruby-version=2.6.8']
74+
'--prebuilt-image=3.0.3=gcr.io/gcp-runtimes/ruby/ubuntu16/prebuilt/ruby-3.0.3:latest',
75+
'--default-ruby-version=2.6.9']
7376
- name: 'gcr.io/cloud-builders/docker:latest'
7477
args: ['build', '--network=cloudbuild', '-t', '$_OUTPUT_IMAGE', '.']
7578
images:

test/test_base_ruby_versions.rb

Lines changed: 7 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -59,25 +59,28 @@ class TestRubyVersions < ::Minitest::Test
5959
"2.6.6",
6060
"2.6.7",
6161
"2.6.8",
62+
"2.6.9",
6263
# 2.7.x versions are currently supported.
6364
"2.7.0",
6465
"2.7.1",
6566
"2.7.2",
6667
"2.7.3",
6768
"2.7.4",
69+
"2.7.5",
6870
# 3.0.x versions are currently supported.
6971
"3.0.0",
7072
"3.0.1",
71-
"3.0.2"
73+
"3.0.2",
74+
"3.0.3"
7275
]
7376

7477
FASTER_VERSIONS = [
7578
# Test only the latest patch of each supported minor version.
7679
"2.4.10",
7780
"2.5.9",
78-
"2.6.8",
79-
"2.7.4",
80-
"3.0.2"
81+
"2.6.9",
82+
"2.7.5",
83+
"3.0.3"
8184
]
8285

8386
PREBUILT_VERSIONS = ::ENV["PREBUILT_RUBY_VERSIONS"].to_s.split(",")

0 commit comments

Comments
 (0)