Closed
Bug 606322
Opened 15 years ago
Closed 15 years ago
Create buildduty helpers for triggering builds/talos/tests on any branch
Categories
(Release Engineering :: General, defect, P2)
Tracking
(Not tracked)
RESOLVED
FIXED
People
(Reporter: lsblakk, Assigned: lsblakk)
Details
Attachments
(2 files)
|
4.06 KB,
patch
|
catlee
:
review+
lsblakk
:
checked-in+
|
Details | Diff | Splinter Review |
|
1.93 KB,
patch
|
catlee
:
review+
lsblakk
:
checked-in+
|
Details | Diff | Splinter Review |
Example is getting a bug like bug 606053 where you have 3 changesets * platforms * talos suites and that's a lot to go chasing around. In that particular case I chose to build sendchanges from following the Master link in the scheduler db for each platform, to get to the packageURL but to automate this we could use a script that can grab that link and troll it for the fileURL and packageURL (for unittests) and then build a sendchange out of that information.
| Assignee | ||
Updated•15 years ago
|
Assignee: nobody → lsblakk
Comment 1•15 years ago
|
||
The problem is determining what is the buildid for each platform because the revision the developer already gives it to us.
If we could have symlinks from changeset to the ftp location that would be great. Like tinderbox-builds/changesets/$changeset to the right tinderbox-builds/$branch-$platform/$buildid this problem could make this problem solvable.
Anways, what I want to say that we need to match a changeset/branch to an FTP location for every platform. The two ideas are the symlinking or pulling the ftp location out of the properties and/ord DBs we have.
Comment 2•15 years ago
|
||
Lets not call the epoch timestamps at tinderbox-builds/$branch-$platform buildid's, since buildid means YYYYMMDDHHSS. Other than that you're basically describing bug 584178.
| Assignee | ||
Comment 3•15 years ago
|
||
The great thing about this idea is that it uses schedulerdb to find the link to the page for that build on it's master, and you can grab fileURL and packageURL there so you don't even need to know the dir structure at all to be able to create a sendchange this way. You can just test that the links resolve (to be sure they are still up). We don't need buildid or epoch timestamps.
| Assignee | ||
Comment 4•15 years ago
|
||
and in case i wasn't clear enough - all you would need to run this helper script is the changeset, and then some flags for what platforms, talos, unittest you want to re-build/re-run
| Assignee | ||
Comment 5•15 years ago
|
||
tested on a local button while connected to build-vpn with a staging-master url successfully.
Attachment #486857 -
Flags: review?(catlee)
| Assignee | ||
Updated•15 years ago
|
Summary: create buildduty helper for triggering talos/unittests on branches → Create buildduty helpers for triggering builds/talos/tests on any branch
| Assignee | ||
Comment 6•15 years ago
|
||
<table>
<td><form method="post" action="http://staging-master.build.mozilla.org:8010/builders/Linux%20mozilla-central%20build/builds/244/rebuild" class="command rebuild"><input type="submit" value="rebuild"></form></td>
</table>
is what I tested.
Updated•15 years ago
|
Attachment #486857 -
Flags: review?(catlee) → review+
| Assignee | ||
Comment 7•15 years ago
|
||
Comment on attachment 486857 [details] [diff] [review]
adds a rebuild button to running/revision templates
http://hg.mozilla.org/build/buildapi/rev/44ea7d036c4a
Attachment #486857 -
Flags: checked-in+
| Assignee | ||
Comment 8•15 years ago
|
||
checked in a bustage fix for key errors on 'url':
http://hg.mozilla.org/build/buildapi/rev/71000b93d929
| Assignee | ||
Comment 9•15 years ago
|
||
turns out you can see this on the mirrored http://build.mozilla.org/builds/running.html page so instead of frustrating developers with this mirage...i took it out.
Attachment #487992 -
Flags: review?(catlee)
Updated•15 years ago
|
Attachment #487992 -
Flags: review?(catlee) → review+
| Assignee | ||
Comment 10•15 years ago
|
||
Comment on attachment 487992 [details] [diff] [review]
remove rebuild button from running template since it is public facing
http://hg.mozilla.org/build/buildapi/rev/fea5be7ad234
Attachment #487992 -
Flags: checked-in+
| Assignee | ||
Updated•15 years ago
|
Status: NEW → RESOLVED
Closed: 15 years ago
Resolution: --- → FIXED
Updated•12 years ago
|
Product: mozilla.org → Release Engineering
You need to log in
before you can comment on or make changes to this bug.
Description
•