Skip to content

Commit 3c86ec5

Browse files
authored
Fix the CI failures after version definitions in .ci repo. (#188)
(cherry picked from commit f4a14bb)
1 parent 9aeacc6 commit 3c86ec5

File tree

5 files changed

+15
-21
lines changed

5 files changed

+15
-21
lines changed

.buildkite/build-pipeline.yml

Lines changed: 2 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -12,22 +12,19 @@ steps:
1212
command:
1313
- .buildkite/scripts/run_tests.sh
1414
env:
15-
ELASTIC_STACK_VERSION: "8.x"
15+
ELASTIC_STACK_VERSION: "8.current"
1616
SNAPSHOT: false
1717
INTEGRATION: true
1818
SECURE_INTEGRATION: true
1919
TARGET_BRANCH: "8.x"
20-
# temporary definition to cover PR-170
21-
# TODO: remove once 8.16 released
22-
ELASTICSEARCH_TREEISH: 8.16
2320

2421
- label: ":hammer: Build plugin with LS 8.x-SNAPSHOT & ES `main` branch :elasticsearch:"
2522
# Builds with LS last 8.x released version and ES main
2623
# Runs integration tests on 8.x released versions
2724
command:
2825
- .buildkite/scripts/run_tests.sh
2926
env:
30-
ELASTIC_STACK_VERSION: "8.x"
27+
ELASTIC_STACK_VERSION: "8.current"
3128
ELASTICSEARCH_TREEISH: "main"
3229
SNAPSHOT: true
3330
INTEGRATION: true

.buildkite/e2e-pipeline.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@ steps:
1515
command:
1616
- .buildkite/scripts/run_e2e_tests.sh
1717
env:
18-
ELASTIC_STACK_VERSION: "8.x"
18+
ELASTIC_STACK_VERSION: "8.current"
1919
TARGET_BRANCH: "8.x"
2020

2121
- label: ":test_tube: Run E2E tests with LS 8.x-SNAPSHOT :rocket:"
@@ -24,7 +24,7 @@ steps:
2424
command:
2525
- .buildkite/scripts/run_e2e_tests.sh
2626
env:
27-
ELASTIC_STACK_VERSION: "8.x"
27+
ELASTIC_STACK_VERSION: "8.current"
2828
SNAPSHOT: true
2929

3030
- label: ":test_tube: Run E2E tests with LS `main` :rocket:"

.buildkite/pull-request-pipeline.yml

Lines changed: 5 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@ steps:
1212
command:
1313
- .buildkite/scripts/run_tests.sh
1414
env:
15-
ELASTIC_STACK_VERSION: "8.x"
15+
ELASTIC_STACK_VERSION: "8.current"
1616
SNAPSHOT: true
1717
INTEGRATION: false
1818

@@ -22,7 +22,7 @@ steps:
2222
command:
2323
- .buildkite/scripts/run_tests.sh
2424
env:
25-
ELASTIC_STACK_VERSION: "8.x"
25+
ELASTIC_STACK_VERSION: "8.current"
2626
ELASTICSEARCH_TREEISH: main
2727
INTEGRATION: false
2828
SNAPSHOT: true
@@ -34,20 +34,17 @@ steps:
3434
command:
3535
- .buildkite/scripts/run_tests.sh
3636
env:
37-
ELASTIC_STACK_VERSION: "8.x"
37+
ELASTIC_STACK_VERSION: "8.current"
3838
INTEGRATION: true
3939
SECURE_INTEGRATION: true
40-
# temporary definition to cover PR-170
41-
# TODO: remove once 8.16 released
42-
ELASTICSEARCH_TREEISH: 8.16
4340

4441
- label: ":hammer: Integration tests with LS & ES 8.x-SNAPSHOT :docker:"
4542
# Builds the plugin (with current changes) against LS 8.x-SNAPSHOT and ES version defined in gradle.properties
4643
# Runs integration tests on LS & ES 8.x-SNAPSHOT docker
4744
command:
4845
- .buildkite/scripts/run_tests.sh
4946
env:
50-
ELASTIC_STACK_VERSION: "8.x"
47+
ELASTIC_STACK_VERSION: "8.current"
5148
SNAPSHOT: true
5249
INTEGRATION: true
5350
SECURE_INTEGRATION: true
@@ -59,7 +56,7 @@ steps:
5956
command:
6057
- .buildkite/scripts/run_tests.sh
6158
env:
62-
ELASTIC_STACK_VERSION: "8.x"
59+
ELASTIC_STACK_VERSION: "8.current"
6360
ELASTICSEARCH_TREEISH: "main"
6461
SNAPSHOT: true
6562
INTEGRATION: true

.ci/docker-run.sh

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ cd .ci
88
export BUILDKIT_PROGRESS=plain
99

1010
if [ "$INTEGRATION" == "true" ]; then
11-
docker-compose up --exit-code-from logstash
11+
docker compose up --exit-code-from logstash
1212
else
13-
docker-compose up --exit-code-from logstash logstash
13+
docker compose up --exit-code-from logstash logstash
1414
fi

.ci/docker-setup.sh

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -49,11 +49,11 @@ if [ "$ELASTIC_STACK_VERSION" ]; then
4949
export BUILDKIT_PROGRESS=plain
5050

5151
if [ "$INTEGRATION" == "true" ]; then
52-
docker-compose down
53-
docker-compose build
52+
docker compose down
53+
docker compose build
5454
else
55-
docker-compose down
56-
docker-compose build logstash
55+
docker compose down
56+
docker compose build logstash
5757
fi
5858
else
5959
echo "Please set the ELASTIC_STACK_VERSION environment variable"

0 commit comments

Comments
 (0)