Skip to content

Commit

Permalink
fix: update kind ci test
Browse files Browse the repository at this point in the history
  • Loading branch information
dhirajsb committed Feb 16, 2024
1 parent dad5fd7 commit e81a64c
Showing 1 changed file with 13 additions and 1 deletion.
14 changes: 13 additions & 1 deletion .github/workflows/build-image-pr.yml
Original file line number Diff line number Diff line change
Expand Up @@ -54,8 +54,20 @@ jobs:
make deploy
- name: Create Test Registry
run: |
kubectl apply -k config/samples/
kubectl apply -k config/samples/mysql
kubectl get mr
- name: Wait for Test Database Deployment
timeout-minutes: 5
run: |
CONDITION="false"
while [ "${CONDITION}" != "True" ]
do
sleep 5
# debug
kubectl get events
CONDITION="`kubectl get deployment model-registry-db --output=jsonpath='{.status.conditions[?(@.type=="Available")].status}'`"
echo "Database Available=${CONDITION}"
done
- name: Wait for Test Registry Deployment
timeout-minutes: 5
run: |
Expand Down

0 comments on commit e81a64c

Please sign in to comment.