Skip to content

Commit a612054

Browse files
committed
Changed steps in buildkite
1 parent 8b67665 commit a612054

File tree

3 files changed

+8
-9
lines changed

3 files changed

+8
-9
lines changed

.buildkite/run-repository.sh

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,10 @@ set -euo pipefail
1313
PHP_VERSION=${PHP_VERSION-8.4-cli}
1414
ELASTICSEARCH_URL=${ELASTICSEARCH_URL-"$elasticsearch_url"}
1515
elasticsearch_container=${elasticsearch_container-}
16-
ES_LOCAL_PASSWORD=${ES_LOCAL_PASSWORD-"changeme"}
16+
17+
echo "--- :elasticsearch: Starting Elasticsearch"
18+
curl -fsSL https://elastic.co/start-local | sh -s -- -v ${STACK_VERSION} -esonly
19+
source elastic-start-local/.env
1720

1821
echo -e "\033[34;1mINFO:\033[0m VERSION ${STACK_VERSION}\033[0m"
1922
echo -e "\033[34;1mINFO:\033[0m TEST_SUITE ${TEST_SUITE}\033[0m"

.buildkite/run-tests

Lines changed: 1 addition & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -7,12 +7,5 @@ script_path=$(dirname $(realpath -s $0))
77
source $script_path/functions/imports.sh
88
set -euo pipefail
99

10-
echo "--- :elasticsearch: Starting Elasticsearch"
11-
curl -fsSL https://elastic.co/start-local | sh -s -- -v ${STACK_VERSION} -esonly
12-
source elastic-start-local/.env
13-
14-
echo "--- :test: Building YAML tests"
15-
git clone https://github.com/elastic/elasticsearch-clients-tests.git $script_path/tests/elasticsearch-clients-tests
16-
1710
echo "+++ :php: Run Client"
18-
bash $script_path/run-repository.sh
11+
bash "$script_path/run-repository.sh"

.buildkite/yaml-tests.sh

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

3+
# Clone the elasticsearch-clients-tests repository
4+
git clone https://github.com/elastic/elasticsearch-clients-tests.git tests/elasticsearch-clients-tests
5+
36
# Build the YAML tests
47
php tests/build_es_tests.php tests/elasticsearch-clients-tests/tests ${TEST_SUITE} tests/Yaml
58

0 commit comments

Comments
 (0)