Skip to content

Commit

Permalink
Merge pull request #1367 from psu-libraries/preview/ruby-upgrade
Browse files Browse the repository at this point in the history
upgrade to ruby 3.1.6
  • Loading branch information
Smullz622 authored Dec 19, 2024
2 parents 890e99e + f6d365d commit e5ec57f
Show file tree
Hide file tree
Showing 6 changed files with 14 additions and 13 deletions.
15 changes: 8 additions & 7 deletions .circleci/config.yml
Original file line number Diff line number Diff line change
@@ -1,13 +1,13 @@
version: 2.1

orbs:
docker: circleci/docker@1.5.0
browser-tools: circleci/[email protected]
docker: circleci/docker@2.6.0
browser-tools: circleci/[email protected]

jobs:
release:
docker:
- image: harbor.k8s.libraries.psu.edu/library/ci-utils:$CI_UTILS_IMAGE_TAG
- image: harbor.k8s.libraries.psu.edu/library/ci-utils:v4.0.4
environment:
REGISTRY_HOST: harbor.k8s.libraries.psu.edu
REGISTRY_REPO: library/psulib_blacklight
Expand All @@ -26,18 +26,19 @@ jobs:
publish:
docker:
- image: harbor.k8s.libraries.psu.edu/library/ci-utils:$CI_UTILS_IMAGE_TAG
- image: harbor.k8s.libraries.psu.edu/library/ci-utils:v4.0.4
user: root
steps:
- setup_remote_docker:
version: docker24
version: default
docker_layer_caching: true
- checkout
- docker/check:
registry: harbor.k8s.libraries.psu.edu
- docker/build:
image: library/psulib_blacklight
registry: harbor.k8s.libraries.psu.edu
use-buildkit: true
extra_build_args: "--target production"
- docker/push:
digest-path: /tmp/digest.txt
Expand All @@ -48,7 +49,7 @@ jobs:
echo "Digest is: $(</tmp/digest.txt)"
deploy:
docker:
- image: harbor.k8s.libraries.psu.edu/library/ci-utils:$CI_UTILS_IMAGE_TAG
- image: harbor.k8s.libraries.psu.edu/library/ci-utils:v4.0.4
environment:
CONFIG_REPO: [email protected]:psu-libraries/catalog-config.git
steps:
Expand All @@ -62,7 +63,7 @@ jobs:
./bin/generate_app
test:
docker:
- image: cimg/ruby:3.1.2-browsers
- image: cimg/ruby:3.1.6-browsers
- image: harbor.k8s.libraries.psu.edu/library/solr:9.5.0
environment:
SOLR_STOP_WAIT: 1
Expand Down
2 changes: 1 addition & 1 deletion .ruby-version
Original file line number Diff line number Diff line change
@@ -1 +1 @@
3.1.2
3.1.6
2 changes: 1 addition & 1 deletion Dockerfile
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
FROM harbor.k8s.libraries.psu.edu/library/ruby-3.1.2-node-16:20241113 as base
FROM harbor.k8s.libraries.psu.edu/library/ruby-3.1.6-node-16:20241218 AS base
ARG UID=2000

USER root
Expand Down
2 changes: 1 addition & 1 deletion Gemfile
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ gem 'net-imap', require: false
gem 'net-pop', require: false
gem 'net-smtp', require: false
gem 'okcomputer', '~> 1.18'
gem 'puma', '~> 6'
gem 'puma', '~> 6.5'
gem 'rack-mini-profiler'
gem 'rails', '~> 7.1.4.1'
gem 'rsolr', '>= 2.5'
Expand Down
4 changes: 2 additions & 2 deletions Gemfile.lock
Original file line number Diff line number Diff line change
Expand Up @@ -318,7 +318,7 @@ GEM
psych (5.2.0)
stringio
public_suffix (5.0.5)
puma (6.4.3)
puma (6.5.0)
nio4r (~> 2.0)
racc (1.8.1)
rack (3.1.8)
Expand Down Expand Up @@ -566,7 +566,7 @@ DEPENDENCIES
niftany (~> 0.10)
okcomputer (~> 1.18)
pry-byebug
puma (~> 6)
puma (~> 6.5)
rack-mini-profiler
rails (~> 7.1.4.1)
rails-controller-testing
Expand Down
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ The Penn State University Libraries' catalog. Built on Blacklight, using Traject

| Software | Version |
|----------|------|
| `ruby` | 3.1.2 |
| `ruby` | 3.1.6 |
| `rails` | 6.1.7 |
| `solr` | 8.11.2 |

Expand Down

0 comments on commit e5ec57f

Please sign in to comment.