Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

rpm contains test and development dependencies #3821

Open
wijnanjo opened this issue Sep 24, 2024 · 1 comment
Open

rpm contains test and development dependencies #3821

wijnanjo opened this issue Sep 24, 2024 · 1 comment
Milestone

Comments

@wijnanjo
Copy link

The final rpm used to deploy production should not contain test nor development dependencies. Specifically the bundle gems should not contain webrick, selenium ...

Example, the 'dashboard' Gemfile:

group :test do
  gem "capybara"
  # lock selenium as it doesn't work on ubuntu 22.04
  # https://github.com/SeleniumHQ/selenium/issues/11291
  gem "selenium-webdriver", '4.5.0'
  gem "webrick"
end

However these gems show up here, for example: /opt/ood/ondemand/root/usr/share/gems/3.1/ondemand/3.1.7-1/gems/selenium-webdriver-4.5.0/

I essentially installed on AlmaLinux8 as documented according the documentation:

sudo dnf install https://yum.osc.edu/ondemand/3.1/ondemand-release-web-3.1-1.el8.noarch.rpm
sudo dnf install ondemand
@osc-bot osc-bot added this to the Backlog milestone Sep 24, 2024
@johrstrom
Copy link
Contributor

Thanks. I agree.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants