Skip to content

Commit

Permalink
Merge pull request #5156 from avalonmediasystem/staging
Browse files Browse the repository at this point in the history
Avalon 7.6.0 Release
  • Loading branch information
Jon Cameron authored Apr 5, 2023
2 parents 941b660 + 01591d5 commit 524f197
Show file tree
Hide file tree
Showing 673 changed files with 2,920 additions and 1,866 deletions.
12 changes: 6 additions & 6 deletions .circleci/config.yml
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ jobs:
build:
docker:
# Primary container image where all steps run.
- image: avalonmediasystem/avalon:develop
- image: avalonmediasystem/avalon:7.5.0-dev-ruby3
environment:
- DATABASE_URL=postgresql://postgres@localhost:5432/postgres
- FEDORA_URL=http://localhost:8080/fcrepo/rest
Expand All @@ -31,7 +31,7 @@ jobs:
parameters:
ruby_ver:
description: 'Ruby version'
default: '2.7'
default: '3.1'
type: 'string'
solr_port:
type: string
Expand Down Expand Up @@ -140,7 +140,7 @@ jobs:
default: 4
docker:
# Primary container image where all steps run.
- image: avalonmediasystem/avalon:develop
- image: avalonmediasystem/avalon:7.5.0-dev-ruby3

working_directory: /home/app/avalon

Expand All @@ -163,10 +163,10 @@ workflows:
build_test_report:
jobs:
- build:
ruby_ver: '2.7'
name: 'Ruby2-7'
ruby_ver: '3.2'
name: 'Ruby3-2'
parallelism: 4
- upload-coverage:
parallelism: 4
requires:
- Ruby2-7
- Ruby3-2
9 changes: 6 additions & 3 deletions Dockerfile
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
# Base stage for building gems
FROM ruby:2.7-bullseye as bundle
FROM ruby:3.2-bullseye as bundle
LABEL stage=build
LABEL project=avalon
RUN apt-get update && apt-get upgrade -y build-essential && apt-get autoremove \
Expand All @@ -19,6 +19,9 @@ COPY Gemfile.lock ./Gemfile.lock
RUN gem install bundler -v "$(grep -A 1 "BUNDLED WITH" Gemfile.lock | tail -n 1)" \
&& bundle config build.nokogiri --use-system-libraries

ENV RUBY_THREAD_MACHINE_STACK_SIZE 8388608
ENV RUBY_THREAD_VM_STACK_SIZE 8388608


# Build development gems
FROM bundle as bundle-dev
Expand All @@ -30,7 +33,7 @@ RUN bundle config set --local without 'production' \


# Download binaries in parallel
FROM ruby:2.7-bullseye as download
FROM ruby:3.2-bullseye as download
LABEL stage=build
LABEL project=avalon
RUN curl -L https://github.com/jwilder/dockerize/releases/download/v0.6.1/dockerize-linux-amd64-v0.6.1.tar.gz | tar xvz -C /usr/bin/
Expand All @@ -43,7 +46,7 @@ RUN apt-get -y update && apt-get install -y ffmpeg


# Base stage for building final images
FROM ruby:2.7-slim-bullseye as base
FROM ruby:3.2-slim-bullseye as base
LABEL stage=build
LABEL project=avalon
RUN echo "deb http://ftp.us.debian.org/debian/ bullseye main contrib non-free" > /etc/apt/sources.list.d/bullseye.list \
Expand Down
29 changes: 15 additions & 14 deletions Gemfile
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,9 @@ source 'https://rubygems.org'
# Core rails
gem 'bootsnap', require: false
gem 'listen'
gem 'rails', '=6.0.6.1'
gem 'net-smtp', require: false
gem 'psych', '< 4'
gem 'rails', '=7.0.4.3'
gem 'sprockets', '~>3.7.2'
#gem 'sprockets-rails', require: 'sprockets/railtie'
gem 'sqlite3'
Expand All @@ -27,13 +29,13 @@ gem 'uglifier', '>= 1.3.0'
gem 'webpacker'

# Core Samvera
gem 'active-fedora', '~> 13.2', '>= 13.2.5'
gem 'active_fedora-datastreams', '~> 0.4'
gem 'active-fedora', '~> 14.0', '>= 14.0.1'
gem 'active_fedora-datastreams', '~> 0.5'
gem 'hydra-head', '~> 12.0'
gem 'ldp', '~> 1.0.3'
gem 'noid-rails', '~> 3.0.1'
gem 'ldp', '~> 1.1.0'
gem 'noid-rails', '~> 3.1'
gem 'om', git: 'https://github.com/avalonmediasystem/om.git', tag: 'v3.2.0-ruby3'
gem 'rdf-rdfxml'
gem 'rdf-vocab', '< 3.1.5'

# Samvera version pins
gem 'blacklight', '~> 7.25'
Expand All @@ -51,11 +53,11 @@ gem 'avalon-about', git: 'https://github.com/avalonmediasystem/avalon-about.git'
#gem 'bootstrap-sass', '< 3.4.1' # Pin to less than 3.4.1 due to change in behavior with popovers
gem 'bootstrap-toggle-rails'
gem 'bootstrap_form'
gem 'iiif_manifest', '~> 0.6'
gem 'iiif_manifest', '~> 1.3'
gem 'rack-cors', require: 'rack/cors'
gem 'rails_same_site_cookie'
gem 'recaptcha', require: 'recaptcha/rails'
gem 'samvera-persona', '~> 0.3'
gem 'samvera-persona', '~> 0.4', '>= 0.4.1'
gem 'speedy-af', '~> 0.3'

# Avalon Components
Expand All @@ -72,18 +74,18 @@ gem 'omniauth-lti', git: "https://github.com/avalonmediasystem/omniauth-lti.git"
gem "omniauth-saml", "~> 2.0"

# Media Access & Transcoding
gem 'active_encode', '~> 1.0', '>= 1.1.2'
gem 'active_encode', '~> 1.0', '>= 1.1.3'
gem 'audio_waveform-ruby', '~> 1.0.7', require: 'audio_waveform'
gem 'browse-everything', git: "https://github.com/avalonmediasystem/browse-everything.git", branch: 'v1.2-avalon'
gem 'fastimage'
gem 'media_element_add_to_playlist', git: 'https://github.com/avalonmediasystem/media-element-add-to-playlist.git', tag: 'avalon-r6.5'
gem 'mediainfo', git: "https://github.com/avalonmediasystem/mediainfo.git", branch: 'avalon_fixes'
gem 'mediainfo', git: "https://github.com/avalonmediasystem/mediainfo.git", tag: 'v0.7.1-avalon'
gem 'rest-client', '~> 2.0'
gem 'roo'
gem 'wavefile', '~> 1.0.1'

# Data Translation & Normalization
gem 'edtf'
gem 'edtf', '>= 3.1.1'
gem 'iconv', '~> 1.0.6'
gem 'marc'

Expand All @@ -92,7 +94,7 @@ gem 'activejob-traffic_control'
gem 'activejob-uniqueness'
gem 'redis-rails'
gem 'sidekiq', '~> 6.2'
gem 'sidekiq-cron', '~> 1.2', git: "https://github.com/avalonmediasystem/sidekiq-cron.git", tag: 'v1.2.1-avalon'
gem 'sidekiq-cron', '~> 1.9'

# Coding Patterns
gem 'config'
Expand All @@ -112,7 +114,6 @@ group :development do
# Use Bixby instead of rubocop directly
gem 'bixby', require: false
gem 'web-console'
gem 'xray-rails'
end

group :development, :test do
Expand Down Expand Up @@ -144,7 +145,7 @@ group :test do
gem 'shoulda-matchers'
gem 'simplecov'
gem 'webdrivers', '~> 3.0'
gem 'webmock', '~> 3.5.1'
gem 'webmock', '~> 3.5'
end

group :production do
Expand Down
Loading

0 comments on commit 524f197

Please sign in to comment.