From b6a78b952759bc052c86784252ea512a3bae2958 Mon Sep 17 00:00:00 2001 From: Kerkesni Date: Tue, 15 Jul 2025 17:30:25 +0200 Subject: [PATCH] ci: upgrade Ruby to 3.2 and modernize gem dependencies MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit - Upgrade Ruby from 2.5.9 to 3.2 in ceph-backend-test job - Update gem versions for Ruby 3.2 compatibility: - nokogiri: 1.12.5 → 1.15.5 - excon: 0.109.0 → 0.111.0 - fog-aws: 1.3.0 → 3.19.0 - mime-types: 3.1 → 3.5.2 - rspec: 3.5 → 3.12.0 - Fixes "Proc object without a block" and numbered parameter syntax errors - Resolves multi_json dependency conflicts with modern Ruby versions Issue: CLDSRV-715 --- .github/workflows/tests.yaml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/.github/workflows/tests.yaml b/.github/workflows/tests.yaml index 20928e47d3..dbbaeaa450 100644 --- a/.github/workflows/tests.yaml +++ b/.github/workflows/tests.yaml @@ -581,10 +581,10 @@ jobs: uses: ./.github/actions/setup-ci - uses: ruby/setup-ruby@v1 with: - ruby-version: '2.5.9' + ruby-version: '3.2' - name: Install Ruby dependencies run: | - gem install nokogiri:1.12.5 excon:0.109.0 fog-aws:1.3.0 json:2.7.6 mime-types:3.1 rspec:3.5 + gem install nokogiri:1.15.5 excon:0.111.0 fog-aws:3.19.0 json:2.7.6 mime-types:3.5.2 rspec:3.12.0 - name: Install Java dependencies run: | sudo apt-get update && sudo apt-get install -y --fix-missing default-jdk maven