From c25a519d2e792ea73bfe7aad743d4398166244d9 Mon Sep 17 00:00:00 2001 From: Dhiraj Bokde Date: Fri, 16 Feb 2024 19:27:24 -0800 Subject: [PATCH] fix: test mysql DB with 5Gi pvc --- .github/workflows/build-image-pr.yml | 6 +++--- config/samples/mysql/mysql-db.yaml | 2 +- config/samples/postgres/postgres-db.yaml | 2 +- 3 files changed, 5 insertions(+), 5 deletions(-) diff --git a/.github/workflows/build-image-pr.yml b/.github/workflows/build-image-pr.yml index 66d9544..50d8463 100644 --- a/.github/workflows/build-image-pr.yml +++ b/.github/workflows/build-image-pr.yml @@ -54,7 +54,7 @@ jobs: make deploy - name: Create Test Registry run: | - kubectl apply -k config/samples/postgres + kubectl apply -k config/samples/mysql/ kubectl describe mr - name: Wait for Test Registry Deployment timeout-minutes: 5 @@ -64,8 +64,8 @@ jobs: do sleep 5 ##debug - #kubectl describe pods - #kubectl logs -l name=model-registry-db || true + kubectl describe pods + kubectl logs -l name=model-registry-db || true CONDITION="`kubectl get mr modelregistry-sample --output=jsonpath='{.status.conditions[?(@.type=="Available")].status}'`" echo "Registry Available=${CONDITION}" done diff --git a/config/samples/mysql/mysql-db.yaml b/config/samples/mysql/mysql-db.yaml index 4f50fb8..3fda2ef 100644 --- a/config/samples/mysql/mysql-db.yaml +++ b/config/samples/mysql/mysql-db.yaml @@ -26,7 +26,7 @@ items: - ReadWriteOnce resources: requests: - storage: 1Gi + storage: 5Gi - apiVersion: apps/v1 kind: Deployment metadata: diff --git a/config/samples/postgres/postgres-db.yaml b/config/samples/postgres/postgres-db.yaml index 6aa018a..813d631 100644 --- a/config/samples/postgres/postgres-db.yaml +++ b/config/samples/postgres/postgres-db.yaml @@ -26,7 +26,7 @@ items: - ReadWriteOnce resources: requests: - storage: 1Gi + storage: 5Gi - apiVersion: apps/v1 kind: Deployment metadata: