Skip to content

Commit

Permalink
updated port
Browse files Browse the repository at this point in the history
  • Loading branch information
kdivya153 committed Sep 18, 2024
1 parent eb8ae9b commit 9e8e96a
Showing 1 changed file with 8 additions and 7 deletions.
15 changes: 8 additions & 7 deletions .github/workflows/utils.sh
Original file line number Diff line number Diff line change
Expand Up @@ -185,6 +185,10 @@ function check_port() {
function runTests(){
MODULE="$1" # Pass the module name (core, manage, discovery)


# Check port availability (8081 in this case)
check_port 8081

# Clone firebolt-apis repo if it doesn't already exist
# if [ ! -d "firebolt-apis" ]; then
echo "Clone firebolt-apis repo with PR branch"
Expand All @@ -211,7 +215,7 @@ function runTests(){
#fi

# Clone mock-firebolt repo if it doesn't already exist
if [ ! -d "mock-firebolt" ]; then
#if [ ! -d "mock-firebolt" ]; then
echo "Cloning mfos repo and start it in the background"
git clone https://github.com/rdkcentral/mock-firebolt.git
cd mock-firebolt/server
Expand All @@ -222,9 +226,9 @@ function runTests(){
npm install
npm start &
cd ../..
else
echo "mock-firebolt repo already exists. Skipping clone."
fi
# else
# echo "mock-firebolt repo already exists. Skipping clone."
# fi

# Clone Firebolt Certification App (FCA) if it doesn't exist
echo "Clone FCA repo"
Expand All @@ -233,9 +237,6 @@ function runTests(){

echo "Updating dependency for ${MODULE} in FCA"
cd firebolt-certification-app

# Check and update port availability (8081 in this case)
check_port 8081

if [ "$MODULE" == "manage" ]; then
echo "Updating dependency to Manage SDK"
Expand Down

0 comments on commit 9e8e96a

Please sign in to comment.