Skip to content

Commit

Permalink
Merge pull request #1249 from ODIM-Project/development
Browse files Browse the repository at this point in the history
Syncing Development
  • Loading branch information
jeevan-kamkar authored Jun 13, 2023
2 parents af4e6b6 + 14bd8be commit a22eee1
Show file tree
Hide file tree
Showing 2 changed files with 1,093 additions and 993 deletions.
19 changes: 16 additions & 3 deletions .github/workflows/odimra_deployment.yml
Original file line number Diff line number Diff line change
Expand Up @@ -214,7 +214,13 @@ jobs:
cd ${ODIM_CONTROLLER_PATH}/scripts/
echo "[$(date)] -- INFO -- install kubernetes using odim-controller"
python3 odim-controller.py --deploy kubernetes --config ${ODIM_CONTROLLER_PATH}/scripts/kube_deploy_nodes.yaml
echo
if [ $? -eq 0 ];
then
echo "Kubernetes installation is successful"
else
echo "Kubernetes installation failed..."
exit 1
fi

echo "[$(date)] -- INFO -- configure docker and kubectl commands"
sudo usermod -aG docker $USER
Expand Down Expand Up @@ -245,6 +251,13 @@ jobs:

cd ${ODIM_CONTROLLER_PATH}/scripts/
python3 odim-controller.py --deploy odimra --config ${ODIM_CONTROLLER_PATH}/scripts/kube_deploy_nodes.yaml
if [ $? -eq 0 ];
then
echo "Odimra installation is successful"
else
echo "Odimra installation failed..."
exit 1
fi
echo
echo "[$(date)] -- INFO -- list pods in odim namespace"
count=0
Expand Down Expand Up @@ -531,7 +544,7 @@ jobs:
if [[ $run2 -eq 201 ]];
then
then
echo "Account Created Sucessfully"
echo "---------------------------"
else
Expand All @@ -543,7 +556,7 @@ jobs:
echo "========================Account Checked==================================="
if [ $flag -eq 1 ];
then
then
echo "Sanity Tests Failed"
#exit 1
else
Expand Down
Loading

0 comments on commit a22eee1

Please sign in to comment.