Browse Source

Bump ruby (#363)

* Bump ruby

* Bump workflow too
pull/364/head
baarkerlounger 3 years ago committed by GitHub
parent
commit
6ecbf7e187
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
  1. 2
      .github/workflows/production_pipeline.yml
  2. 2
      .github/workflows/staging_pipeline.yml
  3. 2
      .ruby-version
  4. 4
      Dockerfile
  5. 2
      Dockerfile_dev
  6. 2
      Gemfile
  7. 2
      Gemfile.lock

2
.github/workflows/production_pipeline.yml

@ -38,7 +38,7 @@ jobs:
--health-retries 5
env:
RAILS_ENV: test
GEMFILE_RUBY_VERSION: 3.1.0
GEMFILE_RUBY_VERSION: 3.1.1
DB_HOST: localhost
DB_DATABASE: data_collector
DB_USERNAME: postgres

2
.github/workflows/staging_pipeline.yml

@ -37,7 +37,7 @@ jobs:
--health-retries 5
env:
RAILS_ENV: test
GEMFILE_RUBY_VERSION: 3.1.0
GEMFILE_RUBY_VERSION: 3.1.1
DB_HOST: localhost
DB_DATABASE: data_collector
DB_USERNAME: postgres

2
.ruby-version

@ -1 +1 @@
3.1.0
3.1.1

4
Dockerfile

@ -1,5 +1,5 @@
# Build compilation image
FROM ruby:3.1.0-alpine as builder
FROM ruby:3.1.1-alpine as builder
# The application runs from /app
WORKDIR /app
@ -45,7 +45,7 @@ RUN rm -rf node_modules log tmp && \
find /usr/local/bundle/gems -name "*.html" -delete
# Build runtime image
FROM ruby:3.1.0-alpine as production
FROM ruby:3.1.1-alpine as production
# The application runs from /app
WORKDIR /app

2
Dockerfile_dev

@ -1,5 +1,5 @@
# Build compilation image
FROM ruby:3.1.0-alpine
FROM ruby:3.1.1-alpine
# The application runs from /app
WORKDIR /app

2
Gemfile

@ -3,7 +3,7 @@
source "https://rubygems.org"
git_source(:github) { |repo| "https://github.com/#{repo}.git" }
ruby "3.1.0"
ruby "3.1.1"
# Bundle edge Rails instead: gem 'rails', github: 'rails/rails', branch: 'main'
gem "rails", "~> 7.0.2"

2
Gemfile.lock

@ -516,7 +516,7 @@ DEPENDENCIES
webpacker (~> 5.0)
RUBY VERSION
ruby 3.1.0p0
ruby 3.1.1p18
BUNDLED WITH
2.3.7

Loading…
Cancel
Save