-
Notifications
You must be signed in to change notification settings - Fork 0
08 CI CD Pipelines
Brayan Marin Guirales edited this page Aug 19, 2026
·
1 revision
In a large DevOps monorepo, running every test across every script on every commit leads to slow builds, wasted compute credits, and unnecessary CI flakiness.
Our repository strictly isolates workflows using GitHub Actions paths triggers:
on:
push:
branches: [ main, 'feat/**', 'fix/**' ]
paths:
- '2-Log-Cleanup-Script-(Delete-Files-Older-Than-X-Days)/**'
- '.github/workflows/ci-cleanup-logs.yml'All pipelines validate cross-platform compatibility across stable, pinned operating systems:
| Platform | Runner Image | Validated Runtimes & Utilities |
|---|---|---|
| Ubuntu Linux | ubuntu-24.04 |
POSIX Bash, Python 3.10-3.12, Go 1.22+, PowerShell Core (pwsh), ShellCheck |
| Apple macOS | macos-14 |
BSD stat / date Bash compatibility, Apple Silicon / ARM64 execution |
| Microsoft Windows | windows-2022 |
Windows PowerShell 5.1+, PowerShell 7+, Windows path formatting |
-
Bash: ShellCheck (
shellcheck -x) enforcing zero SC2059 format string warnings, variable quoting, and POSIX compliance. -
Python: Ruff (
ruff checkandruff format --check) enforcing PEP-8 and modern Python practices. -
Go:
go vet ./...andgo test -v ./...ensuring zero race conditions and strict type correctness. -
PowerShell: PSScriptAnalyzer rules and strict typing with
[CmdletBinding()].
DevOps Automation & Daemons Repository | Maintained by Brayan Marin Guirales | Licensed under MIT