← Back to team overview

canonical-ci-engineering team mailing list archive

Re: Jenkins jobs for older releases

 

RT 63953 (which was marked as resolved on September 11th) requested that
the database associated with http://reports.qa.ubuntu.com and
local_settings.py be added to the backup schedule.

~w

On 10/23/2013 12:02 PM, Chris Johnston wrote:
> We need to ensure that the dashboard DB is being backed up please.
>
>
> On Wed, Oct 23, 2013 at 11:26 AM, Andy Doan <andy.doan@xxxxxxxxxxxxx
> <mailto:andy.doan@xxxxxxxxxxxxx>> wrote:
>
>     On 10/23/2013 10:13 AM, Paul Larson wrote:
>
>         I don't see any reason to keep them, and archiving/removing
>         them would
>         probably be good for the overall health of jenkins. Larry, is
>         there a
>         best practice for doing this? I would think just backup the job
>         directories, remove them, and restart jenkins? We could, of
>         course,
>         remove them through the jenkins api also, but rm/restart may
>         be quite a
>         bit faster.
>
>
>     We could probably write a groovy script for jenkins that takes in
>     a list of regexes. Then for each job that matches on of the regexs we:
>
>       copy to a backup directory
>       delete the job
>
>     This is probably slow but has 2 nice benefits:
>
>     1) easy to test. we could make the script do a dry run the first time
>
>     2) eliminates downtime
>
>     -andy
>
>
>     -- 
>     Mailing list: https://launchpad.net/~canonical-ci-engineering
>     <https://launchpad.net/%7Ecanonical-ci-engineering>
>     Post to     : canonical-ci-engineering@xxxxxxxxxxxxxxxxxxx
>     <mailto:canonical-ci-engineering@xxxxxxxxxxxxxxxxxxx>
>     Unsubscribe : https://launchpad.net/~canonical-ci-engineering
>     <https://launchpad.net/%7Ecanonical-ci-engineering>
>     More help   : https://help.launchpad.net/ListHelp
>
>
>
>
> -- 
> Chris Johnston <chris.johnston@xxxxxxxxxxxxx
> <mailto:chris.johnston@xxxxxxxxxxxxx>>
> Software Engineer - Canonical Ltd.
> www.ubuntu.com <http://www.ubuntu.com>



Follow ups

References