I’m looking at source controlled key/value storage of configuration data/variables. I want this to be held in source control (Git) as the single source of truth. This can then be shared to a number of services via Consul using its API. My idea is to to then pull in variable/configuration data at run-time from Consul to scripts called by Octopus Deploy.
Has anyone attempted anything like this and has it working or any suggested alternatives?
This is a proposed alternative to using stored variables in Octopus because they are not source controlled. I want scripts, variables, everything stored in our source of truth (Git). I also want all configuration in a YAML type format which can be interpreted by multiple tools within an entire deployment pipeline (including provisioning).
At the moment, we are not aware of anyone using Consul on this way, though I really like the idea. We do have customers storing variables in git, and using the REST API to keep Octopus in sync, but I dont believe anyone has published anything open source.
Personally, I’m a big fan of allowing Octopus to store configuration in git, and hope we can tackle it soon. For now, please add your votes to the uservoice suggestion, as we use that for prioritisation.
If you do end up putting something together with Consul, it’d be great if you could open source it - I’m a big fan of Consul, and I think it’d be a great resource for a lot of people.