Closed DenverGylee closed 11 months ago
Did this work pre-v4? This looks more like an issue with docker not respecting symlinks within mounted folders
Ah, I had not considered that. It very likely is a Docker problem then. Is there any configuration I can do to mount the symlinked directory as well? I'm not seeing that in the documentation.
Hi, just wanted to check if there is a reasonable way to do this without having to configure my own Docker image. I have a workaround right now with rsync
but it's signficantly slower and requires double the effective drive space.
I'm going to close my issue out as this seems pretty far out of scope. Docker doesn't seem to support symlinks and an alternative may be just mv
rather than rsync
Bug description
This is on a self-hosted runner. I have a fairly large project that can not use GitHub's cache for my project's Library folder between builds. I wrote a script to symbolically link my Library folder to an auto-generated folder at
~/.cache/PROJECT_NAME/Library
.The unity-builder step currently fails if I use a symbolically referenced folder. My current workaround is to
rsync
back and forth my Library folder with the~/.cache/PROJECT_NAME/Library
but this adds a signficant overhead to my pipeline runtimes.How to reproduce
~/.cache/PROJECT_NAME/Library
.mv ./PROJECT_NAME/Library ~/.cache/PROJECT_NAME/Library
ln -s ~/.cache/PROJECT_NAME/Library ./PROJECT_NAME/Library
unity-builder@v4
action in the project. Here is a reference to my actions.Expected behavior
Builds would complete as expected rather than utilizing
rsync
back and forth.