Hello Team Drone.io,
I’ve been trying out a local install of drone to run tests for a python package and have encountered a tricky-to-diagnose problem that I hope you may be able to help me with. Basically, my drone build fails very quickly and somewhat cryptically:
# .drone.yml
pipeline:
build:
image: quay.io/biocontainers/biopython:1.70--np112py36_1
commands:
- python setup.py test
# build error
/bin/sh: base64: not found
I originally posted an issue in the repo that builds the docker image that i am using, thinking that the issue is a PATH/endpoint issue. However, I was able to verify the expected behavior of those images and believe the issue is either in my setup or in drone (probably the former). For example, testing for /bin/sh
in the docker image works fine:
# returns correctly
docker run -i -t quay.io/biocontainers/biopython:1.70--np112py36_1 /bin/sh --help
My original thinking is that the environment is not being correctly registered as the docker image installs the executables in a non-system wide $PATH, so the $PATH needs to be registered. But it seems to me that the builds are failing almost immediately - perhaps at the shebang line.
I would appreciate any tips/pointers on diagnosing/fixing this problem.
Thank You,
zach cp