Closed
Bug 1649562
Opened 6 years ago
Closed 3 years ago
test-action-callback executed locally defaults to mozilla-central making local development hard
Categories
(Firefox Build System :: Task Configuration, enhancement)
Firefox Build System
Task Configuration
Tracking
(Not tracked)
RESOLVED
WONTFIX
People
(Reporter: armenzg, Unassigned)
Details
While doing development for the new backfill action I determined that calling ./mach test-action-callback always defaults to central even if the task or task-group you want to act on belongs to a different repo.
In order to handle this I added some code snippet in the action itself to support local development.
We should move this to somewhere more central.
task = get_task_definition(task_id)
# This helps with local development since the default parameters passed are not associated to
# the task. It works as expected in production
if not os.environ.get('TASKCLUSTER_PROXY_URL'):
# If the user does not specify the task group id then extract it from the task id
if not task_group_id:
task_group_id = task['taskGroupId']
parameters = get_parameters(task_group_id)
Comment 1•3 years ago
|
||
I don't think we'll get around to this. Likely it will only be fixed the next time someone runs into this pain, at which point the chances of them finding a bug are small and they'll likely come up with their own workaround.
Status: NEW → RESOLVED
Closed: 3 years ago
Resolution: --- → WONTFIX
You need to log in
before you can comment on or make changes to this bug.
Description
•