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:
@ -61,11 +61,11 @@ release:
|
|||||||
TWINE_PASSWORD: $CI_JOB_TOKEN
|
TWINE_PASSWORD: $CI_JOB_TOKEN
|
||||||
script:
|
script:
|
||||||
# build and run commands within docker container context
|
# build and run commands within docker container context
|
||||||
- docker-compose build backend
|
- docker compose 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
|
||||||
- docker-compose run --rm backend bash make_openapi_client.sh
|
- docker compose run --rm backend bash make_openapi_client.sh
|
||||||
|
|
||||||
# After script finishes execution within the container,
|
# After script finishes execution within the container,
|
||||||
# revert to the runner environment context if needed
|
# revert to the runner environment context if needed
|
||||||
|
Reference in New Issue
Block a user