Hacker News new | ask | show | jobs
by secondcoming 497 days ago
> 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.

1 comments

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.