From 84ba1366286ee85d0fabbe37122f5099c7879c02 Mon Sep 17 00:00:00 2001 From: Sanketh P Date: Thu, 13 Apr 2023 11:45:55 +0530 Subject: [PATCH 1/3] Updated install_dependencies script --- ansible/install_dependencies.sh | 18 ++++++------------ 1 file changed, 6 insertions(+), 12 deletions(-) diff --git a/ansible/install_dependencies.sh b/ansible/install_dependencies.sh index c42ba388..c93b9b9d 100644 --- a/ansible/install_dependencies.sh +++ b/ansible/install_dependencies.sh @@ -2,7 +2,7 @@ # Install dependencies echo Installing dependencies -sudo apt-get install -y make curl wget libltdl7 libseccomp2 libffi-dev gawk apt-transport-https ca-certificates curl gnupg gnupg-agent lsb-release software-properties-common sshpass pv +sudo yum install -y make curl wget libltdl7 libseccomp2 libffi-dev gawk apt-transport-https ca-certificates curl gnupg gnupg-agent lsb-release software-properties-common sshpass pv echo Enabling docker repository sudo mkdir -p /etc/apt/keyrings @@ -14,19 +14,13 @@ echo \ # Update local repositories echo Updating local repositories -sudo apt-get update +sudo yum update # Install python dependencies echo Installing Python dependencies -sudo apt-get install -y python3-distutils python3-testresources python3-pip -python3 -m pip install -U pip - -# Update setuptool version if it is higher than 65 -ver=$(python3 -m pip show setuptools | awk '/^Version: / {sub("^Version: ", ""); print}' | cut -d. -f1) -if [ "$ver" -gt 65 ]; then - echo Downgrade setuptools version to 65 - python3 -m pip install setuptools==65.0.0 -fi +sudo yum install -y python3-distutils +sudo yum install -y python3-pip +python3 -m pip install -U pip setuptools==65.0.0 # Install ansible if not present if [ "`which ansible`" != "" ]; then @@ -41,7 +35,7 @@ if [ "`which docker`" != "" ]; then echo Docker already installed, skipping. else echo Installing docker - sudo apt-get install -y docker-ce docker-ce-cli containerd.io docker-compose-plugin + sudo yum install -y docker-ce docker-ce-cli containerd.io docker-compose-plugin sudo adduser $USER vboxsf fi From 19cae007b17e77026349a09c17dd3f4b37fddc1a Mon Sep 17 00:00:00 2001 From: Sanketh P Date: Thu, 13 Apr 2023 11:47:24 +0530 Subject: [PATCH 2/3] Updated install_dependencies script for centos9 --- ansible/install_dependencies.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/ansible/install_dependencies.sh b/ansible/install_dependencies.sh index c93b9b9d..a9498b04 100644 --- a/ansible/install_dependencies.sh +++ b/ansible/install_dependencies.sh @@ -60,4 +60,4 @@ fi # Ensure /usr/local/bin is in path export PATH=$PATH:/usr/local/bin:/usr/local/go/bin -export GOPATH=$HOME/gopath +export GOPATH=$HOME/gopath From 33605d59191443139067aa59f967bf0cdeff795d Mon Sep 17 00:00:00 2001 From: Sanketh P Date: Sat, 6 May 2023 01:36:49 +0530 Subject: [PATCH 3/3] Update README.md --- README.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/README.md b/README.md index 9d834ebe..2617bc13 100644 --- a/README.md +++ b/README.md @@ -7,7 +7,7 @@ ## Introduction -SODA installer project provides easy installation and basic deployment based on specific configurations for SODA Projects. The installer is created so as to support the integrated installation of specific projects for each SODA Release. +SODA installer project provides easy installation and basic deployment based on specific configurations for SODA Projects. The installer is created so as to support the integrated installation of specific projects foreach SODA Release. It is modular and specific project installation information is built based on the installation hooks and related configurations. Basically SODA installer plays a wrapper role to put all together and provide a simple installation for the users and experience overall solution.