I've written an upload test that works locally but when run in a pipeline, it fails.
invalid argument: File not found : /app/assets/profile/avatar0.jpg
The source is in the assets dir and is there in bitbucket according to running ls with system commands. I've looked at docker config which shows
volumes:
- $SOURCE_TEST_DIR:/app:ro
That doesn't seem to look like a permissions issue as looking at the system file structure, the file is there, and dir permissions seem to be 777 and file permissions seem to be 666, going through individually through each dir in the tree. Something, maybe I'm not understanding about the assets dir? Any ideas very much appreciated.
Figured it out. Docker config issue. Had a base container config that the driving container used and the volumes set in the base container needed to be exposed on the driving container.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.