-
Notifications
You must be signed in to change notification settings - Fork 0
01 Monorepo Architecture
Brayan Marin Guirales edited this page Aug 19, 2026
·
1 revision
The Scripts-DevOps-Practice repository is designed as an enterprise DevOps monorepo. It organizes diverse automation tasks, system utilities, and background daemons under a unified codebase while maintaining strict module isolation.
Rather than forcing a single programming language across all operations, the repository adopts a fit-for-purpose polyglot model:
| Technology | Role & Use Case | Key Advantages |
|---|---|---|
| π POSIX Bash | OS-native Linux & macOS shell administration | Zero dependencies, instant execution, standard coreutils compatibility. |
| π· PowerShell | Windows administration & cross-platform .NET automation | Strongly-typed object pipeline, native Windows API/WMI access, PowerShell Core portability. |
| π Python | Cross-platform orchestration engines & rich ecosystem daemons | Rapid prototyping, extensive standard library, filesystem abstraction (watchdog). |
| πΉ Go | High-performance compiled standalone binaries & micro-daemons | Zero-dependency static binaries, <5MB RAM footprint, ~2ms startup, native Goroutines concurrency. |
Scripts-DevOps-Practice/
βββ .github/workflows/ # Segregated CI/CD workflows per module
β βββ ci-cleanup-logs.yml # Pipeline for Module 2
β βββ ci-eventops.yml # Pipeline for Module 11
βββ 1-Disk-Usage-Monitoring-with-Email-Alert/ # Bash / PowerShell disk monitors
βββ 2-Log-Cleanup-Script-(Delete-Files-Older-Than-X-Days)/ # Enterprise Log Cleanup
β βββ cleanup_logs.sh # POSIX Bash script
β βββ cleanup_logs.ps1 # PowerShell script
β βββ tests/ # Automated test suites
β βββ docs/ # Technical specs, architecture & labs
βββ ... # Modules 3 to 10
βββ 11-Scheduling-And-Automation/ # EventOps Automation Daemon
βββ EventOps/ # Python daemon implementation
βββ EventOps-Go/ # Go daemon implementation
βββ docs/ # Production scenarios & interactive labs
-
Self-Contained Modules: Each numbered project directory contains its own code, tests, technical specifications (
SPECS.md), roadmap (ROADMAP.md), code style guide (CODESTYLE.md), and user documentation (README.md). - Segregated CI/CD: Modifying a specific project folder triggers only that project's dedicated workflow via GitHub Actions path filtering, preventing unnecessary build runs across unaffected modules.
- Parity Across Platforms: Where scripts are delivered for multiple platforms (e.g. Bash & PowerShell, Python & Go), they adhere to the same command-line flags, configuration schemas, and safety guardrails.
DevOps Automation & Daemons Repository | Maintained by Brayan Marin Guirales | Licensed under MIT