Skip to content

Commit

Permalink
ci: 포트 수정
Browse files Browse the repository at this point in the history
  • Loading branch information
JJ503 authored Nov 2, 2023
1 parent bce7faf commit d37fb65
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions .github/workflows/backend_dev_flyway.yml
Original file line number Diff line number Diff line change
Expand Up @@ -40,18 +40,18 @@ jobs:
run: |
while [ -z "$DATABASE_URL" ]; do
echo "Waiting for MySQL to be ready..."
export DATABASE_URL=$(echo "SELECT 'ready';" | mysql -h127.0.0.1 -P7777 -utest -ppassword testdb --skip-column-names 2>/dev/null)
export DATABASE_URL=$(echo "SELECT 'ready';" | mysql -h127.0.0.1 -P3306 -utest -ppassword testdb --skip-column-names 2>/dev/null)
sleep 1
done
echo "$DATABASE_URL"
docker ps
telnet 127.0.0.1 7777
telnet 127.0.0.1 3306
- name: Create flyway.conf
run: |
touch flyway.conf
echo "flyway.driver=com.mysql.cj.jdbc.Driver" >> flyway.conf
echo "flyway.url=mysql://127.0.0.1:7777/testdb" >> flyway.conf
echo "flyway.url=mysql://127.0.0.1:3306/testdb" >> flyway.conf
echo "flyway.user=test" >> flyway.conf
echo "flyway.password=password" >> flyway.conf
echo "flyway.encoding=UTF-8" >> flyway.conf
Expand Down

0 comments on commit d37fb65

Please sign in to comment.