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 demonstration on how to mount Gradle readonly cache inside Vagrant image #2

Open
lacasseio opened this issue Jan 29, 2022 · 1 comment

Comments

@lacasseio
Copy link
Member

See https://docs.gradle.org/current/userguide/dependency_resolution.html#sub:cache_copy

@lacasseio
Copy link
Member Author

In theory, we should...

  1. Sync the cache using setup-gradle
  2. Configure sudoer requirement for Vagrant.
  3. Mount the cache using NFS. We will probably need some additional configuration on vagrant-provision action.
  4. Configure environment variant on Vagrant image to cache. We will probably need some additional configuration on vagrant-provision action.

It's important to use NFS mount as there will be no locking from Gradle and we won't need to copy any files into the box.

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

1 participant