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

50 Коммитов

Автор SHA1 Сообщение Дата
renovate[bot] b70d3b3f2b
Update Node.js to v16 (#7136)
* Update Node.js to v16

* update node version

Co-authored-by: Renovate Bot <bot@renovateapp.com>
Co-authored-by: Sarah Clements <sclements313@gmail.com>
2021-08-16 19:51:06 +01:00
Sarah Clements 7cb8d8abe7
heroku cleanup (#7219)
* update dockerfile and remove post_compile
* remove redis heroku ref
* update middleware and CSP
* remove irrelevant test and script references to heroku
remove tox heroku command from circleCI config
* remove get_tls_redis_url and reconfigure default TLS_PATH_CERT in docker file
2021-08-16 14:49:07 +01:00
renovate[bot] af77d786e0
Update redis Docker tag to v6 (#7141)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2021-08-05 15:16:22 +01:00
Sarah Clements 091d422ca0
Make changes to docs (#7184)
* Make changes to docs
* Add cert for prototype connections
* Add TLS_CERT_PATH variable to docker yaml file
* Change troubleshooting and database sections of docs
2021-06-22 16:49:41 -07:00
Sarah Clements 0b4602c8a3
Improvements to ingesting data locally - doc and docker changes (#7134)
* Update docker-shared-user for pulse_url and add PROJECTS_TO_INGEST to backend container
* Update docs to make them clearer
* Fix exception caught in pytest.raises
2021-05-13 14:20:07 -07:00
Sarah Clements 4a656b41af
Revert "Bug 1626746 - Push health use mozci on backend (#6763)" (#7133)
This reverts commit fcb29158eb.
2021-05-06 19:15:46 -07:00
Cameron Dawson fcb29158eb
Bug 1626746 - Push health use mozci on backend (#6763)
* Switch test logic to use mozci for regressions
* bump timeout on web node to give leeway for longer-running queries
* make changes to mozci config file
* fix duplicate jobs in unstructured logs bug
* Use mozci labels to increase accuracy of build failures
* Combine duplicate health and health_summary API logic into helper function
* Expand mozci to query groups and labels
* clean up get_commit_history and CommitHistory component
* refactor lints and builds to use same jobs
* get_test_failure_jobs refactor to remove extra query
* refactor get_test_failures to utilize existing data
* only return what we need from Job query
* fix JS tests and cleanup console warnings
fix python push health lint, test and build tests
* expand exception handling and add logging in get_commit_history
add logging to _get_failure_data
* Add separate mozci config file for local development
* upgrade mozci to 2.0.0


Co-authored-by: Cameron Dawson <cdawson@mozilla.com>
Co-authored-by: Sarah Clements <sclements313@gmail.com>
2021-05-03 16:22:59 -07:00
Renovate Bot 8a295084bc Update redis Docker tag to v5.0.12 2021-05-03 04:43:41 +00:00
Renovate Bot 5bc38f8e8d Update mysql Docker tag to v5.7.34 2021-04-26 02:57:34 +00:00
renovate[bot] dc78379d17
Update Node.js to v14 (#7063)
* update node in docker files
* update docker image to avoid yarn error


Co-authored-by: Renovate Bot <bot@renovateapp.com>
Co-authored-by: Sarah Clements <sclements313@gmail.com>
2021-04-07 11:59:29 -07:00
ionutgoldan e75cc68750
Bug 1702720 - Fix email formatting in Sherlock 2021-04-07 10:58:12 +03:00
Renovate Bot d6937c2c0c Update mysql Docker tag to v5.7.33 2021-02-03 12:22:53 +00:00
Cameron Dawson 9908f72189
Bug 1576966 - Convert last Selenium tests to React Testing Library (#6928) 2020-12-21 12:54:07 -08:00
Renovate Bot 71977ab05a Update redis Docker tag to v5.0.10 2020-11-02 03:04:54 +00:00
Renovate Bot 2d00e4c19f Update mysql Docker tag to v5.7.32 2020-10-26 02:05:05 +00:00
Sarah Clements 3ee782990d
Revert "Local dev: Skip ingesting if pointing to an RDS DB (#6476)" (#6733)
This reverts commit d858e99868.
2020-08-24 11:24:18 -07:00
Armen Zambrano d858e99868
Local dev: Skip ingesting if pointing to an RDS DB (#6476) 2020-08-24 09:54:25 -07:00
Renovate Bot d025e5851d Update mysql Docker tag to v5.7.31 2020-07-20 04:00:55 +00:00
Renovate Bot 30d11baf0b Update mysql Docker tag to v5.7.30 2020-05-11 05:13:26 +00:00
Renovate Bot 7db677a247 Update redis Docker tag to v5.0.9 2020-04-27 02:12:58 +00:00
Shubhank Saxena a5010d90f1
Docker: Use joint Pulse listener & unique queue name (#6288)
This change changes the Docker set up to use the new Pulse listener command that listens to both tasks and pushes instead of having two different ones.

This also adds a unique queue name. When running `docker-compose up` the Pulse listener will use a queue name that is the same for every developer running the listener. This means that all developers would be consuming from the same queue and stealing each other's Pulse messages. This change creates a unique name for each developer.

Co-authored-by: Armen Zambrano <armenzg@users.noreply.github.com>
2020-04-21 16:12:52 -04:00
Cameron Dawson 63646ad34e
Bug 1629139 - Update Pulse Docs and allow skip of ingestion (#6295) 2020-04-13 10:47:07 -07: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
Suyash Salampuria 2d02d95588
Bug 1607561 - Pulse ingestion: Auto delete queues if no consumers are left (#6117)
This does not apply to production Heroku apps.
2020-03-25 14:40:22 -04:00
Armen Zambrano 82430b5230
Fix failure to initialize docker-compose up (#6173)
`initialize_data.sh` calls exec in the last line, thus, it was trying to execute `&&`

```
backend     | /app/initialize_data.sh: line 11: exec: &&: not found
```
2020-03-23 11:55:49 -04:00
Armen Zambrano a3a50d4ccd
Travis: Run Python tests outside of Docker container (#5943)
* Add Travis job to run Python tests outside of Docker
* `runtests.sh` is renamed to `runchecks.sh` and it does not run Python tests
* `manage.py check --deploy` was duplicated in Travis
* Update testing documentation
* Remove `-bb` since it is not needed since Python 3.5
2020-03-20 14:58:11 -04:00
Sarah Clements fbd8c4cc23
Enable pdb in a docker container (#6159)
Add config changes to docker-compose file to support pdb and update docs
2020-03-19 11:07:31 -07:00
Renovate Bot 51b2e19f0d Update redis Docker tag to v5.0.8 2020-03-17 00:15:08 +00:00
Cameron Dawson 61ebbb30e8
Bug 1612229 - Push Health Usage Dashboard (#6137) 2020-03-16 14:25:11 -07:00
Armen Zambrano 24194441aa
Bug 1509181 - Github ingestion: Ingest pushes in the right order (#6070)
Git based projects can list pushes in the UI incorrectly. This can be caused by commits having been ammended on a PR or merges of old commits.

Using the committer's date (the date when the PR gets merged) instead of the author's date to determine push time fixes the sorting problem.

This change also includes:
* Support for manual ingestion of Git pushes
* Support for ingesting the latest commits for a repo
* Script to compare pushes between Treeherder instances

## Script to compare pushes between Treeherder instances

`compare_pushes.py` compares the last 50 pushes of various projects for different Treeherder instances. The output generates links to each instance and revision to visually compare.

```console
% ./misc/compare_pushes.py --projects android-components,fenix,reference-browser,servo-master,servo-auto,servo-try
Comparing android-components against production.
Comparing fenix against production.
Comparing reference-browser against production.
{"values_changed": {"root['push_timestamp']": {"new_value": 1582580346, "old_value": 1582581477}}}
https://treeherder.allizom.org/#/jobs?repo=reference-browser&revision=547a18b97534b237fa87bd22650f342836014c4e
https://treeherder.mozilla.org/#/jobs?repo=reference-browser&revision=547a18b97534b237fa87bd22650f342836014c4e
Comparing servo-master against production.
Comparing servo-auto against production.
Comparing servo-try against production.
```
2020-03-10 14:29:07 -04:00
octavian-negru cd5ac4f099
Bug 1618846 - Grab variables via Django’s settings.py 2020-03-09 09:08:50 +02:00
Kyle Lahnakoski 7f7ce81589
Support test environment outside of Docker container (#5716)
Work to support running Python tests outside of the Docker container.
This also helps with integration with IDEs and is prework for using Git hooks for precommit/prepush features.
2020-02-05 14:55:03 -05:00
Armen Zambrano cea5c06fc7
SETA related changes (#5851)
* Development Docker container to initialize data

`docker-compose up` will now initialize the data for the local database.
This will also include initializing SETA's data.

* Change SETA's logging level and preseed information

The preseed information was all for Buildbot
The logging level changes is in preparation for when production switching to INFO messages instead of WARNING

* Docker container to log INFO messages instead of DEBUG messages

`LOGGING_LEVEL` is now set for the Docker container and it sets the logging
to `INFO` instead of `DEBUG`. The Django app will still be initialize in
debug mode but the default logging will be informative messages.

You can still log debugging messages by setting `LOGGING_LEVEL=DEBUG` before
initializing the Docker container.
2020-01-22 14:28:18 -05:00
Renovate Bot ac3f763455 Update mysql Docker tag to v5.7.29 2020-01-20 03:14:56 +00:00
octavian-negru f4b554f3f7 Bug 1603084 - Make import_perf_data aware of BackfillReport and BackfillRecord 2020-01-13 11:26:06 +02:00
renovate[bot] 6ddb6270d6 Update Node.js (#5658) 2019-11-27 14:52:02 -05:00
renovate[bot] 0381315a9f Update redis Docker tag to v5.0.7 (#5670) 2019-11-22 08:59:03 -05:00
Renovate Bot 0a5f430e92 Update Node.js 2019-11-12 13:41:56 -05:00
Armen Zambrano G 37c96d328d Allow using PULSE_URL to define push_sources and task_sources
Defining PULSE_TASK_SOURCES and PULSE_PUSH_SOURCES is a bit of a nightmare
because `app.json` is a Json file and using double and single quotes for a
value in the file is impossible.
2019-11-12 09:09:10 -05:00
Renovate Bot 053d049a6b Update mysql Docker tag to v5.7.28 2019-10-16 09:23:11 -04:00
Renovate Bot dc1f3b5f11 Update Node.js 2019-10-16 09:09:53 -04:00
Dustin J. Mitchell 5684321c50 Bug 1574651 - ingest from multiple rabbitmq servers (#5399)
* Bug 1574651 - remove unused JobConsumer and related code

The `update_pulse_test_fixtures` management command listens for job
messages, so is of no use anymore.

* Bug 1574651 - refactor pulse listening to support multiple AMQP servers

This looks forward to supporting ingesting jobs and tasks from multiple
Taskcluster depoyments, each of which is on its own AMQP server (or, at
least, a vhost).

* Bug 1574651 - pass rootUrl from pulse to celery, verify against repository

When jobs and pushes are loaded, the repo's root URL is known.  This
just serves to ensure that the rootUrl for the repo and the rootUrl for
the event match up.

* Bug 1574651 - use root_url from message to make in-job URLs
* Bug 1574651 - update ingest-and-push-tasks to take --root-url
2019-10-10 16:53:18 -07:00
Renovate Bot 528f4d9039 Update Node.js to v12.11.1 2019-10-08 08:37:20 -04:00
Renovate Bot d127c82850 Update redis Docker tag to v5.0.6 2019-10-07 16:03:42 -04:00
Armen Zambrano G e02ebacaef Bug 1586777 - Upgrade to Node 12 2019-10-07 14:22:11 -04:00
renovate[bot] 072d858727 Merge pull request #5431 from mozilla/renovate/docker-rabbitmq-3.x
Update rabbitmq Docker tag to v3.8
2019-10-07 09:44:49 -04:00
Renovate Bot 27a684616c Update mysql Docker tag to v5.7.27 2019-07-24 13:54:32 -04:00
Renovate Bot 4f526ccc22 Update mysql Docker tag to v5.7.26 2019-05-28 10:40:28 -07:00
Renovate Bot fcef1275d3 Update redis Docker tag to v5.0.5 2019-05-28 10:40:05 -07:00
Armen Zambrano deaf8c850c Bug 1169263 - Switch from Vagrant to docker-compose (#4901)
* Change permissions for docker/entrypoint.sh
* Allow using Django in localhost
* Documentation changes
Allow running shellcheck tests
Use docker-compose for the Selenium tests
Install docs updates
Switch to yarn cache instead of npm
Install UI dependencies
* Add ability to override DATABASE_URL and use a .env file
2019-05-16 14:56:02 -07:00