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:
parent
288217051f
commit
3eaadf0b27
@ -61,11 +61,12 @@ release:
|
|||||||
TWINE_PASSWORD: $CI_JOB_TOKEN
|
TWINE_PASSWORD: $CI_JOB_TOKEN
|
||||||
ENVIRONMENT: test
|
ENVIRONMENT: test
|
||||||
before_script:
|
before_script:
|
||||||
|
- cp ~/.env.test $CI_PROJECT_DIR/aaredb/frontend/.
|
||||||
- python3.12 -m venv $VIRTUAL_ENV
|
- python3.12 -m venv $VIRTUAL_ENV
|
||||||
- source $VIRTUAL_ENV/bin/activate
|
- source $VIRTUAL_ENV/bin/activate
|
||||||
- pip install --upgrade pip
|
- pip install --upgrade pip
|
||||||
# Explicit clean-up commands
|
# Explicit clean-up commands
|
||||||
- find "$CI_PROJECT_DIR" -name '__pycache__' -type d -exec rm -rf {} + || true
|
- find "" -name '__pycache__' -type d -exec rm -rf {} + || true
|
||||||
- find "$CI_PROJECT_DIR" -name '*.pyc' -type f -delete || true
|
- find "$CI_PROJECT_DIR" -name '*.pyc' -type f -delete || true
|
||||||
# Fix permissions (if necessary)
|
# Fix permissions (if necessary)
|
||||||
- chmod -R u+w "$CI_PROJECT_DIR"
|
- chmod -R u+w "$CI_PROJECT_DIR"
|
||||||
|
Loading…
x
Reference in New Issue
Block a user