1
0
mirror of https://git.yoctoproject.org/poky synced 2026-06-01 00:59:48 +00:00

bitbake: toaster: api / project Cancel any in progress builds before project delete

Before we finally delete any project make sure we send the cancel command to
any in-progress builds. This ensures that an inaccessible build doesn't block
up the system and that we don't get errors after deletion.

[YOCTO #10289]

(Bitbake rev: 263762a01a6460332ef0cfea5df1e5b81c086df4)

Signed-off-by: Michael Wood <michael.g.wood@intel.com>
Signed-off-by: bavery <brian.avery@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
This commit is contained in:
Michael Wood
2016-10-05 17:08:49 -07:00
committed by Richard Purdie
parent 8c4091a07c
commit fffce32ebd
2 changed files with 41 additions and 26 deletions
@@ -31,12 +31,14 @@
<h4>Are you sure you want to delete this project?</h4>
</div>
<div class="modal-body">
<p>Deleting the <strong class="project-name"></strong> project will remove forever:</p>
<p>Deleting the <strong class="project-name"></strong> project
will:</p>
<ul>
<li>Its configuration information</li>
<li>Its imported layers</li>
<li>Its custom images</li>
<li>All its build information</li>
<li>Cancel its builds currently in progress</li>
<li>Remove its configuration information</li>
<li>Remove its imported layers</li>
<li>Remove its custom images</li>
<li>Remove all its build information</li>
</ul>
</div>
<div class="modal-footer">