Skip to content

Add Harness CD pipeline for netcore-sample-app - #6

Open
Komali612 wants to merge 13 commits into
mainfrom
cd/harness-netcore_sample_app
Open

Komali612 wants to merge 13 commits into
mainfrom
cd/harness-netcore_sample_app

Conversation

@Komali612

Copy link
Copy Markdown
Owner

Automated Harness CD config for netcore-sample-app, generated by NetcoreCDAgent (cookbook).

What this adds (Harness Git Experience)

  • Shared stage template deploy_dotnetcore_k8s_bluegreen (v1.0) — blue-green on Kubernetes. Authored once; referenced, never forked.
  • service.yaml — artifact = the CI image (nexus.example.com/netcore-sample-app), tag supplied at runtime by the trigger.
  • environments/ + input-sets/ — per-env values (dev, staging, prod); approval-gated: staging, prod.
  • pipeline.yaml — thin stage that references the shared template.
  • triggers/on-new-artifact.yaml — deploys the new image tag automatically.
  • manifests/ — plain K8s (the image lives only in values.yaml).

Deploy strategy

Blue/Green: stage the new version behind the -stage service → health check → approval (prod) → swap primary↔stage. Rollback = swap back.

Review and merge when ready — this PR is not auto-merged.

@sonarqubecloud

sonarqubecloud Bot commented Sep 2, 2026

Copy link
Copy Markdown

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant