Skip to content

Conversation

@raulsh
Copy link

@raulsh raulsh commented Dec 1, 2020

I'm using s3-cache plugin and I need to cache an absolute path (/var/lib/docker), so for doing that compression lib must accept and work with absolute paths. There is a line that trim the first "/", and that is the reason that the plugin can't work with absolute path.

The solution is avoid trim the path.

@raulsh raulsh changed the title remove file path trimming in tar compress Remove file path trimming in tar compress Dec 1, 2020
@donny-dont
Copy link
Collaborator

I'm not sure if it'd be best to have a root and then have everything relative to that or just allow someone to do this.

@tboerger thoughts?

@tboerger
Copy link
Contributor

tboerger commented Dec 2, 2020

Instead of changing root paths I would prefer an integration of handling Drone volumes, than you can simply create voules for any part you want to cache.

@donny-dont
Copy link
Collaborator

@tboerger can you explain more about that? I didn't think the plugins really had any access to what one sets as a volume.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants