GitHub Automation and Commands
🚀 Shelvera CI/CD Pipeline Stress Test
Build copy-ready PowerShell commands for safely validating or intentionally triggering branch-based CI/CD pipelines across Shelvera repositories. The recommended workflow is always preview first, review the results, and then execute only when the preview is clean.
1. Generate Commands​
-DryRun and does not create commits, merge branches, push changes or trigger pipelines.Set-Location -Path "C:\Users\Manoj\OneDrive\MyDocuments-OneDrive\Notepad++ Notes\Shelvera Notes\Git Comit Automation".\ts_git_commit_automation.ps1 `
-RepoIds 14 `
-DryRun `
-ForcePipelineStressTest.\ts_git_commit_automation.ps1 `
-RepoIds 14 `
-CreateTestCommit `
-ForcePipelineStressTest `
-BranchDelaySeconds 10 `
-RepoDelaySeconds 20 `
-StopOnFailureShow the command matching the currently selected operation only
.\ts_git_commit_automation.ps1 `
-RepoIds 14 `
-DryRun `
-ForcePipelineStressTestShow generated PowerShell help commands
Get-Help .\ts_git_commit_automation.ps1 -DetailedGet-Help .\ts_git_commit_automation.ps1 -Examples2. Safety Rules​
Before running an actual promotion or pipeline stress test, confirm the following:
The script stages and commits only
pipeline-stress-test.txt.It does not execute
git add .orgit add -A.Real source-code changes must already be committed to
local.Unexpected downstream branch commits block that repository as REVIEW REQUIRED.
Every processed repository returns to the
localbranch after execution.Actual forced runs deliberately create a marker commit and may trigger multiple CI/CD pipelines.
Always run the generated Preview Command first. Run the matching Actual Execution Command only after the preview completes without a failed or REVIEW REQUIRED repository.
3. Parameter Guide​
| Input on this page | Generated parameter | Purpose |
|---|---|---|
| Operation: Safe preview | -DryRun | Performs validation and branch comparison without commits, merges or pushes. |
| Operation: Actual execution | -CreateTestCommit | Creates the marker commit when the configured promotion requires it. |
| Promotion Behavior: Forced CI/CD stress test | -ForcePipelineStressTest | Forces a marker commit and full promotion even when branches are already synchronized. |
| Repository Scope / Repository Checkboxes | -RepoIds | Limits the run to selected repositories and avoids the runtime selection prompt. |
| Branch Delay Seconds | -BranchDelaySeconds | Wait time before each branch promotion. |
| Repository Delay Seconds | -RepoDelaySeconds | Wait time before processing the next repository after pipeline-triggering work. |
| Stop processing after first failure | -StopOnFailure | Stops after a failure or REVIEW REQUIRED result. Recommended for actual runs. |
| Custom Transcript Directory | -TranscriptDirectory | Places transcript logs in your chosen folder. |
| Advanced Branch Overrides | -LocalBranch, -DevBranch, -QaBranch, -ProdBranch, -MainBranch, -RemoteName | Supports a compatible repository whose branch or remote naming differs from Shelvera defaults. |
The command builder never generates -DryRun together with -CreateTestCommit, and it never generates a command without one of these required execution modes.
4. Repository Catalog​
The command builder preserves the repository catalog order used by the PowerShell automation.
D:\code\ts-001-org\ts-001D:\code\ts-001-org\ts-001\MicroServices (Web APIs)\ts-gw-srvc-001D:\code\ts-001-org\ts-001\MicroServices (Web APIs)\ts-log-srvc-001D:\code\ts-001-org\ts-001\MicroServices (Web APIs)\ts-bill-srvc-001D:\code\ts-001-org\ts-001\MicroServices (Web APIs)\ts-conf-srvc-001D:\code\ts-001-org\ts-001\MicroServices (Web APIs)\ts-data-srvc-001D:\code\ts-001-org\ts-001\MicroServices (Web APIs)\ts-file-srvc-001D:\code\ts-001-org\ts-001\MicroServices (Web APIs)\ts-notif-srvc-001D:\code\ts-001-org\ts-001\MicroServices (Web APIs)\ts-probe-srvc-001D:\code\ts-001-org\ts-001\Jobs\ts-data-job-001D:\code\ts-001-org\ts-001\DBMigrations\ts-db-001D:\code\ts-001-org\ts-001\Web\Shelvera\ts-web-ui-001D:\code\ts-001-org\ts-001\Web\AdminUI\ts-admin-ui-001D:\code\ts-001-org\ts-001\MicroServices (Web APIs)\ts-alloy-secret-agent-0015. Recommended Operating Sequence​
5.1 First actual forced pipeline test​
Start with a single low-risk repository selection:
- Keep the default preset: Safe Starter: Alloy Agent.
- Keep Promotion Behavior as Forced CI/CD stress test.
- Run the generated Preview Command.
- Review the console summary and transcript log.
- Run the generated Actual Execution Command only after the preview is clean.
5.2 Selected repository pipeline test​
Choose a preset or select repositories individually. Suitable examples include:
- Core APIs for service-layer deployments.
- Data Platform for Data, File, Job and database migration validation.
- Web Applications for public website and Admin UI deployment validation.
- Observability / Security for Log, Probe and Alloy Secret Agent validation.
5.3 Full platform pipeline test​
For a complete test:
- Select All Repositories.
- Generate and run the preview command.
- Check for failures or
REVIEW REQUIREDstatuses. - Monitor the relevant CI/CD pipelines and application environments.
- Run the actual execution command only after the preview is successful.
A forced all-repository run intentionally triggers pipeline activity across the full Shelvera solution. Keep sensible branch and repository delays unless you explicitly need a rapid-load test.
6. Quick Decision Guide​
| Goal | Recommended Inputs |
|---|---|
| Check safety and branch status only | Operation: Safe preview; Promotion Behavior: Normal promotion |
| Preview an intentional CI/CD stress test | Operation: Safe preview; Promotion Behavior: Forced CI/CD stress test |
| Promote only repositories with real committed branch differences | Operation: Actual execution; Promotion Behavior: Normal promotion |
| Deliberately trigger CI/CD pipelines even when branches are synchronized | Operation: Actual execution; Promotion Behavior: Forced CI/CD stress test |
| Test one repository first | Choose Safe Starter: Alloy Agent |
| Execute multiple known repositories without prompts | Use Selected repositories only and select the required repository cards |
| Execute every repository without prompts | Choose All repositories without prompt |
| Choose repositories in PowerShell at runtime | Choose Interactive repository prompt |
| Stop immediately after a problem | Enable Stop processing after the first failure |
| Capture logs in a dedicated folder | Enable Use custom transcript directory |
7. Important Filename Note​
Your command reference identifies the script as:
Invoke-ShelveraSequentialPromotionTest.ps1However, the example commands in the same reference execute:
ts_git_commit_automation.ps1The command builder defaults to the filename used by the runnable examples:
ts_git_commit_automation.ps1Before running commands, verify the actual filename in your automation folder and update the Script File Name input at the top of this page when required.