From e8435ef86d513e58ca9bc409302b1c7e241c7d38 Mon Sep 17 00:00:00 2001 From: Tomas D'Stefano Date: Tue, 24 Dec 2024 13:29:34 +0000 Subject: [PATCH] Add libnss3 to see if is the issue --- .github/workflows/build-and-deploy.yml | 6 +----- 1 file changed, 1 insertion(+), 5 deletions(-) diff --git a/.github/workflows/build-and-deploy.yml b/.github/workflows/build-and-deploy.yml index efc10ad2a9..bee68b7e39 100644 --- a/.github/workflows/build-and-deploy.yml +++ b/.github/workflows/build-and-deploy.yml @@ -1,7 +1,3 @@ -name: Build and Deploy -concurrency: build_and_deploy_${{ github.ref_name }} - -on: push: branches: - main @@ -240,7 +236,7 @@ jobs: docker compose up --no-build -d docker compose exec -T web /bin/sh -c "./wait-for-command.sh -c 'nc -z db 5432' -s 0 -t 20" docker compose exec -T web /bin/sh -c 'bundle config --local disable_exec_load true' - docker compose exec -T web /bin/sh -c 'apk add --no-cache chromium chromium-chromedriver xvfb xauth' + docker compose exec -T web /bin/sh -c 'apk add --no-cache chromium chromium-chromedriver xvfb xauth nss' docker compose exec -T web /bin/sh -c "echo 'Checking if chromedriver is installed...'; which chromium; which chromedriver; ls -l /usr/bin/chromium; ls -l /usr/bin/chromedriver; chromium --version; chromedriver --version" # Ensure that xvfb is set up to allow GUI-based apps like Chromium to run headlessly docker compose exec -T web /bin/sh -c 'Xvfb :99 -ac &'