Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Adjust to upstream changes in BATS setup #9

Open
wants to merge 1 commit into
base: main
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion .dockerignore
Original file line number Diff line number Diff line change
Expand Up @@ -4,4 +4,4 @@
/LICENSE
/README.md
/docker-compose.yaml
/integration/data/reference/
/bats/data/reference/
2 changes: 1 addition & 1 deletion Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ RUN cmake --install /tmp/example/build --strip --component Runtime --prefix /tmp

FROM builder AS test

ENTRYPOINT cmake --build /tmp/example/build --target update-integration
ENTRYPOINT cmake --build /tmp/example/build --target update-bats

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

Expand Down
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@

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

The operators C++ implementation can be found in
[`builtins/operators/read_custom_log.cpp`](builtins/operators/read_custom_log.cpp)
Expand Down
File renamed without changes.
Original file line number Diff line number Diff line change
Expand Up @@ -5,4 +5,4 @@ setup_suite() {
export_default_paths
}

export BATS_LIB_PATH=${BATS_LIB_PATH:+${BATS_LIB_PATH}:}/tmp/tenzir/tenzir/integration/lib
export BATS_LIB_PATH=${BATS_LIB_PATH:+${BATS_LIB_PATH}:}/tmp/tenzir/tenzir/bats/lib
File renamed without changes.
2 changes: 1 addition & 1 deletion docker-compose.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -42,7 +42,7 @@ services:
profiles:
- donotstart
volumes:
- ./integration/data/reference/:/tmp/example/integration/data/reference/
- ./bats/data/reference/:/tmp/example/bats/data/reference/

volumes:
tenzir-lib:
Expand Down
Loading