Skip to content

Commit 0c98181

Browse files
committed
adjust db name
1 parent 3135d2f commit 0c98181

File tree

3 files changed

+8
-8
lines changed

3 files changed

+8
-8
lines changed

.github/workflows/test-migrations.yml

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,7 @@ jobs:
2828
postgres:
2929
image: postgres:16.1
3030
env:
31-
POSTGRES_DB: opentaco_test
31+
POSTGRES_DB: taco
3232
POSTGRES_USER: postgres
3333
POSTGRES_PASSWORD: postgres
3434
ports:
@@ -65,7 +65,7 @@ jobs:
6565
- name: Apply migrations manually (simulating entrypoint.sh)
6666
working-directory: taco
6767
env:
68-
POSTGRES_URL: postgres://postgres:postgres@localhost:5432/opentaco_test?sslmode=disable
68+
POSTGRES_URL: postgres://postgres:postgres@localhost:5432/taco?sslmode=disable
6969
run: |
7070
echo "Applying PostgreSQL migrations..."
7171
atlas migrate apply \
@@ -85,7 +85,7 @@ jobs:
8585
OPENTACO_POSTGRES_PORT: 5432
8686
OPENTACO_POSTGRES_USER: postgres
8787
OPENTACO_POSTGRES_PASSWORD: postgres
88-
OPENTACO_POSTGRES_DATABASE: opentaco_test
88+
OPENTACO_POSTGRES_DATABASE: taco
8989
OPENTACO_POSTGRES_SSLMODE: disable
9090
OPENTACO_AUTH_DISABLE: true
9191
run: |
@@ -120,7 +120,7 @@ jobs:
120120
image: mysql:8
121121
env:
122122
MYSQL_ROOT_PASSWORD: root
123-
MYSQL_DATABASE: opentaco_test
123+
MYSQL_DATABASE: taco
124124
MYSQL_USER: mysql
125125
MYSQL_PASSWORD: mysql
126126
ports:
@@ -157,7 +157,7 @@ jobs:
157157
- name: Apply migrations manually (simulating entrypoint.sh)
158158
working-directory: taco
159159
env:
160-
MYSQL_URL: mysql://mysql:mysql@localhost:3306/opentaco_test
160+
MYSQL_URL: mysql://mysql:mysql@localhost:3306/taco
161161
run: |
162162
echo "Applying MySQL migrations..."
163163
atlas migrate apply \
@@ -177,7 +177,7 @@ jobs:
177177
OPENTACO_MYSQL_PORT: 3306
178178
OPENTACO_MYSQL_USER: mysql
179179
OPENTACO_MYSQL_PASSWORD: mysql
180-
OPENTACO_MYSQL_DATABASE: opentaco_test
180+
OPENTACO_MYSQL_DATABASE: taco
181181
OPENTACO_AUTH_DISABLE: true
182182
OPENTACO_JWT_SECRET: test-secret-key-for-ci
183183
run: |

taco/Dockerfile_statesman

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -59,7 +59,7 @@ EXPOSE 8080
5959
# Set environment variables with defaults
6060
ENV OPENTACO_PORT=8080
6161
ENV OPENTACO_STORAGE=memory
62-
ENV OPENTACO_BACKEND=sqlite
62+
ENV OPENTACO_QUERY_BACKEND=sqlite
6363
ENV OPENTACO_SQLITE_PATH=/app/data/taco.db
6464

6565
# Health check

taco/scripts/entrypoint.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
set -e
33

44
# Determine which database backend is being used
5-
BACKEND=${OPENTACO_BACKEND:-sqlite}
5+
BACKEND=${OPENTACO_QUERY_BACKEND:-sqlite}
66

77
echo "Starting OpenTaco Statesman with backend: $BACKEND"
88

0 commit comments

Comments
 (0)