diff --git a/.github/workflows/build-image-pr.yml b/.github/workflows/build-image-pr.yml index 1c3cc003..66cee7c2 100644 --- a/.github/workflows/build-image-pr.yml +++ b/.github/workflows/build-image-pr.yml @@ -31,24 +31,3 @@ jobs: env: VERSION: ${{ steps.tags.outputs.tag }} run: ./scripts/build_deploy.sh - - name: Start Kind Cluster - uses: helm/kind-action@v1.9.0 - - 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/opendatahub-io/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/opendatahub-io/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