← Back to team overview

launchpad-reviewers team mailing list archive

[Merge] lp:~twom/lpbuildbot/always-cleanup-lxd into lp:lpbuildbot

 

Tom Wardill has proposed merging lp:~twom/lpbuildbot/always-cleanup-lxd into lp:lpbuildbot.

Commit message:
Always run final lxd cleanup

Requested reviews:
  Launchpad code reviewers (launchpad-reviewers)

For more details, see:
https://code.launchpad.net/~twom/lpbuildbot/always-cleanup-lxd/+merge/398118
-- 
Your team Launchpad code reviewers is requested to review the proposed merge of lp:~twom/lpbuildbot/always-cleanup-lxd into lp:lpbuildbot.
=== modified file 'master.cfg'
--- master.cfg	2021-01-27 18:02:43 +0000
+++ master.cfg	2021-02-16 15:05:51 +0000
@@ -154,6 +154,13 @@
             },
             command='testr run --parallel --concurrency=10 --subunit --full-results | subunit-2to1',
             workdir="{}/devel".format(tree)))
+    fac.addStep(lpbuildbot.shell.ShellCommand(
+        name="lp-setup-lxd-cleanup final",
+        command=['/usr/bin/lp-setup-lxd-cleanup', container],
+        description=['cleanup','previous','lxd','containers'],
+        descriptionDone=['cleaned','previous','lxd','containers'],
+        workdir="{}/devel".format(tree),
+        alwaysRun=True))
     return f
 
 from buildbot.config import BuilderConfig


Follow ups