corgi cache paths
corgi cache paths
Print the directories worth caching, and a key derived from every cacheKey file
Synopsis
Print the dependency directories a CI cache should persist, and a key that changes whenever any beforeStart cacheKey file changes.
Derived from the compose file, so the list cannot drift when a service is added. A service opts in by giving a beforeStart step a cacheKey; without one corgi cannot skip that install anyway.
corgi_services/.cache is always included. It holds the markers that let corgi skip an unchanged step, and restoring it without the dependency directories would make corgi skip an install whose output is missing.
Examples: corgi cache paths corgi cache paths --json corgi cache paths --key
corgi cache paths [flags]
Options
-h, --help help for paths
--key Print only the cache key
Options inherited from parent commands
--describe Describe contents of corgi-compose file
--dockerContext string Specify docker context to use, can be default,orbctl,colima (default "default")
-l, --exampleList List examples to choose from. Click on any example to download it
-f, --filename string Custom filepath for for corgi-compose
--fromScratch Clean corgi_services folder before running
-t, --fromTemplate string Create corgi service from template url
--fromTemplateName string Create corgi service from template name and url
-g, --global Use global path to one of the services
--interactive Force interactive prompts even when no TTY/agent detected
--json Emit machine-readable JSON output
--privateToken string Private token for private repositories to download files
-o, --runOnce Run corgi once and exit
--silent Hide all welcome messages
SEE ALSO
- corgi cache - What a CI cache should persist between runs