Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Update rubies to 2.6.6, 2.5.8 and 2.4.10 #187

Merged
merged 1 commit into from May 19, 2020
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Jump to
Jump to file
Failed to load files.
Diff view
Diff view
4 changes: 2 additions & 2 deletions Rakefile
Expand Up @@ -17,12 +17,12 @@
RUNTIME_PROJECT="gcp-runtimes"
BUNDLER1_VERSION="1.17.3"
BUNDLER2_VERSION="2.0.2"
DEFAULT_RUBY_VERSION="2.6.5"
DEFAULT_RUBY_VERSION="2.6.6"
NODEJS_VERSION="10.16.3"
GCLOUD_VERSION="261.0.0"
OS_NAME="ubuntu16"

LOCAL_PREBUILT_RUBY_VERSIONS=["2.4.9", "2.5.7", "2.6.5"]
LOCAL_PREBUILT_RUBY_VERSIONS=["2.4.10", "2.5.8", "2.6.6"]
LOCAL_PREBUILT_RUBY_IMAGE_BASE="ruby-prebuilt-"
LOCAL_PREBUILT_RUBY_IMAGE_TAG="latest"
RELEASED_PREBUILT_RUBY_VERSIONS=::File.readlines("ruby-pipeline/ruby-latest.yaml")
Expand Down
2 changes: 1 addition & 1 deletion build-ruby-runtime-images.sh
Expand Up @@ -18,7 +18,7 @@
# This is the Ruby version that is installed in the "basic" convenience image
# and that is used to run generate-dockerfile. It is NOT the same as the Ruby
# version used by the runtime by default if one is not specified by the app.
BASIC_RUBY_VERSION=2.6.5
BASIC_RUBY_VERSION=2.6.6

BUNDLER1_VERSION=1.17.3
BUNDLER2_VERSION=2.0.2
Expand Down
5 changes: 4 additions & 1 deletion ruby-pipeline/ruby-latest.yaml
Expand Up @@ -42,20 +42,23 @@ steps:
'--prebuilt-image=2.4.6=gcr.io/gcp-runtimes/ruby/ubuntu16/prebuilt/ruby-2.4.6:latest',
'--prebuilt-image=2.4.7=gcr.io/gcp-runtimes/ruby/ubuntu16/prebuilt/ruby-2.4.7:latest',
'--prebuilt-image=2.4.9=gcr.io/gcp-runtimes/ruby/ubuntu16/prebuilt/ruby-2.4.9:latest',
'--prebuilt-image=2.4.10=gcr.io/gcp-runtimes/ruby/ubuntu16/prebuilt/ruby-2.4.10:latest',
'--prebuilt-image=2.5.0=gcr.io/gcp-runtimes/ruby/ubuntu16/prebuilt/ruby-2.5.0:latest',
'--prebuilt-image=2.5.1=gcr.io/gcp-runtimes/ruby/ubuntu16/prebuilt/ruby-2.5.1:latest',
'--prebuilt-image=2.5.3=gcr.io/gcp-runtimes/ruby/ubuntu16/prebuilt/ruby-2.5.3:latest',
'--prebuilt-image=2.5.4=gcr.io/gcp-runtimes/ruby/ubuntu16/prebuilt/ruby-2.5.4:latest',
'--prebuilt-image=2.5.5=gcr.io/gcp-runtimes/ruby/ubuntu16/prebuilt/ruby-2.5.5:latest',
'--prebuilt-image=2.5.6=gcr.io/gcp-runtimes/ruby/ubuntu16/prebuilt/ruby-2.5.6:latest',
'--prebuilt-image=2.5.7=gcr.io/gcp-runtimes/ruby/ubuntu16/prebuilt/ruby-2.5.7:latest',
'--prebuilt-image=2.5.8=gcr.io/gcp-runtimes/ruby/ubuntu16/prebuilt/ruby-2.5.8:latest',
'--prebuilt-image=2.6.0=gcr.io/gcp-runtimes/ruby/ubuntu16/prebuilt/ruby-2.6.0:latest',
'--prebuilt-image=2.6.1=gcr.io/gcp-runtimes/ruby/ubuntu16/prebuilt/ruby-2.6.1:latest',
'--prebuilt-image=2.6.2=gcr.io/gcp-runtimes/ruby/ubuntu16/prebuilt/ruby-2.6.2:latest',
'--prebuilt-image=2.6.3=gcr.io/gcp-runtimes/ruby/ubuntu16/prebuilt/ruby-2.6.3:latest',
'--prebuilt-image=2.6.4=gcr.io/gcp-runtimes/ruby/ubuntu16/prebuilt/ruby-2.6.4:latest',
'--prebuilt-image=2.6.5=gcr.io/gcp-runtimes/ruby/ubuntu16/prebuilt/ruby-2.6.5:latest',
'--default-ruby-version=2.6.5']
'--prebuilt-image=2.6.6=gcr.io/gcp-runtimes/ruby/ubuntu16/prebuilt/ruby-2.6.6:latest',
'--default-ruby-version=2.6.6']
- name: 'gcr.io/cloud-builders/docker:latest'
args: ['build', '--network=cloudbuild', '-t', '$_OUTPUT_IMAGE', '.']
images:
Expand Down
12 changes: 8 additions & 4 deletions test/test_base_ruby_versions.rb
Expand Up @@ -37,7 +37,9 @@ class TestRubyVersions < ::Minitest::Test
"2.4.5",
"2.4.6",
"2.4.7",
# 2.4.8 was withdrawn.
"2.4.9",
"2.4.10",
# 2.5.x versions are currently supported.
"2.5.0",
"2.5.1",
Expand All @@ -46,20 +48,22 @@ class TestRubyVersions < ::Minitest::Test
"2.5.5",
"2.5.6",
"2.5.7",
"2.5.8",
# 2.6.0 versions are currently supported.
"2.6.0",
"2.6.1",
"2.6.2",
"2.6.3",
"2.6.4",
"2.6.5"
"2.6.5",
"2.6.6"
]

FASTER_VERSIONS = [
# Test only the latest patch of each supported minor version.
"2.4.9",
"2.5.7",
"2.6.5"
"2.4.10",
"2.5.8",
"2.6.6"
]

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