Compare commits

...

28 Commits
1.0.3 ... 1.1.7

Author SHA1 Message Date
fd9dbc048c Merge pull request #14 from ServerCrow/renovate/packaging-24.x
feat(deps): update dependency packaging to v24
2025-01-15 12:14:48 +01:00
d3d9c86ac8 Merge pull request #15 from ServerCrow/renovate/pytest-8.x
feat(deps): update dependency pytest to v8
2025-01-15 12:14:32 +01:00
83e5c66807 Merge pull request #12 from ServerCrow/renovate/python-3.x
feat(deps): update python docker tag to v3.13
2025-01-15 12:14:18 +01:00
3fb1755089 Merge pull request #16 from ServerCrow/renovate/watchfiles-1.x
feat(deps): update dependency watchfiles to v1
2025-01-15 12:13:47 +01:00
a050e31bfa Merge pull request #18 from ServerCrow/renovate/certifi-2024.x
feat(deps): update dependency certifi to v2024.12.14
2025-01-15 12:13:32 +01:00
renovate[bot]
70401fd0de feat(deps): update dependency watchfiles to v1 2025-01-10 15:54:56 +00:00
renovate[bot]
457b0a234b feat(deps): update dependency certifi to v2024.12.14 2024-12-14 15:20:19 +00:00
renovate[bot]
ae44f0e47b feat(deps): update dependency pytest to v8 2024-12-01 13:16:12 +00:00
renovate[bot]
0cdc7fe629 feat(deps): update dependency packaging to v24 2024-11-24 22:15:59 +00:00
renovate[bot]
1e705cb627 feat(deps): update python docker tag to v3.13 2024-11-24 19:59:03 +00:00
35040f3c54 fix: fixed security concern 2024-11-24 17:24:05 +01:00
63abb64b4f fix: fixed codacy recommendation 2024-11-24 17:22:34 +01:00
730b57e8e8 fix: fixed codacy recommendation 2024-11-24 17:21:08 +01:00
3bb5bb6739 Update ci.yml 2024-11-24 16:14:54 +01:00
a3da4ff7f0 Merge pull request #7 from ServerCrow/renovate/certifi-2024.x 2024-11-24 16:07:01 +01:00
e11ddc277a Merge pull request #8 from ServerCrow/renovate/pluggy-1.x 2024-11-24 16:06:49 +01:00
fafc3f8a29 Merge pull request #6 from ServerCrow/renovate/pyyaml-6.x 2024-11-24 16:02:36 +01:00
renovate[bot]
c0c4c31815 feat(deps): update dependency pluggy to v1.5.0 2024-11-24 15:02:20 +00:00
renovate[bot]
49199bd776 feat(deps): update dependency certifi to v2024.8.30 2024-11-24 15:02:17 +00:00
5e2a2cbe8c fix: updated pipeline to also test prs against master 2024-11-24 16:01:56 +01:00
81838054da Merge pull request #5 from ServerCrow/renovate/pytest-7.x 2024-11-24 15:58:43 +01:00
renovate[bot]
fa75d26da8 feat(deps): update dependency pyyaml to v6.0.2 2024-11-24 14:53:48 +00:00
renovate[bot]
ecccb51625 feat(deps): update dependency pytest to v7.4.4 2024-11-24 14:53:44 +00:00
2c7e0d8641 feat: fixed pipeline 2024-11-24 15:53:18 +01:00
3977e3add9 Merge pull request #2 from ServerCrow/renovate/pypi-certifi-vulnerability 2024-11-24 13:53:51 +01:00
143512953b Merge pull request #3 from ServerCrow/renovate/httptools-0.x 2024-11-24 13:53:32 +01:00
renovate[bot]
e0dc1da4a1 feat(deps): update dependency httptools to v0.6.4 2024-11-24 12:52:24 +00:00
renovate[bot]
1b766f3f22 feat(deps): update dependency certifi to v2024 [security] 2024-11-24 12:52:20 +00:00
3 changed files with 26 additions and 11 deletions

View File

@@ -7,11 +7,16 @@ on:
- master
paths-ignore:
- "**/.gitignore"
- "**/.renovate.json"
- "**/.vscode/**"
- "**/README.md"
- "**/CHANGELOG.md"
- "**/docs/**"
workflow_dispatch:
pull_request:
branches:
- master
- dev
env:
REGISTRY: ghcr.io
@@ -51,6 +56,7 @@ jobs:
tag:
needs: test
if: github.event_name == 'push'
runs-on: ubuntu-latest
permissions:
contents: write # for the tags
@@ -86,6 +92,7 @@ jobs:
run: git push origin ${{ steps.git_version.outputs.version }}
build_and_push:
if: github.event_name == 'push'
runs-on: ubuntu-latest
permissions: write-all
needs: tag

View File

@@ -1,5 +1,8 @@
FROM python:3.12-slim
ARG VERSION=unkown
FROM python:3.13-slim
ARG VERSION=unknown
# Create a non-root user
RUN useradd appuser
WORKDIR /app
COPY . .
@@ -11,15 +14,20 @@ ENV VERSION=${VERSION}
# Install dependencies
RUN pip install --no-cache-dir --upgrade -r requirements.txt
RUN pip install 'uvicorn[standard]'
ENV ENV=DEV
# Switch to non-root user
USER appuser
EXPOSE 8000
CMD ["uvicorn", "app.main:app", "--host", "0.0.0.0", "--port", "8000"]
# Install curl
RUN apt-get update && apt-get install -y curl && apt-get clean
USER root
RUN apt-get update && apt-get install --no-install-recommends -y curl && apt-get clean
# Switch back to non-root user for healthcheck
USER appuser
HEALTHCHECK --interval=30s --timeout=10s --retries=5 \
CMD curl --fail http://localhost:8000/openapi.json || exit 1

View File

@@ -1,15 +1,15 @@
certifi==2023.11.17 # Testing
certifi==2024.12.14 # Testing
iniconfig==2.0.0 # PyTest Testing
packaging==23.2 # PyTest Testing
pluggy==1.3.0 # PyTest Testing
pytest==7.4.3 # PyTest Testing
packaging==24.2 # PyTest Testing
pluggy==1.5.0 # PyTest Testing
pytest==8.3.4 # PyTest Testing
click==8.1.7 # Uvicorn
httptools==0.6.1 # Uvicorn
pyyaml==6.0.1 # Uvicorn
httptools==0.6.4 # Uvicorn
pyyaml==6.0.2 # Uvicorn
uvicorn==0.27.0.post1 # Uvicorn
uvloop==0.19.0 # Uvicorn
watchfiles==0.21.0 # Uvicorn
watchfiles==1.0.4 # Uvicorn
websockets==12.0 # Uvicorn
creyPY==1.3.0 # My own package