Fixes #15 - Only approved models trigger the deployment pipeline#16
Fixes #15 - Only approved models trigger the deployment pipeline#16zoltan-fedor wants to merge 1 commit intoaws-samples:mainfrom
Conversation
…peline - `mlops-template-gitlab` This fixes aws-samples#15. Based on the design of `mlops-template-gitlab`, the model deployment pipeline should only be triggered for 'Approved' models.
|
Will this design ensure the CI/CD pipeline for deployment will be triggered when models are moved from "Approved" to "Rejected"? The 1P templates roll-back the endpoint to the latest approved model if the deployed model's status changes to "Rejected". |
|
The CI/CD pipeline only gets triggered when the model moves to "Approved". Once it is "Approved" the pipeline is already triggered. You can't "untrigger" it by moving it to "Rejected" from "Approved". If you have a valid use-case to have models move from "Approved" to "Rejected", then you will need to extend the design to re-trigger an event to trigger the CI/CD when a model gets rejected and so the latest approved model re-triggers the deployment pipeline. |
|
What if you "Approve" a model, it's performance starts to drift, and you need to roll back to a previous version of the model? Changing the state to "Rejected" should allow you to trigger an automated rollback. |
|
Sure, feel free to make a PR for that. |
This fixes #15.
Based on the design of
mlops-template-gitlab, the model deployment pipeline should only be triggered for 'Approved' models.Issue #, if available:
Description of changes:
By submitting this pull request, I confirm that you can use, modify, copy, and redistribute this contribution, under the terms of your choice.