Setup process for runners
S
Sebastian Lerner
ercp42@gmail.com Can you try this syntax and let me know if that is still not working for your needs? I'd love to understand exactly what the use case and scenario is?
https://circleci.com/docs/2.0/runner-config-reference/#runner-command_prefix
e
ercp42@gmail.com
Sebastian Lerner: I'm not sure, with that syntax I could say
pip install black
for example?S
Sebastian Lerner
ercp42@gmail.com: The syntax lets you point to a custom script where you should be able to specify a command like pip install.
e
ercp42@gmail.com
Sebastian Lerner: Cool, I'll try to get a closer look next week. Thank you very much
p
pepesenaris@gmail.com
Sebastian Lerner: but this is only for self hosted runners? or is there an equivalent for CircleCI managed runners?
S
Sebastian Lerner
pepesenaris@gmail.com: good call out. I should have been more precise ercp42@gmail.com that the step I linked is only for self-hosted runners.
Jose, are you looking for something before a job even starts executing? Or would just defining a step be acceptable? https://circleci.com/docs/2.0/configuration-reference/#steps.