Add job processing system with streaming endpoint

Introduced a `processing` router to handle job streaming using server-sent events. Added `Jobs` and `JobStatus` models for managing job-related data, along with database creation logic. Updated the `sample` router to create new job entries during experiment creation.
This commit is contained in:
GotthardG 2025-04-10 21:52:44 +02:00
parent 529e1d7157
commit a05b2efd26

View File

@ -72,8 +72,11 @@ release:
- chmod -R u+w "$CI_PROJECT_DIR" - chmod -R u+w "$CI_PROJECT_DIR"
script: script:
- ls -la "$CI_PROJECT_DIR/config_${ENVIRONMENT}.json" # <-- Verify host file
- file "$CI_PROJECT_DIR/config_${ENVIRONMENT}.json" # <-- Confirm host file type
# build and run commands within docker container context # build and run commands within docker container context
- docker compose --env-file frontend/.env.test build backend - docker compose --env-file frontend/.env.${ENVIRONMENT} build backend
# Run commands inside your 'backend' service container # Run commands inside your 'backend' service container
- docker compose run --rm backend mkdir -p /app/backend/ssl - docker compose run --rm backend mkdir -p /app/backend/ssl