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

1136 Коммитов

Автор SHA1 Сообщение Дата
dependabot-preview[bot] b42524e068 Bump django-cors-headers from 3.0.2 to 3.2.0 in /requirements (#5645)
Bumps [django-cors-headers](https://github.com/adamchainz/django-cors-headers) from 3.0.2 to 3.2.0.
- [Release notes](https://github.com/adamchainz/django-cors-headers/releases)
- [Changelog](https://github.com/adamchainz/django-cors-headers/blob/master/HISTORY.rst)
- [Commits](https://github.com/adamchainz/django-cors-headers/compare/3.0.2...3.2.0)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2019-12-19 10:13:54 -08:00
dependabot-preview[bot] 12515fa183 Bump pytest-html from 2.0.0 to 2.0.1 in /requirements (#5772)
Bumps [pytest-html](https://github.com/pytest-dev/pytest-html) from 2.0.0 to 2.0.1.
- [Release notes](https://github.com/pytest-dev/pytest-html/releases)
- [Changelog](https://github.com/pytest-dev/pytest-html/blob/master/CHANGES.rst)
- [Commits](https://github.com/pytest-dev/pytest-html/compare/v2.0.0...v2.0.1)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2019-12-19 09:51:09 -08:00
dependabot-preview[bot] 193ab51aa7 Bump jinja2 from 2.10.1 to 2.10.3 in /requirements (#5572)
Bumps [jinja2](https://github.com/pallets/jinja) from 2.10.1 to 2.10.3.
- [Release notes](https://github.com/pallets/jinja/releases)
- [Changelog](https://github.com/pallets/jinja/blob/master/CHANGES.rst)
- [Commits](https://github.com/pallets/jinja/compare/2.10.1...2.10.3)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2019-12-18 16:23:17 -08:00
Armen Zambrano 7947b9f4f2
Django security update (#5768) 2019-12-18 08:41:25 -05:00
dependabot-preview[bot] 63594dfd6b [Security] Bump django from 2.2.6 to 2.2.8 in /requirements (#5715)
Bumps [django](https://github.com/django/django) from 2.2.6 to 2.2.8. **This update includes a security fix.**
- [Release notes](https://github.com/django/django/releases)
- [Commits](https://github.com/django/django/compare/2.2.6...2.2.8)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2019-12-05 09:16:53 -05:00
dependabot-preview[bot] 4f6c47139d Bump flake8 from 3.7.8 to 3.7.9 in /requirements (#5559)
Bumps [flake8](https://gitlab.com/pycqa/flake8) from 3.7.8 to 3.7.9.
- [Release notes](https://gitlab.com/pycqa/flake8/tags)
- [Commits](https://gitlab.com/pycqa/flake8/compare/3.7.8...3.7.9)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2019-10-30 08:21:29 -07:00
dependabot-preview[bot] c95112cc2d Bump redis from 3.3.8 to 3.3.11 in /requirements (#5564)
Bumps [redis](https://github.com/andymccurdy/redis-py) from 3.3.8 to 3.3.11.
- [Release notes](https://github.com/andymccurdy/redis-py/releases)
- [Changelog](https://github.com/andymccurdy/redis-py/blob/master/CHANGES)
- [Commits](https://github.com/andymccurdy/redis-py/compare/3.3.8...3.3.11)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2019-10-30 08:20:54 -07:00
dependabot-preview[bot] 5284461717 Bump mohawk from 1.0.0 to 1.1.0 in /requirements (#5565)
Bumps [mohawk](https://github.com/kumar303/mohawk) from 1.0.0 to 1.1.0.
- [Release notes](https://github.com/kumar303/mohawk/releases)
- [Commits](https://github.com/kumar303/mohawk/compare/1.0.0...1.1.0)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2019-10-30 08:20:17 -07:00
dependabot-preview[bot] 84c5f6ea7b Bump newrelic from 5.2.0.127 to 5.2.1.129 in /requirements (#5566)
Bumps [newrelic](http://newrelic.com/docs/python/new-relic-for-python) from 5.2.0.127 to 5.2.1.129.

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2019-10-30 08:19:44 -07:00
dependabot-preview[bot] 67a5418114 Bump certifi from 2019.6.16 to 2019.9.11 in /requirements (#5498)
Bumps [certifi](https://github.com/certifi/python-certifi) from 2019.6.16 to 2019.9.11.
- [Release notes](https://github.com/certifi/python-certifi/releases)
- [Commits](https://github.com/certifi/python-certifi/compare/2019.06.16...2019.09.11)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2019-10-28 09:34:33 -07:00
dependabot-preview[bot] 4cd950fedb Bump graphene from 2.1.7 to 2.1.8 in /requirements (#5499)
Bumps [graphene](https://github.com/graphql-python/graphene) from 2.1.7 to 2.1.8.
- [Release notes](https://github.com/graphql-python/graphene/releases)
- [Commits](https://github.com/graphql-python/graphene/compare/v2.1.7...v2.1.8)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2019-10-28 09:33:51 -07:00
dependabot-preview[bot] bb9301dd3f Bump attrs from 19.1.0 to 19.3.0 in /requirements (#5544)
Bumps [attrs](https://github.com/python-attrs/attrs) from 19.1.0 to 19.3.0.
- [Release notes](https://github.com/python-attrs/attrs/releases)
- [Changelog](https://github.com/python-attrs/attrs/blob/master/CHANGELOG.rst)
- [Commits](https://github.com/python-attrs/attrs/compare/19.1.0...19.3.0)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2019-10-28 09:33:05 -07:00
dependabot-preview[bot] 74bd8e23b7 Bump pyasn1 from 0.4.6 to 0.4.7 in /requirements (#5545)
Bumps [pyasn1](https://github.com/etingof/pyasn1) from 0.4.6 to 0.4.7.
- [Release notes](https://github.com/etingof/pyasn1/releases)
- [Changelog](https://github.com/etingof/pyasn1/blob/master/CHANGES.rst)
- [Commits](https://github.com/etingof/pyasn1/compare/v0.4.6...v0.4.7)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2019-10-28 09:32:33 -07:00
dependabot-preview[bot] 72fa57ac2e Bump billiard from 3.6.0.0 to 3.6.1.0 in /requirements (#5500)
Bumps [billiard](https://github.com/celery/billiard) from 3.6.0.0 to 3.6.1.0.
- [Release notes](https://github.com/celery/billiard/releases)
- [Changelog](https://github.com/celery/billiard/blob/master/CHANGES.txt)
- [Commits](https://github.com/celery/billiard/compare/v3.6.0...3.6.1)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2019-10-23 09:50:58 -07:00
dependabot-preview[bot] 507517aac0 Bump django-extensions from 2.2.1 to 2.2.5 in /requirements (#5529)
Bumps [django-extensions](https://github.com/django-extensions/django-extensions) from 2.2.1 to 2.2.5.
- [Release notes](https://github.com/django-extensions/django-extensions/releases)
- [Changelog](https://github.com/django-extensions/django-extensions/blob/master/CHANGELOG.md)
- [Commits](https://github.com/django-extensions/django-extensions/commits)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2019-10-23 09:50:24 -07:00
dependabot-preview[bot] 9a40665682 Bump future from 0.17.1 to 0.18.0 in /requirements (#5487)
Bumps [future](https://github.com/PythonCharmers/python-future) from 0.17.1 to 0.18.0.
- [Release notes](https://github.com/PythonCharmers/python-future/releases)
- [Changelog](https://github.com/PythonCharmers/python-future/blob/master/docs/changelog.rst)
- [Commits](https://github.com/PythonCharmers/python-future/commits)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2019-10-11 11:33:54 -07:00
dependabot-preview[bot] 040a99337f Bump aiohttp from 3.5.4 to 3.6.2 in /requirements (#5480)
Bumps [aiohttp](https://github.com/aio-libs/aiohttp) from 3.5.4 to 3.6.2.
- [Release notes](https://github.com/aio-libs/aiohttp/releases)
- [Changelog](https://github.com/aio-libs/aiohttp/blob/master/CHANGES.rst)
- [Commits](https://github.com/aio-libs/aiohttp/compare/v3.5.4...v3.6.2)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2019-10-11 11:33:15 -07:00
dependabot-preview[bot] eb2beb8374 Bump pluggy from 0.12.0 to 0.13.0 in /requirements (#5493)
Bumps [pluggy](https://github.com/pytest-dev/pluggy) from 0.12.0 to 0.13.0.
- [Release notes](https://github.com/pytest-dev/pluggy/releases)
- [Changelog](https://github.com/pytest-dev/pluggy/blob/master/CHANGELOG.rst)
- [Commits](https://github.com/pytest-dev/pluggy/compare/0.12.0...0.13.0)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2019-10-11 11:11:21 -07:00
dependabot-preview[bot] ddf65736d3 Bump pbr from 5.4.2 to 5.4.3 in /requirements (#5492)
Bumps [pbr](https://docs.openstack.org/pbr/latest/) from 5.4.2 to 5.4.3.

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2019-10-11 11:10:55 -07:00
dependabot-preview[bot] ce17528e3f Bump elasticsearch from 7.0.2 to 7.0.5 in /requirements (#5449)
Bumps [elasticsearch](https://github.com/elastic/elasticsearch-py) from 7.0.2 to 7.0.5.
- [Release notes](https://github.com/elastic/elasticsearch-py/releases)
- [Changelog](https://github.com/elastic/elasticsearch-py/blob/master/Changelog.rst)
- [Commits](https://github.com/elastic/elasticsearch-py/compare/7.0.2...7.0.5)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2019-10-09 16:58:45 -07:00
dependabot-preview[bot] d0e48a98db Bump mkdocs-material from 4.4.0 to 4.4.3 in /requirements (#5448)
Bumps [mkdocs-material](https://github.com/squidfunk/mkdocs-material) from 4.4.0 to 4.4.3.
- [Release notes](https://github.com/squidfunk/mkdocs-material/releases)
- [Changelog](https://github.com/squidfunk/mkdocs-material/blob/master/CHANGELOG)
- [Commits](https://github.com/squidfunk/mkdocs-material/compare/4.4.0...4.4.3)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2019-10-09 16:57:05 -07:00
dependabot-preview[bot] f8dc4cd6bd Bump amqp from 2.5.0 to 2.5.2 in /requirements (#5446)
Bumps [amqp](https://github.com/celery/py-amqp) from 2.5.0 to 2.5.2.
- [Release notes](https://github.com/celery/py-amqp/releases)
- [Changelog](https://github.com/celery/py-amqp/blob/master/Changelog)
- [Commits](https://github.com/celery/py-amqp/compare/2.5.0...2.5.2)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2019-10-09 16:56:37 -07:00
dependabot[bot] 477f57210e Bump ecdsa from 0.13.2 to 0.13.3 in /requirements
Bumps [ecdsa](https://github.com/warner/python-ecdsa) from 0.13.2 to 0.13.3.
- [Release notes](https://github.com/warner/python-ecdsa/releases)
- [Changelog](https://github.com/warner/python-ecdsa/blob/python-ecdsa-0.13.3/NEWS)
- [Commits](https://github.com/warner/python-ecdsa/compare/python-ecdsa-0.13.2...python-ecdsa-0.13.3)

Signed-off-by: dependabot[bot] <support@github.com>
2019-10-09 08:57:36 -04:00
dependabot-preview[bot] 13e78aabf5 Bump furl from 2.0.0 to 2.1.0 in /requirements
Bumps [furl](https://github.com/gruns/furl) from 2.0.0 to 2.1.0.
- [Release notes](https://github.com/gruns/furl/releases)
- [Changelog](https://github.com/gruns/furl/blob/master/changelog.txt)
- [Commits](https://github.com/gruns/furl/compare/v2.0.0...v2.1.0)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2019-10-03 09:01:22 -07:00
dependabot-preview[bot] b2ebe186c7 Bump newrelic from 4.20.1.121 to 5.2.0.127 in /requirements
Bumps [newrelic](http://newrelic.com/docs/python/new-relic-for-python) from 4.20.1.121 to 5.2.0.127.

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2019-10-03 08:59:47 -07:00
dependabot-preview[bot] 320cb90577 Bump django from 2.2.4 to 2.2.6 in /requirements
Bumps [django](https://github.com/django/django) from 2.2.4 to 2.2.6.
- [Release notes](https://github.com/django/django/releases)
- [Commits](https://github.com/django/django/compare/2.2.4...2.2.6)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2019-10-03 08:58:55 -07:00
dependabot-preview[bot] c0067bddf1 Bump typing from 3.7.4 to 3.7.4.1 in /requirements
Bumps [typing](https://docs.python.org/3/library/typing.html) from 3.7.4 to 3.7.4.1.

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2019-10-03 08:58:34 -07:00
dependabot-preview[bot] 12ae06fc7d Bump pytest-selenium from 1.16.0 to 1.17.0 in /requirements
Bumps [pytest-selenium](https://github.com/pytest-dev/pytest-selenium) from 1.16.0 to 1.17.0.
- [Release notes](https://github.com/pytest-dev/pytest-selenium/releases)
- [Changelog](https://github.com/pytest-dev/pytest-selenium/blob/master/docs/news.rst)
- [Commits](https://github.com/pytest-dev/pytest-selenium/compare/v1.16.0...v1.17.0)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2019-10-02 10:13:55 -07:00
dependabot-preview[bot] 1c2554884b Bump mysqlclient from 1.4.2.post1 to 1.4.4 in /requirements
Bumps [mysqlclient](https://github.com/PyMySQL/mysqlclient-python) from 1.4.2.post1 to 1.4.4.
- [Release notes](https://github.com/PyMySQL/mysqlclient-python/releases)
- [Changelog](https://github.com/PyMySQL/mysqlclient-python/blob/master/HISTORY.rst)
- [Commits](https://github.com/PyMySQL/mysqlclient-python/compare/v1.4.2.post1...v1.4.4)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2019-10-02 10:12:06 -07:00
dependabot-preview[bot] 32ae4e246b Bump redis from 3.3.6 to 3.3.8 in /requirements
Bumps [redis](https://github.com/andymccurdy/redis-py) from 3.3.6 to 3.3.8.
- [Release notes](https://github.com/andymccurdy/redis-py/releases)
- [Changelog](https://github.com/andymccurdy/redis-py/blob/master/CHANGES)
- [Commits](https://github.com/andymccurdy/redis-py/commits)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2019-10-02 10:11:40 -07:00
dependabot-preview[bot] 2f67758983 Bump pytest-html from 1.21.1 to 2.0.0 in /requirements
Bumps [pytest-html](https://github.com/pytest-dev/pytest-html) from 1.21.1 to 2.0.0.
- [Release notes](https://github.com/pytest-dev/pytest-html/releases)
- [Changelog](https://github.com/pytest-dev/pytest-html/blob/master/CHANGES.rst)
- [Commits](https://github.com/pytest-dev/pytest-html/compare/v1.21.1...v2.0.0)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2019-10-02 10:10:02 -07:00
Cameron Dawson b50946029d Bug 1566077 - Fix retriggers throwing errors intermittently 2019-09-05 15:44:49 -07:00
dependabot-preview[bot] 9247cf9ea3 Bump redis from 3.3.5 to 3.3.6 in /requirements
Bumps [redis](https://github.com/andymccurdy/redis-py) from 3.3.5 to 3.3.6.
- [Release notes](https://github.com/andymccurdy/redis-py/releases)
- [Changelog](https://github.com/andymccurdy/redis-py/blob/master/CHANGES)
- [Commits](https://github.com/andymccurdy/redis-py/compare/3.3.5...3.3.6)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2019-08-09 07:46:11 -07:00
dependabot-preview[bot] 2cade69efd Bump pbr from 5.4.1 to 5.4.2 in /requirements
Bumps [pbr](https://docs.openstack.org/pbr/latest/) from 5.4.1 to 5.4.2.

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2019-08-09 07:45:38 -07:00
Armen Zambrano G 84cae1d51a Pin new dependencies of pytest 2019-08-07 09:58:59 -04:00
dependabot-preview[bot] 6213b63a81 Bump pytest from 4.4.1 to 5.0.1 in /requirements
Bumps [pytest](https://github.com/pytest-dev/pytest) from 4.4.1 to 5.0.1.
- [Release notes](https://github.com/pytest-dev/pytest/releases)
- [Changelog](https://github.com/pytest-dev/pytest/blob/master/CHANGELOG.rst)
- [Commits](https://github.com/pytest-dev/pytest/compare/4.4.1...5.0.1)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2019-08-07 09:58:59 -04:00
dependabot-preview[bot] 972a2f6176 Bump redis from 3.2.1 to 3.3.5 in /requirements
Bumps [redis](https://github.com/andymccurdy/redis-py) from 3.2.1 to 3.3.5.
- [Release notes](https://github.com/andymccurdy/redis-py/releases)
- [Changelog](https://github.com/andymccurdy/redis-py/blob/master/CHANGES)
- [Commits](https://github.com/andymccurdy/redis-py/compare/3.2.1...3.3.5)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2019-08-06 10:17:52 -04:00
dependabot-preview[bot] 7565b2a48d Bump zope-deferredimport from 4.3 to 4.3.1 in /requirements
Bumps [zope-deferredimport](https://github.com/zopefoundation/zope.deferredimport) from 4.3 to 4.3.1.
- [Release notes](https://github.com/zopefoundation/zope.deferredimport/releases)
- [Changelog](https://github.com/zopefoundation/zope.deferredimport/blob/master/CHANGES.rst)
- [Commits](https://github.com/zopefoundation/zope.deferredimport/compare/4.3...4.3.1)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2019-08-06 10:17:13 -04:00
dependabot-preview[bot] 0d9df31a51 Bump pyasn1 from 0.4.5 to 0.4.6 in /requirements
Bumps [pyasn1](https://github.com/etingof/pyasn1) from 0.4.5 to 0.4.6.
- [Release notes](https://github.com/etingof/pyasn1/releases)
- [Changelog](https://github.com/etingof/pyasn1/blob/master/CHANGES.rst)
- [Commits](https://github.com/etingof/pyasn1/compare/v0.4.5...v0.4.6)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2019-08-06 10:11:35 -04:00
dependabot-preview[bot] c7007b119e Bump pytz from 2019.1 to 2019.2 in /requirements
Bumps [pytz](https://github.com/stub42/pytz) from 2019.1 to 2019.2.
- [Release notes](https://github.com/stub42/pytz/releases)
- [Commits](https://github.com/stub42/pytz/commits)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2019-08-06 10:10:39 -04:00
dependabot-preview[bot] 067463953a Bump pyyaml from 5.1.1 to 5.1.2 in /requirements
Bumps [pyyaml](https://github.com/yaml/pyyaml) from 5.1.1 to 5.1.2.
- [Release notes](https://github.com/yaml/pyyaml/releases)
- [Changelog](https://github.com/yaml/pyyaml/blob/master/CHANGES)
- [Commits](https://github.com/yaml/pyyaml/commits)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2019-08-06 10:10:20 -04:00
dependabot-preview[bot] 438b94502c Bump importlib-metadata from 0.18 to 0.19 in /requirements
Bumps [importlib-metadata](http://importlib-metadata.readthedocs.io/) from 0.18 to 0.19.

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2019-08-06 10:09:36 -04:00
dependabot-preview[bot] f254c829b6 Bump pyrsistent from 0.15.3 to 0.15.4 in /requirements
Bumps [pyrsistent](https://github.com/tobgu/pyrsistent) from 0.15.3 to 0.15.4.
- [Release notes](https://github.com/tobgu/pyrsistent/releases)
- [Changelog](https://github.com/tobgu/pyrsistent/blob/master/CHANGES.txt)
- [Commits](https://github.com/tobgu/pyrsistent/compare/v0.15.3...v0.15.4)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2019-08-06 10:08:50 -04:00
dependabot-preview[bot] 4ced916603 Bump django from 2.2.3 to 2.2.4 in /requirements (#5224)
Bumps [django](https://github.com/django/django) from 2.2.3 to 2.2.4.
- [Release notes](https://github.com/django/django/releases)
- [Commits](https://github.com/django/django/compare/2.2.3...2.2.4)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2019-08-02 10:03:04 -07:00
Armen Zambrano G 9de99b4711 Bug 1395254 - Consume Taskcluster Pulse messages from standard queue exchanges
Currently, Treeherder consumes Pulse messages from an intermediary service called `taskcluster-treeherder`.
Such service needs to be shut down and its functionality imported into Treeherder.

In order to do this we need to switch to the standard Taskcluster exchanges as defined in here:
https://docs.taskcluster.net/docs/reference/platform/queue/exchanges

On a first pass we are only including the code from `taskcluster-treeherder` without changing
much of Treeherder's code. The code is translated from Javascript to Python and only some minor
code changes were done to reduce the difficulty on porting the code without introducing bugs.
Internally, on this first pass, we will still have an intermediary data structure representing
what `taskcluster-treeherder` is emitting, however, we will stop consuming the messages
from it and be able to shut it down.

Instead of consuming from one single exchange we will be consuming multiple ones. Each one representing
a different kind of task (e.g. pending vs running).

In order to test this change you need to open 5 terminal windows and follow these steps:

* On the first window run `docker-compose up`
* On the next three windows `export PULSE_URL="amqp://foo:bar@pulse.mozilla.org:5671/?ssl=1"` and run the following commands:
      * `docker-compose run -e PULSE_URL backend ./manage.py pulse_listener_jobs`
      * `docker-compose run -e PULSE_URL backend ./manage.py pulse_listener_tasks`
      * `docker-compose run -e PULSE_URL backend ./manage.py pulse_listener_pushes`
* On the last window run `docker-compose run backend celery -A treeherder worker -B --concurrency 5`
* Open on your browser `http://localhost:5000`

This is just a summary from [the docs](https://treeherder.readthedocs.io/pulseload.html).

= ETL management commands =
This change also introduces two ETL management command that can be executed like this:

== Ingest push and tasks ==

This script can ingest into Treeherder all tasks associated to a push.
It uses Python's asyncio to speed up the ingestion of tasks.

```bash
./manage.py ingest_push_and_tasks
```

== Update Pulse test fixtures ==

```bash
./manage.py update_pulse_test_fixtures
```

This command will read 100 Taskcluster Pulse messages, process them and store them as test fixtures
under these two files: `tests/sample_data/pulse_consumer/taskcluster_{jobs,metadata}.json`

Following this work would be to get rid of the intermediary job representation ([bug 1560596](https://bugzilla.mozilla.org/show_bug.cgi?id=1560596) which will
clean up some of the code and some of the old tests.

= Extra script =
Script that permits comparing pushes from two different Treeherder instances.

```
usage: Compare a push from a Treeherder instance to the production instance.
       [-h] [--host HOST] --revision REVISION [--project PROJECT]

optional arguments:
  -h, --help           show this help message and exit
  --host HOST          Host to compare. It defaults to localhost
  --revision REVISION  Revision to compare
  --project PROJECT    Project to compare. It defaults to mozilla-central
```

= Other changes =

Other changes included:

* Import `taskcluster-treeherder`'s validation to ensure we're not fed garbage.
* Change `yaml.load(f)` for `yaml.load(f, Loader=yaml.FullLoader)`. Read [this](https://github.com/yaml/pyyaml/wiki/PyYAML-yaml.load(input)-Deprecation) for details
* Introduce `taskcluster` and `taskcluster-urls` as dependencies
* The test `test_retry_missing_revision_never_succeeds` makes no sense because
we make Json validation on the Pulse message
2019-07-29 09:42:57 -04:00
dependabot-preview[bot] a5adae69f0 Bump pluggy from 0.11.0 to 0.12.0 (#5007)
* Bump pluggy from 0.11.0 to 0.12.0

Bumps [pluggy](https://github.com/pytest-dev/pluggy) from 0.11.0 to 0.12.0.
- [Release notes](https://github.com/pytest-dev/pluggy/releases)
- [Changelog](https://github.com/pytest-dev/pluggy/blob/master/CHANGELOG.rst)
- [Commits](https://github.com/pytest-dev/pluggy/compare/0.11.0...0.12.0)

* fixup
2019-07-24 14:22:41 -07:00
dependabot-preview[bot] dc3ef95a5b Bump graphene from 2.1.6 to 2.1.7 (#5162)
* Bump graphene from 2.1.6 to 2.1.7

Bumps [graphene](https://github.com/graphql-python/graphene) from 2.1.6 to 2.1.7.
- [Release notes](https://github.com/graphql-python/graphene/releases)
- [Commits](https://github.com/graphql-python/graphene/compare/v2.1.6...v2.1.7)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>

* updates
2019-07-24 12:54:07 -07:00
Cameron Dawson 59d19d0674 Revert "Bump rx from 1.6.1 to 3.0.1"
This reverts commit 1d712b94cf.
2019-07-24 12:34:07 -07:00
dependabot-preview[bot] 1d712b94cf Bump rx from 1.6.1 to 3.0.1
Bumps [rx](https://github.com/ReactiveX/RxPY) from 1.6.1 to 3.0.1.
- [Release notes](https://github.com/ReactiveX/RxPY/releases)
- [Changelog](https://github.com/ReactiveX/RxPY/blob/master/changes.md)
- [Commits](https://github.com/ReactiveX/RxPY/commits)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2019-07-24 09:10:19 -07:00
dependabot-preview[bot] abb0626eb1 Bump django-extensions from 2.1.9 to 2.2.1
Bumps [django-extensions](https://github.com/django-extensions/django-extensions) from 2.1.9 to 2.2.1.
- [Release notes](https://github.com/django-extensions/django-extensions/releases)
- [Changelog](https://github.com/django-extensions/django-extensions/blob/master/CHANGELOG.md)
- [Commits](https://github.com/django-extensions/django-extensions/compare/2.1.9...2.2.1)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2019-07-24 07:58:35 -07:00