[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [PATCH v4 2/3] automation: Add a clean rule for containers


  • To: Bertrand Marquis <bertrand.marquis@xxxxxxx>, <xen-devel@xxxxxxxxxxxxxxxxxxxx>
  • From: Michal Orzel <michal.orzel@xxxxxxx>
  • Date: Fri, 18 Nov 2022 09:58:55 +0100
  • Arc-authentication-results: i=1; mx.microsoft.com 1; spf=pass (sender ip is 165.204.84.17) smtp.rcpttodomain=arm.com smtp.mailfrom=amd.com; dmarc=pass (p=quarantine sp=quarantine pct=100) action=none header.from=amd.com; dkim=none (message not signed); arc=none
  • Arc-message-signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=microsoft.com; s=arcselector9901; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-AntiSpam-MessageData-ChunkCount:X-MS-Exchange-AntiSpam-MessageData-0:X-MS-Exchange-AntiSpam-MessageData-1; bh=bsMGNa8Ypjffr4ofXhsaDP269QpbB6DEbUFgt0QAfX0=; b=h8cuS/kMlKIbNSsrbgdGaRnVjH/7oQkwWNWAX+hMDhoSLRv5g7EkAB4olK8GTTzDFqKS0vGdr4qp2Oul+YLGUiY0mfahSyouHwqvFsNZ5xmEmMjMvC518klZfzqJPZ1ednqxKlq7ii/YCb7Y4bX6uLpBfA7Kam88O86S6JaWnqGj23KcXq62FZlLM8IiFpx2AAdtyIhWDCdZXLI560wVvOOxF2TQbygGDsiyZQlR7VMncM9LN2qFRwobGJy+osZLJE8cT6C00lFld/4Q7nJZgiaipTds+dzeeZTjFHi2nGk7hkK8dwV2IQK01vwtRpmP/MRlCIsAofN//DRow3P4Qw==
  • Arc-seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=LKJWz8ZBM/dzmJNrBECU4pxv7QL9K89lRamHne6O3pk3MjWhfGlVOWIBjM2Rp/JuSrGgVeeiPOfLu1AmppDcRVnHzb4YdbMSDhgP7x2wyQM4Tny6pcgcn5bp5nlHAEmo/2zPadWM0EH8XYVNpGc+cpxRBU4c2O97Mdhjt+R5U9/ZwQAcxcR0l3d5pPS5mt+g9ogzJvYW7e/iNELCiWzPIVMB905yylo2uJXCdtDSJq0Bk3N18pOvOD82be/snslYuwnVvGRaywbA63gnP+g3askGjA2XhZM2rPHtRxP+A5QtG4+fKY2sA9IiGxoqj0wfyY7OWB/klO4WX8CfXZcxhg==
  • Cc: Doug Goldstein <cardoe@xxxxxxxxxx>, Stefano Stabellini <sstabellini@xxxxxxxxxx>
  • Delivery-date: Fri, 18 Nov 2022 08:59:08 +0000
  • List-id: Xen developer discussion <xen-devel.lists.xenproject.org>

Hi Bertrand,

On 17/11/2022 10:39, Bertrand Marquis wrote:
> 
> 
> Add make clean support to remove the containers from the local docker
> registry:
I have to say that I am a bit scared of adding a clean rule.
make clean is something that can easily sneak into this directory and can
remove the yocto images that we had to spent several hours to build.
The accidental clean can have severe consequences :)

In any case, if we want to add such possibility I would stick to calling always:
make clean-<image>
and remove the option to call "make clean" to remove all the images.

~Michal



 


Rackspace

Lists.xenproject.org is hosted with RackSpace, monitoring our
servers 24x7x365 and backed by RackSpace's Fanatical Support®.