bugbug/http_service
Marco Castelluccio f1b684c0a5 Use the new utils.get_user_agent function everywhere instead of hardcoding a User-Agent 2024-10-22 17:11:43 +02:00
..
bugbug_http Use the new utils.get_user_agent function everywhere instead of hardcoding a User-Agent 2024-10-22 17:11:43 +02:00
tests Add support for classifying invalid compatibility reports to the http service (#3846) 2023-11-28 22:33:58 -05:00
.dockerignore Add WIP integration test (#823) 2019-09-13 15:18:46 +02:00
Dockerfile Get bugbug package version outside setup.py 2024-09-19 14:01:34 +02:00
Dockerfile.bg_worker Get bugbug package version outside setup.py 2024-09-19 14:01:34 +02:00
MANIFEST.in Use the new bugbug_http module, fixing tests and docker build 2020-02-28 10:49:40 +01:00
README.md Add support for GitHub issue classification to the HTTP service (#2330) 2021-05-11 08:48:07 +02:00
docker-compose.yml Add support for GitHub issue classification to the HTTP service (#2330) 2021-05-11 08:48:07 +02:00
ensure_models.sh Merge check_models script functionality into download_models 2020-03-23 13:28:57 +01:00
requirements.txt Bump sentry-sdk[flask] from 2.16.0 to 2.17.0 (#4556) 2024-10-22 11:32:10 +02:00
setup.py Get bugbug package version outside setup.py 2024-09-19 14:01:34 +02:00

README.md

Local development

For starting the service locally run the following commands.

Start Redis:

docker-compose up redis

Build the http service image:

docker build -t mozilla/bugbug-http-service -f Dockerfile .

Start the http service:

docker-compose up bugbug-http-service

Build the background worker image:

docker build -t mozilla/bugbug-http-service-bg-worker --build-arg TAG=latest -f Dockerfile.bg_worker .

Run the background worker:

docker-compose up bugbug-http-service-bg-worker