Skip to content

Commit fbf3fc3

Browse files
Adjust to upstream changes in BATS setup
1 parent 0053af5 commit fbf3fc3

File tree

9 files changed

+5
-5
lines changed

9 files changed

+5
-5
lines changed

.dockerignore

+1-1
Original file line numberDiff line numberDiff line change
@@ -4,4 +4,4 @@
44
/LICENSE
55
/README.md
66
/docker-compose.yaml
7-
/integration/data/reference/
7+
/bats/data/reference/

Dockerfile

+1-1
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@ RUN cmake --install /tmp/example/build --strip --component Runtime --prefix /tmp
99

1010
FROM builder AS test
1111

12-
ENTRYPOINT cmake --build /tmp/example/build --target update-integration
12+
ENTRYPOINT cmake --build /tmp/example/build --target update-bats
1313

1414
FROM ghcr.io/tenzir/tenzir:${TENZIR_VERSION}
1515

README.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22

33
We think that learning how to build a plugin is best done by example. This
44
example plugin implements a simple operator `read_custom_log` that parses a
5-
[custom line-based log format](integration/data/inputs/sample.log).
5+
[custom line-based log format](bats/data/inputs/sample.log).
66

77
The operators C++ implementation can be found in
88
[`builtins/operators/read_custom_log.cpp`](builtins/operators/read_custom_log.cpp)
File renamed without changes.

integration/tests/setup_suite.bash renamed to bats/tests/setup_suite.bash

+1-1
Original file line numberDiff line numberDiff line change
@@ -5,4 +5,4 @@ setup_suite() {
55
export_default_paths
66
}
77

8-
export BATS_LIB_PATH=${BATS_LIB_PATH:+${BATS_LIB_PATH}:}/tmp/tenzir/tenzir/integration/lib
8+
export BATS_LIB_PATH=${BATS_LIB_PATH:+${BATS_LIB_PATH}:}/tmp/tenzir/tenzir/bats/lib
File renamed without changes.

docker-compose.yaml

+1-1
Original file line numberDiff line numberDiff line change
@@ -42,7 +42,7 @@ services:
4242
profiles:
4343
- donotstart
4444
volumes:
45-
- ./integration/data/reference/:/tmp/example/integration/data/reference/
45+
- ./bats/data/reference/:/tmp/example/bats/data/reference/
4646

4747
volumes:
4848
tenzir-lib:

0 commit comments

Comments
 (0)