Yea the "-e ." seems to fit this problem the best.
👍
It seems like whatever I add to
docker_bash_setup_script
is having no effect.
If this is running with the k8s glue, there console out of the docker_bash_setup_script ` is currently Not logged into the Task (this bug will be solved in the next version), But the code is being executed. You can see the full logs with kubectl, or test with a simple export test
docker_bash_setup_script
export MY_TEST=123
inside codeimport os print("testing", os.environ.get("MY_TEST"))
Yea the "-e ." seems to fit this problem the best. On another note, It seems like whatever I add to docker_bash_setup_script
is having no effect.
Hi BoredHedgehog47
Just make sure it is installed as part of the "installed packages" 🙂
You should end up with something likegit+
You can actually add it from your code:Task.add_requirements("git+
") task = Task.init(...)
Notice you can also add a specific commit or branch git+
https://github.com/user/repo.git@ <commit_id_here_if_needed>
Is this what you are looking for ?
EDIT:
you can also do "-e ." that should also work:Task.add_requirements("-e .") task = Task.init(...)