Skip to content

Commit

Permalink
Changed path of migration-tester folder
Browse files Browse the repository at this point in the history
  • Loading branch information
JayanaGunaweera01 committed Jun 24, 2023
1 parent 2fbc06d commit fec1c9c
Show file tree
Hide file tree
Showing 27 changed files with 244 additions and 244 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -14,13 +14,13 @@ os=$1
if [ "$os" = "ubuntu-latest" ]; then

chmod +x env.sh
. "/home/runner/work/Automating-Product-Migration-Testing/Automating-Product-Migration-Testing/migration-tester/migration-automation/env.sh"
. "/home/runner/work/product-is/product-is/.github/migration-tester/migration-automation/env.sh"
echo "${GREEN}==> Env file for Ubuntu sourced successfully"
fi
if [ "$os" = "macos-latest" ]; then

chmod +x env.sh
source "/Users/runner/work/Automating-Product-Migration-Testing/Automating-Product-Migration-Testing/migration-tester/migration-automation/env.sh"
source "/Users/runner/work/product-is/product-is/.github/migration-tester/migration-automation/env.sh"
echo "${GREEN}==> Env file for Mac sourced successfully${RESET}"

fi
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -14,13 +14,13 @@ os=$1
if [ "$os" = "ubuntu-latest" ]; then

chmod +x env.sh
. "/home/runner/work/Automating-Product-Migration-Testing/Automating-Product-Migration-Testing/migration-tester/migration-automation/env.sh"
. "/home/runner/work/product-is/product-is/.github/migration-tester/migration-automation/env.sh"
echo "${GREEN}==> Env file for Ubuntu sourced successfully"
fi
if [ "$os" = "macos-latest" ]; then

chmod +x env.sh
source "/Users/runner/work/Automating-Product-Migration-Testing/Automating-Product-Migration-Testing/migration-tester/migration-automation/env.sh"
source "/Users/runner/work/product-is/product-is/.github/migration-tester/migration-automation/env.sh"
echo "${GREEN}==> Env file for Mac sourced successfully${RESET}"

fi
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -12,12 +12,12 @@ os=$1
# Set deployment file and path based on OS
if [ "$os" = "ubuntu-latest" ]; then
chmod +x env.sh
. "/home/runner/work/Automating-Product-Migration-Testing/Automating-Product-Migration-Testing/migration-tester/migration-automation/env.sh"
. "/home/runner/work/product-is/product-is/.github/migration-tester/migration-automation/env.sh"
echo "${GREEN}==> Env file for Ubuntu sourced successfully${NC}"
fi
if [ "$os" = "macos-latest" ]; then
chmod +x env.sh
source "/Users/runner/work/Automating-Product-Migration-Testing/Automating-Product-Migration-Testing/migration-tester/migration-automation/env.sh"
source "/Users/runner/work/product-is/product-is/.github/migration-tester/migration-automation/env.sh"
echo "${GREEN}==> Env file for Mac sourced successfully${RESET}"
fi

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -12,13 +12,13 @@ os=$1
# Set deployment file and path based on OS
if [ "$os" = "ubuntu-latest" ]; then
chmod +x env.sh
. "/home/runner/work/Automating-Product-Migration-Testing/Automating-Product-Migration-Testing/migration-tester/migration-automation/env.sh"
. "/home/runner/work/product-is/product-is/.github/migration-tester/migration-automation/env.sh"
echo "${GREEN}==> Env file for Ubuntu sourced successfully"
fi

if [ "$os" = "macos-latest" ]; then
chmod +x env.sh
source "/Users/runner/work/Automating-Product-Migration-Testing/Automating-Product-Migration-Testing/migration-tester/migration-automation/env.sh"
source "/Users/runner/work/product-is/product-is/.github/migration-tester/migration-automation/env.sh"
echo "${GREEN}==> Env file for Mac sourced successfully${RESET}"
fi

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -13,13 +13,13 @@ os=$1
if [ "$os" = "ubuntu-latest" ]; then

chmod +x env.sh
. "/home/runner/work/Automating-Product-Migration-Testing/Automating-Product-Migration-Testing/migration-tester/migration-automation/env.sh"
. "/home/runner/work/product-is/product-is/.github/migration-tester/migration-automation/env.sh"
echo "${GREEN}==> Env file for Ubuntu sourced successfully"
fi
if [ "$os" = "macos-latest" ]; then

chmod +x env.sh
source "/Users/runner/work/Automating-Product-Migration-Testing/Automating-Product-Migration-Testing/migration-tester/migration-automation/env.sh"
source "/Users/runner/work/product-is/product-is/.github/migration-tester/migration-automation/env.sh"
echo "${GREEN}==> Env file for Mac sourced successfully${RESET}"

fi
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -14,13 +14,13 @@ os=$1
if [ "$os" = "ubuntu-latest" ]; then

chmod +x env.sh
. "/home/runner/work/Automating-Product-Migration-Testing/Automating-Product-Migration-Testing/migration-tester/migration-automation/env.sh"
. "/home/runner/work/product-is/product-is/.github/migration-tester/migration-automation/env.sh"
echo "${GREEN}==> Env file for Ubuntu sourced successfully"
fi
if [ "$os" = "macos-latest" ]; then

chmod +x env.sh
source "/Users/runner/work/Automating-Product-Migration-Testing/Automating-Product-Migration-Testing/migration-tester/migration-automation/env.sh"
source "/Users/runner/work/product-is/product-is/.github/migration-tester/migration-automation/env.sh"
echo "${GREEN}==> Env file for Mac sourced successfully${RESET}"

fi
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -12,13 +12,13 @@ os=$1
# Set deployment file and path based on OS
if [ "$os" = "ubuntu-latest" ]; then
chmod +x env.sh
. "/home/runner/work/Automating-Product-Migration-Testing/Automating-Product-Migration-Testing/migration-tester/migration-automation/env.sh"
. "/home/runner/work/product-is/product-is/.github/migration-tester/migration-automation/env.sh"
echo -e "${GREEN}==> Env file for Ubuntu sourced successfully"
fi

if [ "$os" = "macos-latest" ]; then
chmod +x env.sh
source "/Users/runner/work/Automating-Product-Migration-Testing/Automating-Product-Migration-Testing/migration-tester/migration-automation/env.sh"
source "/Users/runner/work/product-is/product-is/.github/migration-tester/migration-automation/env.sh"
echo -e "${GREEN}==> Env file for Mac sourced successfully${RESET}"
fi

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -14,13 +14,13 @@ os=$1
if [ "$os" = "ubuntu-latest" ]; then

chmod +x env.sh
. "/home/runner/work/Automating-Product-Migration-Testing/Automating-Product-Migration-Testing/migration-tester/migration-automation/env.sh"
. "/home/runner/work/product-is/product-is/.github/migration-tester/migration-automation/env.sh"
echo "${GREEN}==> Env file for Ubuntu sourced successfully"
fi
if [ "$os" = "macos-latest" ]; then

chmod +x env.sh
source "/Users/runner/work/Automating-Product-Migration-Testing/Automating-Product-Migration-Testing/migration-tester/migration-automation/env.sh"
source "/Users/runner/work/product-is/product-is/.github/migration-tester/migration-automation/env.sh"
echo "${GREEN}==> Env file for Mac sourced successfully${RESET}"

fi
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -14,13 +14,13 @@ os=$1
if [ "$os" = "ubuntu-latest" ]; then

chmod +x env.sh
. "/home/runner/work/Automating-Product-Migration-Testing/Automating-Product-Migration-Testing/migration-tester/migration-automation/env.sh"
. "/home/runner/work/product-is/product-is/.github/migration-tester/migration-automation/env.sh"
echo "${GREEN}==> Env file for Ubuntu sourced successfully"
fi
if [ "$os" = "macos-latest" ]; then

chmod +x env.sh
source "/Users/runner/work/Automating-Product-Migration-Testing/Automating-Product-Migration-Testing/migration-tester/migration-automation/env.sh"
source "/Users/runner/work/product-is/product-is/.github/migration-tester/migration-automation/env.sh"
echo "${GREEN}==> Env file for Mac sourced successfully${RESET}"

fi
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -13,13 +13,13 @@ os=$1
if [ "$os" = "ubuntu-latest" ]; then

chmod +x env.sh
. "/home/runner/work/Automating-Product-Migration-Testing/Automating-Product-Migration-Testing/migration-tester/migration-automation/env.sh"
. "/home/runner/work/product-is/product-is/.github/migration-tester/migration-automation/env.sh"
echo "${GREEN}==> Env file for Ubuntu sourced successfully"
fi
if [ "$os" = "macos-latest" ]; then

chmod +x env.sh
source "/Users/runner/work/Automating-Product-Migration-Testing/Automating-Product-Migration-Testing/migration-tester/migration-automation/env.sh"
source "/Users/runner/work/product-is/product-is/.github/migration-tester/migration-automation/env.sh"
echo "${GREEN}==> Env file for Mac sourced successfully${RESET}"

fi
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -14,13 +14,13 @@ os=$1
if [ "$os" = "ubuntu-latest" ]; then

chmod +x env.sh
. "/home/runner/work/Automating-Product-Migration-Testing/Automating-Product-Migration-Testing/migration-tester/migration-automation/env.sh"
. "/home/runner/work/product-is/product-is/.github/migration-tester/migration-automation/env.sh"
echo "${GREEN}==> Env file for Ubuntu sourced successfully"
fi
if [ "$os" = "macos-latest" ]; then

chmod +x env.sh
source "/Users/runner/work/Automating-Product-Migration-Testing/Automating-Product-Migration-Testing/migration-tester/migration-automation/env.sh"
source "/Users/runner/work/product-is/product-is/.github/migration-tester/migration-automation/env.sh"
echo "${GREEN}==> Env file for Mac sourced successfully${RESET}"

fi
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -14,13 +14,13 @@ os=$1
if [ "$os" = "ubuntu-latest" ]; then

chmod +x env.sh
. "/home/runner/work/Automating-Product-Migration-Testing/Automating-Product-Migration-Testing/migration-tester/migration-automation/env.sh"
. "/home/runner/work/product-is/product-is/.github/migration-tester/migration-automation/env.sh"
echo "${GREEN}==> Env file for Ubuntu sourced successfully"
fi
if [ "$os" = "macos-latest" ]; then

chmod +x env.sh
source "/Users/runner/work/Automating-Product-Migration-Testing/Automating-Product-Migration-Testing/migration-tester/migration-automation/env.sh"
source "/Users/runner/work/product-is/product-is/.github/migration-tester/migration-automation/env.sh"
echo "${GREEN}==> Env file for Mac sourced successfully${RESET}"

fi
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -14,13 +14,13 @@ os=$1
if [ "$os" = "ubuntu-latest" ]; then

chmod +x env.sh
. "/home/runner/work/Automating-Product-Migration-Testing/Automating-Product-Migration-Testing/migration-tester/migration-automation/env.sh"
. "/home/runner/work/product-is/product-is/.github/migration-tester/migration-automation/env.sh"
echo "${GREEN}==> Env file for Ubuntu sourced successfully"
fi
if [ "$os" = "macos-latest" ]; then

chmod +x env.sh
source "/Users/runner/work/Automating-Product-Migration-Testing/Automating-Product-Migration-Testing/migration-tester/migration-automation/env.sh"
source "/Users/runner/work/product-is/product-is/.github/migration-tester/migration-automation/env.sh"
echo "${GREEN}==> Env file for Mac sourced successfully${RESET}"

fi
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ for script in \
if [ -f "$script" ] && [ -x "$script" ]; then
echo "Running script: $script"
# execute script and redirect output to console and file
"./$script" | tee -a /home/runner/work/Automating-Product-Migration-Testing/Automating-Product-Migration-Testing/migration-tester/migration-automation/logs.txt
"./$script" | tee -a /home/runner/work/product-is/product-is/.github/migration-tester/migration-automation/logs.txt
fi
done

Expand All @@ -33,7 +33,7 @@ for dir in */; do
if [ -f "$script" ] && [ -x "$script" ]; then
echo "Running script: $script"
# execute script and redirect output to console and file
"./$script" | tee -a /home/runner/work/Automating-Product-Migration-Testing/Automating-Product-Migration-Testing/migration-tester/migration-automation/logs.txt
"./$script" | tee -a /home/runner/work/product-is/product-is/.github/migration-tester/migration-automation/logs.txt
fi
done
cd ..
Expand Down
Loading

0 comments on commit fec1c9c

Please sign in to comment.