Skip to content

Commit

Permalink
This commit will activate the function calls
Browse files Browse the repository at this point in the history
  • Loading branch information
tonyxrmdavidson committed Apr 17, 2024
1 parent 9bdf228 commit 0570bd3
Showing 1 changed file with 14 additions and 14 deletions.
28 changes: 14 additions & 14 deletions openshift-ci/scripts/oci-model-registry-deploy.sh
Original file line number Diff line number Diff line change
Expand Up @@ -199,25 +199,25 @@ run_api_tests() {

# Run the deployment tests.
run_deployment_tests() {
# check_deployment_availability "opendatahub" model-registry-db
# check_deployment_availability "opendatahub" modelregistry-sample
# check_pod_status "opendatahub" "-l name=model-registry-db" 1
# check_pod_status "opendatahub" "-l app=modelregistry-sample" 2
check_deployment_availability "opendatahub" model-registry-db
check_deployment_availability "opendatahub" modelregistry-sample
check_pod_status "opendatahub" "-l name=model-registry-db" 1
check_pod_status "opendatahub" "-l app=modelregistry-sample" 2
check_route_status "opendatahub" "modelregistry-sample-http"
}

# Main function for orchestrating deployments
main() {
# deploy_and_wait "" $OPENDATAHUB_SUBSCRIPTION 0
# monitoring_crds_installation $OPENDATAHUB_CRDS 120
# deploy_and_wait "" $DSC_INITIALIZATION_MANIFEST 20
# deploy_and_wait "" $DATA_SCIENCE_CLUSTER_MANIFEST 10
# monitoring_crds_installation $DATA_SCIENCE_CLUSTER_CRDS 120
# check_pod_status "opendatahub" "-l component.opendatahub.io/name=model-registry-operator" 2
# deploy_and_wait "-n opendatahub" $MODEL_REGISTRY_SAMPLE_MANIFEST 20
# monitoring_crds_installation $MODEL_REGISTRY_CRDS 120
# deploy_and_wait "-n opendatahub" $MODEL_REGISTRY_DB_MANIFEST 20
# run_deployment_tests
deploy_and_wait "" $OPENDATAHUB_SUBSCRIPTION 0
monitoring_crds_installation $OPENDATAHUB_CRDS 120
deploy_and_wait "" $DSC_INITIALIZATION_MANIFEST 20
deploy_and_wait "" $DATA_SCIENCE_CLUSTER_MANIFEST 10
monitoring_crds_installation $DATA_SCIENCE_CLUSTER_CRDS 120
check_pod_status "opendatahub" "-l component.opendatahub.io/name=model-registry-operator" 2
deploy_and_wait "-n opendatahub" $MODEL_REGISTRY_SAMPLE_MANIFEST 20
monitoring_crds_installation $MODEL_REGISTRY_CRDS 120
deploy_and_wait "-n opendatahub" $MODEL_REGISTRY_DB_MANIFEST 20
run_deployment_tests
run_api_tests "-n opendatahub"
}

Expand Down

0 comments on commit 0570bd3

Please sign in to comment.