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

32 Коммитов

Автор SHA1 Сообщение Дата
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