From 8edb3e79fa974a8604024966668b905c37d01103 Mon Sep 17 00:00:00 2001 From: Praveen Kumar Date: Fri, 10 Jan 2025 11:27:06 +0000 Subject: [PATCH] chore: updates to include python --- .circleci/config.yml | 20 ++++++++++++++++++++ Dockerfile | 2 +- 2 files changed, 21 insertions(+), 1 deletion(-) diff --git a/.circleci/config.yml b/.circleci/config.yml index 93b9a2516d..f89dd12e20 100644 --- a/.circleci/config.yml +++ b/.circleci/config.yml @@ -71,6 +71,11 @@ commands: rust_components: description: Verify installed components steps: + - run: + name: add python3 + command: | + sudo apt update + sudo apt install python3 - run: name: Verify installed components command: | @@ -101,6 +106,11 @@ jobs: steps: - checkout - rust_components + - run: + name: add python3 + command: | + sudo apt update + sudo apt install python3 - run: name: Rust fmt command: cargo fmt --all -- --check @@ -118,6 +128,11 @@ jobs: steps: - checkout - rust_components + - run: + name: add python3 + command: | + sudo apt update + sudo apt install python3 - run: name: Clippy command: cargo clippy --all-targets --all-features --workspace -- -D warnings @@ -197,6 +212,11 @@ jobs: steps: - checkout - rust_components + - run: + name: add python3 + command: | + sudo apt update + sudo apt install python3 - run: name: cargo nextest command: TEST_LOG= RUST_LOG=info RUST_LOG_SPAN_EVENTS=full RUST_BACKTRACE=1 cargo nextest run --workspace --failure-output immediate-final --no-fail-fast diff --git a/Dockerfile b/Dockerfile index 776a7a1894..d152e280c2 100644 --- a/Dockerfile +++ b/Dockerfile @@ -39,7 +39,7 @@ RUN \ FROM debian:bookworm-slim RUN apt update \ - && apt install --yes ca-certificates gettext-base libssl3 --no-install-recommends \ + && apt install --yes ca-certificates gettext-base libssl3 --no-install-recommends python3 \ && rm -rf /var/lib/{apt,dpkg,cache,log} \ && groupadd --gid 1500 influxdb3 \ && useradd --uid 1500 --gid influxdb3 --shell /bin/bash --create-home influxdb3