From e982a5a33352b1e9896bab957021c87a17d665d2 Mon Sep 17 00:00:00 2001 From: Olivier Bado-Faustin Date: Wed, 4 Sep 2024 17:14:25 +0200 Subject: [PATCH] [DONE] FIX pa11y-ci (#1189) Fix the Pa11y-cy bug, by using grafana/docker-puppeteer --- docker-compose-dev-with-volumes.yml | 2 -- docker-compose-full-dev-with-volumes-test.yml | 2 -- docker-compose-full-dev-with-volumes.yml | 2 -- dockerfile-dev-with-volumes/pa11y-ci/dockerfile-pa11y-ci | 4 ++-- 4 files changed, 2 insertions(+), 8 deletions(-) diff --git a/docker-compose-dev-with-volumes.yml b/docker-compose-dev-with-volumes.yml index 832786fca4..116112ca10 100755 --- a/docker-compose-dev-with-volumes.yml +++ b/docker-compose-dev-with-volumes.yml @@ -4,8 +4,6 @@ x-pod-volumes: &pod-volumes x-elasticsearch-volumes: &elasticsearch-volumes - ./dockerfile-dev-with-volumes/config/elasticsearch/elasticsearch.yml:/usr/share/elasticsearch/config/elasticsearch.yml -version: '3.7' - services: pod: container_name: pod-dev-with-volumes diff --git a/docker-compose-full-dev-with-volumes-test.yml b/docker-compose-full-dev-with-volumes-test.yml index 505f066c46..f2bba45dc2 100755 --- a/docker-compose-full-dev-with-volumes-test.yml +++ b/docker-compose-full-dev-with-volumes-test.yml @@ -4,8 +4,6 @@ x-pod-volumes: &pod-volumes x-elasticsearch-volumes: &elasticsearch-volumes - ./dockerfile-dev-with-volumes/config/elasticsearch/elasticsearch.yml:/usr/share/elasticsearch/config/elasticsearch.yml -version: '3.7' - services: pod-back: container_name: pod-back-with-volumes diff --git a/docker-compose-full-dev-with-volumes.yml b/docker-compose-full-dev-with-volumes.yml index 8e64940b46..afad72da65 100755 --- a/docker-compose-full-dev-with-volumes.yml +++ b/docker-compose-full-dev-with-volumes.yml @@ -4,8 +4,6 @@ x-pod-volumes: &pod-volumes x-elasticsearch-volumes: &elasticsearch-volumes - ./dockerfile-dev-with-volumes/config/elasticsearch/elasticsearch.yml:/usr/share/elasticsearch/config/elasticsearch.yml -version: '3.7' - services: pod-back: container_name: pod-back-with-volumes diff --git a/dockerfile-dev-with-volumes/pa11y-ci/dockerfile-pa11y-ci b/dockerfile-dev-with-volumes/pa11y-ci/dockerfile-pa11y-ci index 1c994b9f21..6c4cf8d397 100644 --- a/dockerfile-dev-with-volumes/pa11y-ci/dockerfile-pa11y-ci +++ b/dockerfile-dev-with-volumes/pa11y-ci/dockerfile-pa11y-ci @@ -1,5 +1,5 @@ -FROM buildkite/puppeteer:v1.15.0 -RUN npm install --global --unsafe-perm pa11y-ci +FROM grafana/docker-puppeteer:1.1.0 +# RUN npm install --global --unsafe-perm pa11y-ci COPY ./dockerfile-dev-with-volumes/pa11y-ci/my-entrypoint-pa11y.sh /tmp/my-entrypoint-pa11y.sh RUN chmod 755 /tmp/my-entrypoint-pa11y.sh # ENTRYPOINT ["pa11y-ci", "-c", "/usr/config.json"]