From 111b0375121228b31839cf9fa0234b6fa8e061b9 Mon Sep 17 00:00:00 2001 From: Jens Langhammer Date: Fri, 10 Jul 2020 15:37:10 +0200 Subject: [PATCH] e2e: use non-debug selenium docker image for CI --- azure-pipelines.yml | 2 +- e2e/ci.docker-compose.yml | 8 ++++++++ e2e/docker-compose.yml | 12 ------------ 3 files changed, 9 insertions(+), 13 deletions(-) create mode 100644 e2e/ci.docker-compose.yml diff --git a/azure-pipelines.yml b/azure-pipelines.yml index ffa9303f9..c9733b628 100644 --- a/azure-pipelines.yml +++ b/azure-pipelines.yml @@ -138,7 +138,7 @@ stages: - task: DockerCompose@0 displayName: Run ChromeDriver inputs: - dockerComposeFile: 'e2e/docker-compose.yml' + dockerComposeFile: 'e2e/ci.docker-compose.yml' action: 'Run a specific service' serviceName: 'chrome' - task: CmdLine@2 diff --git a/e2e/ci.docker-compose.yml b/e2e/ci.docker-compose.yml new file mode 100644 index 000000000..9928cd0ff --- /dev/null +++ b/e2e/ci.docker-compose.yml @@ -0,0 +1,8 @@ +version: '3.7' + +services: + chrome: + image: selenium/standalone-chrome + volumes: + - /dev/shm:/dev/shm + network_mode: host diff --git a/e2e/docker-compose.yml b/e2e/docker-compose.yml index 1786d5c5e..367d8485a 100644 --- a/e2e/docker-compose.yml +++ b/e2e/docker-compose.yml @@ -6,15 +6,3 @@ services: volumes: - /dev/shm:/dev/shm 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