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

Global image-cache-url for all containers #463

Open
roman901 opened this issue Oct 28, 2017 · 2 comments
Open

Global image-cache-url for all containers #463

roman901 opened this issue Oct 28, 2017 · 2 comments

Comments

@roman901
Copy link

Now I must write image-cache-url: https://dl.uwtech.org/vagga/project/${container_name}.${short_hash}.tar.xz for each container which I want to search in cache. What if make global setting like this (image-cache-url) which will be used in cache module?

@tailhook
Copy link
Owner

Hi,

We usually rely on &anchors and *aliases to set the value. The reason why you need to specify it for each container is that we usually have dev containers which we cache, and deployment containers which are useless to cache. The idea is that using an alias is the same as using cache: true or similar setting.

So I think that global setting might introduce wrong pattern.

Another thing is that we want to introduce more efficient upload and more automated tracking of cached images using ciruela, and I'm inclined to avoid changes to this mechanism in the meantime.

@roman901
Copy link
Author

I'm not think that caching production containers are useless. I mostly cache parent containers (like: php-dev and php-prod depends on php container, php container is cached). Okay, I'll wait for ciruela, thanks!

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

2 participants