Yeah XML is a bummer :( Any plans of replacing it with yaml :)?

On Fri, May 7, 2021, 5:33 PM Marques Lee <[email protected]>
wrote:

> What you can do is configure things in the UI and then copy the resulting
> XML file.
>
> We also document all of this configuration here:
> https://docs.gocd.org/current/configuration/configuration_reference.html
>
> On Fri, May 7, 2021 at 5:31 PM Marques Lee <[email protected]>
> wrote:
>
>> Oh I see, so server config.
>>
>> You can just create the cruise-config.xml file and provision that in the
>> server config dir.
>>
>> Yes, I know it’s XML (yuck) and not something nicer, but it works. That’s
>> where GoCD keeps its canonical configuration (the UI changes result in
>> direct changes to this xml file)
>>
>> -Marques
>>
>> On Fri, May 7, 2021 at 5:27 PM HUSSEIN KADIRI <[email protected]> wrote:
>>
>>> not referring to configuring pipelines.
>>>
>>> All the examples in the yaml plugin point to configure pipelines.
>>>
>>> I want to configure the GoCD server itself in preferably yaml.format.
>>> Like configuring the elastic agent profiles. Etc. Are there examples of
>>> those?
>>> .
>>>
>>> On Fri, May 7, 2021, 5:20 PM Marques Lee <[email protected]>
>>> wrote:
>>>
>>>> Yes! We have several plugins to do pipelines as code.
>>>>
>>>> Officially, we support Groovy DSL, YAML, and JSON.
>>>>
>>>> The JSON and YAML plugins are built in, but groovy needs to be
>>>> downloaded and copied into the plugins dir. the Groovy plugin offers the
>>>> most flexibility since you have a general purpose programming language, but
>>>> YAML and JSON are still quite capable for most.
>>>>
>>>> Docs/Source code:
>>>>
>>>> YAML:
>>>> https://github.com/tomzo/gocd-yaml-config-plugin
>>>>
>>>> JSON:
>>>> https://github.com/tomzo/gocd-json-config-plugin
>>>>
>>>>
>>>> Groovy DSL:
>>>> https://github.com/gocd-contrib/gocd-groovy-dsl-config-plugin
>>>>
>>>> -Marques
>>>> On Fri, May 7, 2021 at 5:14 PM HUSSEIN KADIRI <[email protected]>
>>>> wrote:
>>>>
>>>>> https://docs.gocd.org/current/advanced_usage/pipelines_as_code.html
>>>>> talks about configuring pipeline configuration repo via the UI.
>>>>>
>>>>> Can the configuration be done programatically?
>>>>>
>>>>> Maybe by updating the helm chart or some API?
>>>>>
>>>>> --
>>>>> You received this message because you are subscribed to the Google
>>>>> Groups "go-cd" group.
>>>>> To unsubscribe from this group and stop receiving emails from it, send
>>>>> an email to [email protected].
>>>>> To view this discussion on the web visit
>>>>> https://groups.google.com/d/msgid/go-cd/4039487e-ccef-46b1-af80-cb8466b50600n%40googlegroups.com
>>>>> <https://groups.google.com/d/msgid/go-cd/4039487e-ccef-46b1-af80-cb8466b50600n%40googlegroups.com?utm_medium=email&utm_source=footer>
>>>>> .
>>>>>
>>>> --
>>>>
>>> You received this message because you are subscribed to a topic in the
>>>> Google Groups "go-cd" group.
>>>> To unsubscribe from this topic, visit
>>>> https://groups.google.com/d/topic/go-cd/kvs4Gd0BCKg/unsubscribe.
>>>> To unsubscribe from this group and all its topics, send an email to
>>>> [email protected].
>>>> To view this discussion on the web visit
>>>> https://groups.google.com/d/msgid/go-cd/CAPKX9jY1YmFsBMOHRK3nLx3Oj6VvfTw7R_eROPSQHYqtEgNBWA%40mail.gmail.com
>>>> <https://groups.google.com/d/msgid/go-cd/CAPKX9jY1YmFsBMOHRK3nLx3Oj6VvfTw7R_eROPSQHYqtEgNBWA%40mail.gmail.com?utm_medium=email&utm_source=footer>
>>>> .
>>>>
>>> --
>>> You received this message because you are subscribed to the Google
>>> Groups "go-cd" group.
>>> To unsubscribe from this group and stop receiving emails from it, send
>>> an email to [email protected].
>>> To view this discussion on the web visit
>>> https://groups.google.com/d/msgid/go-cd/CAFD%2B7Dn%3Dz1%3D3s77EJHnTtP_C-11OCkqZGHFpn-ezY8M6-6-AfQ%40mail.gmail.com
>>> <https://groups.google.com/d/msgid/go-cd/CAFD%2B7Dn%3Dz1%3D3s77EJHnTtP_C-11OCkqZGHFpn-ezY8M6-6-AfQ%40mail.gmail.com?utm_medium=email&utm_source=footer>
>>> .
>>>
>> --
> You received this message because you are subscribed to a topic in the
> Google Groups "go-cd" group.
> To unsubscribe from this topic, visit
> https://groups.google.com/d/topic/go-cd/kvs4Gd0BCKg/unsubscribe.
> To unsubscribe from this group and all its topics, send an email to
> [email protected].
> To view this discussion on the web visit
> https://groups.google.com/d/msgid/go-cd/CAPKX9jYw20_mrN5Q6%2BogxpLcfqrKUACzYvZ79i2p02WkniheLA%40mail.gmail.com
> <https://groups.google.com/d/msgid/go-cd/CAPKX9jYw20_mrN5Q6%2BogxpLcfqrKUACzYvZ79i2p02WkniheLA%40mail.gmail.com?utm_medium=email&utm_source=footer>
> .
>

-- 
You received this message because you are subscribed to the Google Groups 
"go-cd" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To view this discussion on the web visit 
https://groups.google.com/d/msgid/go-cd/CAFD%2B7D%3DJ6D75Dq_ZPkAfGDtUEciyxh-yqiQGs94BGZ0HqRSBew%40mail.gmail.com.

Reply via email to