From 3b73fb1f7fe13d6ddc5d7df124891a7f1900347a Mon Sep 17 00:00:00 2001 From: Andrea Lamparelli Date: Tue, 20 Feb 2024 12:48:40 +0100 Subject: [PATCH] kubeflow: remove operator test in pr check (#16) Signed-off-by: Andrea Lamparelli --- .github/workflows/build-image-pr.yml | 21 --------------------- 1 file changed, 21 deletions(-) diff --git a/.github/workflows/build-image-pr.yml b/.github/workflows/build-image-pr.yml index 55f62e2f..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/postgres?ref=${BRANCH}" - kubectl get mr - - name: Wait for Test Registry Deployment - run: | - kubectl wait --for=condition=Available=true modelregistries/modelregistry-sample --timeout=5m