How do you structure repositories: app repo, config repo, pipeline library?
IntermediateProductionPipeline Design and Architecture
Answer
We separate concerns:
- App repo: code, Dockerfile, a thin pipeline that calls shared logic.
- Deployment/config repo (GitOps): Helm values or Kustomize overlays per environment; separate permissions and review rules, so a code push cannot change production config.
- Platform repo: reusable workflows, Jenkins shared libraries, GitLab components, pinned and versioned.
The thin-pipeline-plus-shared-logic approach means a security fix to the build template rolls out to 200 services by bumping a version.
More on Pipeline Design and Architecture
What does a good production CI/CD pipeline look like end to end?BeginnerWhat is your target feedback time for CI and how do you hit it?IntermediateHow do you design a pipeline for a monorepo with 50 services?AdvancedShould every merge to main deploy to production automatically?IntermediateHow do you keep pipeline definitions DRY across hundreds of repos?IntermediateHow do you make a pipeline idempotent and safe to re-run?Intermediate