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

23 Коммитов

Автор SHA1 Сообщение Дата
Boris Feld f68535c055 Update the hook before triggering the route (#362) 2019-05-09 11:27:12 +02:00
Marco Castelluccio 17c3e06d94 Remove undefined dependency on rollback_test_task
Fixes #348
2019-05-07 11:53:20 +02:00
Boris Feld 6937e0e5e8 Add the rollback test in the data pipeline (#337)
Add the rollback test in the data pipeline and move the bug snapshot test to a pytest test
2019-05-03 14:20:43 +02:00
Boris Feld f3ff723cbf Fix docker push task command (#334) 2019-05-02 23:46:01 +02:00
Boris Feld 297963e4ce Skip checking models while building the http service image, and only push it as part of the pipeline (#331)
* Add a way to skip checking models while building the http service image

* Don't push the http service on release

It isn't built with the real models on release

* Use taskboot 0.1.1
2019-05-02 23:18:51 +02:00
Boris Feld 369b44ea02 Update the index URLs in bugbug (#328)
* Update the index URLs in bugbug

* Split the http service Docker image in two

This way we can both:
- Build the first half (code + dependencies) in the usual CI.
- Build the second half at the end of the data pipeline with updated models.

Taskboot build-compose doesn't support building all services except a
specific one and it might be cumbersome to add this feature so move the second
half of the Docker image to a separate docker-compose file.
2019-05-02 17:00:32 +02:00
Bastien Abadie bd21382a3b Use mozilla/taskboot 0.1.0 (#323)
Fixes #322
2019-04-29 18:08:45 +02:00
Boris Feld 1ae2200682 Create the initial data pipeline task definition (#313)
* Create the data pipeline task definition

There is a hook (which runs every day at midnight) that will spawn the
data-pipeline using the latest docker images that were build on latest
release. The hook itself is updated on each release and is versionned in this
repository.

The hook will runs once every week and on every successful release.

Add task for building the Docker image for HTTP service.
2019-04-26 14:56:49 +02:00
Bastien Abadie da7c402089 Use Taskcluster cache when building docker image (#311) 2019-04-26 13:06:15 +02:00
Marco 6c29fc20dc
Increase maximum runtime and deadline for docker build task (#299) 2019-04-19 23:41:55 +02:00
Boris Feld 053954d70b Run pre-commit in the lint task (#297) 2019-04-19 18:01:24 +02:00
Boris Feld ded92357ee Add a new tasks for updating bugbug hook (#289)
The hook will be responsible for starting the data pipeline, but right now is
doing mostly nothing.

Use taskboot new command `build-hook` to update the hook based on the
versioned definition file.
2019-04-18 21:20:04 +02:00
Bastien Abadie 17ccdf7545 Use taskboot push-artifact (#290) 2019-04-18 19:49:12 +02:00
Marco d27d5f8b2c
Add a mock DB for tests to avoid downloading the full DB (#273)
* Rename test function in test_bug to reflect reality, and add more assertions

* Add a mock bugs DB for tests

* Don't download bugs DB anymore for running tests

* Add a test for run.py basic functionality

* Remove training test task, as the test is now a pytest
2019-04-18 14:01:25 +02:00
Shubham Garg b790ac8278 Make infra/version_check.py only run on branches and tags, not PRs (#277) 2019-04-18 12:49:00 +02:00
Bastien Abadie 7af2459c96 Use mozilla/taskboot (#287) 2019-04-17 13:24:46 +02:00
Bastien Abadie b5153abc89 Docker full build using compose (#274) 2019-04-15 17:36:30 +02:00
Bastien Abadie 32ac9eb5d6 Add Docker build task for the base image (#270) 2019-04-11 14:00:18 +02:00
Marco ce57a4f806
Revert "Add Docker build task for the base image (#265)" (#269)
This reverts commit f6d6a0867d.
2019-04-11 00:32:04 +02:00
Bastien Abadie f6d6a0867d Add Docker build task for the base image (#265) 2019-04-11 00:24:02 +02:00
Marco Castelluccio 31f371814e Deploy bugbug package to PyPI on new tags 2019-04-10 17:32:20 +02:00
Marco b8240588e1
Run linting and tests in parallel on Taskcluster (#260) 2019-04-09 22:51:54 +02:00
Marco 8155c4d350
Use Taskcluster instead of Travis (#250) 2019-04-09 18:11:47 +02:00