* For Heroku Review Apps define tasks defaulting to the Firefox CI Taskcluster instance
The Pulse sources are configured differently on Heroku Review Apps because `PULSE_PUSH_SOURCES` and `PULSE_TASK_SOURCES` are defined as arrays rather than a string.
This is because `app.json` is a Json file and we cannot specify an array by mixing single & double
quotes.
* Bump the Redis and JawsDB add-ons to handle load
* Remove ingesting android-components as it causes noise
* Default LOGGING_LEVEL to INFO as we can handle the extra logging
For Heroku Review apps, we're trying to use a small database plan (with limited
number of collections allowed) and a small number of workers processing tasks
in order to reduce the cost of the app.
Using the PROJECTS_TO_INGEST variable we can define a small number of repos to
pay attention to and discard all other tasks.
You can remove PROJECTS_TO_INGEST to go back to using a normal ingestion behaviour.
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.
Some workers are set to 0 dynos so we only focus on ingesting pushes and tasks. Nevertheless,
the number of workers can be adjusted after the review app is created. The current settings
are to get us the minimum amount of functionality for the app and the minimum throughput
for the queues not to backlog.
* 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
The beta release-phase feature is making a backwards incompatible change
today - moving from an app.json (and corresponding buildpack) approach
to specifying a `release` Procfile entry that blocks the app deploy.
For more info, see:
https://devcenter.heroku.com/articles/release-phase?preview=1