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

Add support for caching the Singularity cached images directory #12524

Merged
merged 3 commits into from Sep 23, 2021

Conversation

natefoo
Copy link
Member

@natefoo natefoo commented Sep 21, 2021

Using the cache directory modification time. The container resolvers config documentation is a mess, I am going to remove the sample XML and document it properly in the admin docs in a subsequent PR. For now, you can enable it with a container resolvers config (either in container_resolvers_conf.yml or the container_resolvers dict in the galaxy section of galaxy.yml) with:

- type: cached_mulled_singularity
  cache_directory: /cvmfs/singularity.galaxyproject.org/all
  cache_directory_cacher_type: dir_mtime

I'm going to see what I broke and then once I fix those I'll add a test for the new option.

Fixes #12514

How to test the changes?

(Select all options that apply)

  • I've included appropriate automated tests.
  • This is a refactoring of components with existing test coverage.
  • Instructions for manual testing are as follows:
    1. [add testing steps and prerequisites here if you didn't write automated tests covering all your changes]

License

@mvdbeek mvdbeek merged commit 7128301 into galaxyproject:dev Sep 23, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Use directory modtime to speed up listing cached singularity images
3 participants