e2e: use non-debug selenium docker image for CI

This commit is contained in:
Jens Langhammer 2020-07-10 15:37:10 +02:00
parent 52f66717d3
commit 111b037512
3 changed files with 9 additions and 13 deletions

View File

@ -138,7 +138,7 @@ stages:
- task: DockerCompose@0 - task: DockerCompose@0
displayName: Run ChromeDriver displayName: Run ChromeDriver
inputs: inputs:
dockerComposeFile: 'e2e/docker-compose.yml' dockerComposeFile: 'e2e/ci.docker-compose.yml'
action: 'Run a specific service' action: 'Run a specific service'
serviceName: 'chrome' serviceName: 'chrome'
- task: CmdLine@2 - task: CmdLine@2

View File

@ -0,0 +1,8 @@
version: '3.7'
services:
chrome:
image: selenium/standalone-chrome
volumes:
- /dev/shm:/dev/shm
network_mode: host

View File

@ -6,15 +6,3 @@ services:
volumes: volumes:
- /dev/shm:/dev/shm - /dev/shm:/dev/shm
network_mode: host network_mode: host
postgresql:
image: postgres:11
restart: always
environment:
POSTGRES_HOST_AUTH_METHOD: trust
POSTGRES_DB: passbook
network_mode: host
redis:
image: redis
restart: always
network_mode: host