Граф коммитов

5 Коммитов

Автор SHA1 Сообщение Дата
Marco Castelluccio 58bd844553
Ignore http_service directory when building bugbug base images (#1338)
Otherwise whenever we make changes to the http_service, the base images are rebuilt.

Regression from 0eb7f91a23

Fixes #1337
2020-02-28 19:21:28 +01:00
Bastien Abadie 0eb7f91a23 Use the new bugbug_http module, fixing tests and docker build 2020-02-28 10:49:40 +01:00
Boris Feld aa578b00fe Update root dockerignore (#266) 2019-04-12 12:31:52 +02:00
Boris Feld 706b316a9c Add basic HTTP service (#262)
* Add basic HTTP service

It doesn't support batch requests or authentication yet

* Add very basic authentication

* Update dockerignore in http-service
2019-04-10 17:57:07 +02:00
Boris Feld b651744b18 Import retriever services and add Docker image definition (#251)
* Import Retriever class from release-services repository

This basically import the `retriever.py` file from the `release-services`
repository at hash 77cdddd. I removed imports and reference to cli-common
helpers that will likely needs to be reimplemented, like the raven support.

The next commit will defines some Dockerfiles that will use the imported file.

* Add docker image definition

Build three Docker image, one is for bugbug itself. It is just installing
bugbug and its dependencies.

One is for retrieving information from the mozilla-central Mercurial
repository, it depends on the first one and install the right Mercurial
version.

The last one is for retrieving information from the Bugzilla instance, it
depends in the first one and needs a valid Bugzilla token.

* Separate the two tasks into separate script files

They share almost no code at all so they don't need to be in the same file

* Apply Black on the scripts to makes Flake8 happy
2019-04-09 16:30:09 +02:00