Skip to content

Commit 05dc673

Browse files
authored
feat: Add Ruby 3.0.2, 2.7.4 and 2.6.8 (#202)
1 parent dc27df7 commit 05dc673

File tree

4 files changed

+14
-8
lines changed

4 files changed

+14
-8
lines changed

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.7"
20+
DEFAULT_RUBY_VERSION="2.6.8"
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.7", "2.7.3", "3.0.1"]
25+
LOCAL_PREBUILT_RUBY_VERSIONS=["2.5.9", "2.6.8", "2.7.4", "3.0.2"]
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.6.7
21+
BASIC_RUBY_VERSION=2.7.4
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
@@ -60,13 +60,16 @@ steps:
6060
'--prebuilt-image=2.6.5=gcr.io/gcp-runtimes/ruby/ubuntu16/prebuilt/ruby-2.6.5:latest',
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',
63+
'--prebuilt-image=2.6.8=gcr.io/gcp-runtimes/ruby/ubuntu16/prebuilt/ruby-2.6.8:latest',
6364
'--prebuilt-image=2.7.0=gcr.io/gcp-runtimes/ruby/ubuntu16/prebuilt/ruby-2.7.0:latest',
6465
'--prebuilt-image=2.7.1=gcr.io/gcp-runtimes/ruby/ubuntu16/prebuilt/ruby-2.7.1:latest',
6566
'--prebuilt-image=2.7.2=gcr.io/gcp-runtimes/ruby/ubuntu16/prebuilt/ruby-2.7.2:latest',
6667
'--prebuilt-image=2.7.3=gcr.io/gcp-runtimes/ruby/ubuntu16/prebuilt/ruby-2.7.3:latest',
68+
'--prebuilt-image=2.7.4=gcr.io/gcp-runtimes/ruby/ubuntu16/prebuilt/ruby-2.7.4:latest',
6769
'--prebuilt-image=3.0.0=gcr.io/gcp-runtimes/ruby/ubuntu16/prebuilt/ruby-3.0.0:latest',
6870
'--prebuilt-image=3.0.1=gcr.io/gcp-runtimes/ruby/ubuntu16/prebuilt/ruby-3.0.1:latest',
69-
'--default-ruby-version=2.6.7']
71+
'--prebuilt-image=3.0.2=gcr.io/gcp-runtimes/ruby/ubuntu16/prebuilt/ruby-3.0.2:latest',
72+
'--default-ruby-version=2.6.8']
7073
- name: 'gcr.io/cloud-builders/docker:latest'
7174
args: ['build', '--network=cloudbuild', '-t', '$_OUTPUT_IMAGE', '.']
7275
images:

test/test_base_ruby_versions.rb

Lines changed: 7 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -58,23 +58,26 @@ class TestRubyVersions < ::Minitest::Test
5858
"2.6.5",
5959
"2.6.6",
6060
"2.6.7",
61+
"2.6.8",
6162
# 2.7.x versions are currently supported.
6263
"2.7.0",
6364
"2.7.1",
6465
"2.7.2",
6566
"2.7.3",
67+
"2.7.4",
6668
# 3.0.x versions are currently supported.
6769
"3.0.0",
68-
"3.0.1"
70+
"3.0.1",
71+
"3.0.2"
6972
]
7073

7174
FASTER_VERSIONS = [
7275
# Test only the latest patch of each supported minor version.
7376
"2.4.10",
7477
"2.5.9",
75-
"2.6.7",
76-
"2.7.3",
77-
"3.0.1"
78+
"2.6.8",
79+
"2.7.4",
80+
"3.0.2"
7881
]
7982

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

0 commit comments

Comments
 (0)