From e09a563797ed9e357c098e1821cd355fac13231d Mon Sep 17 00:00:00 2001 From: Felipe Elia Date: Mon, 25 Nov 2024 16:49:04 -0300 Subject: [PATCH] Use ES 8 by default --- bin/es-docker/Dockerfile | 2 +- bin/es-docker/docker-compose.yml | 2 +- package.json | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/bin/es-docker/Dockerfile b/bin/es-docker/Dockerfile index 0a3954ab88..a16e5ba386 100644 --- a/bin/es-docker/Dockerfile +++ b/bin/es-docker/Dockerfile @@ -1,4 +1,4 @@ -ARG ES_VERSION=7.10.2 +ARG ES_VERSION=8.16.1 FROM docker.elastic.co/elasticsearch/elasticsearch:${ES_VERSION} RUN if [ -d plugins/ingest-attachment ]; then true ; else ./bin/elasticsearch-plugin install ingest-attachment -b; fi diff --git a/bin/es-docker/docker-compose.yml b/bin/es-docker/docker-compose.yml index 5faa89e95d..cbea564c18 100644 --- a/bin/es-docker/docker-compose.yml +++ b/bin/es-docker/docker-compose.yml @@ -4,7 +4,7 @@ services: dockerfile: Dockerfile context: . args: - ES_VERSION: ${ES_VERSION-7.10.2} + ES_VERSION: ${ES_VERSION-8.16.1} ports: - 8890:9200 mem_limit: 1024M diff --git a/package.json b/package.json index c880605086..35cf6b74e3 100644 --- a/package.json +++ b/package.json @@ -38,7 +38,7 @@ "env:start": "wp-env start && npm run env:install-tests-cli && npm run es:start", "env:stop": "wp-env stop && npm run es:stop", "env:reset": "wp-env clean all && npm run env:start && npm run cypress:setup", - "es:start": "cd bin/es-docker/ && docker compose build --build-arg ES_VERSION=${ES_VERSION-7.10.2} && docker compose up -d", + "es:start": "cd bin/es-docker/ && docker compose build --build-arg ES_VERSION=${ES_VERSION-8.16.1} && docker compose up -d", "es:stop": "cd bin/es-docker/ && docker compose down", "cypress:setup": "./bin/setup-cypress-env.sh", "cypress:open": "cypress open --config-file tests/cypress/config.js",