From f8ed6efa84de61db8755bbcb65f7343225f5222c Mon Sep 17 00:00:00 2001 From: 1Copenut Date: Tue, 21 Nov 2023 11:48:47 -0600 Subject: [PATCH] Removing Docker test scripts to be refactored in another PR. --- scripts/test-a11y-docker.js | 21 --------------------- scripts/test-docker.js | 20 -------------------- 2 files changed, 41 deletions(-) delete mode 100644 scripts/test-a11y-docker.js delete mode 100644 scripts/test-docker.js diff --git a/scripts/test-a11y-docker.js b/scripts/test-a11y-docker.js deleted file mode 100644 index d1a1b6436e6..00000000000 --- a/scripts/test-a11y-docker.js +++ /dev/null @@ -1,21 +0,0 @@ -const { execSync } = require('child_process'); - -execSync('docker pull docker.elastic.co/eui/ci:6.0', { - stdio: 'inherit', -}); -/* eslint-disable-next-line no-multi-str */ -execSync( - "docker run \ - -i --rm --cap-add=SYS_ADMIN --volume=$(pwd):/app --workdir=/app --platform=linux/amd64 \ - -e GIT_COMMITTER_NAME=test -e GIT_COMMITTER_EMAIL=test -e HOME=/tmp \ - --user=$(id -u):$(id -g) \ - docker.elastic.co/eui/ci:6.0 \ - bash -c '/opt/yarn*/bin/yarn \ - && yarn cypress install \ - && yarn run test-cypress-a11y \ - --node-options=--max_old_space_size=2048 \ - --skip-css '", // Skipping CSS because compiling has a tendency to hang on Apple Silicon - { - stdio: 'inherit', - } -); diff --git a/scripts/test-docker.js b/scripts/test-docker.js deleted file mode 100644 index 639f8e6a1bf..00000000000 --- a/scripts/test-docker.js +++ /dev/null @@ -1,20 +0,0 @@ -const { execSync } = require('child_process'); - -execSync('docker pull docker.elastic.co/eui/ci:6.0', { - stdio: 'inherit', -}); -/* eslint-disable-next-line no-multi-str */ -execSync( - "docker run \ - -i --rm --cap-add=SYS_ADMIN --volume=$(pwd):/app --workdir=/app --platform=linux/amd64 \ - -e GIT_COMMITTER_NAME=test -e GIT_COMMITTER_EMAIL=test -e HOME=/tmp \ - --user=$(id -u):$(id -g) \ - docker.elastic.co/eui/ci:6.0 \ - bash -c '/opt/yarn*/bin/yarn \ - && yarn cypress install \ - && yarn test-ci --node-options=--max_old_space_size=2048 \ - && yarn build'", - { - stdio: 'inherit', - } -);