From 3eaadf0b27617269f84c3d6b05862553400db24e Mon Sep 17 00:00:00 2001 From: GotthardG <51994228+GotthardG@users.noreply.github.com> Date: Thu, 10 Apr 2025 21:22:11 +0200 Subject: [PATCH] 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. --- .gitlab-ci.yml | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml index 6a1f7b1..88628af 100644 --- a/.gitlab-ci.yml +++ b/.gitlab-ci.yml @@ -61,11 +61,12 @@ release: TWINE_PASSWORD: $CI_JOB_TOKEN ENVIRONMENT: test before_script: + - cp ~/.env.test $CI_PROJECT_DIR/aaredb/frontend/. - python3.12 -m venv $VIRTUAL_ENV - source $VIRTUAL_ENV/bin/activate - pip install --upgrade pip # 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 # Fix permissions (if necessary) - chmod -R u+w "$CI_PROJECT_DIR"