Compare commits

..

1 Commits

Author SHA1 Message Date
unkinben 1cca9fef00 feat: testing develop build
- using the makerun image in k8s
2026-01-10 16:17:56 +11:00
3 changed files with 7 additions and 1 deletions
+4
View File
@@ -23,6 +23,10 @@ RUN wget -O /app/uv-x86_64-unknown-linux-musl.tar.gz https://github.com/astral-s
chmod +x /usr/local/bin/uv && \ chmod +x /usr/local/bin/uv && \
uv --version uv --version
# Copy CA bundle from host
COPY ca-bundle.pem /app/ca-bundle.pem
RUN chmod 644 /app/ca-bundle.pem
# Create non-root user first # Create non-root user first
RUN adduser -D -s /bin/sh appuser && \ RUN adduser -D -s /bin/sh appuser && \
chown -R appuser:appuser /app chown -R appuser:appuser /app
+2
View File
@@ -26,6 +26,8 @@ format:
uv run ruff format . uv run ruff format .
run: run:
uv venv --python 3.11 && \
source .venv/bin/activate && \
uv run python -m src.artifactapi.main uv run python -m src.artifactapi.main
docker-up: docker-up:
+1 -1
View File
@@ -24,7 +24,7 @@ class RedisCache:
or file_path.endswith("Packages.gz") or file_path.endswith("Packages.gz")
or file_path.endswith("repomd.xml") or file_path.endswith("repomd.xml")
or "repodata/" in file_path or "repodata/" in file_path
and file_path.endswith((".xml", ".xml.gz", ".xml.bz2", ".xml.xz", ".xml.zck", ".xml.zst")) and file_path.endswith((".xml", ".xml.gz", ".xml.bz2", ".xml.xz"))
) )
def get_index_cache_key(self, remote_name: str, path: str) -> str: def get_index_cache_key(self, remote_name: str, path: str) -> str: