Create
cancel
Showing results for 
Search instead for 
Did you mean: 
Sign up Log in
Celebration

Earn badges and make progress

You're on your way to the next level! Join the Kudos program to earn points and save your progress.

Deleted user Avatar
Deleted user

Level 1: Seed

25 / 150 points

Next: Root

Avatar

1 badge earned

Collect

Participate in fun challenges

Challenges come and go, but your rewards stay with you. Do more to earn more!

Challenges
Coins

Gift kudos to your peers

What goes around comes around! Share the love by gifting kudos to your peers.

Recognition
Ribbon

Rise up in the ranks

Keep earning points to reach the top of the leaderboard. It resets every quarter so you always have a chance!

Leaderboard

File access for upload test works locally but file not found run in pipeline with docker container

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.

Screenshot 2023-11-03 at 9.20.02 PM.png

 

1 answer

1 accepted

0 votes
Answer accepted

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.

Suggest an answer

Log in or Sign up to answer
DEPLOYMENT TYPE
CLOUD
PERMISSIONS LEVEL
Site Admin
TAGS
AUG Leaders

Atlassian Community Events