Update Ruby version to 3.3.2

Also remove support for  OSEM_RUBY_VERSION, we are going to support
one ruby version and one ruby version only now.
This commit is contained in:
Henne Vogelsang 2024-06-06 16:48:57 +02:00
parent c446375242
commit effba3382e
No known key found for this signature in database
GPG key ID: 97DDB66BDAF8D4D6
7 changed files with 12 additions and 11 deletions

View file

@ -26,7 +26,7 @@ jobs:
echo "BUNDLE_CACHE_PATH=vendor/cache.next" >> $GITHUB_ENV echo "BUNDLE_CACHE_PATH=vendor/cache.next" >> $GITHUB_ENV
- uses: ruby/setup-ruby@v1 - uses: ruby/setup-ruby@v1
with: with:
ruby-version: 3.1.4 ruby-version: 3.3.2
bundler-cache: true bundler-cache: true
- name: Prepare spec - name: Prepare spec
run: | run: |

View file

@ -16,7 +16,7 @@ jobs:
- uses: actions/checkout@v2 - uses: actions/checkout@v2
- uses: ruby/setup-ruby@v1 - uses: ruby/setup-ruby@v1
with: with:
ruby-version: 3.1.4 ruby-version: 3.3.2
bundler-cache: true bundler-cache: true
- run: bundle exec rubocop - run: bundle exec rubocop
- run: bundle exec haml-lint app/views - run: bundle exec haml-lint app/views
@ -34,7 +34,7 @@ jobs:
- uses: actions/checkout@v2 - uses: actions/checkout@v2
- uses: ruby/setup-ruby@v1 - uses: ruby/setup-ruby@v1
with: with:
ruby-version: 3.1.4 ruby-version: 3.3.2
bundler-cache: true bundler-cache: true
- name: Prepare spec - name: Prepare spec
run: | run: |

View file

@ -1 +1 @@
3.1.4 3.3.2

View file

@ -17,6 +17,10 @@ USER osem
WORKDIR /osem/ WORKDIR /osem/
# Install our bundle # Install our bundle
RUN bundle install --jobs=3 --retry=3 RUN bundle config set --local path 'vendor/bundle'; \
bundle install --jobs=4 --retry=3
# Install our process manager
RUN gem install foreman
CMD ["foreman", "start"] CMD ["foreman", "start"]

View file

@ -6,7 +6,7 @@ end
source 'https://rubygems.org' source 'https://rubygems.org'
ruby ENV.fetch('OSEM_RUBY_VERSION', '3.1.4') ruby '3.3.2'
# as web framework # as web framework
if next? if next?

View file

@ -717,7 +717,7 @@ DEPENDENCIES
whenever whenever
RUBY VERSION RUBY VERSION
ruby 3.1.4 ruby 3.3.2
BUNDLED WITH BUNDLED WITH
2.3.26 2.5.9

View file

@ -32,9 +32,6 @@
# OSEM_MEMCACHED_USERNAME='root' # OSEM_MEMCACHED_USERNAME='root'
# OSEM_MEMCACHED_PASSWORD='1234' # OSEM_MEMCACHED_PASSWORD='1234'
# Set this if you want to deviate from our 'standard' ruby version
# OSEM_RUBY_VERSION=3.1.2
# What time is it? # What time is it?
# OSEM_TIME_ZONE="UTC" # OSEM_TIME_ZONE="UTC"