-
Notifications
You must be signed in to change notification settings - Fork 138
Architecture Overview
shirasassoon edited this page Jan 13, 2026
·
6 revisions
The fabric-cicd package contains four modules:
-
fabric_cicd:
- The main and all-encompassing module most notably contains the
fabric_workspace.pyandpublish.pyfiles among other files and internal modules
- The main and all-encompassing module most notably contains the
-
Common:
- Internal module (
_common) that contains various files that control different components used when running a deployment, including formatting, logging, API management, user input and file type validations, etc.
- Internal module (
-
Items:
- Internal module (
_items) in which a file exists per supported Fabric item type infabric-cicd. Each file is named according to the item type defined which contains a wrapper publish function along with custom logic applicable for the defined item type
- Internal module (
-
Parameter:
- Internal module (
_parameter) that contains the_parameter.pyand_utils.pyfiles responsible for the validation and load of the parameter YAML file as well as other parameterization-related features
- Internal module (
Deployment is broken down into two operation types:
-
Publish
- Publishing (creating/updating) Fabric items in a Fabric workspace
-
Unpublish
- Unpublishing (removing) Fabric items from a Fabric workspace
Two ways to run a deployment using fabric-cicd:
-
Legacy
- Requires explicit instantiation of the
FabricWorkspaceobject - Then calling either or both of the following functions-
publish_all_items()andunpublish_all_items()- with the workspace object passed in as a required parameter - See additional information here
- Requires explicit instantiation of the
-
Configuration Deployment (Recommended)
- Requires the creation and setting up of a configuration file (e.g.,
config.yml) - Calling a single function-
deploy_with_config()-with the path to the configuration file and optionally (but recommended) the target environment value - See additional information here
- Requires the creation and setting up of a configuration file (e.g.,