Enable tree closure hook for services-central

VERIFIED FIXED

Status

VERIFIED FIXED
7 years ago
4 years ago

People

(Reporter: philikon, Assigned: dparsons)

Tracking

Details

(Whiteboard: [allhands])

We'd like to get the ability to close services-central when its "train" has left the station and is heading towards QA, to prevent checkins during the QA period.
Reassign back to Server-ops when the treeclosure hook is updated to include services-central so we can deploy it in prod.
Assignee: server-ops → nobody
Component: Server Operations → Release Engineering
QA Contact: mrz → release
Updated in http://hg.mozilla.org/hgcustom/hghooks/rev/ebea31cf1cc0
Assignee: nobody → server-ops
Component: Release Engineering → Server Operations
QA Contact: release → mrz
Ping?
Assignee: server-ops → dparsons
(Assignee)

Updated

7 years ago
Whiteboard: [allhands]
(Assignee)

Comment 4

7 years ago
cshields: similar to 664493, can you tell me if you think this is the correct approach?

Will add the below line to the [hooks] section in /repo/hg/mozilla/services/services-central/.hg/hgrc

pretxnchangegroup.a_treeclosure = python:mozhghooks.treeclosure.hook
Status: NEW → ASSIGNED
(Assignee)

Comment 5

7 years ago
Ok, this should now be done. Please test it and make sure it works the way you expect it to.
Status: ASSIGNED → RESOLVED
Last Resolved: 7 years ago
Resolution: --- → FIXED
(In reply to Dan Parsons [:lerxst] from comment #5)
> Ok, this should now be done. Please test it and make sure it works the way
> you expect it to.

Could you /msg or mail me the magic word?
Verified!

pushing to ssh://hg.mozilla.org/services/services-central/
searching for changes
42 changesets found
remote: adding changesets
remote: adding manifests
remote: adding file changes
remote: added 42 changesets with 248 changes to 209 files
remote: Tree services-central is CLOSED! (http://tinderbox.mozilla.org/Services-Central/status.html)
remote: To push despite the closed tree, include "CLOSED TREE" in your push comment
remote: transaction abort!
remote: rollback completed
remote: abort: pretxnchangegroup.a_treeclosure hook failed
Status: RESOLVED → VERIFIED
Product: mozilla.org → mozilla.org Graveyard
You need to log in before you can comment on or make changes to this bug.