Debugging cicd image.
Some checks failed
Tests / Build and Push CICD Image (push) Failing after 38s
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 / Ruff Linting (push) Has been skipped
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 / TypeScript Type Check (push) Has been skipped
Tests / TSDoc Lint Check (push) Has been skipped
Tests / Backend Tests (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

Signed-off-by: Cliff Hill <xlorep@darkhelm.org>
This commit is contained in:
2025-10-27 10:49:05 -04:00
parent 61b7c45a7d
commit 0782c15be4
3 changed files with 41 additions and 3 deletions

View File

@@ -8,8 +8,18 @@ ENV TZ=America/New_York
# Configure timezone
RUN ln -snf /usr/share/zoneinfo/$TZ /etc/localtime && echo $TZ > /etc/timezone
# Install system dependencies
# Install apt-fast for faster downloads
RUN apt-get update && apt-get install -y \
apt-fast \
&& rm -rf /var/lib/apt/lists/*
# Configure apt-fast for non-interactive use
RUN echo 'apt-fast apt-fast/maxdownloads string 10' | debconf-set-selections && \
echo 'apt-fast apt-fast/dlflag boolean true' | debconf-set-selections && \
echo 'apt-fast apt-fast/aptmanager string apt-get' | debconf-set-selections
# Install system dependencies using apt-fast
RUN apt-fast update && apt-fast install -y \
git \
curl \
ca-certificates \
@@ -21,7 +31,7 @@ RUN apt-get update && apt-get install -y \
# Install Python 3.13
RUN add-apt-repository -y ppa:deadsnakes/ppa \
&& apt-get update && apt-get install -y \
&& apt-fast update && apt-fast install -y \
python3.13 \
python3.13-venv \
python3.13-dev \
@@ -29,7 +39,7 @@ RUN add-apt-repository -y ppa:deadsnakes/ppa \
# Install Node.js 24
RUN curl -fsSL https://deb.nodesource.com/setup_24.x | bash - \
&& apt-get update && apt-get install -y nodejs \
&& apt-fast update && apt-fast install -y nodejs \
&& rm -rf /var/lib/apt/lists/*
# Enable corepack for yarn and set up Yarn Berry

View File

@@ -21,6 +21,23 @@ dev = [
"xdoctest>=1.1.0" # For doctest support
]
[project]
authors = [{name = "DarkHelm", email = "darkhelm@darkhelm.org"}]
classifiers = [
"Development Status :: 3 - Alpha",
"Intended Audience :: Developers",
"License :: OSI Approved :: MIT License",
"Programming Language :: Python :: 3",
"Programming Language :: Python :: 3.13"
]
description = "Backend service for Plex playlist management"
keywords = ["plex", "playlist", "media", "management"]
license = "MIT"
name = "plex-playlist-backend"
readme = "../README.md"
requires-python = ">=3.13"
version = "0.1.0"
[tool.coverage]
[tool.coverage.report]
@@ -48,9 +65,18 @@ source = ["src"]
docstring_style = "google"
strictness = "short"
[tool.hatch.build]
include = [
"src/backend/**/*.py",
"src/backend/py.typed"
]
[tool.hatch.build.targets.wheel]
packages = ["src/backend"]
[tool.hatch.version]
path = "src/backend/__init__.py"
[tool.pytest.ini_options]
addopts = [
"--strict-markers",

View File

@@ -2,6 +2,8 @@
Plex Playlist Backend Package.
"""
__version__ = "0.1.0"
from .main import app
__all__ = ["app"]