-
Notifications
You must be signed in to change notification settings - Fork 758
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 with a yaml src should have a "dry-run" or validate mode #1175
Comments
Don't think I fully understand this, but then again, I'm still a n00b to skopeo fwiw. Is this something that could exist in or be useful to skopeo's default CI? We have an upcoming switch to Cirrus CI coming up sometime soon (yet to begin, no ETA), so maybe we could include this in there as well. /cc @cevich |
A “compute the full list of images, log that, but don’t copy” mode does seem useful. (For some reason I thought there has already been a PR, but I can’t find one now.)
Not trivially — strictly speaking it doubles the test matrix of the |
One more thing: The trivial implementation of |
@lsm5 in case it helps, I think this is a suggestion for a new skopeo feature to assist with container-centric CI jobs. Not directly with the Travis -> Cirrus conversion, though after it's implemented, it could certainly be a future improvement. Similar to the |
It would be great if the |
A friendly reminder that this issue had no activity for 30 days. |
We would love to see a |
FWIW this is 99% done in the linked #1459. |
#1608 was merged. |
Can this be included in a release? |
Sure. @rhatdan is planning what we call a “vendor dance” soon, does that include a Skopeo release? Or should we make one independently? |
I would be great to see this feature cherry-picked to a release, since the last release was more than a month ago |
We keep a yaml file checked in for performing syncs, but it doesn't seem like there is a good way to either locally or in some automated way verify that nothing was fat-fingered. For example, if the source yaml looked something like:
It would be nice to be able to make sure that the relevant repository[1] exists, and in the case where there are explicit tags listed, it would be nice to make sure that they also exist. Today this is possible by just syncing to a local dir, but that requires going through and actually downloading everything. I was hoping for something a little lighter - possibly only skipping the actual image download.
Would something like this be possible? It might make it possible for us to wire up a CI check that could execute fast, and wouldn't need somewhere to dump tons of data (or need to download it in the first place). Basically anything that would help with improving confidence in editing the yaml file without needing to do the actual sync would be appreciated.
[1] I hope I'm not swapping words. Repository and registry get swapped all the time in my mind.
The text was updated successfully, but these errors were encountered: