mirror of
https://gitea.publichub.eu/oscar.krause/fastapi-dls.git
synced 2026-04-04 23:55:47 +03:00
Compare commits
17 Commits
af8b1c2387
...
1.3.10
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
5b39598487 | ||
|
|
ed59260a10 | ||
|
|
7c70d121be | ||
|
|
213e768708 | ||
|
|
0696900d67 | ||
|
|
4fb90a22e3 | ||
|
|
6aa197dcae | ||
|
|
46f6c9fe99 | ||
|
|
2baaeb561b | ||
|
|
867cd7018a | ||
|
|
9c686913dd | ||
|
|
d3c4dc3fb7 | ||
|
|
65de4d0534 | ||
|
|
58ffa752f3 | ||
|
|
fd4fa84dc5 | ||
|
|
5ff3295658 | ||
|
|
ca38ebe3fd |
@@ -12,7 +12,7 @@ depends=('python' 'python-jose' 'python-starlette' 'python-httpx' 'python-fastap
|
||||
provider=("$pkgname")
|
||||
install="$pkgname.install"
|
||||
backup=('etc/default/fastapi-dls')
|
||||
source=('git+file:///builds/oscar.krause/fastapi-dls' # https://gitea.publichub.eu/oscar.krause/fastapi-dls.git
|
||||
source=("git+file://${CI_PROJECT_DIR}"
|
||||
"$pkgname.default"
|
||||
"$pkgname.service"
|
||||
"$pkgname.tmpfiles")
|
||||
|
||||
@@ -7,5 +7,3 @@ plugins:
|
||||
config:
|
||||
tests_patterns:
|
||||
- test/**
|
||||
pylint:
|
||||
enabled: true
|
||||
|
||||
@@ -128,10 +128,15 @@ build:pacman:
|
||||
test:
|
||||
image: python:3.11-slim-bookworm
|
||||
stage: test
|
||||
interruptible: true
|
||||
rules:
|
||||
- if: $CI_COMMIT_BRANCH
|
||||
- if: $CI_COMMIT_BRANCH == $CI_DEFAULT_BRANCH
|
||||
- if: $CI_COMMIT_TAG
|
||||
- if: $CI_PIPELINE_SOURCE == "merge_request_event"
|
||||
- if: $CI_COMMIT_BRANCH && $CI_COMMIT_BRANCH != $CI_DEFAULT_BRANCH
|
||||
changes:
|
||||
- app/**/*
|
||||
- test/**/*
|
||||
variables:
|
||||
DATABASE: sqlite:///../app/db.sqlite
|
||||
parallel:
|
||||
@@ -220,12 +225,11 @@ test:archlinux:
|
||||
code_quality:
|
||||
variables:
|
||||
SOURCE_CODE: app
|
||||
CODECLIMATE_DEBUG: 1
|
||||
REPORT_STDOUT: 1
|
||||
rules:
|
||||
- if: $CODE_QUALITY_DISABLED
|
||||
when: never
|
||||
- if: $CI_PIPELINE_SOURCE == "merge_request_event"
|
||||
- if: $CI_COMMIT_BRANCH == $CI_DEFAULT_BRANCH
|
||||
|
||||
secret_detection:
|
||||
rules:
|
||||
@@ -240,6 +244,7 @@ semgrep-sast:
|
||||
- if: $SAST_DISABLED
|
||||
when: never
|
||||
- if: $CI_PIPELINE_SOURCE == "merge_request_event"
|
||||
- if: $CI_COMMIT_BRANCH == $CI_DEFAULT_BRANCH
|
||||
|
||||
test_coverage:
|
||||
# extends: test
|
||||
@@ -282,6 +287,7 @@ gemnasium-python-dependency_scanning:
|
||||
- if: $DEPENDENCY_SCANNING_DISABLED
|
||||
when: never
|
||||
- if: $CI_PIPELINE_SOURCE == "merge_request_event"
|
||||
- if: $CI_COMMIT_BRANCH == $CI_DEFAULT_BRANCH
|
||||
|
||||
.deploy:
|
||||
rules:
|
||||
@@ -289,13 +295,17 @@ gemnasium-python-dependency_scanning:
|
||||
|
||||
deploy:docker:
|
||||
extends: .deploy
|
||||
image: docker:dind
|
||||
stage: deploy
|
||||
tags: [ docker ]
|
||||
before_script:
|
||||
- echo "Building docker image for commit $CI_COMMIT_SHA with version $CI_COMMIT_REF_NAME"
|
||||
- docker buildx inspect
|
||||
- docker buildx create --use
|
||||
script:
|
||||
- echo "========== GitLab-Registry =========="
|
||||
- docker login -u $CI_REGISTRY_USER -p $CI_REGISTRY_PASSWORD $CI_REGISTRY
|
||||
- IMAGE=$CI_REGISTRY/$CI_PROJECT_PATH/$CI_COMMIT_REF_NAME
|
||||
- IMAGE=$CI_REGISTRY/$CI_PROJECT_PATH
|
||||
- docker buildx build --progress=plain --platform $DOCKER_BUILDX_PLATFORM --build-arg VERSION=$CI_COMMIT_REF_NAME --build-arg COMMIT=$CI_COMMIT_SHA --tag $IMAGE:$CI_COMMIT_REF_NAME --push .
|
||||
- docker buildx build --progress=plain --platform $DOCKER_BUILDX_PLATFORM --build-arg VERSION=$CI_COMMIT_REF_NAME --build-arg COMMIT=$CI_COMMIT_SHA --tag $IMAGE:latest --push .
|
||||
- echo "========== Docker-Hub =========="
|
||||
|
||||
@@ -428,6 +428,7 @@ Successfully tested with this package versions:
|
||||
|
||||
| vGPU Suftware | Linux vGPU Manager | Linux Driver | Windows Driver | Release Date |
|
||||
|---------------|--------------------|--------------|----------------|---------------|
|
||||
| `16.3` | `535.154.02` | `535.154.05` | `538.15` | January 2024 |
|
||||
| `16.2` | `535.129.03` | `535.129.03` | `537.70` | October 2023 |
|
||||
| `16.1` | `535.104.06` | `535.104.05` | `537.13` | August 2023 |
|
||||
| `16.0` | `535.54.06` | `535.54.03` | `536.22` | July 2023 |
|
||||
@@ -440,6 +441,11 @@ Successfully tested with this package versions:
|
||||
|
||||
- https://docs.nvidia.com/grid/index.html
|
||||
|
||||
*To get the latest drivers, visit Nvidia or search in Discord-Channel `GPU Unlocking` (Server-ID: `829786927829745685`) on channel `licensing` `biggerthanshit`
|
||||
|
||||
|
||||
https://archive.biggerthanshit.com/NVIDIA/ (nvidia / b1gg3rth4nsh1t)
|
||||
|
||||
## Linux
|
||||
|
||||
Download *client-token* and place it into `/etc/nvidia/ClientConfigToken`:
|
||||
|
||||
@@ -1,8 +1,8 @@
|
||||
fastapi==0.109.0
|
||||
uvicorn[standard]==0.25.0
|
||||
fastapi==0.110.0
|
||||
uvicorn[standard]==0.27.1
|
||||
python-jose==3.3.0
|
||||
pycryptodome==3.20.0
|
||||
python-dateutil==2.8.2
|
||||
sqlalchemy==2.0.25
|
||||
sqlalchemy==2.0.27
|
||||
markdown==3.5.2
|
||||
python-dotenv==1.0.0
|
||||
python-dotenv==1.0.1
|
||||
|
||||
Reference in New Issue
Block a user