hi all! I am quite new with Trains and I was wondering if it's possible to fully automate the creation of Tasks in order to have them always run on separate workers. I noticed that once a Task has been created and run locally (via Task.init
) then it's possible to clone it via UI and to edit the field REPOSITORY , COMMIT ID , etc to possibly enqueue on a worker a task that is completely unrelated to the previous one, execution-wise at least, because of course it will share the project_name
. I'd be interested in a workflow where I can create a Task filling via script the git fields and to enqueue it automatically, ideally during some CI/CD steps where i'll know the correct branch and commit ids. Is this possible? I cannot find any reference to the git fields in the Task
documentation. I already went through https://github.com/allegroai/trains/tree/master/examples/automation , but also in this case the Toy Base Task
is executed locally at least once, that wouldn't be feasible for scripts requiring a lot of computational resources. Sorry if the request isn't clear, happy to answer to some follow up questions for clarification. Thanks