Skip to content
Merged
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
1 change: 1 addition & 0 deletions Cargo.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

5 changes: 5 additions & 0 deletions control-plane/volume-manager/.gitignore
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
# Ceph configuration (auto-generated by init-ceph-config.sh)
ceph-config/

# Test artifacts
*.log
3 changes: 3 additions & 0 deletions control-plane/volume-manager/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -27,6 +27,9 @@ tracing-subscriber = { workspace = true }
serde = { workspace = true }
serde_json = { workspace = true }

# HTTP Client for Patroni
reqwest = { version = "0.11", features = ["json"] }

# Utilities
dotenvy = { workspace = true }
anyhow = { workspace = true }
Expand Down
8 changes: 5 additions & 3 deletions control-plane/volume-manager/Dockerfile.test
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
# Test-Dockerfile für Volume Manager (Multi-Stage Build mit rust:latest)
# Test-Dockerfile für Volume Manager
# Stage 1: Build
FROM rust:latest AS builder
FROM --platform=linux/arm64 rust:bookworm AS builder

WORKDIR /app

Expand Down Expand Up @@ -35,12 +35,13 @@ COPY control-plane/shared/ ./control-plane/shared/
RUN cargo build --release -p volume-manager

# Stage 2: Runtime
FROM debian:bookworm-slim
FROM --platform=linux/arm64 debian:bookworm-slim

# Installiere notwendige Laufzeit-Abhängigkeiten
RUN apt-get update && apt-get install -y \
ca-certificates \
libssl3 \
curl \
&& rm -rf /var/lib/apt/lists/*

WORKDIR /app
Expand All @@ -53,3 +54,4 @@ RUN chmod +x /app/volume-manager

# Starte das Binary
CMD ["/app/volume-manager"]

Loading