mirror of
https://gitea.publichub.eu/oscar.krause/fastapi-dls.git
synced 2026-04-05 09:35:47 +03:00
Compare commits
8 Commits
af8b1c2387
...
f87e75c471
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
f87e75c471 | ||
|
|
4fb90a22e3 | ||
|
|
6aa197dcae | ||
|
|
46f6c9fe99 | ||
|
|
2baaeb561b | ||
|
|
867cd7018a | ||
|
|
9c686913dd | ||
|
|
d3c4dc3fb7 |
@@ -12,7 +12,7 @@ depends=('python' 'python-jose' 'python-starlette' 'python-httpx' 'python-fastap
|
|||||||
provider=("$pkgname")
|
provider=("$pkgname")
|
||||||
install="$pkgname.install"
|
install="$pkgname.install"
|
||||||
backup=('etc/default/fastapi-dls')
|
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:///tmp/builds/dUqn6z-s/1/oscar.krause/fastapi-dls' # https://gitea.publichub.eu/oscar.krause/fastapi-dls.git
|
||||||
"$pkgname.default"
|
"$pkgname.default"
|
||||||
"$pkgname.service"
|
"$pkgname.service"
|
||||||
"$pkgname.tmpfiles")
|
"$pkgname.tmpfiles")
|
||||||
|
|||||||
@@ -7,5 +7,3 @@ plugins:
|
|||||||
config:
|
config:
|
||||||
tests_patterns:
|
tests_patterns:
|
||||||
- test/**
|
- test/**
|
||||||
pylint:
|
|
||||||
enabled: true
|
|
||||||
|
|||||||
@@ -128,10 +128,15 @@ build:pacman:
|
|||||||
test:
|
test:
|
||||||
image: python:3.11-slim-bookworm
|
image: python:3.11-slim-bookworm
|
||||||
stage: test
|
stage: test
|
||||||
|
interruptible: true
|
||||||
rules:
|
rules:
|
||||||
- if: $CI_COMMIT_BRANCH
|
- if: $CI_COMMIT_BRANCH == $CI_DEFAULT_BRANCH
|
||||||
- if: $CI_COMMIT_TAG
|
- if: $CI_COMMIT_TAG
|
||||||
- if: $CI_PIPELINE_SOURCE == "merge_request_event"
|
- if: $CI_PIPELINE_SOURCE == "merge_request_event"
|
||||||
|
- if: $CI_COMMIT_BRANCH && $CI_COMMIT_BRANCH != $CI_DEFAULT_BRANCH
|
||||||
|
changes:
|
||||||
|
- app/**/*
|
||||||
|
- test/**/*
|
||||||
variables:
|
variables:
|
||||||
DATABASE: sqlite:///../app/db.sqlite
|
DATABASE: sqlite:///../app/db.sqlite
|
||||||
parallel:
|
parallel:
|
||||||
@@ -220,12 +225,11 @@ test:archlinux:
|
|||||||
code_quality:
|
code_quality:
|
||||||
variables:
|
variables:
|
||||||
SOURCE_CODE: app
|
SOURCE_CODE: app
|
||||||
CODECLIMATE_DEBUG: 1
|
|
||||||
REPORT_STDOUT: 1
|
|
||||||
rules:
|
rules:
|
||||||
- if: $CODE_QUALITY_DISABLED
|
- if: $CODE_QUALITY_DISABLED
|
||||||
when: never
|
when: never
|
||||||
- if: $CI_PIPELINE_SOURCE == "merge_request_event"
|
- if: $CI_PIPELINE_SOURCE == "merge_request_event"
|
||||||
|
- if: $CI_COMMIT_BRANCH == $CI_DEFAULT_BRANCH
|
||||||
|
|
||||||
secret_detection:
|
secret_detection:
|
||||||
rules:
|
rules:
|
||||||
@@ -240,6 +244,7 @@ semgrep-sast:
|
|||||||
- if: $SAST_DISABLED
|
- if: $SAST_DISABLED
|
||||||
when: never
|
when: never
|
||||||
- if: $CI_PIPELINE_SOURCE == "merge_request_event"
|
- if: $CI_PIPELINE_SOURCE == "merge_request_event"
|
||||||
|
- if: $CI_COMMIT_BRANCH == $CI_DEFAULT_BRANCH
|
||||||
|
|
||||||
test_coverage:
|
test_coverage:
|
||||||
# extends: test
|
# extends: test
|
||||||
@@ -282,6 +287,7 @@ gemnasium-python-dependency_scanning:
|
|||||||
- if: $DEPENDENCY_SCANNING_DISABLED
|
- if: $DEPENDENCY_SCANNING_DISABLED
|
||||||
when: never
|
when: never
|
||||||
- if: $CI_PIPELINE_SOURCE == "merge_request_event"
|
- if: $CI_PIPELINE_SOURCE == "merge_request_event"
|
||||||
|
- if: $CI_COMMIT_BRANCH == $CI_DEFAULT_BRANCH
|
||||||
|
|
||||||
.deploy:
|
.deploy:
|
||||||
rules:
|
rules:
|
||||||
|
|||||||
Reference in New Issue
Block a user