Update run-basic-rails-application test

Remove ror-50 part (not supported anywhere any more)
Dropped rubyracer install
This commit is contained in:
Lukas Zachar 2022-11-30 13:52:30 +01:00
commit 9c0b998188
3 changed files with 13 additions and 11 deletions

View file

@ -1,9 +1,6 @@
contact: Vít Ondruch <vondruch@redhat.com>
test: runtest.sh
category: integration
/run-basic-rails-application:
component: rubygem-rails
test: ./runtest.sh
framework: beakerlib
/systemtap-static-probes-in-ruby:
component: systemtap

View file

@ -0,0 +1,11 @@
component:
- rubygem-rails
require:
- ruby
- ruby-devel
- rubygem-rails
- gcc
- git-core
- rubygems
- rubypick

View file

@ -27,7 +27,6 @@
# ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
# Include Beaker environment
[ -e /usr/bin/rhts-environment.sh ] && . /usr/bin/rhts-environment.sh
. /usr/share/beakerlib/beakerlib.sh
PACKAGES=${PACKAGES:-ruby rubygems rubypick}
@ -70,11 +69,6 @@ rlJournalStart
rlRun "pushd app/"
rlAssertExists "app"
if [[ ! "$COLLECTIONS" =~ "rh-ror50" ]]
then
rlRun "echo \"gem 'therubyracer'\" >> Gemfile" 0 "Adding therubyracer gem into Gemfile"
rlRun "bundle install"
fi
if [ -z "$COLLECTIONS" ] && rlIsRHEL '<=7'
then