Skip to content
This repository has been archived by the owner on Sep 9, 2020. It is now read-only.

Add flag to disable cache #130

Open
sk- opened this issue Oct 17, 2018 · 3 comments
Open

Add flag to disable cache #130

sk- opened this issue Oct 17, 2018 · 3 comments

Comments

@sk-
Copy link
Owner

sk- commented Oct 17, 2018

As reported by @w4-sjcho: I'd like to use git lint from CI server, where the build agent has no permissions to modify files under home dir.

It would be great to have an option to disable cache completely.

@sk-
Copy link
Owner Author

sk- commented Oct 17, 2018

@w4-sjcho out of curiosity, what CI server are you using?

@sjincho
Copy link

sjincho commented Oct 18, 2018

I'm using teamcity, where each agents run on docker containers under kubernetes.

We're currently working around the issue by making a separate launcher which overrides gitlint.utils.save_output_in_cache with a no-op function.

@quiin
Copy link

quiin commented Dec 4, 2018

This would be a handy feature indeed.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants