github_release
Parameters
Configuration of the cache for github-release
operations.
Operation | Type | Description |
---|---|---|
versions_expire | duration | How long to cache a given GitHub repository versions for. This allows to avoid listing available versions on each omni up call. The versions are automatically re-listed if the cache does not contain any matching version. |
versions_retention | duration | How long to keep the cached list of versions around even after the repository is no longer installed; this is calculated from the last time the versions were fetched. |
cleanup_after | duration | The grace period before cleaning up the resources that are no longer needed. |
Example
cache:
github_release:
versions_expire: 1d
cleanup_after: 1w