Skip to content

Commit

Permalink
tttttt
Browse files Browse the repository at this point in the history
  • Loading branch information
as6325400 committed Oct 19, 2024
1 parent a3e632e commit 2a1b4ed
Showing 1 changed file with 2 additions and 3 deletions.
5 changes: 2 additions & 3 deletions .github/workflows/database-upgrade.yml
Original file line number Diff line number Diff line change
Expand Up @@ -30,15 +30,14 @@ jobs:
--health-interval=10s
--health-timeout=5s
--health-retries=3
volumes:
- .github/jobs/old_database.sh:/docker-entrypoint-initdb.d/init.sql
steps:
- uses: actions/checkout@v4

- name: Install DOMjudge
run: .github/jobs/baseinstall.sh

- name: Wait for SQL Server to be ready
run: sleep 20

- name: Import olddata into MariaDB
run: |
docker exec -i sqlserver mysql -h127.0.0.1 -u${{ env.MYSQL_USER }} -p${{ env.MYSQL_PASSWORD }} domjudge < .github/jobs/old_database.sql
Expand Down

0 comments on commit 2a1b4ed

Please sign in to comment.