diff --git a/DEVELOPER.md b/DEVELOPER.md index 7f28d8a..23de968 100644 --- a/DEVELOPER.md +++ b/DEVELOPER.md @@ -2,7 +2,7 @@ ## Prerequisites - Fluent Bit -- A Go environment. On Mac,you can install it with `brew install go` +- A Go environment. On Mac,you can install it with `brew install go`. - Cross-compilation requirements (optional, only required when building for non-native platforms): - For `linux/arm64` cross-compilation: `aarch64-linux-gnu-gcc` and `aarch64-linux-gnu-g++` compilers. - For `linux/arm/v7` cross-compilation: `arm-linux-gnueabihf-gcc` and `arm-linux-gnueabihf-g++` compilers. diff --git a/Dockerfile b/Dockerfile index 3650bb2..86c2939 100644 --- a/Dockerfile +++ b/Dockerfile @@ -18,7 +18,7 @@ ENV TARGETPLATFORM=${TARGETPLATFORM:-linux/amd64} RUN echo "Building for ${TARGETPLATFORM} architecture" RUN make ${TARGETPLATFORM} -FROM fluent/fluent-bit:3.0.4 +FROM fluent/fluent-bit:3.1.2 COPY --from=builder /go/src/github.com/newrelic/newrelic-fluent-bit-output/out_newrelic-linux-*.so /fluent-bit/bin/out_newrelic.so COPY *.conf /fluent-bit/etc/ diff --git a/Dockerfile.windows b/Dockerfile.windows index e925fcb..0457063 100644 --- a/Dockerfile.windows +++ b/Dockerfile.windows @@ -1,6 +1,6 @@ # escape=` -ARG FLUENTBIT_VERSION=3.0.4 +ARG FLUENTBIT_VERSION=3.1.2 ARG WINDOWS_VERSION=ltsc2019 ################################################# diff --git a/Dockerfile_debug b/Dockerfile_debug index 3a9b501..f055637 100644 --- a/Dockerfile_debug +++ b/Dockerfile_debug @@ -18,7 +18,7 @@ ENV TARGETPLATFORM=${TARGETPLATFORM:-linux/amd64} RUN echo "Building for ${TARGETPLATFORM} architecture" RUN make ${TARGETPLATFORM} -FROM fluent/fluent-bit:3.0.4-debug +FROM fluent/fluent-bit:3.1.2-debug COPY --from=builder /go/src/github.com/newrelic/newrelic-fluent-bit-output/out_newrelic-linux-*.so /fluent-bit/bin/out_newrelic.so COPY *.conf /fluent-bit/etc/ diff --git a/test.sh b/test.sh index e193c63..f6b0cac 100755 --- a/test.sh +++ b/test.sh @@ -8,14 +8,14 @@ clean_up () { if [[ $ARG -ne 0 ]]; then echo "Test failed, showing docker logs" echo "- Mockserver" - docker-compose -f ./test/docker-compose.yml logs mockserver + docker compose -f ./test/docker-compose.yml logs mockserver echo "- Fluent Bit" - docker-compose -f ./test/docker-compose.yml logs newrelic-fluent-bit-output + docker compose -f ./test/docker-compose.yml logs newrelic-fluent-bit-output fi echo "Cleaning up" rm -r ./test/testdata || true - docker-compose -f ./test/docker-compose.yml down + docker compose -f ./test/docker-compose.yml down exit $ARG } @@ -41,7 +41,7 @@ function run_test { touch ./test/testdata/fbtest.log echo "Starting docker compose" - docker-compose -f ./test/docker-compose.yml up -d + docker compose -f ./test/docker-compose.yml up -d # Waiting mockserver to be ready max_retry=10 @@ -79,7 +79,7 @@ function run_test { echo "Tearing down test for image ${NR_FB_IMAGE}" rm -r ./test/testdata || true - docker-compose -f ./test/docker-compose.yml down + docker compose -f ./test/docker-compose.yml down } diff --git a/version.go b/version.go index 200dacb..b487628 100644 --- a/version.go +++ b/version.go @@ -1,3 +1,3 @@ package main -const VERSION = "2.0.1" +const VERSION = "2.0.2"