Skip to content
Snippets Groups Projects
Commit 1295b282 authored by Mohammad Torkashvand's avatar Mohammad Torkashvand
Browse files

added unit tests for validate_subscriptions

parent 83fc6c76
No related branches found
No related tags found
1 merge request!110add python -m to run celery
Pipeline #84530 passed
......@@ -3,7 +3,7 @@ WORKDIR /app
ARG ARTIFACT_VERSION
RUN apk add --no-cache gcc libc-dev libffi-dev && \
RUN apk add --no-cache gcc libc-dev libffi-dev curl vim && \
addgroup -S appgroup && adduser -S appuser -G appgroup -h /app
RUN pip install \
......
......@@ -5,6 +5,5 @@ set -o nounset
cd /app/gso
PYTHONPATH=.. python main.py db upgrade heads
# Start the FastAPI application
cd /app
python -m uvicorn "gso.main:app" --host "0.0.0.0" --port 8080
......@@ -4,5 +4,4 @@ set -o errexit
set -o nounset
cd /app
celery -A gso.worker beat -l info -S redbeat.RedBeatScheduler
python -m celery -A gso.worker beat -l info -S redbeat.RedBeatScheduler
......@@ -4,5 +4,4 @@ set -o errexit
set -o nounset
cd /app
celery -A gso.worker worker --loglevel=info
\ No newline at end of file
python -m celery -A gso.worker worker --loglevel=info
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment