Skip to content

Commit

Permalink
Fixed failing setup for docs CI (agama-project#1649)
Browse files Browse the repository at this point in the history
The augeas Ruby gem 0.5.0 from rubygems.org is not compatible with Ruby
3.3 but the preinstalled RPM package is patched in OBS. Confugure the
bundler to use the system gems.

Copied from fac8bb6 by lslezak
  • Loading branch information
mvidner authored Oct 1, 2024
2 parents 8c2780d + 7aa61f0 commit 710060d
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/ci-doc-check.yml
Original file line number Diff line number Diff line change
Expand Up @@ -52,7 +52,7 @@ jobs:
- name: Install Ruby development files and XML tooling
run: zypper --non-interactive install --no-recommends
gcc gcc-c++ make libopenssl-devel ruby-devel augeas-devel diff
libxslt-devel libxml2-devel xmlstarlet
libxslt-devel libxml2-devel xmlstarlet 'rubygem(ruby-augeas)'

- name: Cache RubyGems
uses: actions/cache@v3
Expand All @@ -64,7 +64,7 @@ jobs:
env:
NOKOGIRI_USE_SYSTEM_LIBRARIES: 1
run: |
bundle config set --local path 'vendor/bundle'
bundle config set --local disable_shared_gems 0
bundle install
working-directory: ./service

Expand Down
2 changes: 1 addition & 1 deletion service/lib/agama/storage/config_size_solver.rb
Original file line number Diff line number Diff line change
Expand Up @@ -103,7 +103,7 @@ def size_from_product(config)
config_builder.default_size(path, having_paths: paths, with_snapshots: snapshots)
end

# @param config [Configs::Partition, Configs::LogicalVolume]
# @param device [Y2Storage::Device]
# @return [Configs::Size]
def size_from_device(device)
Configs::Size.new.tap do |config|
Expand Down

0 comments on commit 710060d

Please sign in to comment.