Test container with BTest instead of container-structure-tests

This patch replaces the container-strucuture-tests for the Zeek
container with a BTest-driven approach to provide a more familiar
experience. In addtion to `python3` for `btest` we also rely on `make`
being available in Github-hosted runners which at least currently seems
to be hold (probably pulled in as a dependency of CMake which is
officially included, see
https://github.com/actions/virtual-environments/blob/main/images/linux/Ubuntu2004-README.md).
This commit is contained in:
Christian Kreibich 2021-09-22 16:37:52 -07:00 committed by Benjamin Bannier
parent ddae1398f1
commit d6c80f6d2c
8 changed files with 81 additions and 43 deletions

View file

@ -6,3 +6,7 @@ VERSION := $$(cat ../VERSION)
all:
@docker build -t zeek:$(VERSION) -f Dockerfile ..
@docker tag zeek:$(VERSION) zeek:latest
test:
@TEST_TAG=zeek:$(VERSION) $(MAKE) -C btest