Skip to content

Commit

Permalink
fix: test mysql DB with 5Gi pvc
Browse files Browse the repository at this point in the history
  • Loading branch information
dhirajsb committed Feb 17, 2024
1 parent 4fdb335 commit c25a519
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 5 deletions.
6 changes: 3 additions & 3 deletions .github/workflows/build-image-pr.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand All @@ -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
2 changes: 1 addition & 1 deletion config/samples/mysql/mysql-db.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@ items:
- ReadWriteOnce
resources:
requests:
storage: 1Gi
storage: 5Gi
- apiVersion: apps/v1
kind: Deployment
metadata:
Expand Down
2 changes: 1 addition & 1 deletion config/samples/postgres/postgres-db.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@ items:
- ReadWriteOnce
resources:
requests:
storage: 1Gi
storage: 5Gi
- apiVersion: apps/v1
kind: Deployment
metadata:
Expand Down

0 comments on commit c25a519

Please sign in to comment.