Closed
Bug 526495
Opened 16 years ago
Closed 15 years ago
Support for special tag in commit message that will prevent builds from being triggered
Categories
(Release Engineering :: General, defect, P5)
Tracking
(Not tracked)
RESOLVED
FIXED
People
(Reporter: catlee, Assigned: catlee)
References
Details
(Whiteboard: [automation])
Attachments
(1 file)
945 bytes,
patch
|
nthomas
:
review+
catlee
:
checked-in+
|
Details | Diff | Splinter Review |
There are some cases where we don't want to trigger a build on a checkin.
If a commit message contains the string "DONTBUILD", for example, we could skip triggering a build. buildbot's fileIsImportant function may be able to do this, or it could be done in the hg poller.
Updated•16 years ago
|
Component: Release Engineering → Release Engineering: Future
Comment 1•16 years ago
|
||
Mass move of bugs from Release Engineering:Future -> Release Engineering. See
http://coop.deadsquid.com/2010/02/kiss-the-future-goodbye/ for more details.
Component: Release Engineering: Future → Release Engineering
Priority: -- → P3
Updated•15 years ago
|
Priority: P3 → P5
Whiteboard: [automation]
Updated•15 years ago
|
Assignee: nobody → nrthomas
Comment 2•15 years ago
|
||
What sort of use cases are left for this now that bug 466931 is resolved ?
Comment 3•15 years ago
|
||
eg comment/whitespace fixes were builds are a waste of CPU. Relevant code is at
http://hg.mozilla.org/build/buildbotcustom/file/default/misc.py#l94
Assignee | ||
Comment 4•15 years ago
|
||
Assignee | ||
Comment 5•15 years ago
|
||
Needs testing, but I think this should work
Attachment #489036 -
Flags: review?(nrthomas)
Comment 6•15 years ago
|
||
Comment on attachment 489036 [details] [diff] [review]
Don't trigger builds when comments contain DONTBUILD
Looks likely to work.
Attachment #489036 -
Flags: review?(nrthomas) → review+
Assignee | ||
Comment 7•15 years ago
|
||
Local tests work. This just needs a reconfig on the main scheduler master.
Flags: needs-reconfig?
Assignee | ||
Comment 9•15 years ago
|
||
Comment on attachment 489036 [details] [diff] [review]
Don't trigger builds when comments contain DONTBUILD
changeset: 1112:73d884fd7472
Attachment #489036 -
Flags: checked-in+
Assignee | ||
Updated•15 years ago
|
Status: NEW → RESOLVED
Closed: 15 years ago
Resolution: --- → FIXED
Comment 10•15 years ago
|
||
(In reply to comment #3)
> eg comment/whitespace fixes were builds are a waste of CPU. Relevant code is at
> http://hg.mozilla.org/build/buildbotcustom/file/default/misc.py#l94
I'd say most of the time we do comment/whitespace fixes it's *because* we want builds.
Comment 11•15 years ago
|
||
(In reply to comment #10)
> I'd say most of the time we do comment/whitespace fixes it's *because* we want
> builds.
So? When that's the case, the pusher clearly doesn't want to make use of this new keyword. :)
I think this is more for cases like "Oops, the patch I just pushed had a typo in its comment. Let me fix that in a quick followup [without triggering >100 more CPU-hours of builds/unittests]"
Comment 12•15 years ago
|
||
Does this work for multiple changesets the same way CLOSED TREE does? I.e., if there are multiple changesets and one contains the work DONTBUILD, is is supposed to build or not?
Assignee | ||
Comment 13•15 years ago
|
||
(In reply to comment #12)
> Does this work for multiple changesets the same way CLOSED TREE does? I.e., if
> there are multiple changesets and one contains the work DONTBUILD, is is
> supposed to build or not?
Any new cset that doesn't have DONTBUILD will trigger a build.
Comment 14•15 years ago
|
||
To be a little more specific: if a push has any normal (non-DONTBUILD) changesets, then it will get a build, and that build will be triggered for the latest changeset in the push, even if that latest changeset had DONTBUILD in its commit message.
(I just verified the above with this mixed normal/DONTBUILD push:
http://hg.mozilla.org/mozilla-central/pushloghtml?changeset=f4fc9593ca7d )
Comment 15•15 years ago
|
||
tbpl reports builds for http://hg.mozilla.org/mozilla-central/rev/4273e6a3cd49.
Comment 16•15 years ago
|
||
just to save duplicate work: http://build.mozilla.org/builds/running.html agrees with comment 15 -- it shows builds running for Axel's "DONTBUILD" cset, 4273e6a3cd49.
That problem probably wants a followup bug, though, right? I've confirmed that DONTBUILD does *sometimes* work (or at least did last Friday), so I think reopening this bug here would be overkill.
Assignee | ||
Comment 17•15 years ago
|
||
These are all instances of bug 613429.
Once the builds are finished they'll show up in the right place.
Comment 18•15 years ago
|
||
http://tbpl.mozilla.org/?tree=Mobile actually shows completed builds for that sourcestamp.
Assignee | ||
Comment 19•15 years ago
|
||
(In reply to comment #18)
> http://tbpl.mozilla.org/?tree=Mobile actually shows completed builds for that
> sourcestamp.
Ok, that's a real bug :)
Status: RESOLVED → REOPENED
Resolution: FIXED → ---
Assignee | ||
Comment 20•15 years ago
|
||
(In reply to comment #19)
> (In reply to comment #18)
> > http://tbpl.mozilla.org/?tree=Mobile actually shows completed builds for that
> > sourcestamp.
>
> Ok, that's a real bug :)
...which I'm tempted to leave for now. The mobile stuff is still on older systems, which don't get change comments directly.
Assignee | ||
Updated•15 years ago
|
Flags: needs-reconfig?
Assignee | ||
Comment 21•15 years ago
|
||
The mobile code is being ported forward to 0.8, at which point it will inherit this behaviour.
If it's urgent that we support this now for mobile, let's open another bug.
Status: REOPENED → RESOLVED
Closed: 15 years ago → 15 years ago
Resolution: --- → FIXED
Comment 22•15 years ago
|
||
Builds were run for commit http://hg.mozilla.org/mozilla-central/rev/0474f6b72e6e which specified DONTBUILD. Strange...
Assignee | ||
Comment 23•15 years ago
|
||
(In reply to comment #22)
> Builds were run for commit
> http://hg.mozilla.org/mozilla-central/rev/0474f6b72e6e which specified
> DONTBUILD. Strange...
The linux nightly build was manually triggered.
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
•