Skip to content

Commit

Permalink
Test Ruby 3 changes
Browse files Browse the repository at this point in the history
  • Loading branch information
nodeg committed Aug 20, 2024
1 parent 96f5480 commit cd13ce0
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -16,6 +16,7 @@

/**
* Parser specific for Alibaba cloud linux errata.
* // TEST DOM
*/
public class AlibabaErrataParser extends AbstractSimpleErrataParser {

Expand Down
2 changes: 1 addition & 1 deletion testsuite/dockerfiles/controller-dev/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -61,6 +61,6 @@ RUN git clone https://github.com/nodeg/twopence.git /root/twopence && \
make && \
make install
RUN ln -fs /usr/lib64/ruby/gems/3.3.0/gems/twopence-0.4.2/lib/twopence.so /usr/lib64/ruby/gems/3.3.0/gems/twopence-0.4.2/lib/twopence.so.0
# RUN ldconfig
RUN ldconfig

RUN curl https://raw.githubusercontent.com/nodeg/uyuni/master/testsuite/Gemfile -o Gemfile && bundle.ruby3.3 install && rm Gemfile
2 changes: 2 additions & 0 deletions testsuite/podman_runner/05_install_gems_in_controller.sh
Original file line number Diff line number Diff line change
@@ -1,3 +1,5 @@
#!/bin/bash
set -xe
sudo -i podman exec controller bash -c "cd /testsuite && bundle.ruby3.3 install --gemfile Gemfile --verbose"
# Fix for building Twopence from source
sudo -i podman exec controller bash -c "ln -fs /usr/lib64/ruby/gems/3.3.0/gems/twopence-0.4.2/lib/twopence.so /usr/lib64/ruby/gems/3.3.0/gems/twopence-0.4.2/lib/twopence.so.0"

0 comments on commit cd13ce0

Please sign in to comment.