Skip to content

Commit eaaf0c4

Browse files
author
Ilyas Gasanov
committed
[DOP-19924] Add custom openapi middleware
1 parent 79c29d0 commit eaaf0c4

File tree

2 files changed

+6
-1
lines changed

2 files changed

+6
-1
lines changed

docker-compose.test.yml

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -112,6 +112,8 @@ services:
112112
container_name: test-s3
113113
restart: unless-stopped
114114
env_file: .env.docker
115+
environment:
116+
- SYNCMASTER__SERVER__STATIC_FILES__ENABLED=False
115117
ports:
116118
- 9010:9000
117119
- 9011:9001
@@ -134,6 +136,7 @@ services:
134136
ORACLE_DATABASE: syncmaster
135137
APP_USER: syncmaster
136138
APP_USER_PASSWORD: changeme
139+
SYNCMASTER__SERVER__STATIC_FILES__ENABLED: false
137140
profiles: [oracle, all]
138141

139142
metastore-hive:
@@ -143,6 +146,7 @@ services:
143146
POSTGRES_DB: metastore
144147
POSTGRES_USER: test_hive
145148
POSTGRES_PASSWORD: test_hive
149+
SYNCMASTER__SERVER__STATIC_FILES__ENABLED: false
146150
ports:
147151
- 5440:5432
148152
healthcheck:
@@ -176,6 +180,7 @@ services:
176180
HIVE_METASTORE_DB_DRIVER: org.postgresql.Driver
177181
HIVE_METASTORE_DB_USER: test_hive
178182
HIVE_METASTORE_DB_PASSWORD: test_hive
183+
SYNCMASTER__SERVER__STATIC_FILES__ENABLED: false
179184
profiles: [hive, hdfs, all]
180185

181186
volumes:

docker/Dockerfile.worker

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -42,5 +42,5 @@ FROM base as test
4242
ENV SYNCMASTER__CREATE_SPARK_SESSION_FUNCTION=tests.spark.get_worker_spark_session
4343

4444
# CI runs tests in the worker container, so we need backend dependencies too
45-
RUN poetry install --no-root --all-extras --with test,docs --without dev
45+
RUN poetry install --no-root --all-extras --with test --without docs,dev
4646
RUN sed -i 's/python -m/coverage run -m/g' /app/entrypoint.sh

0 commit comments

Comments
 (0)