github-actions: convert dpdk tests to use script

pull/11015/head
Victor Julien 2 years ago committed by Victor Julien
parent 6edf05cdaa
commit 2b80689ee4

@ -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

Loading…
Cancel
Save