Skip to content

Commit 862ec58

Browse files
committed
ci: Build images only after alloc decider was disabled
Elasticsearch is still returning a 401 error, preventing the disk allocation decider from being configured through the REST API. Ref. 0be539b Cherry-picked from 7860321
1 parent 0eecc86 commit 862ec58

File tree

1 file changed

+11
-17
lines changed

1 file changed

+11
-17
lines changed

.github/workflows/ci.yml

Lines changed: 11 additions & 17 deletions
Original file line numberDiff line numberDiff line change
@@ -20,23 +20,6 @@ jobs:
2020
steps:
2121
- uses: actions/checkout@v4
2222

23-
#####################################################
24-
# #
25-
# Install all dependencies required by test suites. #
26-
# #
27-
#####################################################
28-
29-
- name: Pre-build container images
30-
run: >-
31-
docker compose
32-
-f docker-compose.yml
33-
-f extensions/fleet/fleet-compose.yml
34-
-f extensions/fleet/agent-apmserver-compose.yml
35-
-f extensions/metricbeat/metricbeat-compose.yml
36-
-f extensions/filebeat/filebeat-compose.yml
37-
-f extensions/heartbeat/heartbeat-compose.yml
38-
build
39-
4023
########################################################
4124
# #
4225
# Ensure §"Initial setup" of the README remains valid. #
@@ -63,6 +46,17 @@ jobs:
6346
docker compose up -d elasticsearch
6447
.github/workflows/scripts/disable-disk-alloc-decider.sh
6548
49+
- name: Pre-build container images
50+
run: >-
51+
docker compose
52+
-f docker-compose.yml
53+
-f extensions/fleet/fleet-compose.yml
54+
-f extensions/fleet/agent-apmserver-compose.yml
55+
-f extensions/metricbeat/metricbeat-compose.yml
56+
-f extensions/filebeat/filebeat-compose.yml
57+
-f extensions/heartbeat/heartbeat-compose.yml
58+
build
59+
6660
- name: Generate Kibana encryption keys
6761
run: |
6862
docker container run --rm docker-elk-kibana bin/kibana-encryption-keys generate -q >>kibana/config/kibana.yml

0 commit comments

Comments
 (0)