-
Notifications
You must be signed in to change notification settings - Fork 52
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
Sync Cache that relies on release versions #274
Comments
Caching does need to be explicitly enabled and would only benefit OCI Images using shasum references today. |
I think a fundamental rule that we are trying to follow is that we want to cache resources if they are referred to in an immutable manner. |
Trying to understand the problem/your use case better: You have a software deployed which leverages
Does your application have logic to check if vendir.yaml is modified and then only run
What I can understand is, this is getting slow down as it is trying to sync contents for all of your applications but your expectation is that it should try to sync only for modified vendir.yaml. @fritzduchardt can you please help me either I understood your use case and problem correctly or not? |
This issue is being marked as stale due to a long period of inactivity and will be closed in 5 days if there is no response. |
This issue is being marked as stale due to a long period of inactivity and will be closed in 5 days if there is no response. |
Describe the problem/challenge you have
We have developed a deployment software that leverages
vendir
to pull Helm Charts, OCI Images and Git Repos for hundreds of applications. Every time the software runs, it executesvendir sync
for each application to pick up changes in case the correspondingvendir.yaml
was modified. This slows down the process tremendously and is mostly unnecessary, since we usually only modify onevendir.yaml
at the time leaving the other untouched.Describe the solution you'd like
The issue could be solved by an optional synchronization mode that only synchronizes, if the last vendored files are not in line with the release versions set in the corresponding
vendir.yaml
.Possibly this feature could be using the lock file as a record of the versions last synced and a re-sync only, if the
tags
in the lock file diverge from therefs
invendir.yaml
.Also, on could ensure that caching only takes effect for
refs
that follow semantic version or other standardized version formats.Naturally, caching only works, if releases are stable, which is the case with our applications. If they were not, we would see this as an issue with the release process rather than vendir.
Vote on this request
This is an invitation to the community to vote on issues, to help us prioritize our backlog. Use the "smiley face" up to the right of this comment to vote.
👍 "I would like to see this addressed as soon as possible"
👎 "There are other more important things to focus on right now"
We are also happy to receive and review Pull Requests if you want to help working on this issue.
The text was updated successfully, but these errors were encountered: