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

9714 Коммитов

Автор SHA1 Сообщение Дата
dependabot-preview[bot] 954747e398 Bump more-itertools from 7.1.0 to 7.2.0 in /requirements
Bumps [more-itertools](https://github.com/erikrose/more-itertools) from 7.1.0 to 7.2.0.
- [Release notes](https://github.com/erikrose/more-itertools/releases)
- [Commits](https://github.com/erikrose/more-itertools/compare/v7.1.0...v7.2.0)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2019-07-24 07:52:21 -07:00
dependabot-preview[bot] f515cbe2b1 Bump werkzeug from 0.15.4 to 0.15.5 in /requirements
Bumps [werkzeug](https://github.com/pallets/werkzeug) from 0.15.4 to 0.15.5.
- [Release notes](https://github.com/pallets/werkzeug/releases)
- [Changelog](https://github.com/pallets/werkzeug/blob/master/CHANGES.rst)
- [Commits](https://github.com/pallets/werkzeug/compare/0.15.4...0.15.5)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2019-07-24 07:51:32 -07:00
dependabot-preview[bot] 64d967c2cf Bump mozlog from 4.1 to 4.2.0 in /requirements
Bumps [mozlog](https://wiki.mozilla.org/Auto-tools/Projects/Mozbase) from 4.1 to 4.2.0.

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2019-07-24 07:50:20 -07:00
dependabot-preview[bot] 31c8a2f215 Bump django-filter from 2.1.0 to 2.2.0 in /requirements
Bumps [django-filter](https://github.com/carltongibson/django-filter) from 2.1.0 to 2.2.0.
- [Release notes](https://github.com/carltongibson/django-filter/releases)
- [Changelog](https://github.com/carltongibson/django-filter/blob/master/CHANGES.rst)
- [Commits](https://github.com/carltongibson/django-filter/compare/2.1.0...2.2.0)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2019-07-24 07:49:28 -07:00
dependabot-preview[bot] 8b37fde748 Bump graphql-core from 2.2 to 2.2.1 in /requirements
Bumps [graphql-core](https://github.com/graphql-python/graphql-core) from 2.2 to 2.2.1.
- [Release notes](https://github.com/graphql-python/graphql-core/releases)
- [Commits](https://github.com/graphql-python/graphql-core/compare/v2.2.0...v2.2.1)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2019-07-24 07:48:45 -07:00
Armen Zambrano 334085159f Upgrade subdependencies for vulnerabilities (#5187)
* Upgrading dependencies of webpack
This fixes [mixin-deep vulnerability](https://snyk.io/vuln/SNYK-JS-MIXINDEEP-450212).

* Upgrade dependencies for react2angular
This helps with [lodash vulnerability](https://snyk.io/vuln/SNYK-JS-LODASH-450202)

* Upgrade dependencies for react-select
This helps with [lodash vulnerability](https://snyk.io/vuln/SNYK-JS-LODASH-450202)
2019-07-23 14:40:50 -07:00
Armen Zambrano G 7f04a91af7 Revert "Bug 1395254 - Consume Taskcluster jobs from standard queue exchanges (#5042)"
This reverts commit 75dc375a93.
2019-07-23 16:24:13 -04:00
Armen Zambrano G 905869c2fd Revert "Follow up fix for 75dc375a9367a530824c7e4bf92b667068d55f33"
This reverts commit 9f364a6b98.
2019-07-23 16:24:07 -04:00
Armen Zambrano G 9f364a6b98 Follow up fix for 75dc375a93 2019-07-23 14:24:22 -04:00
Armen Zambrano 75dc375a93
Bug 1395254 - Consume Taskcluster jobs from standard queue exchanges (#5042)
* 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 4 terminal windows and follow these steps:

* On the first two 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_pushes`
* On the third window run `docker-compose run backend celery -A treeherder worker -B --concurrency 5`
* On the last window run `docker-compose up`
* 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.

= 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-23 13:14:18 -04:00
Renovate Bot 1ec2c708be Update dependency lodash to v4.17.15 2019-07-23 09:50:12 -07:00
Cameron Dawson 9181ff4b94 Bug 1510280 - Convert Pushes context to Redux 2019-07-22 15:46:17 -07:00
Sarah Clements 9654825fca update yarn file after rebase 2019-07-22 11:40:07 -07:00
Sarah Clements 8422295049 remove duplicate entries 2019-07-22 11:40:07 -07:00
Renovate Bot 6098665173 Update dependency eslint-plugin-jsx-a11y to v6.2.3 2019-07-22 11:40:07 -07:00
Sarah Clements 1d1bde8dc3 remove dupe 2019-07-22 11:00:21 -07:00
Renovate Bot dfe805aabb Update dependency webpack to v4.36.1 2019-07-22 11:00:21 -07:00
Renovate Bot 52a28ba31d Update dependency eslint-plugin-import to v2.18.2 2019-07-22 09:41:29 -07:00
Renovate Bot c9cf0f59f4 Update Yarn to v1.17.3 2019-07-19 17:34:06 -07:00
Renovate Bot 9dacf5bf2b Update dependency redux to v4.0.4 2019-07-19 17:32:35 -07:00
Renovate Bot 328097ed7d Update dependency react-hot-loader to v4.12.8 2019-07-19 17:21:02 -07:00
Renovate Bot 19cd11b2ed Update dependency react-lazylog to v4.2.0 2019-07-19 17:20:32 -07:00
Renovate Bot f8fd5ed86e Update dependency d3 to v5.9.7 2019-07-19 17:20:03 -07:00
Renovate Bot 84f15ab741 Update dependency eslint-plugin-jest to v22.11.1 2019-07-19 17:17:33 -07:00
dependabot[bot] 6ac23eb859 Bump handlebars from 4.1.1 to 4.1.2
Bumps [handlebars](https://github.com/wycats/handlebars.js) from 4.1.1 to 4.1.2.
- [Release notes](https://github.com/wycats/handlebars.js/releases)
- [Changelog](https://github.com/wycats/handlebars.js/blob/master/release-notes.md)
- [Commits](https://github.com/wycats/handlebars.js/compare/v4.1.1...v4.1.2)

Signed-off-by: dependabot[bot] <support@github.com>
2019-07-19 17:14:07 -07:00
Cameron Dawson facd5aa72b Split out the /docs automated test section and enhance it a bit 2019-07-19 15:02:35 -07:00
Cameron Dawson 8eec530f50 Revert "Bump graphene-django from 2.3.2 to 2.4.0"
This breaks the test-view

This reverts commit e981a8fe17.
2019-07-18 14:01:49 -07:00
dependabot-preview[bot] fe15a2e8ef Bump pyrsistent from 0.15.2 to 0.15.3
Bumps [pyrsistent](https://github.com/tobgu/pyrsistent) from 0.15.2 to 0.15.3.
- [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.2...v0.15.3)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2019-07-18 09:29:27 -07:00
dependabot-preview[bot] 2fd272fe2f Bump flake8 from 3.7.7 to 3.7.8
Bumps [flake8](https://gitlab.com/pycqa/flake8) from 3.7.7 to 3.7.8.
- [Release notes](https://gitlab.com/pycqa/flake8/tags)
- [Commits](https://gitlab.com/pycqa/flake8/compare/3.7.7...3.7.8)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2019-07-18 09:27:37 -07:00
dependabot-preview[bot] a3a9a2d021 Bump orderedmultidict from 1.0 to 1.0.1
Bumps [orderedmultidict](https://github.com/gruns/orderedmultidict) from 1.0 to 1.0.1.
- [Release notes](https://github.com/gruns/orderedmultidict/releases)
- [Commits](https://github.com/gruns/orderedmultidict/commits)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2019-07-18 09:27:02 -07:00
dependabot-preview[bot] 9144f591e4 Bump zope-proxy from 4.3.1 to 4.3.2
Bumps [zope-proxy](https://github.com/zopefoundation/zope.proxy) from 4.3.1 to 4.3.2.
- [Release notes](https://github.com/zopefoundation/zope.proxy/releases)
- [Changelog](https://github.com/zopefoundation/zope.proxy/blob/master/CHANGES.rst)
- [Commits](https://github.com/zopefoundation/zope.proxy/compare/4.3.1...4.3.2)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2019-07-18 09:26:35 -07:00
dependabot-preview[bot] e981a8fe17 Bump graphene-django from 2.3.2 to 2.4.0
Bumps [graphene-django](https://github.com/graphql-python/graphene-django) from 2.3.2 to 2.4.0.
- [Release notes](https://github.com/graphql-python/graphene-django/releases)
- [Commits](https://github.com/graphql-python/graphene-django/compare/v2.3.2...v2.4.0)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2019-07-18 09:25:33 -07:00
dependabot-preview[bot] 52a175e59b Bump whitenoise from 4.1.2 to 4.1.3
Bumps [whitenoise](https://github.com/evansd/whitenoise) from 4.1.2 to 4.1.3.
- [Release notes](https://github.com/evansd/whitenoise/releases)
- [Changelog](https://github.com/evansd/whitenoise/blob/master/docs/changelog.rst)
- [Commits](https://github.com/evansd/whitenoise/compare/v4.1.2...v4.1.3)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2019-07-18 09:24:32 -07:00
dependabot-preview[bot] 8bd4ed1399 Bump pbr from 5.3.0 to 5.4.1
Bumps [pbr](https://docs.openstack.org/pbr/latest/) from 5.3.0 to 5.4.1.

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2019-07-18 09:23:57 -07:00
Sarah Clements ba0cb5922e
Perfherder graphs view - change graph color scheme (#5142)
Add high contrast colors and change back to colored border for legend
2019-07-16 12:56:49 -07:00
Armen Zambrano G 11d465a45a Revert "Fix incorrect version of graphql_relay being released"
This reverts commit 989626a007.
2019-07-16 13:32:11 -04:00
Sarah Clements 989626a007 Fix incorrect version of graphql_relay being released
See https://github.com/graphql-python/graphql-relay-py/issues/23 for details
2019-07-15 16:51:32 -04:00
Renovate Bot 7f8683b003 Update dependency lodash to v4.17.13 [SECURITY] 2019-07-15 12:54:22 -04:00
Cameron Dawson 813edc8d2e Bug 1565754 - Fix retrigger where more than one decision task on a push 2019-07-12 19:06:28 -07:00
Cameron Dawson 3038d08bbd Bug 1563371 - Find non-gecko decision tasks when needed
This paves the way to having retriggers work for NSS-Try and
a few other repos.  That repo still needs to generate the right
artifacts.  But this is the Treeherder side of that work.
2019-07-12 14:11:40 -07:00
Cameron Dawson 5d52da9b0c Bug 1565364 - Fix Retriggers
My previous checking broke several retrigger scenarios because I changed the
format returned by the PushModel getDecisionTaskId.  This fixes them.
2019-07-12 14:11:40 -07:00
Cameron Dawson 58eacd7aea
Bug 1560007 - Discontinue use of fxtesteng repos and pulse exchange (#5138) 2019-07-12 12:34:50 -07:00
Sarah Clements 067980486e
Perf summary api change (#5140)
Modify performance/summary endpoint to accommodate perfherder graphing needs:
* modify logic so signature query param does not filter on parent_signature__isnull
and add all_data param to return performance data as a list of objects with additional
data like PerformanceDatum
* add condition to all_data and return revision, repo name and repository_id
* accept multiple signatures
* make startday and endday optional if interval is provided
2019-07-12 12:12:44 -07:00
Cameron Dawson 76f1297fb6
Bug 1526242 - Fix order of development repo group (#5139) 2019-07-11 17:27:47 -07:00
Cameron Dawson 3b5665fa71
Bug 1565364 - Fix add new jobs when decision task was retried (#5143) 2019-07-11 16:02:01 -07:00
Cameron Dawson 3ab9746850
Bug 1564879 - Show selected job styling in pinboard (#5144) 2019-07-11 16:01:25 -07:00
Kohei Yoshino db26ab5c7b Bug 1531759 - Modify treeherder's bugfiler to set bug type as 'defect' (#5132) 2019-07-10 14:00:15 -07:00
KWierso dba6fa8ae1 Bug 1563884 - Stop sending 'credentials: same-origin' to /user requests (#5129) 2019-07-10 13:58:46 -07:00
Kartikaya Gupta (kats) afde0e93f9 Bug 1563735 - Add pretty name for android QR platform. (#5126) 2019-07-10 12:35:58 -07:00
Sarah Clements 49c5552891
Bug 1562852 - fix Perherder Alerts search input (#5127)
change navigatePage function to update state and params and fetch new alert summaries instead
of using angular state.go since that causes the page to re-mount on navigation
2019-07-09 14:15:16 -07:00