-
Notifications
You must be signed in to change notification settings - Fork 1.7k
Add --cache-file flag to render command #6805
Copy link
Copy link
Open
Labels
area/ci-cdbugbash/q4-2022Issues related to Skaffold Bugbash Q4 2022Issues related to Skaffold Bugbash Q4 2022help wantedWe would love to have this done, but don't have the bandwidth, need help from contributorsWe would love to have this done, but don't have the bandwidth, need help from contributorskind/feature-requestpriority/p3agreed that this would be good to have, but no one is available at the moment.agreed that this would be good to have, but no one is available at the moment.
Metadata
Metadata
Assignees
Labels
area/ci-cdbugbash/q4-2022Issues related to Skaffold Bugbash Q4 2022Issues related to Skaffold Bugbash Q4 2022help wantedWe would love to have this done, but don't have the bandwidth, need help from contributorsWe would love to have this done, but don't have the bandwidth, need help from contributorskind/feature-requestpriority/p3agreed that this would be good to have, but no one is available at the moment.agreed that this would be good to have, but no one is available at the moment.
Type
Fields
Give feedbackNo fields configured for issues without a type.
I'm using
skaffold renderin my CI/CD GitOps pipeline, and would like to reuse Skaffold cache file between runs, to avoid the dreadedChecking cache... Not found. Building. However, I need to write this cache file to a specific location that's not$HOME/.skaffold/cache, because that directory is not preserved between my CI steps.I could move the directory explicitly before/after running
skaffold render, but it's pretty inconvenient. Other commands (build,devetc.) expose--cache-fileflag to specify its location, and I'd like it to be added torenderas well, if possible.Alternatively, if there's any way to set the "Skaffold directory" (from the default
$HOME/.skaffold), that could work too (and maybe even better!)Expected behavior
skaffold renderhas--cache-fileflagActual behavior
--cache-fileflag is not available forskaffold renderInformation
v1.34.0Ubuntu 20.10Cloud CodeSteps to reproduce the behavior
skaffold render --cache-file=.skaffold/cache