feat: add parser source dashboard and scheduling
Some checks failed
CI/CD Pipeline / Code Quality Checks (pull_request) Failing after 9s
CI/CD Pipeline / Run Tests (pull_request) Failing after 48s
CI/CD Pipeline / Build Docker Images (pull_request) Has been skipped
CI/CD Pipeline / Push to Gitea Registry (pull_request) Has been skipped

This commit is contained in:
2026-04-27 23:36:28 +02:00
parent 199d871923
commit c9b350da1e
96 changed files with 15014 additions and 268 deletions

View File

@@ -2,14 +2,15 @@ name: CI/CD Pipeline
on:
push:
branches: [ main, develop ]
branches: [ main, dev ]
pull_request:
branches: [ main, develop ]
branches: [ main, dev ]
jobs:
lint:
name: Code Quality Checks
runs-on: ubuntu-latest
timeout-minutes: 15
steps:
- name: Checkout code
@@ -21,9 +22,7 @@ jobs:
python-version: '3.11'
- name: Install uv
run: |
curl -LsSf https://astral.sh/uv/install.sh | sh
echo "$HOME/.local/bin" >> $GITHUB_PATH
run: python -m pip install --upgrade pip uv
- name: Create virtual environment
run: uv venv
@@ -31,7 +30,7 @@ jobs:
- name: Activate virtual environment and install dependencies
run: |
source .venv/bin/activate
uv sync --dev
uv sync --dev --frozen
- name: Run Ruff linting
run: |
@@ -46,6 +45,7 @@ jobs:
test:
name: Run Tests
runs-on: ubuntu-latest
timeout-minutes: 20
services:
postgres:
image: postgres:15.10
@@ -81,9 +81,7 @@ jobs:
python-version: '3.11'
- name: Install uv
run: |
curl -LsSf https://astral.sh/uv/install.sh | sh
echo "$HOME/.local/bin" >> $GITHUB_PATH
run: python -m pip install --upgrade pip uv
- name: Create virtual environment
run: uv venv
@@ -91,7 +89,7 @@ jobs:
- name: Activate virtual environment and install dependencies
run: |
source .venv/bin/activate
uv sync --dev
uv sync --dev --frozen
- name: Wait for services to be ready
run: |
@@ -113,7 +111,7 @@ jobs:
cd src
python manage.py test --verbosity=2
env:
DJANGO_SETTINGS_MODULE: config.settings.development
DJANGO_SETTINGS_MODULE: config.settings.test
DATABASE_URL: postgres://postgres:postgres@localhost:5432/test_db
REDIS_URL: redis://localhost:6379/0
CELERY_BROKER_URL: redis://localhost:6379/0
@@ -122,6 +120,7 @@ jobs:
build:
name: Build Docker Images
runs-on: ubuntu-latest
timeout-minutes: 20
needs: [lint, test]
steps:
@@ -181,7 +180,7 @@ jobs:
name: Push to Gitea Registry
runs-on: ubuntu-latest
needs: [build]
if: github.ref == 'refs/heads/main' || github.ref == 'refs/heads/develop'
if: github.ref == 'refs/heads/main' || github.ref == 'refs/heads/dev'
steps:
- name: Checkout code