From 8341ef2803909d1542825acdee69fb5c1192d261 Mon Sep 17 00:00:00 2001 From: tonyxrmdavidson Date: Thu, 11 Apr 2024 12:10:48 +0100 Subject: [PATCH 1/4] This commit adds a README.md for openshift-ci usage --- openshift-ci/README.md | 31 +++++++++++++++++++++++++++++++ 1 file changed, 31 insertions(+) create mode 100644 openshift-ci/README.md diff --git a/openshift-ci/README.md b/openshift-ci/README.md new file mode 100644 index 00000000..7d233a12 --- /dev/null +++ b/openshift-ci/README.md @@ -0,0 +1,31 @@ +# Model Registry Deployment and Deployment Test + +This deployment of model-registry is deployed via Opendatahub and used the ODH nightly images deployed to an openshfit cluster. + +The script will do the following: +* Create a catalogue source pointing to the latest successful nightly ODH image. +* Deploy the opendatahub operator using the catalogue source. +* Deploy a Data Science Cluster. +* Test the model-registry-operator-contoller-manager pods are running. +* Clone the model-registry-operator repository. +* Deploy model-registry using config/samples/mysql configuration files. +* Test the model-registry-db mysql database pod is running +* Test the modelregistry-sample pods are running + +## Pre-requisites: + +You will need to have an openshift cluster deployed and be oc logged into you cluster as admin. + +## Runing the script: + +From the root of the repository +```shell +./openshift-ci/scripts/oc-model-registry.-deploy.sh +``` + +## Runing the openshift-ci + +You can start the openshift-ci job to test changes in your Pull Request. To do so put the following command into a comment in your Pull Request +```shell +/test e2e-odh-mro-optional +``` \ No newline at end of file From 5dbd792f5523aa1950db493ef3d85a5bedf41513 Mon Sep 17 00:00:00 2001 From: Tony Davidson Date: Thu, 11 Apr 2024 13:28:36 +0100 Subject: [PATCH 2/4] Update openshift-ci/README.md Accepted tarilabs suggestion Co-authored-by: Matteo Mortari --- openshift-ci/README.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/openshift-ci/README.md b/openshift-ci/README.md index 7d233a12..abe01be9 100644 --- a/openshift-ci/README.md +++ b/openshift-ci/README.md @@ -20,7 +20,7 @@ You will need to have an openshift cluster deployed and be oc logged into you cl From the root of the repository ```shell -./openshift-ci/scripts/oc-model-registry.-deploy.sh +./openshift-ci/scripts/oc-model-registry-deploy.sh ``` ## Runing the openshift-ci From ca3e449065d30d8565b8b495d5f881e73a14f52e Mon Sep 17 00:00:00 2001 From: tonyxrmdavidson Date: Thu, 11 Apr 2024 13:45:36 +0100 Subject: [PATCH 3/4] rebasing --- openshift-ci/README.md | 11 +++++++---- 1 file changed, 7 insertions(+), 4 deletions(-) diff --git a/openshift-ci/README.md b/openshift-ci/README.md index abe01be9..fa280b00 100644 --- a/openshift-ci/README.md +++ b/openshift-ci/README.md @@ -19,13 +19,16 @@ You will need to have an openshift cluster deployed and be oc logged into you cl ## Runing the script: From the root of the repository -```shell -./openshift-ci/scripts/oc-model-registry-deploy.sh +``` +./openshift-ci/scripts/oc-model-registry.-deploy.sh ``` ## Runing the openshift-ci You can start the openshift-ci job to test changes in your Pull Request. To do so put the following command into a comment in your Pull Request -```shell +``` /test e2e-odh-mro-optional -``` \ No newline at end of file +``` + +Previous jobs can be seen [here](https://prow.ci.openshift.org/job-history/gs/test-platform-results/pr-logs/directory/rehearse-49999-pull-ci-opendatahub-io-model-registry-main-e2e-odh-mro-optional) + From 37138e262a7cd808bef6e9b534713ca41f710789 Mon Sep 17 00:00:00 2001 From: Tony Davidson Date: Thu, 11 Apr 2024 16:00:37 +0100 Subject: [PATCH 4/4] Update openshift-ci/README.md Co-authored-by: Matteo Mortari --- openshift-ci/README.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/openshift-ci/README.md b/openshift-ci/README.md index fa280b00..149e036d 100644 --- a/openshift-ci/README.md +++ b/openshift-ci/README.md @@ -20,7 +20,7 @@ You will need to have an openshift cluster deployed and be oc logged into you cl From the root of the repository ``` -./openshift-ci/scripts/oc-model-registry.-deploy.sh +./openshift-ci/scripts/oc-model-registry-deploy.sh ``` ## Runing the openshift-ci