From f9c6a683eee39cf98e73ae5a64c8b7615b01b61a Mon Sep 17 00:00:00 2001 From: Thomas Widhalm Date: Wed, 25 Sep 2024 13:55:42 +0200 Subject: [PATCH] Test with Logstash 8 --- .github/workflows/logstash.yml | 9 +++++++-- 1 file changed, 7 insertions(+), 2 deletions(-) diff --git a/.github/workflows/logstash.yml b/.github/workflows/logstash.yml index b543906..d39f244 100644 --- a/.github/workflows/logstash.yml +++ b/.github/workflows/logstash.yml @@ -7,12 +7,17 @@ on: branches: - master pull_request: - merge_group: jobs: build: runs-on: ubuntu-latest + strategy: + matrix: + logstashversion: + - 7 + - 8 + steps: - name: Check out code uses: actions/checkout@v4 @@ -22,7 +27,7 @@ jobs: sudo apt-get update sudo apt-get install gpg wget -qO - https://artifacts.elastic.co/GPG-KEY-elasticsearch | sudo apt-key add - - echo "deb https://artifacts.elastic.co/packages/7.x/apt stable main" | sudo tee /etc/apt/sources.list.d/elastic-7.x.list + echo "deb https://artifacts.elastic.co/packages/${{ matrix.logstashversion }}.x/apt stable main" | sudo tee /etc/apt/sources.list.d/elastic-${{ matrix.logstashversion }}.x.list sudo apt-get update sudo apt-get install logstash mkdir -p /tmp/logstash/data /tmp/logstash/logs