Skip to content

Commit

Permalink
kubeflow: remove operator test in pr check
Browse files Browse the repository at this point in the history
Signed-off-by: Andrea Lamparelli <[email protected]>
  • Loading branch information
lampajr committed Feb 20, 2024
1 parent 3555b0b commit 878b079
Showing 1 changed file with 0 additions and 21 deletions.
21 changes: 0 additions & 21 deletions .github/workflows/build-image-pr.yml
Original file line number Diff line number Diff line change
Expand Up @@ -31,24 +31,3 @@ 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: Deploy Operator With Test Image
env:
IMG: "quay.io/opendatahub/model-registry:${{ steps.tags.outputs.tag }}"
run: |
echo "Deploying operator from model-registry-operator branch ${BRANCH}"
kubectl apply -k "https://github.com/kubeflow/model-registry-operator.git/config/default?ref=${BRANCH}"
kubectl set env -n model-registry-operator-system deployment/model-registry-operator-controller-manager REST_IMAGE="${IMG}"
- name: Create Test Registry
run: |
kubectl apply -k "https://github.com/kubeflow/model-registry-operator.git/config/samples?ref=${BRANCH}"
kubectl get mr
- name: Wait for Test Registry Deployment
run: |
kubectl wait --for=condition=Available=true modelregistries/modelregistry-sample --timeout=5m

0 comments on commit 878b079

Please sign in to comment.