Unanswered
Is It Possible To Make A Callback To When A Task Is Grabbed By A Trains-Agent Worker So I Could Edit Its Configuration Before The Creation Of The Tasks Starts? (I Want To Change The Base Docker Path Depending On The Worker That Grabbed The Task)
Hi SmarmySeaurchin8 ,
You can configure each trains-agent to run with a different image. In your trains.conf
file, under agent.default_docker.image
section, specify the image you want the trains-agent to run with. When you have a value in this section, and with empty BASE DOCKER IMAGE, you can avoid changing it manually.
Can this do the trick?
181 Views
0
Answers
4 years ago
one year ago