Hello, Thank you for this slack channel. I could f...
# general
t
Hello, Thank you for this slack channel. I could finally set up a simple POC with pants with the help of all the past messages here. I am now trying to set up the build pipeline for gitlab. I am able to run the tests for my repo successfully in gitlab without any caching. I wanted to check if anyone has success using caching in gitlab without using remote caching , REAPI. (By just specifying the cache folders) I understand based on the messages here that it is not recommended and that most people decide to implement a remote cache using something similar to this. I am trying to set up an end-end POC first before getting into the overhead of remote caching. I wanted to check if any one has had success with that.
w
Most of my projects don't have remote caching, and I've never had a problem with it. I haven't used pants with github, but you'll want to replicate the named_cache functionality we have here: https://github.com/pantsbuild/actions
t
Thank you for the pointer, I'll try to follow that and implement it in gitlab
b
hi Jasmine - how is gitlab deployed in your POC? are you using self-hosted gitlab or off-prem SaaS gitlab?
we’re using the remote cache that you linked (bazel-remote) in a container-based setup with our forge which is self-hosted - the overhead is extremely minimal compared to the improvements that it provides
t
I am using a self-hosted gitlab. I had assumed a large overhead , thanks for sharing! I'll give it a shot in case I have issues with setting up caching without that.