-
Notifications
You must be signed in to change notification settings - Fork 55
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
kubeflow: remove operator test in pr check
Signed-off-by: Andrea Lamparelli <[email protected]>
- Loading branch information
Showing
1 changed file
with
0 additions
and
21 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,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 |