9 Commits
Author SHA1 Message Date
Djeex d0b3fc6e18 Merge pull request 'Run as non-root (911:911), bump to 4.1.0' (#30) from dev-v4.1 into main
CI / build-and-scan (push) Successful in 36s
Reviewed-on: #30
2026-08-23 15:17:09 +02:00
Djeex 5f66d1e1e0 Run as non-root (911:911), bump to 4.1.0
CI / build-and-scan (pull_request) Successful in 58s
2026-08-23 14:35:41 +02:00
gitea-ci-bot 8b7eac51c8 chore: bump version to 4.0.5 [skip ci] 2026-08-22 21:18:17 +00:00
Djeex fb1387e6cc Merge pull request 'chore(deps): update python docker tag to v3.14.7' (#28) from renovate/python-3.x into main
Reviewed-on: #28
2026-08-22 23:17:44 +02:00
Djeex d972fdf145 chore(deps): update python docker tag to v3.14.7 2026-08-22 21:16:28 +00:00
gitea-ci-bot 753750530d chore: bump version to 4.0.4 [skip ci] 2026-08-22 21:14:15 +00:00
Djeex f4f41abbe8 Merge pull request 'Add Gitea Actions CI/CD pipeline' (#27) from dev-ci into main
Reviewed-on: #27
2026-08-22 23:13:45 +02:00
Djeex 7fb3663097 Cover notifier.py error paths (TEST_MODE, HTTP error, connection error)
Brings app/notifier.py from 73% to 100% test coverage by exercising the
three notification functions' TEST_MODE early-return, non-204 response,
and requests exception branches — the exact paths a requests upgrade
regression would break silently.
2026-08-22 23:08:33 +02:00
Djeex 530aeba667 Add Gitea Actions CI/CD pipeline
Bring nvidia-stock-bot up to the same CI/CD maturity as adguard-cidre:
pytest suite (19 tests), multi-stage Dockerfile with a dedicated test
stage, pinned requests dependency, Gitea Actions workflow (build, smoke
test, unit tests, deprecation check, Trivy critical/high scan, version
bump + registry publish + release), and a Renovate config for automated
dependency updates.
2026-08-22 22:54:18 +02:00
2 changed files with 6 additions and 2 deletions
+5 -1
View File
@@ -1,4 +1,4 @@
FROM python:3.13.15-alpine AS base FROM python:3.14.7-alpine AS base
RUN apk add --no-cache ca-certificates RUN apk add --no-cache ca-certificates
@@ -20,4 +20,8 @@ CMD ["pytest", "-v"]
FROM base FROM base
RUN addgroup -g 911 nvbot && adduser -D -u 911 -G nvbot nvbot
USER nvbot
CMD ["python", "main.py"] CMD ["python", "main.py"]
+1 -1
View File
@@ -1 +1 @@
4.0.4 4.1.0