From 2b80689ee438ed3be9b0b9427a3bc41aeecd66f7 Mon Sep 17 00:00:00 2001 From: Victor Julien Date: Wed, 1 May 2024 12:45:09 +0200 Subject: [PATCH] github-actions: convert dpdk tests to use script --- .github/workflows/builds.yml | 12 ++---------- 1 file changed, 2 insertions(+), 10 deletions(-) diff --git a/.github/workflows/builds.yml b/.github/workflows/builds.yml index aace4cf533..8114cb5bbb 100644 --- a/.github/workflows/builds.yml +++ b/.github/workflows/builds.yml @@ -2314,19 +2314,11 @@ jobs: - run: make -j ${{ env.CPUS }} - run: make check # IDS config - - run: rm -f ./eve.json - run: | - timeout --kill-after=30 --preserve-status 10 \ - ./src/suricata -c .github/workflows/dpdk/suricata-null-ids.yaml -S /dev/null -l ./ --dpdk -vvvv - - run: | - test $(jq -c 'select(.event_type == "stats")' ./eve.json | tail -n1 | jq '.stats.capture.packets > 0') = true + ./.github/workflows/live/dpdk.sh ".github/workflows/dpdk/suricata-null-ids.yaml" # IPS config - - run: rm -f ./eve.json - run: | - timeout --kill-after=30 --preserve-status 10 \ - ./src/suricata -c .github/workflows/dpdk/suricata-null-ips.yaml -S /dev/null -l ./ --dpdk -vvvv - - run: | - test $(jq -c 'select(.event_type == "stats")' ./eve.json | tail -n1 | jq '.stats.capture.packets > 0') = true + ./.github/workflows/live/dpdk.sh ".github/workflows/dpdk/suricata-null-ips.yaml" debian-12: name: Debian 12 -- 2.47.3