chore: updates to include python

chore/add-python-circleci
Praveen Kumar 2025-01-10 11:27:06 +00:00
parent 7230148b58
commit 8edb3e79fa
No known key found for this signature in database
GPG Key ID: CB9E05780A79EA5A
2 changed files with 21 additions and 1 deletions

View File

@ -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

View File

@ -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