ops-nuke-cicd

Solid

Design, implement, and troubleshoot NUKE-based CI/CD pipelines for .NET services with fast local-to-CI feedback loops. Use when creating or refactoring `nuke/Build.cs` target graphs, tuning `DependsOn`/`After`/`Triggers`/`OnlyWhenDynamic` behavior, orchestrating unit/API/DB test categories, merging and publishing coverage and test reports, building and pushing Docker images with traceable tags and digests, producing artifact contracts such as `deploy.env`, and diagnosing flaky or slow pipeline execution. For service code changes use $software-csharp-backend, for NUnit fixture design use $qa-testing-nunit, and for safe logging rewrites use $dev-structured-logs.

AI & Automation 80 stars 17 forks Updated 1 weeks ago MIT

Install

View on GitHub

Quality Score: 83/100

Stars 20%
64
Recency 20%
90
Frontmatter 20%
70
Documentation 15%
100
Issue Health 10%
80
License 10%
100
Description 5%
100

Skill Content

# NUKE CI/CD ## Quick Reference - Start from existing `nuke/Build.cs` targets and preserve output contracts before refactoring. - Keep target graph intent explicit: use `DependsOn` for hard prerequisites, `After` for ordering, `Triggers` for composed flows, and `OnlyWhenDynamic` for runtime gates. - Use this skill for pipeline orchestration and build contracts, not for application-service refactors or NUnit fixture internals. - Separate fast local feedback (`build + filtered tests`) from full CI validation (`unit + api + db + merged coverage`). - Use the iterative loop `code -> build -> run tests -> fix -> repeat` for both feature work and test hardening. - Run preflight checks before expensive targets: SDK version, Docker availability (when required), and expected file paths. - Use wrapper commands (when available): `./build.sh BuildAll`, `./build.sh LocalUnitTest`, `./build.sh ApiTest`, `./build.sh TestAll`. - Use category filters intentionally, including exclusion filter patterns such as `TestCategory!=ComponentTests&TestCategory!=DbTests&TestCategory!=ApiTest`. - Keep `UnitTest` scoped to non-API categories and create a dedicated `ApiTest` target for `TestCategory=ApiTest`. - Keep `TestAll` composed from `UnitTest + ApiTest (+ DbTest)` and coverage merge. - When migrating from legacy docker-compose/SpecFlow orchestration, decommission compose-first test flow and keep pipeline focused on NUnit API categories. - Avoid running parallel `dotnet test` invocations against the ...

Details

Author
vasilyu1983
Repository
vasilyu1983/AI-Agents-public
Created
9 months ago
Last Updated
1 weeks ago
Language
Python
License
MIT

Integrates with

Similar Skills

Semantically similar based on skill content — not just same category