Skip to content

Commit 6a1bdb1

Browse files
glasntdazuma
andauthored
feat: Update Rails on Cloud Run to use Artifact Registry (#1495)
* feat: Update Rails on Cloud Run to use Artifact Registry * fix: update node version * feat: replace appengine-execwrapper with Cloud Run job * update Rails to 8, update Gemfile.lock * Actually resolve Gemfile.lock --------- Co-authored-by: Daniel Azuma <[email protected]>
1 parent 2b36b2b commit 6a1bdb1

File tree

4 files changed

+226
-162
lines changed

4 files changed

+226
-162
lines changed

run/rails/Dockerfile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ FROM ruby:3.2-buster
88
# [END cloudrun_rails_base_image]
99

1010
RUN (curl -sS https://deb.nodesource.com/gpgkey/nodesource.gpg.key | gpg --dearmor | apt-key add -) && \
11-
echo "deb https://deb.nodesource.com/node_14.x buster main" > /etc/apt/sources.list.d/nodesource.list && \
11+
echo "deb https://deb.nodesource.com/node_20.x buster main" > /etc/apt/sources.list.d/nodesource.list && \
1212
apt-get update && apt-get install -y nodejs lsb-release
1313

1414
RUN (curl -sS https://dl.yarnpkg.com/debian/pubkey.gpg | apt-key add -) && \

run/rails/Gemfile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@ git_source(:github) { |repo| "https://github.com/#{repo}.git" }
33

44
gem "dotenv-rails", "~> 2.8"
55
# Bundle edge Rails instead: gem "rails", github: "rails/rails", branch: "main"
6-
gem "rails", "~> 7.0"
6+
gem "rails", "~> 8.0"
77
# Use postgresql as the database for Active Record
88
gem "pg", "~> 1.5"
99
# Use Puma as the app server

0 commit comments

Comments
 (0)