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

Improve testing and refactoring of rocker scripts #441

Merged
merged 25 commits into from
May 7, 2022

Conversation

eitsupi
Copy link
Member

@eitsupi eitsupi commented May 3, 2022

Add test cases and refactor each script.

  • Add tests for the following scripts.
    With this change, all scripts used in pre-built images (except extra images) will be tested.
    • install_cuda-10.1.sh
    • install_cuda-11.1.sh
    • config_R_cuda.sh
  • Refactor each script
    (mainly removing unnecessary apt update, which can affect run time, especially in places far from the United States)

This PR includes the following PR tasks
(Originally, I think it is better to separate Pull Requests for each modification, but to avoid conflicts in the test definition file, I have put them together in one PR.)

And some other fixes.

@eitsupi eitsupi force-pushed the eitsupi/refactoring-scripts-and-minor-improvement branch 2 times, most recently from 876034c to 3a72dfa Compare May 3, 2022 11:36
@eitsupi eitsupi force-pushed the eitsupi/refactoring-scripts-and-minor-improvement branch from 3a72dfa to 4b0dead Compare May 3, 2022 13:59
@eitsupi eitsupi force-pushed the eitsupi/refactoring-scripts-and-minor-improvement branch from 4b0dead to e6cd271 Compare May 3, 2022 14:08
eitsupi added 2 commits May 3, 2022 23:28
and minor improvements (reordering of some lines and remove unnecessary lines)
@eitsupi eitsupi force-pushed the eitsupi/refactoring-scripts-and-minor-improvement branch from e59642e to 4dd87e1 Compare May 4, 2022 04:44
@eitsupi eitsupi marked this pull request as ready for review May 4, 2022 05:11
@eitsupi eitsupi requested a review from cboettig May 4, 2022 05:11
@eitsupi
Copy link
Member Author

eitsupi commented May 7, 2022

It passed the tests and should work fine, so I will merge this.

@eitsupi eitsupi merged commit 4f634d5 into master May 7, 2022
@eitsupi eitsupi deleted the eitsupi/refactoring-scripts-and-minor-improvement branch May 7, 2022 00:30
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

Successfully merging this pull request may close these issues.

GPG error occured in install_cuda-10.1.sh
1 participant