-
Notifications
You must be signed in to change notification settings - Fork 44
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Signed-off-by: Matteo Mortari <[email protected]>
- Loading branch information
Showing
1 changed file
with
20 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -31,3 +31,23 @@ jobs: | |
env: | ||
VERSION: ${{ steps.tags.outputs.tag }} | ||
run: ./scripts/build_deploy.sh | ||
- name: Start Kind Cluster | ||
uses: helm/[email protected] | ||
- name: Load Local Registry Test Image | ||
env: | ||
IMG: "quay.io/opendatahub/model-registry:${{ steps.tags.outputs.tag }}" | ||
run: | | ||
kind load docker-image -n chart-testing ${IMG} | ||
- name: Create Test Registry | ||
env: | ||
IMG: "quay.io/opendatahub/model-registry:${{ steps.tags.outputs.tag }}" | ||
run: | | ||
echo "Deploying Model Registry using Manifests; branch ${BRANCH}" | ||
kubectl create namespace kubeflow | ||
cd manifests/kustomize/overlays/db | ||
kustomize edit set image quay.io/opendatahub/model-registry:latest $IMG | ||
kubectl apply -k . | ||
- name: Wait for Test Registry Deployment | ||
run: | | ||
kubectl wait --for=condition=available -n kubeflow deployment/model-registry-db --timeout=5m | ||
kubectl wait --for=condition=available -n kubeflow deployment/model-registry-deployment --timeout=5m |