`disable_cache` setting not documented
In docs/configuration/advanced-configuration.md
, the description of the disable_cache
parameter (in the [[runners.docker]]
section) appears to have been truncated.
Parameter | Description |
---|---|
... | ... |
disable_cache |
disable automatic |
We are not using cache
in our .gitlab-ci.yml
files at all. After running docker ps -a
, I was surprised to see that there was a container named runner-xxxxxx-project-3-concurrent-0-cachge-yyyyyyyyyyyyyyyy
hanging around, and that it was a data container, with the build directory for this project in it.
-
Is this caching enabled by default, for the entire project? The
cache
section of the YAML file documentation saysBy default the caching is enabled per-job and per-branch.
but this isn't exactly clear. Does this mean the entire project directory will, by default, be cached?
-
Is this what
disable_cache
will disable?
Having that "always a fresh, clean build environment" was one of our reasons for going with Docker.