Unanswered
2. Is There A Case-Study Or Ref. Architecture For Interacting With Ci/Cd I.E. Exposing Mature Pipelines To Be Triggered Upon Code Pushes (Taking Latest Git Hash) Or With Manual Ci Triggers?
I’ve did saw this “publish” option for pipelines, just for models, is this a new feature?
Kind of hidden in the UI (not sure if on purpose), but if you click on the pipeline then go to details, in the new tab (of the pipeline Task) you can publish the Task (aka the pipeline)
In this example:
https://github.com/allegroai/clearml-actions-train-model/blob/7f47f16b438a4b05b91537f88e8813182f39f1fe/train_model.py#L14
replace with something like:
` task = Task.get_tasks(project_name="pipeline/project/.pipelines", {'status': ['published'], 'order_by': ["-created"], 'type': ['controller']})
new_pipeline = task.clone()
Task.enqueue(new_pipeline, queue_name="services")
should we wait for the pipeline?
new_pipeline.wait_for_status() `
175 Views
0
Answers
2 years ago
one year ago