Skip to main content

github_release

Parameters

Configuration of the cache for github-release operations.

OperationTypeDescription
versions_expiredurationHow 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_retentiondurationHow 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_afterdurationThe grace period before cleaning up the resources that are no longer needed.

Example

cache:
github_release:
versions_expire: 1d
cleanup_after: 1w