Trying to improve how images are built, using docker caching the best I can
Some checks failed
Tests / Ruff Format Check (push) Has been skipped
Tests / Pyright Type Check (push) Has been skipped
Tests / Darglint Docstring Check (push) Has been skipped
Tests / No Docstring Types Check (push) Has been skipped
Tests / ESLint Check (push) Has been skipped
Tests / Prettier Format Check (push) Has been skipped
Tests / Ruff Linting (push) Has been skipped
Tests / Frontend Tests (push) Has been skipped
Tests / Backend Doctests (push) Has been skipped
Tests / Integration Tests (push) Has been skipped
Tests / End-to-End Tests (push) Has been skipped
Tests / TypeScript Type Check (push) Has been skipped
Tests / TSDoc Lint Check (push) Has been skipped
Tests / Backend Tests (push) Has been skipped
Tests / Trailing Whitespace Check (push) Has been skipped
Tests / End of File Check (push) Has been skipped
Tests / YAML Syntax Check (push) Has been skipped
Tests / TOML Syntax Check (push) Has been skipped
Tests / Mixed Line Ending Check (push) Has been skipped
Tests / TOML Formatting Check (push) Has been skipped
Tests / Build and Push CICD Base Image (push) Successful in 3m49s
Tests / Build and Push CICD Complete Image (push) Failing after 6m34s

Signed-off-by: Cliff Hill <xlorep@darkhelm.org>
This commit is contained in:
2025-11-01 11:20:56 -04:00
parent 570bc83295
commit aee570e8c3

View File

@@ -69,6 +69,11 @@ RUN echo "=== Installing Backend Dependencies (Phase 1: Optimized Caching) ==="
# Install dependencies from extracted pyproject.toml (this layer will cache!)
if [ -f "pyproject.toml" ]; then \
echo "Installing project dependencies from pyproject.toml..." && \
# Create minimal source structure to satisfy package build requirements
mkdir -p src/backend && \
echo "# Temporary README for dependency caching phase" > ../README.md && \
echo "# Minimal __init__.py for build" > src/backend/__init__.py && \
# Install all dependencies including dev dependencies
uv sync --dev && \
echo "✓ Backend dependencies installed and cached"; \
else \