Skip to content

Commit

Permalink
chore: add branch_example.yml
Browse files Browse the repository at this point in the history
  • Loading branch information
earayu committed Dec 16, 2024
1 parent 3070dab commit 838981f
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions .github/workflows/branch_example.yml
Original file line number Diff line number Diff line change
Expand Up @@ -81,14 +81,14 @@ jobs:
- name: Wait for MySQL port
run: |
for i in {1..60}; do
if nc -z localhost 3306; then
echo "MySQL port 3306 is ready!"
if nc -z localhost 15306; then
echo "MySQL port 15306 is ready!"
exit 0
fi
echo "Waiting for MySQL port 3306..."
echo "Waiting for MySQL port 15306..."
sleep 5
done
echo "Timeout waiting for MySQL port 3306"
echo "Timeout waiting for MySQL port 15306"
exit 1
- name: Create Branch On Target Cluster
Expand Down

0 comments on commit 838981f

Please sign in to comment.