← Back to team overview

launchpad-reviewers team mailing list archive

[Merge] ~jugmac00/lpcraft:add-note-about-containers-not-getting-deleted into lpcraft:main

 

Jürgen Gmach has proposed merging ~jugmac00/lpcraft:add-note-about-containers-not-getting-deleted into lpcraft:main.

Commit message:
Add note that containers will not be deleted automatically

Requested reviews:
  Launchpad code reviewers (launchpad-reviewers)

For more details, see:
https://code.launchpad.net/~jugmac00/lpcraft/+git/lpcraft/+merge/416086
-- 
Your team Launchpad code reviewers is requested to review the proposed merge of ~jugmac00/lpcraft:add-note-about-containers-not-getting-deleted into lpcraft:main.
diff --git a/NEWS.rst b/NEWS.rst
index 4c1a0a5..03d30e4 100644
--- a/NEWS.rst
+++ b/NEWS.rst
@@ -2,6 +2,11 @@
 Version history
 ===============
 
+0.0.4   (unreleased)
+====================
+
+- Add note that containers will not be deleted automatically.
+
 0.0.3   (2022-02-23)
 ====================
 
diff --git a/docs/index.rst b/docs/index.rst
index b8cfbab..6b4f5ed 100644
--- a/docs/index.rst
+++ b/docs/index.rst
@@ -41,6 +41,20 @@ Example configuration
     hello world
 
 
+.. note::
+
+    `lpcraft` does not delete the container it creates.
+
+    Also, `lpcraft` currently does not expose a command to do this manually.
+
+    In order to delete all `lpcraft` related containers,
+    you need to run the following command:
+
+    .. code-block:: bash
+
+        lxc --project lpcraft list -f csv -c n | xargs lxc delete -f
+
+
 .. toctree::
     :maxdepth: 2
 
diff --git a/setup.cfg b/setup.cfg
index 4ef280b..f96a83d 100644
--- a/setup.cfg
+++ b/setup.cfg
@@ -1,6 +1,6 @@
 [metadata]
 name = lpcraft
-version = 0.0.3
+version = 0.0.4.dev0
 description = Runner for Launchpad CI jobs
 long_description = file: README.rst
 long_description_content_type = text/x-rst