From 5e5f215be453d5d351bdbfe883d804cd7a941e82 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Marko=20Bari=C5=A1i=C4=87?= <48765171+MarkoBarisic@users.noreply.github.com> Date: Wed, 17 Jan 2024 14:44:18 +0100 Subject: [PATCH] Add steps to bring kafka and pulsar up and down on daily builds (#1643) --- .github/workflows/release_debian10.yaml | 15 +++++++++++++++ .github/workflows/release_ubuntu2004.yaml | 15 +++++++++++++++ 2 files changed, 30 insertions(+) diff --git a/.github/workflows/release_debian10.yaml b/.github/workflows/release_debian10.yaml index 9a38e4cfb..f22be163d 100644 --- a/.github/workflows/release_debian10.yaml +++ b/.github/workflows/release_debian10.yaml @@ -281,6 +281,13 @@ jobs: cd build ctest -R memgraph__unit --output-on-failure + - name: Ensure Kafka and Pulsar are up + run: | + cd tests/e2e/streams/kafka + docker-compose up -d + cd ../pulsar + docker-compose up -d + - name: Run e2e tests run: | cd tests @@ -289,6 +296,14 @@ jobs: cd e2e ./run.sh + - name: Ensure Kafka and Pulsar are down + if: always() + run: | + cd tests/e2e/streams/kafka + docker-compose down + cd ../pulsar + docker-compose down + - name: Run stress test (plain) run: | cd tests/stress diff --git a/.github/workflows/release_ubuntu2004.yaml b/.github/workflows/release_ubuntu2004.yaml index 225a4473c..c82d05ad1 100644 --- a/.github/workflows/release_ubuntu2004.yaml +++ b/.github/workflows/release_ubuntu2004.yaml @@ -281,6 +281,13 @@ jobs: cd build ctest -R memgraph__unit --output-on-failure + - name: Ensure Kafka and Pulsar are up + run: | + cd tests/e2e/streams/kafka + docker-compose up -d + cd ../pulsar + docker-compose up -d + - name: Run e2e tests run: | cd tests @@ -289,6 +296,14 @@ jobs: cd e2e ./run.sh + - name: Ensure Kafka and Pulsar are down + if: always() + run: | + cd tests/e2e/streams/kafka + docker-compose down + cd ../pulsar + docker-compose down + - name: Run stress test (plain) run: | cd tests/stress