Skip to content

Commit

Permalink
Changes to scripts for including model mgmt service
Browse files Browse the repository at this point in the history
Issue-Id: AIMLFW-70

Change-Id: I276b9a4ab8ae9a77d9f939db027e5a14bb303bdb
Signed-off-by: josephthaliath <[email protected]>
  • Loading branch information
josephthaliath committed Dec 11, 2023
1 parent 40cc934 commit 5e08b25
Show file tree
Hide file tree
Showing 5 changed files with 7 additions and 2 deletions.
2 changes: 2 additions & 0 deletions bin/docker_image_build_local.sh
Original file line number Diff line number Diff line change
Expand Up @@ -23,13 +23,15 @@ git clone "https://gerrit.o-ran-sc.org/r/aiml-fw/athp/data-extraction"
git clone "https://gerrit.o-ran-sc.org/r/aiml-fw/athp/tps/kubeflow-adapter"
git clone "https://gerrit.o-ran-sc.org/r/portal/aiml-dashboard"
git clone "https://gerrit.o-ran-sc.org/r/aiml-fw/aihp/ips/kserve-adapter"
git clone "https://gerrit.o-ran-sc.org/r/aiml-fw/awmf/modelmgmtservice"

docker build -f tm/Dockerfile -t tm tm/.
docker build -f data-extraction/Dockerfile -t data-extraction data-extraction/.
docker build -f kubeflow-adapter/Dockerfile -t kfadapter kubeflow-adapter/.
docker build -f aiml-dashboard/Dockerfile -t aiml-dashboard aiml-dashboard/.
docker build -f aiml-dashboard/kf-pipelines/Dockerfile -t aiml-notebook aiml-dashboard/kf-pipelines/.
docker build -f kserve-adapter/Dockerfile -t kserve-adapter:1.0.0 kserve-adapter/.
docker build -f modelmgmtservice/Dockerfile -t modelmgmtservice:1.0.0 modelmgmtservice/.

cd -
rm -Rf /tmp/gerrit_code
1 change: 1 addition & 0 deletions bin/docker_images_delete_local.sh
Original file line number Diff line number Diff line change
Expand Up @@ -21,3 +21,4 @@ docker rmi kfadapter
docker rmi aiml-dashboard
docker rmi aiml-notebook
docker rmi kserve-adapter:1.0.0
docker rmi modelmgmtservice:1.0.0
2 changes: 1 addition & 1 deletion bin/install.sh
Original file line number Diff line number Diff line change
Expand Up @@ -71,7 +71,7 @@ if [ -z "$HAS_COMMON_PACKAGE" ];then
exit 1
fi

COMPONENTS="tm data-extraction kfadapter aiml-dashboard aiml-notebook"
COMPONENTS="tm data-extraction kfadapter aiml-dashboard aiml-notebook modelmgmtservice"

for component in $COMPONENTS; do
helm dep up helm/$component
Expand Down
2 changes: 2 additions & 0 deletions bin/install_traininghost.sh
Original file line number Diff line number Diff line change
Expand Up @@ -37,6 +37,8 @@ bin/build_default_pipeline_image.sh
tools/leofs/bin/install_leofs.sh
tools/kubeflow/bin/install_kubeflow.sh
kubectl create namespace traininghost
#copy of secrets to traininghost namespace to enable modelmanagement service to access leofs
kubectl get secret leofs-secret --namespace=kubeflow -o yaml | sed -e 's/kubeflow/traininghost/g' | kubectl apply -f -

bin/install_rolebindings.sh
bin/install_databases.sh
Expand Down
2 changes: 1 addition & 1 deletion bin/uninstall.sh
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@
#
# ==================================================================================

COMPONENTS="tm data-extraction kfadapter aiml-dashboard aiml-notebook"
COMPONENTS="tm data-extraction kfadapter aiml-dashboard aiml-notebook modelmgmtservice"

for component in $COMPONENTS; do
echo "Uninstalling $component"
Expand Down

0 comments on commit 5e08b25

Please sign in to comment.