Skip to content

Commit 208d548

Browse files
authored
Merge branch 'main' into approve_pr_wf
2 parents 58a6707 + 2f22660 commit 208d548

File tree

2 files changed

+7
-1
lines changed

2 files changed

+7
-1
lines changed

tests/model_registry/conftest.py

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,6 +13,7 @@
1313
from tests.model_registry.utils import get_endpoint_from_mr_service, get_mr_service_by_label
1414
from utilities.infra import create_ns
1515
from utilities.constants import Annotations, Protocols
16+
from .constants import MR_DB_IMAGE_DIGEST
1617

1718

1819
LOGGER = get_logger(name=__name__)
@@ -186,7 +187,7 @@ def model_registry_db_deployment(
186187
"/var/lib/mysql/datadir",
187188
"--default-authentication-plugin=mysql_native_password",
188189
],
189-
"image": "public.ecr.aws/docker/library/mysql:8.3.0",
190+
"image": MR_DB_IMAGE_DIGEST,
190191
"imagePullPolicy": "IfNotPresent",
191192
"livenessProbe": {
192193
"exec": {

tests/model_registry/constants.py

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,2 +1,7 @@
11
class ModelRegistryEndpoints:
22
REGISTERED_MODELS: str = "/api/model_registry/v1alpha3/registered_models"
3+
4+
5+
MR_DB_IMAGE_DIGEST: str = (
6+
"public.ecr.aws/docker/library/mysql@sha256:9de9d54fecee6253130e65154b930978b1fcc336bcc86dfd06e89b72a2588ebe"
7+
)

0 commit comments

Comments
 (0)