Open leprechaun opened 4 years ago
I really think gomatic should just use these migrations (appropriate ones based on a server version): https://github.com/gocd/gocd/tree/master/config/config-server/src/main/resources/upgrades
Then, any changes in GoCD's config will never matter.
Howdy,
Seems like the XML config format for ElasticAgents has changed with the release of 19.3.
What used to be ...
is now
If I understood correctly, the higher level stanza (AgentProfiles, ClusterProfiles), are dependent on the GoCD version (and elastic agent API version, eg, v5) ... the exact confg of agent profile are dependent on the version the agent plugin (eg, kubernetes) ... which gomatic doesn't specifically care about.
So, I think this is mostly a question of detecting the GoCD server version, and using the right format. Agent specifics remain a user issue.