Skip to content

Commit

Permalink
Fix database creation
Browse files Browse the repository at this point in the history
  • Loading branch information
edgarrmondragon committed Dec 30, 2024
1 parent 05a82a7 commit f7c2044
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 14 deletions.
5 changes: 4 additions & 1 deletion .github/workflows/test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -47,7 +47,10 @@ jobs:
- "3.13"
steps:
- uses: actions/checkout@v4
- run: docker compose up -d
- run: |
docker compose up --quiet-pull -d
docker compose exec starrocks mysql -P 9030 -h 127.0.0.1 -u root pytest -e 'create database if not exists ${{ env.STARROCKS_DATABASE }}'
docker compose ps
- uses: actions/setup-python@v5
with:
python-version: ${{ matrix.python-version }}
Expand Down
12 changes: 0 additions & 12 deletions docker-compose.yml
Original file line number Diff line number Diff line change
Expand Up @@ -5,15 +5,3 @@ services:
- "8030:8030"
- "8040:8040"
- "9030:9030"
environment:
- STARROCKS_HOME=/starrocks
- STARROCKS_FE_PORT=8030
- STARROCKS_BE_PORT=8040
- STARROCKS_HTTP_PORT=9030
healthcheck:
test: ["CMD", "curl", "-f", "http://localhost:9030"]
interval: 5s
timeout: 5s
retries: 30
volumes:
- ./fixtures:/docker-entrypoint-initdb.d
1 change: 0 additions & 1 deletion fixtures/init.sql

This file was deleted.

0 comments on commit f7c2044

Please sign in to comment.