Skip to content

Commit 0be539b

Browse files
committed
ci: Disable Elasticsearch disk allocation decider early
We are now exceeding Elasticsearch's 90% disk watermark before the setup is able to complete on CI runners.
1 parent e31c8ec commit 0be539b

File tree

1 file changed

+7
-5
lines changed

1 file changed

+7
-5
lines changed

.github/workflows/ci.yml

Lines changed: 7 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -56,6 +56,13 @@ jobs:
5656
-e 's/\(BEATS_SYSTEM_PASSWORD=\)'\'\''/\1testpasswd/g'
5757
.env
5858
59+
# Elasticsearch's high disk watermark gets regularly exceeded on GitHub Actions runners.
60+
# https://www.elastic.co/guide/en/elasticsearch/reference/current/fix-watermark-errors.html
61+
- name: Disable Elasticsearch disk allocation decider
62+
run: |
63+
docker compose up -d elasticsearch
64+
.github/workflows/scripts/disable-disk-alloc-decider.sh
65+
5966
- name: Generate Kibana encryption keys
6067
run: docker container run --rm docker-elk-kibana bin/kibana-encryption-keys generate -q >>kibana/config/kibana.yml
6168

@@ -68,11 +75,6 @@ jobs:
6875
# #
6976
#############################
7077

71-
# Elasticsearch's high disk watermark gets regularly exceeded on GitHub Actions runners.
72-
# https://www.elastic.co/guide/en/elasticsearch/reference/current/fix-watermark-errors.html
73-
- name: Disable Elasticsearch disk allocation decider
74-
run: .github/workflows/scripts/disable-disk-alloc-decider.sh
75-
7678
#
7779
# Core components: Elasticsearch, Logstash, Kibana
7880
#

0 commit comments

Comments
 (0)