If you think a bug might affect users in the 57 release, please set the correct tracking and status flags for Release Management.

Set up an AutolandDB for holding state during auto/assisted branch landings

RESOLVED FIXED

Status

Release Engineering
General
RESOLVED FIXED
6 years ago
5 months ago

People

(Reporter: lsblakk, Assigned: mjessome)

Tracking

Firefox Tracking Flags

(Not tracked)

Details

Attachments

(1 attachment)

See https://wiki.mozilla.org/BugzillaAutoLanding for details and objects/tables

We'll use this to keep track of any pushes that are currently being run which were triggered by the autoland system and once the autoland cycle for a push is complete it no longer needs to be in this db. The schedulerdb and the bug will be the permanent record for the push.
(Reporter)

Comment 1

6 years ago
In terms of setting this up - you can work locally as we pull all the components together and get a staging env. set up. The deiverable for this bug should be an sql file that we can land which will set up the db & tables needed.
(Reporter)

Comment 2

6 years ago
(In reply to comment #1)
> The deliverable, even
> that we can land (in hg.m.o/build/...)
(Assignee)

Comment 3

6 years ago
This is currently implemented and has been in working condition for a fair amount of time.
Next action is to have the database store a full history of landings.
(Reporter)

Updated

6 years ago
Blocks: 740425
(Assignee)

Comment 4

6 years ago
Created attachment 618372 [details] [diff] [review]
Completed Table v1

Add a table to hold completed jobs. This also stores a status field to inform of the termination status of the job.
Attachment #618372 - Flags: review?(lsblakk)
(Reporter)

Comment 5

6 years ago
Comment on attachment 618372 [details] [diff] [review]
Completed Table v1

nice. my only concern, for longevity, is that this is a sqlite db - so perhaps we could have a cronjob that does regular backups of this file?
Attachment #618372 - Flags: review?(lsblakk) → review+
Product: mozilla.org → Release Engineering
Found in triage.
Component: Other → Tools
This is implemented in the new version.
Status: NEW → RESOLVED
Last Resolved: 4 years ago
Resolution: --- → FIXED
Component: Tools → General
Product: Release Engineering → Release Engineering
You need to log in before you can comment on or make changes to this bug.