local treeherder development instance should only proxy API requests if configured for it, .env file with only PROJECTS_TO_INGEST set should yield Treeherder frontend without pushes
Categories
(Tree Management :: Treeherder: API, defect)
Tracking
(Not tracked)
People
(Reporter: aryx, Unassigned)
Details
Attachments
(1 file)
Launching Treeherder in the local development environment always shows pushes and tasks now. A common workflow of mine is to let Treeherder only ingests pushes and tasks needed for development (e.g. to test changes related to log parsing or classification).
.env
file:
PROJECTS_TO_INGEST=autoland,try
TLS_CERT_PATH=deployment/gcp/ca-cert.pem
With
IGNORE_PULSE_URL=amqp://...
set,
a) many tasks got immediately reported as getting ingested
b) there were errors about that my credentials lack the permission to get data from community (but autoland and try are on the firefoxci taskcluster instance).
Bastien, should data only be proxied if DATABASE_URL=
is set and that instance used? Else if treeherder.mozilla.org gets used, could there be a switch which turns this off? There is also the concern if some tasks get ingested locally and others not: what are queries for the list of tasks supposed to use as data source?
Comment 1•2 years ago
|
||
I think we lost a feature while removing neutrino that loaded different "environment" variables, either from:
--env.X=Y
on cli.env
file
To restore that, we need to add dotenv, I'll make a PR for that (or Valentin)
Comment 2•2 years ago
|
||
Description
•