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

10555 Коммитов

Автор SHA1 Сообщение Дата
Kyle Lahnakoski 690010736f
Bug 1631082 - Fix extraction of alerts into BigQuery (#6316)
* add alert tests, fix alert extract

* enable extract testing in travis

Co-authored-by: Kyle Lahnakoski <kyle@lahnakoski.com>
2020-04-17 16:47:24 -04:00
Shubhank Saxena 946b7cf800
Use tox to run Travis tests locally (deprecate runtests.sh) (#6194) 2020-04-17 15:56:33 -04:00
Cameron Dawson 96bf8370e1
Bug 1630712 - Single try push view show Push Health Summary (#6314) 2020-04-17 12:03:21 -07:00
Sebastian Hengst a965e7b62f
Bug 1630366 - drop obsolete rules to clean up failure line for use as bug summary (#6311) 2020-04-16 11:51:28 -07:00
Sebastian Hengst 707df27617
Bug 1630343 - bugs for 'Core :: DOM: Security' bugzilla component should automatically get '[domsecurity-intermittent]' in whiteboard (#6310) 2020-04-16 11:50:14 -07:00
Tom Prince 9c276d9cc0
Show the correct task id for actions. (#6305)
Before actions were generated by triggering hooks, treeherder generated action
tasks directly. When doing this, the calling code generated the task id, and
then used that to link to the task. Now that things are generated via hooks,
refactor things so the calling code gets the task id from the code triggering
the hook.
2020-04-14 12:49:15 -07:00
ionutgoldan 3f73a3103e
Bug 1612547 - Define component for doing backfills using existing reports 2020-04-14 13:02:44 +03:00
esanuandra 1b0f05be27
Bug 1628991 - Add key prop to span in ItemList.jsx 2020-04-14 09:20:31 +03:00
alexandru-io 27cda77f13
Bug 1595111 – Alerts view gets stuck on last page
Co-authored-by: sviho <svitlanahoncharukk@gmail.com>
2020-04-14 08:48:12 +03:00
Armen Zambrano 857d72bff1
Move poetry configuration for docs to the top level (#6306)
There were some issues with the original instructions using poetry
for serving the docs.
2020-04-14 01:29:53 -04:00
Cameron Dawson 63646ad34e
Bug 1629139 - Update Pulse Docs and allow skip of ingestion (#6295) 2020-04-13 10:47:07 -07:00
Armen Zambrano e6fc169f38
Review apps: Adjust ALLOWED_HOSTS (#6270)
It seems that Heroku Review apps have regressed and they are not being added to ALLOWED_HOSTS, thus,
making the web deployment have lost of errors (one of them below):

> ERROR [django.security.DisallowedHost:77] Invalid HTTP_HOST header: 'treeherder-pulse-lsiten-afvimm.herokuapp.com'. You may need to add 'treeherder-pulse-lsiten-afvimm.herokuapp.com' to ALLOWED_HOSTS.

This change can be manually tested like this:

```shell
% export HEROKU_REVIEW_APP=1
% export HEROKU_APP_NAME=treeherder-foo
% python -c "from treeherder.config import settings; print(settings.ALLOWED_HOSTS)"
['https://treeherder-foo.herokuapp.com']
```
2020-04-13 13:17:38 -04:00
Armen Zambrano a0094c065d
pre-commit: Fix Markdown issues uppon commit (#6303) 2020-04-13 13:11:10 -04:00
Sarah Clements ca001cb46e
Update docs with grant access (#6276) 2020-04-13 09:45:50 -07:00
esanuandra f4727a6379
Bug 1627968 - Rename Health view to Tests view 2020-04-13 09:31:24 +03:00
Kyle Lahnakoski 7565bcb368
update requirements (#6297)
* update requirements

* remove more not-needed requirements

* update mozlog

* update celery

* update pyyaml

* revert

* remove typing

* remove iso8601

* remove python-jose[pycryptodome]

* remove iso8601, document required

Co-authored-by: Kyle Lahnakoski <kyle@lahnakoski.com>
2020-04-10 16:45:27 -07:00
dependabot[bot] 4eff14b576
Bump auth0-js from 9.11.3 to 9.13.2 (#6294)
Bumps [auth0-js](https://github.com/auth0/auth0.js) from 9.11.3 to 9.13.2.
- [Release notes](https://github.com/auth0/auth0.js/releases)
- [Changelog](https://github.com/auth0/auth0.js/blob/master/CHANGELOG.md)
- [Commits](https://github.com/auth0/auth0.js/compare/v9.11.3...v9.13.2)

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

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2020-04-10 14:02:07 -07:00
PIGNOSE e9298f7be4
Bug 1514412 - Fix KeyError in tag push situation of GithubPushTransformer (#6216)
* fix: KeyError when GithubPushTransformer.get_branch's called when tag push triggers

* chore: remove unused whitespace
2020-04-08 15:31:54 -07:00
Kyle Lahnakoski 53a806d3cc
Test integrate black (#6277)
* Configuration for black

* changes congiguration

* change pyproject's directory

* add files to be excluded and skip string normalization

* removed isort from pre-commit

* remove version locks for black

* fix

* remove all isort

* update requirements

Co-authored-by: SuyashSalampuria <suyash546@gmail.com>
Co-authored-by: Kyle Lahnakoski <kyle@lahnakoski.com>
2020-04-08 14:47:37 -04:00
Shubham Kumar 775e4b679e
Add automatic Celery and Pulse ingestion to Docker set up (#6183)
This permits setting up the complete ingestion pipeline with a single command.
It only ingests from autoland and tries to use minimal resources on a localhost.

Co-authored-by: Armen Zambrano <armenzg@users.noreply.github.com>
2020-04-08 14:34:16 -04:00
octavian-negru 12f2535f1a
Bug 1627265 - Differentiate between applications at data ingestion 2020-04-08 10:55:35 +03:00
Cameron Dawson a31426bce0
Bug 1611334 - Remove support for GraphQL (#6235)
Co-authored-by: Kyle Lahnakoski <kyle@lahnakoski.com>
2020-04-07 17:36:57 -04:00
Shubhank Saxena d2d54f8579
Bug 1530965 - Combine Pulse listeners (#6122)
Merge both Pulse listeners without switching to it.
We can switch to it in the future.
2020-04-07 17:09:59 -04:00
Suyash Salampuria d300d2424f
Merge ingest_push into ingest management command (#6197) 2020-04-07 16:38:53 -04:00
Kyle Lahnakoski e60d301775
Reduce list of Python requirements (#6141)
This is a shortened and easier list of packages to manage.

Co-authored-by: Kyle Lahnakoski <kyle@lahnakoski.com>
2020-04-07 14:40:36 -04:00
Armen Zambrano G 73b0a70d75 Merge branch 'imskr-mdlint' 2020-04-07 09:42:43 -04:00
Shubham Kumar 10a2040774 Add markdownlint pre-commit hook and fixed docs
We also add it as part of the Travis execution.
2020-04-07 09:41:54 -04:00
Shubhank Saxena c7f9fbb5de
Add seed-isort-config hook (#6182) 2020-04-07 08:14:36 -04:00
Ishita Kumar db76065cf4
Bug 1615365 - Redirecting to correct url on changing the status or framework filter (#6180)
* fixed bug Redirecting to correct url on changing the status or framework filter

* Changed the updated filter logic from status and frameworks to not pages in AlertsView.js

* Kyles recommended changes
2020-04-07 07:59:38 -04:00
Sebastian Hengst 5f41c24e7f
Bug 1627271 - Order 'Similar Jobs' first by push id, then by task's start time. (#6266)
The most common issue with failed tasks except intermittent failures are
check-in related issues. Until now, the tasks in 'Similar Jobs' were ordered by
the task's start time which was confusing if tasks had been requested to run
again ("retrigger") because the list jumped between pushes. With the new order
by pushes, issues can be more easily associated with a push/check-in.

The downside is that infrastructure related issues are harder to spot but in
general these don't affect only one kind of task (which the 'Similar Jobs' tab
focuses on).
2020-04-06 15:30:00 -07:00
Cameron Dawson 9652c11aa9
Bug 1627088 - Rename known intermittents to known issues (#6267) 2020-04-06 08:19:55 -07:00
octavian-negru cdfc42dbc8
Bug 1625454 - Signature unique constraint should include application field 2020-04-06 10:33:15 +03:00
Cameron Dawson ec0e79a8ba
Bug 1625998 - Filter failed builds/linting for parent push (#6243) 2020-04-03 16:04:31 -07:00
KWierso a544070cd3
Bug 1613607 - Remove the Trigger All Talos Jobs menu option and backing code (#6237) 2020-04-03 15:50:16 -07:00
Sarah Clements 29ffbe0ae2
Revert "Run markdown checks in Travis and add it as a pre-commit hook (#6236)" (#6269)
This reverts commit bf67e894b7.
2020-04-03 16:41:16 -04:00
Sarah Clements 77bf3ab9a2
Bug 1603249 - Use taskcluster API to fetch artifacts in UI (#6242)
This is part 1 of this bug and only makes changes to how JobDetails API
is used in the UI to retrieve uploaded artifacts. It updates ReplicatesGraph,
DetailsPanel, UnsupportedJob and LogViewer App. Adds helpers and updates tests.
2020-04-03 11:38:27 -07:00
Sarah Clements 44cac62dad
Add task_id and retry_id to project bound Jobs API (#6250) 2020-04-03 10:21:08 -07:00
Simon Sapin 55a9044ae6
Add another branch tracked for the `servo-try` tree (#6265) 2020-04-03 10:56:45 -04:00
Armen Zambrano 13c1fc851d
Bug 1626914 - Make Review Apps use Pulse credentials secret (#6241)
* Bug 1626914 - Make Review Apps use Pulse credentials secret

In the beginning of the Heroku Review Apps it made sense to create a user/password that was shared accross apps and be publicly available (since each app would generate their own random queue names).

Unfortunately, last night, I saw a lot of alerts for queues that were overgrowing. We recently
landed some code that should be deleting queues once there are no consumers (which was not happening). This could be because we had a Review app from a long time ago create lots of queues that were not auto-deleted or someone locally is doing development with the shared credentials unknowingly creating many queues.

Either way, the new Heroku Review apps allow defining config variables (secrets) at the pipeline level and are injected in the Review apps upon creation.

I've reset the treeherder-shared-pulse-user password and created a PULSE_URL config var with the new password.

* Checking for NEW_RELIC_INSIGHTS_API_KEY prevents review apps from releasing
2020-04-03 10:28:48 -04:00
Shubham Kumar bf67e894b7
Run markdown checks in Travis and add it as a pre-commit hook (#6236)
Closes #6185 

- Add markdownlint default rules
- Add `pre-commit` in `dev.txt` with proper hashing required when running Travis
- Add hook in `.pre-commit-config.yaml`
- Refer [here](https://github.com/igorshubovych/markdownlint-cli) for documentation
2020-04-03 09:50:26 -04:00
Shubhank Saxena 1803da966d
Codecov: Show UI coverage as subproject and require minimum coverage (#5922) 2020-04-03 09:40:55 -04:00
Alexandru Irimovici eff90b1972
Bug 1618840 - Create secretary tool for PerfSheriffBot 2020-04-03 16:20:52 +03:00
octavian-negru c4f48d86e7
Bug 1625451 - Provide default for application field 2020-04-03 09:15:25 +03:00
Edwin Takahashi bb75c0d22f
Bug 1620326 - add pretty label for linux1804-64-tsan (#6184) 2020-04-02 10:21:15 -07:00
Armen Zambrano 4a76bc3ae4
Automatically assign code reviewers for some code paths (#6207)
Contributors even with 'Read' access cannot ask a reviewer on PRs.

Using CODEOWNERS enables automatic review request when the file paths match.

More info found in here:
https://help.github.com/en/github/creating-cloning-and-archiving-repositories/about-code-owners
2020-04-02 11:44:09 -04:00
Armen Zambrano G 8693fa6a4c Revert "Update dependency json-e to v4 (#6147)"
This reverts commit 48365dc1c8.
2020-04-02 11:22:01 -04:00
Armen Zambrano G 9a0eb7abba Revert "Update dependency taskcluster-lib-scopes to v11 (#6027)"
This reverts commit f883c78307.
2020-04-02 10:15:32 -04:00
octavian-negru f5b0a19101
Bug 1625450 - Default application field to unspecified or empty string 2020-04-02 10:55:01 +03:00
ssalarda 50ccb13b5c
Update README.md (#5678) 2020-04-01 18:58:06 -04:00
Kyle Lahnakoski 0fe0362759
Use pip-tools for requirements (#6140)
* update imports, add pip-tools

* first compiled output

* add *.in files (copy of *.txt)

* common.txt from master

* update *.in

* allow upgrade on big-query requirements.txt

* run --upgrade

* example upgrade

* docs

* fix install order

* show how to slim requirements/common.in

* isort

* slim common.in

* isort

* run pip-compile

* fix formatting

* ensure requirements/common.txt is installed last

Co-authored-by: Kyle Lahnakoski <kyle@lahnakoski.com>
2020-04-01 08:15:15 -04:00