From f6079664484040dd9a77d6ae2f9314dac80fb32c Mon Sep 17 00:00:00 2001 From: Jason Stirnaman Date: Tue, 3 Dec 2024 14:51:11 -0600 Subject: [PATCH] test(v2): Update and fix Ubuntu and Centos Dockerfiles for testing v2 and telegraf installation --- test/Dockerfile.test-oss.centos | 9 +++++---- test/Dockerfile.test-oss.ubuntu | 11 ++++++----- 2 files changed, 11 insertions(+), 9 deletions(-) diff --git a/test/Dockerfile.test-oss.centos b/test/Dockerfile.test-oss.centos index 96beb2f9f..1efab450e 100644 --- a/test/Dockerfile.test-oss.centos +++ b/test/Dockerfile.test-oss.centos @@ -13,9 +13,9 @@ LABEL description="InfluxData Docs Test OSS install on CentOS" LABEL "com.influxdata.docs"="https://docs.influxdata.com/influxdb/v2/install/?t=Linux" ARG INFLUXDB_LATEST_PATCH=2.7.10 -ARG TELEGRAF_LATEST_PATCH=1.31.3 +ARG TELEGRAF_LATEST_PATCH=1.32.3 ARG PUBLIC_SHA=943666881a1b8d9b849b74caebf02d3465d6beb716510d86a39f6c8e8dac7515 -ARG basearch=aarch64 +# ARG basearch=aarch64 # Install InfluxDB keys to verify client installs. @@ -30,7 +30,7 @@ RUN curl --silent --location -O \ RUN cat < /var/log/influxd.log 2>&1 & while ! curl -s http://localhost:8086/health | grep -q '\"status\":\"pass\"'; do sleep 1; done; telegraf --config /etc/telegraf/telegraf.conf --test"] +CMD ["-c", "echo $(telegraf version) && echo $(influxd version) && echo $(influx version)", "influxd > /var/log/influxd.log 2>&1 & while ! curl -s http://localhost:8086/health | grep -q '\"status\":\"pass\"'; do sleep 1; done; telegraf --config /etc/telegraf/telegraf.conf --test"]