craft_parts.steps module¶
Definitions and helpers to handle lifecycle steps.
- class craft_parts.steps.Step(value)[source]¶
Bases:
IntEnum
All 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
PULL
step sources for a part are retrieved and unpacked. TheOVERLAY
step is used to change the underlying filesystem. In theBUILD
step artifacts are built and installed. In theSTAGE
step installed build artifacts from all parts and overlay contents are added to a staging area. These files are further processed in thePRIME
step to obtain the final tree with the final payload for deployment.- BUILD = 3¶
- OVERLAY = 2¶
- PRIME = 5¶
- PULL = 1¶
- STAGE = 4¶