(In reply to Dustin J. Mitchell [:dustin] (he/him) from comment #2)
OK! Here's what I think needs to happen, based on our conversations and some judicious application of
Set up a
wpt project in https://github.com/mozilla/community-tc-config/
- provisionerId -> proj-wpt
- workerType -> ci
QUEUE_BASE can be replaced with a calculation based on TASKCLUSTER_ROOT_URL, which is automatically supplied within a running task. Taskcluster-lib-urls could do this, but it appears that
tools/ci is dependency-free, so I'll just duplicate the logic. It's very simple, and will get a whole lot simpler after November 9 when taskcluster.net is no longer a going concern.
tools/wpt/browser.py look similar, but I can't tell if these are run in a task or not. If not, what would be the best way to figure out the rootUrl, or should we just land a hard-coded change to the rootUrl when we make the switch?
Those don't necessarily run in a task (although they do also run in tasks). For
browser.py we don't want the instance for the task anyway, we want the instance that gecko's using since we're downloading artifacts from mozilla-central. I think a hardcoded change there once gecko switches is fine (we don't care much about historical artifacts and don't use the android bits in CI anyway).
tcdownload.py is afaik not used in a task at the moment and is just for interactive fetching of artifacts. I don't know if there's some clever way to look this up based on the supplied repo, but just hardcoding here probably isn't too bad. We could probably also switch this to use the taskcluster library (there's a PR to create a decision task that makes this stuff depend on the taskcluster library).
I see a
wpt-actions-test repo, but that looks like a fork of
wpt presumably to test GH actions, so I will leave it alone. Have I missed anything else? I'm not sure what I meant about "custom workers" above!
We were talking about adding bare metal instances to the repo for running the android emulator, but I've been waiting on this switch to happen to push on that.
Given answers to those questions, I'll submit PRs for all of the above.
Once those are merged, and before November 9, someone with permissions (not me):
I can be responsible for that.