Skip to content

Commit

Permalink
Upgrading scripts to use Docker container v5.5.
Browse files Browse the repository at this point in the history
  • Loading branch information
1Copenut committed Oct 12, 2023
1 parent 5f8b874 commit 6d01521
Show file tree
Hide file tree
Showing 5 changed files with 7 additions and 7 deletions.
2 changes: 1 addition & 1 deletion .buildkite/scripts/pipeline_test.sh
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ DOCKER_OPTIONS=(
--user="$(id -u):$(id -g)"
--volume="$(pwd):/app"
--workdir=/app
docker.elastic.co/eui/ci:5.4
docker.elastic.co/eui/ci:5.5
)

case $TEST_TYPE in
Expand Down
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
"main": "lib",
"module": "es",
"types": "eui.d.ts",
"docker_image": "18.18.0",
"docker_image": "18.18.1",
"engines": {
"node": "16.x || 18.x || >=20.0"
},
Expand Down
2 changes: 1 addition & 1 deletion scripts/deploy/build_docs
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@

set -e

NODE_IMG="docker.elastic.co/eui/ci:5.4"
NODE_IMG="docker.elastic.co/eui/ci:5.5"

# Compile using node image
echo "Building docs using ${NODE_IMG} Docker image"
Expand Down
4 changes: 2 additions & 2 deletions scripts/test-a11y-docker.js
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
const { execSync } = require('child_process');

execSync('docker pull docker.elastic.co/eui/ci:5.3', {
execSync('docker pull docker.elastic.co/eui/ci:5.5', {
stdio: 'inherit',
});
/* eslint-disable-next-line no-multi-str */
Expand All @@ -9,7 +9,7 @@ execSync(
-i --rm --cap-add=SYS_ADMIN --volume=$(pwd):/app --workdir=/app \
-e GIT_COMMITTER_NAME=test -e GIT_COMMITTER_EMAIL=test -e HOME=/tmp \
--user=$(id -u):$(id -g) \
docker.elastic.co/eui/ci:5.4 \
docker.elastic.co/eui/ci:5.5 \
bash -c \'npm config set spin false \
&& /opt/yarn*/bin/yarn \
&& yarn cypress install \
Expand Down
4 changes: 2 additions & 2 deletions scripts/test-docker.js
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
const { execSync } = require('child_process');

execSync('docker pull docker.elastic.co/eui/ci:5.4', {
execSync('docker pull docker.elastic.co/eui/ci:5.5', {
stdio: 'inherit',
});
/* eslint-disable-next-line no-multi-str */
Expand All @@ -9,7 +9,7 @@ execSync(
-i --rm --cap-add=SYS_ADMIN --volume=$(pwd):/app --workdir=/app \
-e GIT_COMMITTER_NAME=test -e GIT_COMMITTER_EMAIL=test -e HOME=/tmp \
--user=$(id -u):$(id -g) \
docker.elastic.co/eui/ci:5.4 \
docker.elastic.co/eui/ci:5.5 \
bash -c \'/opt/yarn*/bin/yarn \
&& yarn cypress install \
&& NODE_OPTIONS="--max-old-space-size=2048" npm run test-ci \
Expand Down

0 comments on commit 6d01521

Please sign in to comment.