e2e: use non-debug selenium docker image for CI
This commit is contained in:
parent
52f66717d3
commit
111b037512
|
@ -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
|
||||||
|
|
|
@ -0,0 +1,8 @@
|
||||||
|
version: '3.7'
|
||||||
|
|
||||||
|
services:
|
||||||
|
chrome:
|
||||||
|
image: selenium/standalone-chrome
|
||||||
|
volumes:
|
||||||
|
- /dev/shm:/dev/shm
|
||||||
|
network_mode: host
|
|
@ -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
|
|
||||||
|
|
Reference in New Issue