diff --git a/sections/advanced.md b/sections/advanced.md index 1dab84d9..d67f60d0 100644 --- a/sections/advanced.md +++ b/sections/advanced.md @@ -742,6 +742,9 @@ my_job: - ${PRE_COMMIT_HOME} ``` +pre-commit's cache requires to be served from a constant location between the different builds. This isn't the default when using k8s runners +on GitLab. In case you face the error `InvalidManifestError`, set `builds_dir` to something static e.g `builds_dir = "/builds"` in your `[[runner]]` config + ### travis-ci example ```yaml