I am building and MLOps architecture.
I do not want to deploy the training workflow to prod.
My first approach was to selectively not deploy the workflow to prod, but this does not seem to be possible as in this thread:
https://community.databricks.com/t5/data-engineering/databricks-bundles-how-to-select-which-jobs-res...
Then, I thought of checking in the first task of training workflow if it is prod and then skipping the whole job at once, not just the first task. But it does not seem to be possible to skip a whole job, only specific tasks of it, as per this thread:
https://community.databricks.com/t5/data-engineering/gracefully-stop-a-job-based-on-condition/td-p/3...
The only approach left is to check all job tasks in the production environment and skip them, but it is not an elegant approach.
Is there a better approach?