From 1d57b196b793b9a332dd969295001e0e36617254 Mon Sep 17 00:00:00 2001 From: Adam Coldrick Date: Fri, 20 Mar 2015 12:16:09 +0000 Subject: Allow the deployment of individual chunks/strata from systems This commit allows the specification of one or more strata/chunks in a deployment entry in a cluster morphology to deploy instead of the full system if --partial is set. These are listed in a 'partial-deploy-components' field in each deployment definition. The components must be in the system, and this only works for tarball or sysroot deployments. It SHOULD NOT be used when deploying production systems, as it has a number of limitations. Change-Id: I04ac58af57216335d9257f6620d09f18f61ea714 --- morphlib/app.py | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'morphlib/app.py') diff --git a/morphlib/app.py b/morphlib/app.py index 637366e9..8fd8d5b0 100644 --- a/morphlib/app.py +++ b/morphlib/app.py @@ -145,6 +145,10 @@ class Morph(cliapp.Application): 'always push temporary build branches to the ' 'remote repository', group=group_build) + self.settings.boolean(['partial'], + 'only build up to a given chunk', + default=False, + group=group_build) self.settings.choice (['local-changes'], ['include', 'ignore'], 'the `build` and `deploy` commands detect ' -- cgit v1.2.1