firefox-android: Migrate android-components jobs on PR
Categories
(Release Engineering :: General, task)
Tracking
(Not tracked)
People
(Reporter: jlorenzo, Assigned: gbrown)
References
Details
We should leverage what was done in bug 1783690 and use it to make pull requests graphs green.
| Reporter | ||
Updated•3 years ago
|
| Reporter | ||
Comment 1•3 years ago
|
||
⚠️ I had to deactivate PRs when dealing with bug 1783690, since graphs were still red. Re-enabling them should be a matter of reverting this commit[1]
[1] https://github.com/mozilla-mobile/firefox-android/commit/68fecc0752b3c3adc66ebff89e528dddefbd1d77
| Reporter | ||
Updated•3 years ago
|
| Assignee | ||
Comment 2•3 years ago
|
||
https://github.com/mozilla-mobile/firefox-android/pull/5
https://firefox-ci-tc.services.mozilla.com/tasks/Vt9EhL40Q-K2p-kqn7Dqeg/runs/0/logs/public/logs/live.log
triggers a scopes error: missing queue:route:tc-treeherder.v2.firefox-android.git-pr.bff15feedf507ebd8a67cf1d6e851e59cf2285bd.0
but comparing firefox-android and android-components, the routes and scopes for the Decision tasks are the same.
| Reporter | ||
Comment 3•3 years ago
|
||
Oh, I see what's wrong! It's subtle. The called out "missing" scope is queue:route:tc-treeherder.v2.firefox-android.git-pr.{rev}.0. Note the .git part.
ci-configuration grants queue:route:tc-treeherder.v2.firefox-android-pr.*[1]. .git isn't present in the scope.
As you said, android-components declares the same scope[2]. So the problem is not on the ci-configuration side. The fact that the firefox-android repo is private forces us to use the SSH URL which ends in .git. I don't know where but I wouldn't be surprised if somewhere in taskgraph or in firefox-android, a function assumes that the name of the repo is the end of git@github.com:mozilla-mobile/firefox-android.git no matter if it ends with .git or not.
[1] https://firefox-ci-tc.services.mozilla.com/auth/roles/repo%3Agithub.com%2Fmozilla-mobile%2Ffirefox-android%3Apull-request
[2] https://firefox-ci-tc.services.mozilla.com/auth/roles/repo%3Agithub.com%2Fmozilla-mobile%2Fandroid-components%3Apull-request
| Assignee | ||
Comment 4•3 years ago
|
||
Yes, that's the difference! Thanks!
| Assignee | ||
Comment 5•3 years ago
|
||
| Assignee | ||
Updated•3 years ago
|
| Reporter | ||
Comment 6•3 years ago
|
||
Mass edit: The move to the monorepo was officially announced 2 days ago[1]. No need to keep these tickets confidential anymore.
[1] https://github.com/mozilla-mobile/android-components/issues/12751
| Reporter | ||
Updated•3 years ago
|
| Comment hidden (collapsed) |
Description
•