mirror of
https://github.com/openSUSE/osem.git
synced 2026-08-13 19:54:02 +00:00
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:
parent
c446375242
commit
effba3382e
7 changed files with 12 additions and 11 deletions
2
.github/workflows/next-rails.yml
vendored
2
.github/workflows/next-rails.yml
vendored
|
|
@ -26,7 +26,7 @@ jobs:
|
|||
echo "BUNDLE_CACHE_PATH=vendor/cache.next" >> $GITHUB_ENV
|
||||
- uses: ruby/setup-ruby@v1
|
||||
with:
|
||||
ruby-version: 3.1.4
|
||||
ruby-version: 3.3.2
|
||||
bundler-cache: true
|
||||
- name: Prepare spec
|
||||
run: |
|
||||
|
|
|
|||
4
.github/workflows/spec.yml
vendored
4
.github/workflows/spec.yml
vendored
|
|
@ -16,7 +16,7 @@ jobs:
|
|||
- uses: actions/checkout@v2
|
||||
- uses: ruby/setup-ruby@v1
|
||||
with:
|
||||
ruby-version: 3.1.4
|
||||
ruby-version: 3.3.2
|
||||
bundler-cache: true
|
||||
- run: bundle exec rubocop
|
||||
- run: bundle exec haml-lint app/views
|
||||
|
|
@ -34,7 +34,7 @@ jobs:
|
|||
- uses: actions/checkout@v2
|
||||
- uses: ruby/setup-ruby@v1
|
||||
with:
|
||||
ruby-version: 3.1.4
|
||||
ruby-version: 3.3.2
|
||||
bundler-cache: true
|
||||
- name: Prepare spec
|
||||
run: |
|
||||
|
|
|
|||
|
|
@ -1 +1 @@
|
|||
3.1.4
|
||||
3.3.2
|
||||
|
|
|
|||
|
|
@ -17,6 +17,10 @@ USER osem
|
|||
WORKDIR /osem/
|
||||
|
||||
# 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"]
|
||||
|
|
|
|||
2
Gemfile
2
Gemfile
|
|
@ -6,7 +6,7 @@ end
|
|||
|
||||
source 'https://rubygems.org'
|
||||
|
||||
ruby ENV.fetch('OSEM_RUBY_VERSION', '3.1.4')
|
||||
ruby '3.3.2'
|
||||
|
||||
# as web framework
|
||||
if next?
|
||||
|
|
|
|||
|
|
@ -717,7 +717,7 @@ DEPENDENCIES
|
|||
whenever
|
||||
|
||||
RUBY VERSION
|
||||
ruby 3.1.4
|
||||
ruby 3.3.2
|
||||
|
||||
BUNDLED WITH
|
||||
2.3.26
|
||||
2.5.9
|
||||
|
|
|
|||
|
|
@ -32,9 +32,6 @@
|
|||
# OSEM_MEMCACHED_USERNAME='root'
|
||||
# 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?
|
||||
# OSEM_TIME_ZONE="UTC"
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue