Open Bug 1557188 Opened 5 years ago Updated 3 years ago

Remove root requirement for run-task tasks on bitbar

Categories

(Infrastructure & Operations :: RelOps: Hardware, enhancement)

enhancement
Not set
normal

Tracking

(Not tracked)

ASSIGNED

People

(Reporter: kats, Assigned: aerickson)

References

Details

Currently to access the android device via adb on bitbar, a run-task task needs to run with root privileges. I'm adding such a task in bug 1555479. This is a follow-up to make it not require root privileges. Per Andrew at https://phabricator.services.mozilla.com/D33408 this should be doable by chmodding the /dev device at the right place.

Bug 1525373 has a patch to make run-task work without dropping privileges. It's been blocked on bug 1547903 for a while, but hopefully, it should finally happen.

Assignee: nobody → aerickson
Type: task → enhancement

I've done some initial work on this in https://github.com/bclary/mozilla-bitbar-docker/pull/27, but it didn't end up working (tests couldn't find the device).

Next steps: Create an image with more debugging so I can check the permissions and what devices are present.

Status: NEW → ASSIGNED
Component: Task Configuration → RelOps: Hardware
Product: Firefox Build System → Infrastructure & Operations
You need to log in before you can comment on or make changes to this bug.