Skip to content

Commit 761577e

Browse files
committed
Try to run Elasticsearch in run-repository
1 parent c20e9e8 commit 761577e

File tree

3 files changed

+5
-7
lines changed

3 files changed

+5
-7
lines changed

.buildkite/Dockerfile

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -15,9 +15,6 @@ RUN apt-get install -y \
1515
-qq > /dev/null \
1616
&& docker-php-ext-install zip > /dev/null
1717

18-
# Install docker
19-
RUN apt-get install -y docker-ce docker-ce-cli containerd.io docker-buildx-plugin docker-compose-plugin > /dev/null
20-
2118
# Install yaml extension for PHP
2219
RUN pecl channel-update pecl.php.net > /dev/null
2320
RUN pecl install yaml > /dev/null

.buildkite/run-repository.sh

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -20,6 +20,11 @@ echo -e "\033[34;1mINFO:\033[0m URL ${ELASTICSEARCH_URL}\033[0m"
2020
echo -e "\033[34;1mINFO:\033[0m CONTAINER ${elasticsearch_container}\033[0m"
2121
echo -e "\033[34;1mINFO:\033[0m PHP_VERSION ${PHP_VERSION}\033[0m"
2222

23+
echo -e "\033[1m>>>>> Running Elasticsearch >>>>>>>>>>>>>>>>>>>>>>>>>>>>>\033[0m"
24+
25+
curl -fsSL https://elastic.co/start-local | sh -s -- -v ${STACK_VERSION} -esonly
26+
source elastic-start-local/.env
27+
2328
echo -e "\033[1m>>>>> Build docker container >>>>>>>>>>>>>>>>>>>>>>>>>>>>>\033[0m"
2429

2530
docker build \

.buildkite/yaml-tests.sh

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,5 @@
11
#!/usr/bin/env bash
22

3-
# Run Elasticsearch using start-local
4-
curl -fsSL https://elastic.co/start-local | sh -s -- -v ${STACK_VERSION} -esonly
5-
source elastic-start-local/.env
6-
73
# Clone the elasticsearch-clients-tests repository
84
git clone https://github.com/elastic/elasticsearch-clients-tests.git tests/elasticsearch-clients-tests
95

0 commit comments

Comments
 (0)