craft_parts.steps module¶
Definitions and helpers to handle lifecycle steps.
- class craft_parts.steps.Step(value, names=<not given>, *values, module=None, qualname=None, type=None, start=1, boundary=None)[source]¶
Bases:
IntEnumAll the steps needed to fully process a part.
Steps correspond to the tasks that must be fulfilled in order to process each of the parts in the project specification. In the
PULLstep sources for a part are retrieved and unpacked. TheOVERLAYstep is used to change the underlying filesystem. In theBUILDstep artifacts are built and installed. In theSTAGEstep installed build artifacts from all parts and overlay contents are added to a staging area. These files are further processed in thePRIMEstep to obtain the final tree with the final payload for deployment.- BUILD = 3¶
- OVERLAY = 2¶
- PRIME = 5¶
- PULL = 1¶
- STAGE = 4¶