sigantry 1.0.0__tar.gz
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- sigantry-1.0.0/.gitignore +65 -0
- sigantry-1.0.0/CHANGELOG.md +53 -0
- sigantry-1.0.0/LICENSE +202 -0
- sigantry-1.0.0/PKG-INFO +171 -0
- sigantry-1.0.0/README.md +105 -0
- sigantry-1.0.0/pyproject.toml +214 -0
- sigantry-1.0.0/sigantry_core/__init__.py +108 -0
- sigantry-1.0.0/sigantry_core/__main__.py +11 -0
- sigantry-1.0.0/sigantry_core/_dispatch.py +175 -0
- sigantry-1.0.0/sigantry_core/_version.py +6 -0
- sigantry-1.0.0/sigantry_core/api.py +342 -0
- sigantry-1.0.0/sigantry_core/approval_gates/__init__.py +33 -0
- sigantry-1.0.0/sigantry_core/approval_gates/ado_environments.py +223 -0
- sigantry-1.0.0/sigantry_core/approval_gates/github_environments.py +247 -0
- sigantry-1.0.0/sigantry_core/approval_gates/opa_hook.py +215 -0
- sigantry-1.0.0/sigantry_core/auth/__init__.py +78 -0
- sigantry-1.0.0/sigantry_core/auth/audiences.py +45 -0
- sigantry-1.0.0/sigantry_core/auth/cli.py +201 -0
- sigantry-1.0.0/sigantry_core/auth/diagnose.py +230 -0
- sigantry-1.0.0/sigantry_core/auth/errors.py +49 -0
- sigantry-1.0.0/sigantry_core/auth/github_app.py +122 -0
- sigantry-1.0.0/sigantry_core/auth/keyvault.py +117 -0
- sigantry-1.0.0/sigantry_core/auth/token_provider.py +254 -0
- sigantry-1.0.0/sigantry_core/capacity/TODO-phase-3.md +1 -0
- sigantry-1.0.0/sigantry_core/capacity/__init__.py +20 -0
- sigantry-1.0.0/sigantry_core/capacity/cli.py +128 -0
- sigantry-1.0.0/sigantry_core/capacity/core.py +56 -0
- sigantry-1.0.0/sigantry_core/capacity/lifecycle.py +156 -0
- sigantry-1.0.0/sigantry_core/cli.py +88 -0
- sigantry-1.0.0/sigantry_core/client/__init__.py +68 -0
- sigantry-1.0.0/sigantry_core/client/arm.py +199 -0
- sigantry-1.0.0/sigantry_core/client/base.py +449 -0
- sigantry-1.0.0/sigantry_core/client/errors.py +73 -0
- sigantry-1.0.0/sigantry_core/client/fabric.py +92 -0
- sigantry-1.0.0/sigantry_core/client/logging.py +137 -0
- sigantry-1.0.0/sigantry_core/client/lro.py +266 -0
- sigantry-1.0.0/sigantry_core/client/models.py +48 -0
- sigantry-1.0.0/sigantry_core/client/pagination.py +172 -0
- sigantry-1.0.0/sigantry_core/client/powerbi.py +81 -0
- sigantry-1.0.0/sigantry_core/client/purview.py +87 -0
- sigantry-1.0.0/sigantry_core/client/rate_limit.py +106 -0
- sigantry-1.0.0/sigantry_core/client/rate_limits.py +82 -0
- sigantry-1.0.0/sigantry_core/client/retry.py +247 -0
- sigantry-1.0.0/sigantry_core/config.py +287 -0
- sigantry-1.0.0/sigantry_core/config_cli.py +66 -0
- sigantry-1.0.0/sigantry_core/deploy/__init__.py +91 -0
- sigantry-1.0.0/sigantry_core/deploy/cli.py +972 -0
- sigantry-1.0.0/sigantry_core/deploy/core.py +442 -0
- sigantry-1.0.0/sigantry_core/deploy/dependency.py +173 -0
- sigantry-1.0.0/sigantry_core/deploy/environment.py +489 -0
- sigantry-1.0.0/sigantry_core/deploy/environments_manifest.py +156 -0
- sigantry-1.0.0/sigantry_core/deploy/environments_sync.py +239 -0
- sigantry-1.0.0/sigantry_core/deploy/git_integration.py +321 -0
- sigantry-1.0.0/sigantry_core/deploy/item_copy.py +110 -0
- sigantry-1.0.0/sigantry_core/deploy/notebook_binding.py +253 -0
- sigantry-1.0.0/sigantry_core/deploy/orchestrator.py +82 -0
- sigantry-1.0.0/sigantry_core/deploy/parameters.py +259 -0
- sigantry-1.0.0/sigantry_core/deploy/profiles/__init__.py +9 -0
- sigantry-1.0.0/sigantry_core/deploy/rollback.py +202 -0
- sigantry-1.0.0/sigantry_core/deploy/sync_publish.py +458 -0
- sigantry-1.0.0/sigantry_core/deploy/variable_library.py +220 -0
- sigantry-1.0.0/sigantry_core/diff_cli.py +260 -0
- sigantry-1.0.0/sigantry_core/doctor.py +319 -0
- sigantry-1.0.0/sigantry_core/dq/__init__.py +19 -0
- sigantry-1.0.0/sigantry_core/dq/cli.py +66 -0
- sigantry-1.0.0/sigantry_core/dq/dispatcher.py +84 -0
- sigantry-1.0.0/sigantry_core/governance/TODO-phase-3.md +1 -0
- sigantry-1.0.0/sigantry_core/governance/__init__.py +58 -0
- sigantry-1.0.0/sigantry_core/governance/audit.py +260 -0
- sigantry-1.0.0/sigantry_core/governance/audit_io.py +416 -0
- sigantry-1.0.0/sigantry_core/governance/cli.py +257 -0
- sigantry-1.0.0/sigantry_core/governance/destructive.py +280 -0
- sigantry-1.0.0/sigantry_core/governance/labels.py +231 -0
- sigantry-1.0.0/sigantry_core/governance/principal_expansion.py +79 -0
- sigantry-1.0.0/sigantry_core/governance/rbac.py +428 -0
- sigantry-1.0.0/sigantry_core/governance/records.py +303 -0
- sigantry-1.0.0/sigantry_core/governance/tenant_settings.py +127 -0
- sigantry-1.0.0/sigantry_core/monitor/__init__.py +28 -0
- sigantry-1.0.0/sigantry_core/monitor/config.py +21 -0
- sigantry-1.0.0/sigantry_core/monitor/dispatcher.py +86 -0
- sigantry-1.0.0/sigantry_core/monitor/emit.py +74 -0
- sigantry-1.0.0/sigantry_core/notifications/__init__.py +120 -0
- sigantry-1.0.0/sigantry_core/notifications/email.py +223 -0
- sigantry-1.0.0/sigantry_core/notifications/slack.py +171 -0
- sigantry-1.0.0/sigantry_core/notifications/teams.py +254 -0
- sigantry-1.0.0/sigantry_core/pipelines/TODO-phase-4.md +1 -0
- sigantry-1.0.0/sigantry_core/pipelines/__init__.py +3 -0
- sigantry-1.0.0/sigantry_core/pr_bot/__init__.py +13 -0
- sigantry-1.0.0/sigantry_core/pr_bot/breaking.py +118 -0
- sigantry-1.0.0/sigantry_core/pr_bot/cli.py +403 -0
- sigantry-1.0.0/sigantry_core/pr_bot/lakehouse_diff.py +262 -0
- sigantry-1.0.0/sigantry_core/pr_bot/payload.py +421 -0
- sigantry-1.0.0/sigantry_core/pr_bot/providers/__init__.py +33 -0
- sigantry-1.0.0/sigantry_core/pr_bot/providers/ado.py +300 -0
- sigantry-1.0.0/sigantry_core/pr_bot/providers/base.py +38 -0
- sigantry-1.0.0/sigantry_core/pr_bot/providers/github.py +289 -0
- sigantry-1.0.0/sigantry_core/pr_bot/tmdl_diff.py +306 -0
- sigantry-1.0.0/sigantry_core/preflight/__init__.py +13 -0
- sigantry-1.0.0/sigantry_core/preflight/cli.py +105 -0
- sigantry-1.0.0/sigantry_core/preflight/engine.py +68 -0
- sigantry-1.0.0/sigantry_core/preflight/models.py +42 -0
- sigantry-1.0.0/sigantry_core/preflight/probes.py +283 -0
- sigantry-1.0.0/sigantry_core/protocols.py +576 -0
- sigantry-1.0.0/sigantry_core/purview/TODO-v2.md +1 -0
- sigantry-1.0.0/sigantry_core/purview/__init__.py +3 -0
- sigantry-1.0.0/sigantry_core/py.typed +0 -0
- sigantry-1.0.0/sigantry_core/registry.py +408 -0
- sigantry-1.0.0/sigantry_core/release/__init__.py +35 -0
- sigantry-1.0.0/sigantry_core/release/cli.py +665 -0
- sigantry-1.0.0/sigantry_core/release/ledger.py +207 -0
- sigantry-1.0.0/sigantry_core/release/record.py +132 -0
- sigantry-1.0.0/sigantry_core/reports/__init__.py +15 -0
- sigantry-1.0.0/sigantry_core/reports/html.py +802 -0
- sigantry-1.0.0/sigantry_core/secrets/__init__.py +35 -0
- sigantry-1.0.0/sigantry_core/secrets/ado_variable_group.py +197 -0
- sigantry-1.0.0/sigantry_core/secrets/errors.py +40 -0
- sigantry-1.0.0/sigantry_core/secrets/github_secrets.py +262 -0
- sigantry-1.0.0/sigantry_core/secrets/key_vault.py +212 -0
- sigantry-1.0.0/sigantry_core/sync/__init__.py +7 -0
- sigantry-1.0.0/sigantry_core/sync/_notify_main.py +212 -0
- sigantry-1.0.0/sigantry_core/sync/apply.py +943 -0
- sigantry-1.0.0/sigantry_core/sync/cli.py +500 -0
- sigantry-1.0.0/sigantry_core/sync/diff.py +414 -0
- sigantry-1.0.0/sigantry_core/sync/errors.py +160 -0
- sigantry-1.0.0/sigantry_core/sync/manifest.py +491 -0
- sigantry-1.0.0/sigantry_core/sync/notifications.py +71 -0
- sigantry-1.0.0/sigantry_core/sync/packagers/__init__.py +47 -0
- sigantry-1.0.0/sigantry_core/sync/packagers/generic.py +252 -0
- sigantry-1.0.0/sigantry_core/sync/packagers/notebook.py +280 -0
- sigantry-1.0.0/sigantry_core/sync/protocols.py +81 -0
- sigantry-1.0.0/sigantry_core/sync/pull.py +607 -0
- sigantry-1.0.0/sigantry_core/sync/snapshot.py +193 -0
- sigantry-1.0.0/sigantry_core/sync/templates/DataPipeline.platform.j2 +11 -0
- sigantry-1.0.0/sigantry_core/sync/templates/Report.platform.j2 +11 -0
- sigantry-1.0.0/sigantry_core/sync/templates/SemanticModel.platform.j2 +11 -0
- sigantry-1.0.0/sigantry_core/sync/templates/SparkJobDefinition.platform.j2 +11 -0
- sigantry-1.0.0/sigantry_core/sync/templates/__init__.py +20 -0
- sigantry-1.0.0/sigantry_core/testing/__init__.py +30 -0
- sigantry-1.0.0/sigantry_core/testing/doubles.py +303 -0
- sigantry-1.0.0/sigantry_core/testing/fixtures.py +413 -0
- sigantry-1.0.0/sigantry_core/utils/TODO-phase-2.md +1 -0
- sigantry-1.0.0/sigantry_core/utils/__init__.py +3 -0
- sigantry-1.0.0/sigantry_core/workitems/__init__.py +14 -0
- sigantry-1.0.0/sigantry_core/workitems/_payload.py +71 -0
- sigantry-1.0.0/sigantry_core/workitems/ado.py +236 -0
- sigantry-1.0.0/sigantry_core/workitems/github.py +297 -0
- sigantry-1.0.0/sigantry_core/workspace/TODO-phase-3.md +1 -0
- sigantry-1.0.0/sigantry_core/workspace/__init__.py +47 -0
- sigantry-1.0.0/sigantry_core/workspace/blueprints.py +71 -0
- sigantry-1.0.0/sigantry_core/workspace/bootstrap.py +656 -0
- sigantry-1.0.0/sigantry_core/workspace/capacity.py +20 -0
- sigantry-1.0.0/sigantry_core/workspace/cli.py +234 -0
- sigantry-1.0.0/sigantry_core/workspace/core.py +152 -0
- sigantry-1.0.0/sigantry_core/workspace/folders.py +218 -0
- sigantry-1.0.0/sigantry_core/workspace/items.py +73 -0
- sigantry-1.0.0/sigantry_core/workspace/reconciler.py +485 -0
- sigantry-1.0.0/sigantry_core/workspace/records.py +190 -0
|
@@ -0,0 +1,65 @@
|
|
|
1
|
+
# GSD planning — kept local, never committed
|
|
2
|
+
.planning/
|
|
3
|
+
|
|
4
|
+
# Evidence files — schema + README committed, actual evidence gitignored
|
|
5
|
+
docs/00-prerequisites/evidence/**
|
|
6
|
+
!docs/00-prerequisites/evidence/README.md
|
|
7
|
+
!docs/00-prerequisites/evidence/.gitkeep
|
|
8
|
+
!docs/00-prerequisites/evidence/schema/
|
|
9
|
+
!docs/00-prerequisites/evidence/schema/**
|
|
10
|
+
|
|
11
|
+
# Python
|
|
12
|
+
__pycache__/
|
|
13
|
+
*.pyc
|
|
14
|
+
*.pyo
|
|
15
|
+
.pytest_cache/
|
|
16
|
+
.ruff_cache/
|
|
17
|
+
.mypy_cache/
|
|
18
|
+
.venv/
|
|
19
|
+
venv/
|
|
20
|
+
env/
|
|
21
|
+
dist/
|
|
22
|
+
build/
|
|
23
|
+
*.egg-info/
|
|
24
|
+
|
|
25
|
+
# PowerShell / Pester
|
|
26
|
+
*.log
|
|
27
|
+
TestResults.xml
|
|
28
|
+
testResults.xml
|
|
29
|
+
coverage.xml
|
|
30
|
+
.coverage
|
|
31
|
+
.coverage.*
|
|
32
|
+
htmlcov/
|
|
33
|
+
|
|
34
|
+
# Editor
|
|
35
|
+
.vscode/
|
|
36
|
+
.idea/
|
|
37
|
+
*.swp
|
|
38
|
+
.DS_Store
|
|
39
|
+
|
|
40
|
+
# Secrets & local config
|
|
41
|
+
.env
|
|
42
|
+
.env.*
|
|
43
|
+
!.env.example
|
|
44
|
+
*.pem
|
|
45
|
+
*.key
|
|
46
|
+
azure-credentials.json
|
|
47
|
+
service-principal.json
|
|
48
|
+
local.settings.json
|
|
49
|
+
|
|
50
|
+
# Insync
|
|
51
|
+
.insyncdl/
|
|
52
|
+
*.insyncdl
|
|
53
|
+
|
|
54
|
+
# Phase 0 — committed sample attestations (redacted)
|
|
55
|
+
!docs/00-prerequisites/evidence/samples/
|
|
56
|
+
!docs/00-prerequisites/evidence/samples/**
|
|
57
|
+
docs/tutorial/
|
|
58
|
+
|
|
59
|
+
# fabric-cicd deploy artefacts (dep-graph.dot from validate_order)
|
|
60
|
+
deploy-artefacts/
|
|
61
|
+
site/
|
|
62
|
+
|
|
63
|
+
# Remotion video-tutorial scratch project — unrelated side-project for
|
|
64
|
+
# authoring internal walkthrough videos; not part of the toolkit.
|
|
65
|
+
remotion-tutorial/
|
|
@@ -0,0 +1,53 @@
|
|
|
1
|
+
# Changelog
|
|
2
|
+
|
|
3
|
+
All notable changes to **Sigantry** will be documented in this file.
|
|
4
|
+
|
|
5
|
+
The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.1.0/),
|
|
6
|
+
and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html).
|
|
7
|
+
|
|
8
|
+
---
|
|
9
|
+
|
|
10
|
+
## [Unreleased]
|
|
11
|
+
|
|
12
|
+
## [1.0.0] - 2026-09-19
|
|
13
|
+
|
|
14
|
+
### Added
|
|
15
|
+
- **Initial Open-Source Release** of Sigantry as a standalone Python library on PyPI.
|
|
16
|
+
- **Pre-Deployment Safety Probes (`sigantry preflight`)**:
|
|
17
|
+
- Non-destructive simulation engine evaluating Schema Syntax, Dependency DAG order, Entra ID scope permissions, and Fabric capacity active state prior to execution (ADR-0015).
|
|
18
|
+
- Human-friendly colored terminal tables, machine-readable JSON (`--json`), and `--fail-on-warning` flags.
|
|
19
|
+
- **Bulk Publishing Concurrency Acceleration**:
|
|
20
|
+
- `--bulk` parallel execution flag on `sigantry deploy run` and `sigantry sync apply` utilizing multi-worker thread pools (`max_workers=4`) for up to 3.8x faster item publishing across large repositories.
|
|
21
|
+
- **Standalone Interactive HTML Reports (`sigantry_core.reports`)**:
|
|
22
|
+
- Zero-dependency, self-contained HTML reports featuring responsive dark/light themes, summary metrics cards, and instant client-side search/filtering.
|
|
23
|
+
- Interactive drift reports via `sigantry diff --output html --html-out <path>`.
|
|
24
|
+
- Interactive release inspection and comparison via `sigantry release show/diff --html --html-out <path>`.
|
|
25
|
+
- **TMDL Semantic Model Breaking Change Impact Guard**:
|
|
26
|
+
- Deep TMDL syntax parsing in `sigantry pr-bot` detecting dropped tables, columns, measures, and model relationships.
|
|
27
|
+
- `--fail-on-breaking` CI/CD gate surfacing prominent alert banners in PR reviews and preventing accidental breaking schema deployments.
|
|
28
|
+
- **Dual-Mode Workspace Lifecycle**:
|
|
29
|
+
- Declarative greenfield workspace bootstrapping (`sigantry workspace bootstrap`) with probe-before-act convergence and `BootstrapRecord` audit.
|
|
30
|
+
- Lossless brownfield workspace adoption (`sigantry sync pull`) reverse-engineering live Fabric workspaces into local code and `sync.yml`.
|
|
31
|
+
- **Sync Engine (`sigantry sync`)**:
|
|
32
|
+
- Folder-aware item synchronization with `--with-publish` (wrapping `fabric-cicd`) and `--republish-existing`.
|
|
33
|
+
- Staged `.platform` v2 packaging with LF line-ending normalization for Notebooks, Pipelines, Semantic Models, Reports, and Spark Job Definitions.
|
|
34
|
+
- **Drift Detection (`sigantry diff`)**:
|
|
35
|
+
- Continuous topology comparison between committed manifests and live Fabric workspaces.
|
|
36
|
+
- Rich color-coded terminal tables and SemVer-pinned JSON output (`--fail-on-drift` CI alerting).
|
|
37
|
+
- **Deployment & Automated Rollback (`sigantry deploy`)**:
|
|
38
|
+
- Forward deployments with topological dependency ordering and `$ENV:` parameter substitution.
|
|
39
|
+
- One-command release rollback (`--rollback --to-release <release-id> --rollback-force`) restoring historical item states.
|
|
40
|
+
- **Audit & Provenance Ledger (`sigantry release` & `governance.audit`)**:
|
|
41
|
+
- Tamper-evident, append-only JSONL ledgers with cryptographic SHA-256 hash chains.
|
|
42
|
+
- Independent chain verification CLI command (`sigantry release verify`).
|
|
43
|
+
- Work-item linkage linking releases to GitHub Issues or Azure DevOps work items.
|
|
44
|
+
- **Headless PR-Review Bot (`sigantry pr-bot`)**:
|
|
45
|
+
- Automated PR-review bot diffing Power BI TMDL semantic models and Lakehouse schemas on pull requests.
|
|
46
|
+
- Native support for both GitHub Actions and Azure DevOps Pipelines.
|
|
47
|
+
- **Fabric Item Controls (`sigantry fabric-item`)**:
|
|
48
|
+
- Folder duplication with automatic `logicalId` regeneration (`fabric-item copy`).
|
|
49
|
+
- Cross-workspace notebook environment and lakehouse re-binding (`fabric-item set-binding`).
|
|
50
|
+
- **Environment Management (`sigantry env`)**:
|
|
51
|
+
- Upgrade-safe wheel reconciliation (`env reconcile`) blocking on remote Spark cluster image build.
|
|
52
|
+
- **11 Protocol Seams**:
|
|
53
|
+
- `DeployProfile`, `DataQualityGate`, `TelemetrySink`, `AuthProvider`, `RunbookRegistry`, `CapacityPolicy`, `WorkItemProvider`, `NotificationSink`, `SecretStore`, `ApprovalGate`, and `PrReviewBot`.
|
sigantry-1.0.0/LICENSE
ADDED
|
@@ -0,0 +1,202 @@
|
|
|
1
|
+
|
|
2
|
+
Apache License
|
|
3
|
+
Version 2.0, January 2004
|
|
4
|
+
http://www.apache.org/licenses/
|
|
5
|
+
|
|
6
|
+
TERMS AND CONDITIONS FOR USE, REPRODUCTION, AND DISTRIBUTION
|
|
7
|
+
|
|
8
|
+
1. Definitions.
|
|
9
|
+
|
|
10
|
+
"License" shall mean the terms and conditions for use, reproduction,
|
|
11
|
+
and distribution as defined by Sections 1 through 9 of this document.
|
|
12
|
+
|
|
13
|
+
"Licensor" shall mean the copyright owner or entity authorized by
|
|
14
|
+
the copyright owner that is granting the License.
|
|
15
|
+
|
|
16
|
+
"Legal Entity" shall mean the union of the acting entity and all
|
|
17
|
+
other entities that control, are controlled by, or are under common
|
|
18
|
+
control with that entity. For the purposes of this definition,
|
|
19
|
+
"control" means (i) the power, direct or indirect, to cause the
|
|
20
|
+
direction or management of such entity, whether by contract or
|
|
21
|
+
otherwise, or (ii) ownership of fifty percent (50%) or more of the
|
|
22
|
+
outstanding shares, or (iii) beneficial ownership of such entity.
|
|
23
|
+
|
|
24
|
+
"You" (or "Your") shall mean an individual or Legal Entity
|
|
25
|
+
exercising permissions granted by this License.
|
|
26
|
+
|
|
27
|
+
"Source" form shall mean the preferred form for making modifications,
|
|
28
|
+
including but not limited to software source code, documentation
|
|
29
|
+
source, and configuration files.
|
|
30
|
+
|
|
31
|
+
"Object" form shall mean any form resulting from mechanical
|
|
32
|
+
transformation or translation of a Source form, including but
|
|
33
|
+
not limited to compiled object code, generated documentation,
|
|
34
|
+
and conversions to other media types.
|
|
35
|
+
|
|
36
|
+
"Work" shall mean the work of authorship, whether in Source or
|
|
37
|
+
Object form, made available under the License, as indicated by a
|
|
38
|
+
copyright notice that is included in or attached to the work
|
|
39
|
+
(an example is provided in the Appendix below).
|
|
40
|
+
|
|
41
|
+
"Derivative Works" shall mean any work, whether in Source or Object
|
|
42
|
+
form, that is based on (or derived from) the Work and for which the
|
|
43
|
+
editorial revisions, annotations, elaborations, or other modifications
|
|
44
|
+
represent, as a whole, an original work of authorship. For the purposes
|
|
45
|
+
of this License, Derivative Works shall not include works that remain
|
|
46
|
+
separable from, or merely link (or bind by name) to the interfaces of,
|
|
47
|
+
the Work and Derivative Works thereof.
|
|
48
|
+
|
|
49
|
+
"Contribution" shall mean any work of authorship, including
|
|
50
|
+
the original version of the Work and any modifications or additions
|
|
51
|
+
to that Work or Derivative Works thereof, that is intentionally
|
|
52
|
+
submitted to Licensor for inclusion in the Work by the copyright owner
|
|
53
|
+
or by an individual or Legal Entity authorized to submit on behalf of
|
|
54
|
+
the copyright owner. For the purposes of this definition, "submitted"
|
|
55
|
+
means any form of electronic, verbal, or written communication sent
|
|
56
|
+
to the Licensor or its representatives, including but not limited to
|
|
57
|
+
communication on electronic mailing lists, source code control systems,
|
|
58
|
+
and issue tracking systems that are managed by, or on behalf of, the
|
|
59
|
+
Licensor for the purpose of discussing and improving the Work, but
|
|
60
|
+
excluding communication that is conspicuously marked or otherwise
|
|
61
|
+
designated in writing by the copyright owner as "Not a Contribution."
|
|
62
|
+
|
|
63
|
+
"Contributor" shall mean Licensor and any individual or Legal Entity
|
|
64
|
+
on behalf of whom a Contribution has been received by Licensor and
|
|
65
|
+
subsequently incorporated within the Work.
|
|
66
|
+
|
|
67
|
+
2. Grant of Copyright License. Subject to the terms and conditions of
|
|
68
|
+
this License, each Contributor hereby grants to You a perpetual,
|
|
69
|
+
worldwide, non-exclusive, no-charge, royalty-free, irrevocable
|
|
70
|
+
copyright license to reproduce, prepare Derivative Works of,
|
|
71
|
+
publicly display, publicly perform, sublicense, and distribute the
|
|
72
|
+
Work and such Derivative Works in Source or Object form.
|
|
73
|
+
|
|
74
|
+
3. Grant of Patent License. Subject to the terms and conditions of
|
|
75
|
+
this License, each Contributor hereby grants to You a perpetual,
|
|
76
|
+
worldwide, non-exclusive, no-charge, royalty-free, irrevocable
|
|
77
|
+
(except as stated in this section) patent license to make, have made,
|
|
78
|
+
use, offer to sell, sell, import, and otherwise transfer the Work,
|
|
79
|
+
where such license applies only to those patent claims licensable
|
|
80
|
+
by such Contributor that are necessarily infringed by their
|
|
81
|
+
Contribution(s) alone or by combination of their Contribution(s)
|
|
82
|
+
with the Work to which such Contribution(s) was submitted. If You
|
|
83
|
+
institute patent litigation against any entity (including a
|
|
84
|
+
cross-claim or counterclaim in a lawsuit) alleging that the Work
|
|
85
|
+
or a Contribution incorporated within the Work constitutes direct
|
|
86
|
+
or contributory patent infringement, then any patent licenses
|
|
87
|
+
granted to You under this License for that Work shall terminate
|
|
88
|
+
as of the date such litigation is filed.
|
|
89
|
+
|
|
90
|
+
4. Redistribution. You may reproduce and distribute copies of the
|
|
91
|
+
Work or Derivative Works thereof in any medium, with or without
|
|
92
|
+
modifications, and in Source or Object form, provided that You
|
|
93
|
+
meet the following conditions:
|
|
94
|
+
|
|
95
|
+
(a) You must give any other recipients of the Work or
|
|
96
|
+
Derivative Works a copy of this License; and
|
|
97
|
+
|
|
98
|
+
(b) You must cause any modified files to carry prominent notices
|
|
99
|
+
stating that You changed the files; and
|
|
100
|
+
|
|
101
|
+
(c) You must retain, in the Source form of any Derivative Works
|
|
102
|
+
that You distribute, all copyright, patent, trademark, and
|
|
103
|
+
attribution notices from the Source form of the Work,
|
|
104
|
+
excluding those notices that do not pertain to any part of
|
|
105
|
+
the Derivative Works; and
|
|
106
|
+
|
|
107
|
+
(d) If the Work includes a "NOTICE" text file as part of its
|
|
108
|
+
distribution, then any Derivative Works that You distribute must
|
|
109
|
+
include a readable copy of the attribution notices contained
|
|
110
|
+
within such NOTICE file, excluding those notices that do not
|
|
111
|
+
pertain to any part of the Derivative Works, in at least one
|
|
112
|
+
of the following places: within a NOTICE text file distributed
|
|
113
|
+
as part of the Derivative Works; within the Source form or
|
|
114
|
+
documentation, if provided along with the Derivative Works; or,
|
|
115
|
+
within a display generated by the Derivative Works, if and
|
|
116
|
+
wherever such third-party notices normally appear. The contents
|
|
117
|
+
of the NOTICE file are for informational purposes only and
|
|
118
|
+
do not modify the License. You may add Your own attribution
|
|
119
|
+
notices within Derivative Works that You distribute, alongside
|
|
120
|
+
or as an addendum to the NOTICE text from the Work, provided
|
|
121
|
+
that such additional attribution notices cannot be construed
|
|
122
|
+
as modifying the License.
|
|
123
|
+
|
|
124
|
+
You may add Your own copyright statement to Your modifications and
|
|
125
|
+
may provide additional or different license terms and conditions
|
|
126
|
+
for use, reproduction, or distribution of Your modifications, or
|
|
127
|
+
for any such Derivative Works as a whole, provided Your use,
|
|
128
|
+
reproduction, and distribution of the Work otherwise complies with
|
|
129
|
+
the conditions stated in this License.
|
|
130
|
+
|
|
131
|
+
5. Submission of Contributions. Unless You explicitly state otherwise,
|
|
132
|
+
any Contribution intentionally submitted for inclusion in the Work
|
|
133
|
+
by You to the Licensor shall be under the terms and conditions of
|
|
134
|
+
this License, without any additional terms or conditions.
|
|
135
|
+
Notwithstanding the above, nothing herein shall supersede or modify
|
|
136
|
+
the terms of any separate license agreement you may have executed
|
|
137
|
+
with Licensor regarding such Contributions.
|
|
138
|
+
|
|
139
|
+
6. Trademarks. This License does not grant permission to use the trade
|
|
140
|
+
names, trademarks, service marks, or product names of the Licensor,
|
|
141
|
+
except as required for reasonable and customary use in describing the
|
|
142
|
+
origin of the Work and reproducing the content of the NOTICE file.
|
|
143
|
+
|
|
144
|
+
7. Disclaimer of Warranty. Unless required by applicable law or
|
|
145
|
+
agreed to in writing, Licensor provides the Work (and each
|
|
146
|
+
Contributor provides its Contributions) on an "AS IS" BASIS,
|
|
147
|
+
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or
|
|
148
|
+
implied, including, without limitation, any warranties or conditions
|
|
149
|
+
of TITLE, NON-INFRINGEMENT, MERCHANTABILITY, or FITNESS FOR A
|
|
150
|
+
PARTICULAR PURPOSE. You are solely responsible for determining the
|
|
151
|
+
appropriateness of using or redistributing the Work and assume any
|
|
152
|
+
risks associated with Your exercise of permissions under this License.
|
|
153
|
+
|
|
154
|
+
8. Limitation of Liability. In no event and under no legal theory,
|
|
155
|
+
whether in tort (including negligence), contract, or otherwise,
|
|
156
|
+
unless required by applicable law (such as deliberate and grossly
|
|
157
|
+
negligent acts) or agreed to in writing, shall any Contributor be
|
|
158
|
+
liable to You for damages, including any direct, indirect, special,
|
|
159
|
+
incidental, or consequential damages of any character arising as a
|
|
160
|
+
result of this License or out of the use or inability to use the
|
|
161
|
+
Work (including but not limited to damages for loss of goodwill,
|
|
162
|
+
work stoppage, computer failure or malfunction, or any and all
|
|
163
|
+
other commercial damages or losses), even if such Contributor
|
|
164
|
+
has been advised of the possibility of such damages.
|
|
165
|
+
|
|
166
|
+
9. Accepting Warranty or Additional Liability. While redistributing
|
|
167
|
+
the Work or Derivative Works thereof, You may choose to offer,
|
|
168
|
+
and charge a fee for, acceptance of support, warranty, indemnity,
|
|
169
|
+
or other liability obligations and/or rights consistent with this
|
|
170
|
+
License. However, in accepting such obligations, You may act only
|
|
171
|
+
on Your own behalf and on Your sole responsibility, not on behalf
|
|
172
|
+
of any other Contributor, and only if You agree to indemnify,
|
|
173
|
+
defend, and hold each Contributor harmless for any liability
|
|
174
|
+
incurred by, or claims asserted against, such Contributor by reason
|
|
175
|
+
of your accepting any such warranty or additional liability.
|
|
176
|
+
|
|
177
|
+
END OF TERMS AND CONDITIONS
|
|
178
|
+
|
|
179
|
+
APPENDIX: How to apply the Apache License to your work.
|
|
180
|
+
|
|
181
|
+
To apply the Apache License to your work, attach the following
|
|
182
|
+
boilerplate notice, with the fields enclosed by brackets "[]"
|
|
183
|
+
replaced with your own identifying information. (Don't include
|
|
184
|
+
the brackets!) The text should be enclosed in the appropriate
|
|
185
|
+
comment syntax for the file format. We also recommend that a
|
|
186
|
+
file or class name and description of purpose be included on the
|
|
187
|
+
same "printed page" as the copyright notice for easier
|
|
188
|
+
identification within third-party archives.
|
|
189
|
+
|
|
190
|
+
Copyright [yyyy] [name of copyright owner]
|
|
191
|
+
|
|
192
|
+
Licensed under the Apache License, Version 2.0 (the "License");
|
|
193
|
+
you may not use this file except in compliance with the License.
|
|
194
|
+
You may obtain a copy of the License at
|
|
195
|
+
|
|
196
|
+
http://www.apache.org/licenses/LICENSE-2.0
|
|
197
|
+
|
|
198
|
+
Unless required by applicable law or agreed to in writing, software
|
|
199
|
+
distributed under the License is distributed on an "AS IS" BASIS,
|
|
200
|
+
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
|
201
|
+
See the License for the specific language governing permissions and
|
|
202
|
+
limitations under the License.
|
sigantry-1.0.0/PKG-INFO
ADDED
|
@@ -0,0 +1,171 @@
|
|
|
1
|
+
Metadata-Version: 2.5
|
|
2
|
+
Name: sigantry
|
|
3
|
+
Version: 1.0.0
|
|
4
|
+
Summary: Governance, drift detection, and rollback engine for Microsoft Fabric CI/CD pipelines.
|
|
5
|
+
Project-URL: Homepage, https://github.com/Bralabee/sigantry
|
|
6
|
+
Project-URL: Documentation, https://bralabee.github.io/sigantry
|
|
7
|
+
Project-URL: Repository, https://github.com/Bralabee/sigantry
|
|
8
|
+
Project-URL: Issues, https://github.com/Bralabee/sigantry/issues
|
|
9
|
+
Project-URL: Changelog, https://github.com/Bralabee/sigantry/blob/main/CHANGELOG.md
|
|
10
|
+
Author-email: JToye Digital <bralabala@gmail.com>
|
|
11
|
+
License: Apache-2.0
|
|
12
|
+
License-File: LICENSE
|
|
13
|
+
Classifier: Development Status :: 5 - Production/Stable
|
|
14
|
+
Classifier: License :: OSI Approved :: Apache Software License
|
|
15
|
+
Classifier: Operating System :: OS Independent
|
|
16
|
+
Classifier: Programming Language :: Python :: 3.11
|
|
17
|
+
Classifier: Programming Language :: Python :: 3.12
|
|
18
|
+
Classifier: Programming Language :: Python :: 3.13
|
|
19
|
+
Classifier: Topic :: Software Development :: Build Tools
|
|
20
|
+
Classifier: Topic :: Software Development :: Quality Assurance
|
|
21
|
+
Classifier: Topic :: System :: Systems Administration
|
|
22
|
+
Requires-Python: >=3.11
|
|
23
|
+
Requires-Dist: azure-identity<2.0,>=1.25.1
|
|
24
|
+
Requires-Dist: azure-keyvault-secrets<5.0,>=4.10
|
|
25
|
+
Requires-Dist: azure-monitor-ingestion<2.0,>=1.1
|
|
26
|
+
Requires-Dist: fabric-cicd<2.0,>=1.0
|
|
27
|
+
Requires-Dist: httpx<0.29,>=0.28
|
|
28
|
+
Requires-Dist: jinja2<4.0,>=3.1
|
|
29
|
+
Requires-Dist: jsonschema<5.0,>=4.20
|
|
30
|
+
Requires-Dist: msal<2.0,>=1.31
|
|
31
|
+
Requires-Dist: msfabricpysdkcore<0.4,>=0.3.1
|
|
32
|
+
Requires-Dist: pydantic-settings<3,>=2
|
|
33
|
+
Requires-Dist: pydantic<3.0,>=2.9
|
|
34
|
+
Requires-Dist: pyjwt[crypto]<3.0,>=2.10
|
|
35
|
+
Requires-Dist: pynacl<2.0,>=1.6
|
|
36
|
+
Requires-Dist: pyrate-limiter<5.0,>=4.1
|
|
37
|
+
Requires-Dist: rich<16.0,>=13.9
|
|
38
|
+
Requires-Dist: tenacity<10.0,>=9.0
|
|
39
|
+
Requires-Dist: typer<1.0,>=0.15
|
|
40
|
+
Provides-Extra: dev
|
|
41
|
+
Requires-Dist: build<2.0,>=1.2; extra == 'dev'
|
|
42
|
+
Requires-Dist: mypy<2.0,>=1.19; extra == 'dev'
|
|
43
|
+
Requires-Dist: pre-commit<5.0,>=4.5; extra == 'dev'
|
|
44
|
+
Requires-Dist: pytest-cov<8.0,>=7.1; extra == 'dev'
|
|
45
|
+
Requires-Dist: pytest-doctestplus<2.0,>=1.3; extra == 'dev'
|
|
46
|
+
Requires-Dist: pytest-mock<4.0,>=3.15; extra == 'dev'
|
|
47
|
+
Requires-Dist: pytest<10.0,>=9.0; extra == 'dev'
|
|
48
|
+
Requires-Dist: respx<0.24,>=0.21; extra == 'dev'
|
|
49
|
+
Requires-Dist: ruff<0.16,>=0.15; extra == 'dev'
|
|
50
|
+
Requires-Dist: twine<8.0,>=7.0; extra == 'dev'
|
|
51
|
+
Requires-Dist: types-pyyaml<7.0,>=6.0; extra == 'dev'
|
|
52
|
+
Provides-Extra: docs
|
|
53
|
+
Requires-Dist: mkdocs-material<10.0,>=9.7.6; extra == 'docs'
|
|
54
|
+
Requires-Dist: mkdocs<2.0,>=1.6; extra == 'docs'
|
|
55
|
+
Requires-Dist: mkdocstrings[python]<1.0,>=0.26; extra == 'docs'
|
|
56
|
+
Provides-Extra: test
|
|
57
|
+
Requires-Dist: build<2.0,>=1.2; extra == 'test'
|
|
58
|
+
Requires-Dist: freezegun<2.0,>=1.5; extra == 'test'
|
|
59
|
+
Requires-Dist: jsonschema<5.0,>=4.20; extra == 'test'
|
|
60
|
+
Requires-Dist: pytest-cov<8.0,>=7.1; extra == 'test'
|
|
61
|
+
Requires-Dist: pytest-mock<4.0,>=3.15; extra == 'test'
|
|
62
|
+
Requires-Dist: pytest<10.0,>=9.0; extra == 'test'
|
|
63
|
+
Requires-Dist: respx<0.24,>=0.21; extra == 'test'
|
|
64
|
+
Requires-Dist: twine<8.0,>=7.0; extra == 'test'
|
|
65
|
+
Description-Content-Type: text/markdown
|
|
66
|
+
|
|
67
|
+
# Sigantry
|
|
68
|
+
|
|
69
|
+
[](https://pypi.org/project/sigantry/)
|
|
70
|
+
[](https://pypi.org/project/sigantry/)
|
|
71
|
+
[](LICENSE)
|
|
72
|
+
[](https://github.com/astral-sh/ruff)
|
|
73
|
+
|
|
74
|
+
**Sigantry** is an enterprise-grade governance, drift detection, and rollback engine for Microsoft Fabric CI/CD pipelines.
|
|
75
|
+
|
|
76
|
+
Built by **JToye Digital**, Sigantry wraps Microsoft's official deployment tooling (`fabric-cicd`, `fab` CLI, and Fabric REST APIs) rather than replacing them. While Microsoft owns the automation lane, Sigantry provides the mission-critical governance layer enterprise platform teams require: **tamper-evident deploy ledgers, automated rollback, scheduled drift detection, destructive-operation gating, and headless PR-review bots**.
|
|
77
|
+
|
|
78
|
+
---
|
|
79
|
+
|
|
80
|
+
## Key Capabilities
|
|
81
|
+
|
|
82
|
+
- 🚀 **Pre-Deployment Safety Probes**: `sigantry preflight` runs four-phase non-destructive simulations (Schema Syntax, Dependency DAG, Entra ID Scope, Capacity State) before deploying.
|
|
83
|
+
- 🔄 **Lossless Brownfield Adoption**: `sigantry sync pull` introspects any hand-built Fabric workspace and generates an exact, round-trip lossless `sync.yml` manifest and code tree.
|
|
84
|
+
- 🏗️ **Declarative Greenfield Scaffolding**: `sigantry workspace bootstrap` provisions brand-new workspaces, capacity bindings, and medallion folder blueprints from a single `workspace.yml` manifest with idempotent probe-before-act convergence.
|
|
85
|
+
- ⚡ **Concurrent Bulk Publishing**: `--bulk` option accelerates workspace deployments via parallel item publishing pools, reducing deploy times by up to 3.8x on multi-item repositories.
|
|
86
|
+
- 🛡️ **Automated Release Rollback**: `sigantry deploy run --rollback --to-release <id>` re-publishes the exact historical version of items from immutable ledger snapshots.
|
|
87
|
+
- 🔍 **Interactive Drift Detection**: `sigantry diff` continuously compares live Fabric workspaces against Git manifests, outputting rich CLI tables, SemVer JSON, or standalone interactive HTML reports (`--output html`).
|
|
88
|
+
- 🛑 **TMDL Breaking Change Impact Guard**: `sigantry pr-bot run --fail-on-breaking` intercepts Power BI semantic model edits in CI/CD, highlighting dropped measures, columns, and tables before downstream reports break.
|
|
89
|
+
- 📜 **Tamper-Evident Audit Ledger**: Cryptographic SHA-256 hash-chained JSONL records (`DeployRecord`, `BootstrapRecord`) independently verifiable via `sigantry release verify`.
|
|
90
|
+
- 🔌 **11 Protocol Seams**: Pluggable architecture supporting custom notification sinks (Teams, Slack, Email), secret stores (Key Vault, GitHub, ADO), approval gates (OPA, ADO, GHA), and data quality gates.
|
|
91
|
+
|
|
92
|
+
---
|
|
93
|
+
|
|
94
|
+
## 60-Second Quickstart
|
|
95
|
+
|
|
96
|
+
### 1. Installation
|
|
97
|
+
|
|
98
|
+
```bash
|
|
99
|
+
pip install sigantry
|
|
100
|
+
```
|
|
101
|
+
|
|
102
|
+
Verify the installation:
|
|
103
|
+
|
|
104
|
+
```bash
|
|
105
|
+
sigantry --help
|
|
106
|
+
sigantry doctor
|
|
107
|
+
```
|
|
108
|
+
|
|
109
|
+
### 2. Adopt an Existing Workspace (Brownfield)
|
|
110
|
+
|
|
111
|
+
Bring an existing, hand-built Fabric workspace under version-controlled manifest management:
|
|
112
|
+
|
|
113
|
+
```bash
|
|
114
|
+
sigantry sync pull --workspace-id "<YOUR-WORKSPACE-GUID>" --into ./adopted
|
|
115
|
+
```
|
|
116
|
+
|
|
117
|
+
Inspect what was generated:
|
|
118
|
+
|
|
119
|
+
```bash
|
|
120
|
+
head -25 ./adopted/sync.yml
|
|
121
|
+
```
|
|
122
|
+
|
|
123
|
+
Prove the round-trip is lossless (should report 0 folders created and 0 items moved):
|
|
124
|
+
|
|
125
|
+
```bash
|
|
126
|
+
sigantry sync apply --manifest ./adopted/sync.yml --workspace-id "<YOUR-WORKSPACE-GUID>" --dry-run
|
|
127
|
+
```
|
|
128
|
+
|
|
129
|
+
### 3. Detect Drift
|
|
130
|
+
|
|
131
|
+
Check if anyone has modified, added, or deleted items out-of-band in the Fabric portal:
|
|
132
|
+
|
|
133
|
+
```bash
|
|
134
|
+
sigantry diff --manifest ./adopted/sync.yml --workspace-id "<YOUR-WORKSPACE-GUID>" --fail-on-drift
|
|
135
|
+
```
|
|
136
|
+
|
|
137
|
+
### 4. Bootstrap a Fresh Workspace (Greenfield)
|
|
138
|
+
|
|
139
|
+
Author a `workspace.yml` blueprint:
|
|
140
|
+
|
|
141
|
+
```yaml
|
|
142
|
+
schema_version: "1.0"
|
|
143
|
+
workspace:
|
|
144
|
+
name: "analytics-prod"
|
|
145
|
+
description: "Production Fabric Workspace"
|
|
146
|
+
capacity_id: "<YOUR-CAPACITY-GUID>"
|
|
147
|
+
folders:
|
|
148
|
+
blueprint: medallion
|
|
149
|
+
git:
|
|
150
|
+
enabled: false
|
|
151
|
+
```
|
|
152
|
+
|
|
153
|
+
Bootstrap with probe-before-act convergence:
|
|
154
|
+
|
|
155
|
+
```bash
|
|
156
|
+
sigantry workspace bootstrap workspace.yml --dry-run
|
|
157
|
+
sigantry workspace bootstrap workspace.yml
|
|
158
|
+
```
|
|
159
|
+
|
|
160
|
+
---
|
|
161
|
+
|
|
162
|
+
## Documentation
|
|
163
|
+
|
|
164
|
+
Full documentation, architecture guides, and step-by-step tutorials are available at:
|
|
165
|
+
👉 **[https://bralabee.github.io/sigantry](https://bralabee.github.io/sigantry)**
|
|
166
|
+
|
|
167
|
+
---
|
|
168
|
+
|
|
169
|
+
## License
|
|
170
|
+
|
|
171
|
+
Sigantry is licensed under the [Apache License, Version 2.0](LICENSE).
|
sigantry-1.0.0/README.md
ADDED
|
@@ -0,0 +1,105 @@
|
|
|
1
|
+
# Sigantry
|
|
2
|
+
|
|
3
|
+
[](https://pypi.org/project/sigantry/)
|
|
4
|
+
[](https://pypi.org/project/sigantry/)
|
|
5
|
+
[](LICENSE)
|
|
6
|
+
[](https://github.com/astral-sh/ruff)
|
|
7
|
+
|
|
8
|
+
**Sigantry** is an enterprise-grade governance, drift detection, and rollback engine for Microsoft Fabric CI/CD pipelines.
|
|
9
|
+
|
|
10
|
+
Built by **JToye Digital**, Sigantry wraps Microsoft's official deployment tooling (`fabric-cicd`, `fab` CLI, and Fabric REST APIs) rather than replacing them. While Microsoft owns the automation lane, Sigantry provides the mission-critical governance layer enterprise platform teams require: **tamper-evident deploy ledgers, automated rollback, scheduled drift detection, destructive-operation gating, and headless PR-review bots**.
|
|
11
|
+
|
|
12
|
+
---
|
|
13
|
+
|
|
14
|
+
## Key Capabilities
|
|
15
|
+
|
|
16
|
+
- 🚀 **Pre-Deployment Safety Probes**: `sigantry preflight` runs four-phase non-destructive simulations (Schema Syntax, Dependency DAG, Entra ID Scope, Capacity State) before deploying.
|
|
17
|
+
- 🔄 **Lossless Brownfield Adoption**: `sigantry sync pull` introspects any hand-built Fabric workspace and generates an exact, round-trip lossless `sync.yml` manifest and code tree.
|
|
18
|
+
- 🏗️ **Declarative Greenfield Scaffolding**: `sigantry workspace bootstrap` provisions brand-new workspaces, capacity bindings, and medallion folder blueprints from a single `workspace.yml` manifest with idempotent probe-before-act convergence.
|
|
19
|
+
- ⚡ **Concurrent Bulk Publishing**: `--bulk` option accelerates workspace deployments via parallel item publishing pools, reducing deploy times by up to 3.8x on multi-item repositories.
|
|
20
|
+
- 🛡️ **Automated Release Rollback**: `sigantry deploy run --rollback --to-release <id>` re-publishes the exact historical version of items from immutable ledger snapshots.
|
|
21
|
+
- 🔍 **Interactive Drift Detection**: `sigantry diff` continuously compares live Fabric workspaces against Git manifests, outputting rich CLI tables, SemVer JSON, or standalone interactive HTML reports (`--output html`).
|
|
22
|
+
- 🛑 **TMDL Breaking Change Impact Guard**: `sigantry pr-bot run --fail-on-breaking` intercepts Power BI semantic model edits in CI/CD, highlighting dropped measures, columns, and tables before downstream reports break.
|
|
23
|
+
- 📜 **Tamper-Evident Audit Ledger**: Cryptographic SHA-256 hash-chained JSONL records (`DeployRecord`, `BootstrapRecord`) independently verifiable via `sigantry release verify`.
|
|
24
|
+
- 🔌 **11 Protocol Seams**: Pluggable architecture supporting custom notification sinks (Teams, Slack, Email), secret stores (Key Vault, GitHub, ADO), approval gates (OPA, ADO, GHA), and data quality gates.
|
|
25
|
+
|
|
26
|
+
---
|
|
27
|
+
|
|
28
|
+
## 60-Second Quickstart
|
|
29
|
+
|
|
30
|
+
### 1. Installation
|
|
31
|
+
|
|
32
|
+
```bash
|
|
33
|
+
pip install sigantry
|
|
34
|
+
```
|
|
35
|
+
|
|
36
|
+
Verify the installation:
|
|
37
|
+
|
|
38
|
+
```bash
|
|
39
|
+
sigantry --help
|
|
40
|
+
sigantry doctor
|
|
41
|
+
```
|
|
42
|
+
|
|
43
|
+
### 2. Adopt an Existing Workspace (Brownfield)
|
|
44
|
+
|
|
45
|
+
Bring an existing, hand-built Fabric workspace under version-controlled manifest management:
|
|
46
|
+
|
|
47
|
+
```bash
|
|
48
|
+
sigantry sync pull --workspace-id "<YOUR-WORKSPACE-GUID>" --into ./adopted
|
|
49
|
+
```
|
|
50
|
+
|
|
51
|
+
Inspect what was generated:
|
|
52
|
+
|
|
53
|
+
```bash
|
|
54
|
+
head -25 ./adopted/sync.yml
|
|
55
|
+
```
|
|
56
|
+
|
|
57
|
+
Prove the round-trip is lossless (should report 0 folders created and 0 items moved):
|
|
58
|
+
|
|
59
|
+
```bash
|
|
60
|
+
sigantry sync apply --manifest ./adopted/sync.yml --workspace-id "<YOUR-WORKSPACE-GUID>" --dry-run
|
|
61
|
+
```
|
|
62
|
+
|
|
63
|
+
### 3. Detect Drift
|
|
64
|
+
|
|
65
|
+
Check if anyone has modified, added, or deleted items out-of-band in the Fabric portal:
|
|
66
|
+
|
|
67
|
+
```bash
|
|
68
|
+
sigantry diff --manifest ./adopted/sync.yml --workspace-id "<YOUR-WORKSPACE-GUID>" --fail-on-drift
|
|
69
|
+
```
|
|
70
|
+
|
|
71
|
+
### 4. Bootstrap a Fresh Workspace (Greenfield)
|
|
72
|
+
|
|
73
|
+
Author a `workspace.yml` blueprint:
|
|
74
|
+
|
|
75
|
+
```yaml
|
|
76
|
+
schema_version: "1.0"
|
|
77
|
+
workspace:
|
|
78
|
+
name: "analytics-prod"
|
|
79
|
+
description: "Production Fabric Workspace"
|
|
80
|
+
capacity_id: "<YOUR-CAPACITY-GUID>"
|
|
81
|
+
folders:
|
|
82
|
+
blueprint: medallion
|
|
83
|
+
git:
|
|
84
|
+
enabled: false
|
|
85
|
+
```
|
|
86
|
+
|
|
87
|
+
Bootstrap with probe-before-act convergence:
|
|
88
|
+
|
|
89
|
+
```bash
|
|
90
|
+
sigantry workspace bootstrap workspace.yml --dry-run
|
|
91
|
+
sigantry workspace bootstrap workspace.yml
|
|
92
|
+
```
|
|
93
|
+
|
|
94
|
+
---
|
|
95
|
+
|
|
96
|
+
## Documentation
|
|
97
|
+
|
|
98
|
+
Full documentation, architecture guides, and step-by-step tutorials are available at:
|
|
99
|
+
👉 **[https://bralabee.github.io/sigantry](https://bralabee.github.io/sigantry)**
|
|
100
|
+
|
|
101
|
+
---
|
|
102
|
+
|
|
103
|
+
## License
|
|
104
|
+
|
|
105
|
+
Sigantry is licensed under the [Apache License, Version 2.0](LICENSE).
|