Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Configurations - Decouple configuration files from services #107

Open
limorl opened this issue Jul 23, 2024 · 0 comments
Open

Configurations - Decouple configuration files from services #107

limorl opened this issue Jul 23, 2024 · 0 comments

Comments

@limorl
Copy link
Owner

limorl commented Jul 23, 2024

  1. Decouple Configuration from Service Code:
    Consider moving your configuration files out of the service directories. This could help prevent the need to bump the service version for configuration changes.
    monorepo/
    ├── services/
    │ └── greeting/
    │ └── ...
    ├── configs/
    │ └── greeting/
    │ ├── aws.dev.us-east1.json
    │ ├── aws.staging.us-east1.json
    │ └── aws.prod.us-east1.json
    └── ...

  2. Create a separate CI/CD pipeline for configuration changes:
    This pipeline triggers on changes to the configs/ directory
    It deploys only the changed configuration files
    It doesn't trigger service deployments

  3. For tracking purposes, maintain a CHANGELOG.md file in the configs/ directory to log configuration changes.

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

No branches or pull requests

1 participant