Skip to content

Commit

Permalink
debug(iter-3)!: gh workflow for e2e
Browse files Browse the repository at this point in the history
fixed the failing curl test checking

Signed-off-by: Dipankar Das <65275144+dipankardas011@users.noreply.github.com>
  • Loading branch information
dipankardas011 committed May 28, 2024
1 parent 88f2952 commit 85c608b
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 5 deletions.
8 changes: 4 additions & 4 deletions .github/workflows/e2e-migration.yml
Original file line number Diff line number Diff line change
Expand Up @@ -27,9 +27,9 @@ jobs:

- name: header
run: |
echo -e "\e[1;33m┏━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━┓\e[0m
echo -e "\e[1;33m┏━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━┓\e[0m
\e[1;33m┃\e[0m \e[1;36m Migration from v0.9.0 to latest \e[0m \e[1;33m┃\e[0m
\e[1;33m┗━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━┛\e[0m"
\e[1;33m┗━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━┛\e[0m"
- name: install frappe from v0.9.0
run: |
Expand Down Expand Up @@ -71,9 +71,9 @@ jobs:
sudo apt install -y jq curl
- name: header
run: |
echo -e "\e[1;33m┏━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━┓\e[0m
echo -e "\e[1;33m┏━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━┓\e[0m
\e[1;33m┃\e[0m \e[1;36m Migration from latest~1 to latest \e[0m \e[1;33m┃\e[0m
\e[1;33m┗━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━┛\e[0m"
\e[1;33m┗━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━┛\e[0m"
- name: install frappe previous the latest release
run: |
Expand Down
4 changes: 3 additions & 1 deletion test/fm.sh
Original file line number Diff line number Diff line change
Expand Up @@ -30,8 +30,10 @@ TestSiteReachability() {
-H "Host: $siteName" \
-H "Cache-Control: no-cache,no-store" \
http://localhost:80

statcode=$?

if [ $? -eq 0 ]; then
if [ $statcode -eq "0" ]; then
echo "Curl succeeded for $siteName"
return
else
Expand Down

0 comments on commit 85c608b

Please sign in to comment.