mirror of
https://github.com/OneUptime/oneuptime
synced 2024-11-21 14:49:07 +00:00
Refactor E2E tests and Docker configuration
This commit is contained in:
parent
894d15918b
commit
5d9a11fb48
@ -45,5 +45,7 @@ RUN npm install
|
||||
# Copy app source
|
||||
COPY ./E2E /usr/src/app
|
||||
|
||||
RUN npm run compile
|
||||
|
||||
#Run the app
|
||||
CMD [ "npm", "test" ]
|
@ -337,7 +337,16 @@ services:
|
||||
max-size: "1000m"
|
||||
|
||||
|
||||
|
||||
e2e:
|
||||
networks:
|
||||
- oneuptime
|
||||
restart: no
|
||||
environment:
|
||||
<<: *common-server-variables
|
||||
logging:
|
||||
driver: "local"
|
||||
options:
|
||||
max-size: "1000m"
|
||||
|
||||
ingress:
|
||||
restart: always
|
||||
|
@ -323,6 +323,16 @@ services:
|
||||
file: ./docker-compose.base.yml
|
||||
service: ingress
|
||||
|
||||
# e2e tests
|
||||
e2e:
|
||||
extends:
|
||||
file: ./docker-compose.base.yml
|
||||
service: e2e
|
||||
build:
|
||||
network: host
|
||||
context: .
|
||||
dockerfile: ./E2E/Dockerfile
|
||||
|
||||
volumes:
|
||||
postgres:
|
||||
clickhouse:
|
||||
|
Loading…
Reference in New Issue
Block a user