Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

add preprocess upload task to celery task router #124

Merged
merged 1 commit into from
Sep 29, 2023
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 1 addition & 0 deletions celery_task_router.py
Original file line number Diff line number Diff line change
Expand Up @@ -115,6 +115,7 @@ def _get_user_plan_from_task(dbsession, task_name: str, task_kwargs: dict) -> st
# from org_ownerid
shared_celery_config.new_user_activated_task_name: _get_user_plan_from_org_ownerid,
# from repoid
shared_celery_config.pre_process_upload_task_name: _get_user_plan_from_repoid,
shared_celery_config.upload_task_name: _get_user_plan_from_repoid,
shared_celery_config.upload_processor_task_name: _get_user_plan_from_repoid,
shared_celery_config.notify_task_name: _get_user_plan_from_repoid,
Expand Down
2 changes: 1 addition & 1 deletion requirements.in
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
https://github.com/codecov/shared/archive/15a7041cbaca7ca6ed8475f9bc1c94b3e0ecbed0.tar.gz#egg=shared
https://github.com/codecov/shared/archive/2525bc35ff0ede7035947c78c7a183075b404942.tar.gz#egg=shared
https://github.com/codecov/opentelem-python/archive/refs/tags/v0.0.4a1.tar.gz#egg=codecovopentelem
boto3
celery
Expand Down
4 changes: 3 additions & 1 deletion requirements.txt
Original file line number Diff line number Diff line change
Expand Up @@ -155,6 +155,8 @@ lxml==4.9.1
# via -r requirements.in
minio==7.1.13
# via shared
mmh3==4.0.1
# via shared
mock==4.0.3
# via -r requirements.in
monotonic==1.5
Expand Down Expand Up @@ -277,7 +279,7 @@ s3transfer==0.3.4
# via boto3
sentry-sdk==1.19.1
# via -r requirements.in
shared @ https://github.com/codecov/shared/archive/15a7041cbaca7ca6ed8475f9bc1c94b3e0ecbed0.tar.gz
shared @ https://github.com/codecov/shared/archive/2525bc35ff0ede7035947c78c7a183075b404942.tar.gz
# via -r requirements.in
six==1.15.0
# via
Expand Down