We use cookies on this site to enhance your user experience
By clicking the Accept button, you agree to us doing so. More info on our cookie policy
We use cookies on this site to enhance your user experience
By clicking the Accept button, you agree to us doing so. More info on our cookie policy
Testing & Validation
Test Python Script Locally First:
Before running the complete CI/CD pipeline, test the deployment script locally:
# Install dependencies
pip install requests python-dotenv
# Test authentication and pipeline discovery
python scripts/deploy_all.py \
"your-tenant-id" \
"your-app-id" \
"your-client-secret" \
"PowerBI-Reports-Lifecycle" \
0
# Expected output:
# π Starting Microsoft Fabric Deployment
# π Pipeline: PowerBI-Reports-Lifecycle
# π Source Stage Order: 0
# π Tenant ID: 12345678...
# --------------------------------------------------
# β
Successfully authenticated with Microsoft Fabric service
# β
Found pipeline: PowerBI-Reports-Lifecycle
# β
Found pipeline with ID: abc123def-456...
# π Deploying from 'Development' to 'Test'
# π Operation ID: operation-456789
# π Operation Status: Executing (Attempt 1/240)
# β³ Waiting for operation to complete...
# β
Deployment completed successfully!
# π Deployment completed successfully!
Complete Workflow Test:
β
Create feature in Feature Workspace
β
Sync to feature branch
β
Create and merge PR
β
Manually sync DEV workspace
β
Verify latest changes in DEV
β
GitHub Actions trigger on main branch
β
UAT deployment with approval
β
PROD deployment with approval
β
Verify reports in UAT workspace
β
Validate parameters updated correctly
β
Confirm PROD deployment success
Figure: GitHub Actions Approval Process
Pre-Deployment Validation:
Post-Deployment Validation: