Closed Bug 882032 Opened 13 years ago Closed 10 years ago

Don't push partner builds to releases/ for betas

Categories

(Release Engineering :: Release Automation, defect, P3)

x86
All

Tracking

(Not tracked)

RESOLVED FIXED

People

(Reporter: nthomas, Unassigned)

References

Details

(Whiteboard: [kanban:engops:https://mozilla.kanbanize.com/ctrl_board/6/2068] )

Attachments

(1 file)

We don't need to push into firefox/releases/ on ftp, we just want to create the repacks for testing purposes.
This and bug 882031 makes me wonder if we should have a general "dry run" mode for partner repacks. In my head, that would simply do partner repacks but never upload them. AIUI, we don't care much about the resulting builds. They'd still be available on the machines that did them if we needed them for some reason, though. If there's a general use case for uploading them, we could still do that, and adjust the push to mirrors builder to fix this bug. Coop, Kim - does the above seem reasonable? Can we get away with not uploading the builds?
Flags: needinfo?(kmoir)
Flags: needinfo?(coop)
It seems reasonable to me. This would allow us to test the partner repacks build process before an actual beta.
Flags: needinfo?(kmoir)
(In reply to Ben Hearsum [:bhearsum] from comment #1) > Coop, Kim - does the above seem reasonable? Can we get away with not > uploading the builds? Yes, I'm fine with this.
Flags: needinfo?(coop)
OK, this is pretty easy to do then. Here's a rough outline: * Create a new variable in mozilla-release config template called 'partnerUploadDir' (or something similar). * Pass it down to the PartnerRepackFactory in release.py (https://github.com/mozilla/build-buildbotcustom/blob/master/process/release.py#L1017) * Guard the call to uploadPartnerRepacks behind an 'if partnerUploadDir': https://github.com/mozilla/build-buildbotcustom/blob/master/process/factory.py#L6422 I think that should be it...needs to be tested though, of course.
Summary: Don't push EUBallot builds to releases/ for betas → Don't push partner builds to releases/ for betas
I'd really like for this to get fixed soon. It's a regression from bug 865706.
Severity: normal → major
Attached patch terrible hack — — Splinter Review
This is an awful hack, but it works. It also prevents empty contrib* dirs from being created, which I don't know if we can live with.
Attachment #774731 - Flags: review?(nthomas)
Comment on attachment 774731 [details] [diff] [review] terrible hack >diff --git a/scripts/release/stage-tasks.py b/scripts/release/stage-tasks.py >- rsync_cmd = ['rsync', '-av'] >+ rsync_cmd = ['rsync', '-avm'] This might result in a bug from the Solaris folks if they can't push builds into releases after us, but lets deal with that if it happens. eg do a |if 'b' in version| test and append 'win32-EUballot/' to one of the excludes lists.
Attachment #774731 - Flags: review?(nthomas) → review+
Comment on attachment 774731 [details] [diff] [review] terrible hack Thanks. The last time we got solaris builds was 22.0b6, and we got them in the candidates dir: https://ftp.mozilla.org/pub/mozilla.org/firefox/candidates/22.0b6-candidates/build1/contrib/ So here's hoping this won't cause a problem!
Attachment #774731 - Flags: checked-in+
Status: NEW → RESOLVED
Closed: 13 years ago
Resolution: --- → FIXED
Depends on: 903111
Product: mozilla.org → Release Engineering
Attachment #774731 - Flags: checked-in+ → checked-in-
When we try this again we need to make sure not to cause another instance of bug 903111.
Status: RESOLVED → REOPENED
Resolution: FIXED → ---
Clearly we're not going to get to this soon :(
Priority: -- → P3
Whiteboard: [kanban:engops:https://mozilla.kanbanize.com/ctrl_board/6/2059]
Whiteboard: [kanban:engops:https://mozilla.kanbanize.com/ctrl_board/6/2059] → [kanban:engops:https://mozilla.kanbanize.com/ctrl_board/6/2068]
I think this is done now
Status: REOPENED → RESOLVED
Closed: 13 years ago → 10 years ago
Resolution: --- → FIXED
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: