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

UPGRADE WORKER TO LATEST RUBY V3.2.2 #234

Merged
merged 6 commits into from
Apr 15, 2024
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.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion .ruby-version
Original file line number Diff line number Diff line change
@@ -1 +1 @@
3.0.3
3.2.2
6 changes: 4 additions & 2 deletions Dockerfile
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
FROM ruby:3.0.3-alpine3.15 AS builder
FROM ruby:3.2.2-alpine3.18 AS builder

ARG BUILD_PACKAGES="build-base curl-dev git"
ARG DEV_PACKAGES="yaml-dev zlib-dev libxml2-dev libxslt-dev"
Expand Down Expand Up @@ -33,7 +33,7 @@ ENV RAILS_ENV=$RAILS_ENV

############### Build step done ###############

FROM ruby:3.0.3-alpine3.15
FROM ruby:3.2.2-alpine3.18

ARG PACKAGES="build-base tzdata bash libxslt libxml2-dev libxslt-dev"

Expand All @@ -45,6 +45,8 @@ WORKDIR /app
# install packages
RUN apk add --no-cache $PACKAGES

# This is needed for the pipeline build (it breaks without the freedesktop package).
# There is no newer version of buster, so we will keep using this version for now
COPY --from=ruby:3.0.0-buster /usr/share/mime/packages/freedesktop.org.xml /usr/share/mime/packages/
COPY --from=builder $GEM_HOME $GEM_HOME
COPY --from=builder /app /app
Expand Down
7 changes: 3 additions & 4 deletions Gemfile
Original file line number Diff line number Diff line change
Expand Up @@ -12,16 +12,15 @@ gem 'kaminari'
gem 'kaminari-mongoid'
gem 'lograge', '~> 0.11.2'
gem 'mongoid', '~> 7.0'
gem 'oai', '~> 1.1.0' # faraday needs to be updated for 1.2.0
gem 'oai'
gem 'ougai', '~> 1.8'
gem 'parse-cron'
gem 'puma'
gem 'puma-metrics'
gem 'rails', '~> 7.0.4'
gem 'rails', '~> 7.0.8'
gem 'responders'
gem 'sidekiq', '6.5.10'
gem 'sinatra', require: nil
gem 'supplejack_common', github: 'DigitalNZ/supplejack_common', tag: 'v2.11.1'
gem 'supplejack_common', github: 'DigitalNZ/supplejack_common', tag: 'v3.0.0'
gem 'whenever', require: false
gem 'brakeman'
gem 'amazing_print'
Expand Down
Loading
Loading