Update run-basic-rails-application test
Remove ror-50 part (not supported anywhere any more) Dropped rubyracer install
This commit is contained in:
parent
2af06baec0
commit
9c0b998188
3 changed files with 13 additions and 11 deletions
7
main.fmf
7
main.fmf
|
|
@ -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
|
||||
|
|
|
|||
11
run-basic-rails-application/main.fmf
Normal file
11
run-basic-rails-application/main.fmf
Normal file
|
|
@ -0,0 +1,11 @@
|
|||
component:
|
||||
- rubygem-rails
|
||||
|
||||
require:
|
||||
- ruby
|
||||
- ruby-devel
|
||||
- rubygem-rails
|
||||
- gcc
|
||||
- git-core
|
||||
- rubygems
|
||||
- rubypick
|
||||
|
|
@ -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
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue