Skip to content

Fixes model registry copy tracking url

Eduardo Bonet requested to merge model_registry/fix_copy_button into master

What does this MR do and why?

Fixes model registry copy tracking url

MLflow client auto fills the tracking url with api/v2.0/mlflow, which means it shouldn't be included in the copied value. MLFLOW_TRACKING_URI needs to be <gitlab instance>/api/v4/projects/<project>/ml/mlflow/.

Screenshots or screen recordings

Example below:

  1. In rails console enable the experiment fully
    Feature.enable(:model_registry)
  2. Visit any group or project member pages such as http://127.0.0.1:3000/groups/flightjs/-/group_members
  3. Click on Deploy > Model registry. Under the overflow menu, click on Copy MLflow tracking url
  4. Paste the copied value somewhere. It should not include api/2.0/mlflow in the end

Merge request reports