News for hackers. Stuff that matters.
Re:It's OK to hardcode feature flags by secondcoming on Saturday February 01, 2025 @03:06PM (#42901716)
> feature flags in a JSON file that you have to redeploy to change

Our config files are stored in their own repo. Pushes to the master branch trigger a Jenkins job that copies the config files to a GCP bucket.

On startup, each machine pulls this config from GCS and everything just works.

It's not a 'redeployment' in the sense that we don't push new images on each config change.

Re:It's OK to hardcode feature flags by j-krieger on Saturday February 01, 2025 @05:05PM (#42902878)
We do the same thing but slightly differently. If a new docker image is built, we deploy that image. If the config changes, an ansible job moves that config to the target host and the service is restartet with that new config file. Configs are mounted inside containers. It all runs on GitLab CI/CD.