Closed djjuhasz closed 8 months ago
Copying a file to the enduro-internal /home/enduro/sips
directory (with kubectl cp
) successfully starts the processing workflow, but it fails on the download activity.
The file is in the enduro-internal container's /home/enduro/sips
directory:
❯ kubectl cp ~/Desktop/small.zip enduro-internal-b59dd4596-42zq5:/home/enduro/sips/small.zip
Defaulted container "enduro-internal" out of: enduro-internal, check-temporal (init)
❯ kubectl exec --stdin --tty enduro-internal-b59dd4596-42zq5 -- /bin/sh
Defaulted container "enduro-internal" out of: enduro-internal, check-temporal (init)
/ $ ls -l /home/enduro/sips/
total 5
-rw-r--r-- 1 enduro enduro 339 Apr 2 22:31 small.zip
All modified and coverable lines are covered by tests :white_check_mark:
Project coverage is 48.12%. Comparing base (
e67eff0
) to head (8da4b94
).
:umbrella: View full report in Codecov by Sentry.
:loudspeaker: Have feedback on the report? Share it here.
The download activity is failing because the watched directory is only available in the "enduro-internal" container, so when the a3m worker tries to download it, the path is not available. I'll have to set up a shared volume in kubernetes that can be mounted in both the enduro-internal and a3m-worker containers.
Fixes #874
/home/enduro/sips
to the Enduro docker image/home/enduro/sips