Skip to content

Commit

Permalink
Merge pull request #328 from Sunbird-cQube/staging
Browse files Browse the repository at this point in the history
Staging to 5.0.3-nvsk
  • Loading branch information
asifbasha61 committed Jul 12, 2023
2 parents 4811afe + 3efab05 commit 7964644
Showing 1 changed file with 12 additions and 4 deletions.
16 changes: 12 additions & 4 deletions shell_scripts/oracle_storage_config_generator.sh
Original file line number Diff line number Diff line change
Expand Up @@ -6,8 +6,12 @@ do
echo -e "\e[0;36m${bold}Hint: Enter the oracle Name space ${normal}"
echo -e "\e[0;38m${bold}please enter the oracle name space ${normal}"
read name_space
printf "oracle_namespace: $name_space\n" >> config_files/oracle_storage_config.yml
break;
if [[ -z $name_space ]]; then
echo -e "\e[0;31m${bold}Error - Entered value is empty. please enter the Oracle name space${normal}"; fail=1
else
printf "oracle_namespace: $name_space\n" >> config_files/oracle_storage_config.yml
break;
fi
done

}
Expand All @@ -19,8 +23,12 @@ do
echo -e "\e[0;36m${bold}Hint: Enter oracle bucket_name ${normal}"
echo -e "\e[0;38m${bold}please enter the oracle storage bucket name ${normal}"
read bucket_name
printf "oracle_bucket: $bucket_name\n" >> config_files/oracle_storage_config.yml
break;
if [[ -z $bucket_name ]]; then
echo -e "\e[0;31m${bold}Error - Entered value is empty. please enter the Oracle bucket name${normal}"; fail=1
else
printf "oracle_bucket: $bucket_name\n" >> config_files/oracle_storage_config.yml
break;
fi
done

}
Expand Down

0 comments on commit 7964644

Please sign in to comment.