feature: Create new model version & import artifacts
What does this MR do and why?
feature: Import a new model version by optionally uploading artifacts
Related to #456441 (closed)
Dependent on: Create ML model version GraphQL mutation (!153721 - merged)
MR acceptance checklist
Please evaluate this MR against the MR acceptance checklist. It helps you analyze changes to reduce risks in quality, performance, reliability, security, and maintainability.
Screenshots or screen recordings
Modal hidden | Modal shown | File added | Error |
---|---|---|---|
How to set up and validate locally
Go to rails console using bin/rails c
Feature.enable(:model_registry)
project = Project.find(26)
model = Ml::CreateModelService.new(project, 'FooModel30').execute.payload
Create some versions
- Go to the project URL in your browser
- Open the "Deploy" and "Model registry" under it.
- Browse into the model
FooModel30
- Create some model versions
- It should navigate to model version detail
Edited by Alper Akgun