SIENTIAPDE-1312
Update tests notebook execution count and bump image tag in values.yaml - Incremented the execution count in the tests notebook for accurate tracking. - Updated the image tag in values.yaml from "0.0.3" to "1.0.1" for versioning consistency. - Enhanced error handling in model_repository.py to ensure proper retrieval of created experiments.
This commit is contained in:
@@ -175,7 +175,10 @@ class MLFlowRepository:
|
|||||||
|
|
||||||
if experiment is None:
|
if experiment is None:
|
||||||
if create_if_not_exists:
|
if create_if_not_exists:
|
||||||
experiment = mlflow.create_experiment(experiment_name)
|
experiment_id = mlflow.create_experiment(experiment_name)
|
||||||
|
experiment = mlflow.get_experiment(experiment_id)
|
||||||
|
if experiment is None:
|
||||||
|
raise ValueError(f'Experiment {experiment_name} not found after creation, unknown reason')
|
||||||
else:
|
else:
|
||||||
raise ValueError(f'Experiment {experiment_name} not found')
|
raise ValueError(f'Experiment {experiment_name} not found')
|
||||||
|
|
||||||
|
|||||||
@@ -11,7 +11,7 @@ image:
|
|||||||
# This sets the pull policy for images.
|
# This sets the pull policy for images.
|
||||||
pullPolicy: Always
|
pullPolicy: Always
|
||||||
# Overrides the image tag whose default is the chart appVersion.
|
# Overrides the image tag whose default is the chart appVersion.
|
||||||
tag: "0.0.3"
|
tag: "1.0.1"
|
||||||
|
|
||||||
0# This is for the secrets for pulling an image from a private repository more information can be found here: https://kubernetes.io/docs/tasks/configure-pod-container/pull-image-private-registry/
|
0# This is for the secrets for pulling an image from a private repository more information can be found here: https://kubernetes.io/docs/tasks/configure-pod-container/pull-image-private-registry/
|
||||||
imagePullSecrets:
|
imagePullSecrets:
|
||||||
|
|||||||
Reference in New Issue
Block a user