0

reading the documentation about distributed runners cache I was wondering what the variable "Path" in the config.toml does.

 [runners.cache]
    Type = "s3"
    **Path = "path/to/prefix"**
    Shared = false

Does this just change the S3 url http(s)://ServerAddress/BucketName/Path/runner/runner-id/project/id/cache-key ?

If so what consequences can I expect when I change/add the path variable? When and how would you use it?

Adam Marshall
  • 6,369
  • 1
  • 29
  • 45
mps
  • 1

1 Answers1

0

The Path from the config ends up like this when connecting to S3 http(s)://<ServerAddress>/<BucketName>/<Path>/runner/<runner-id>/project/<id>/<cache-key> where <Path> is what you entered in the config. You can see this in the docs page you linked in your question right under the config example with the black background.

Adam Marshall
  • 6,369
  • 1
  • 29
  • 45