Cannot disable cache
Summary
I have a lightweight runner and I would like to disable cache.
Steps to reproduce
- Spin a runner, using the Kuberneter executor and not define any cache settings.
- Run any job in this runner.
Actual behavior
ERROR: Could not create cache adapter error=cache factory not found: factory for cache adapter "" was not registered
ERROR: Job failed (system failure): prepare environment: waiting for pod running: pod status is failed. Check https://docs.gitlab.com/runner/shells/index.html#shell-profile-loading for more information
Expected behavior
The pipeline being build without storing or trying to retrieve any cache.