Hiya Hans Its not possible to directly define GoCD templates as 'pipelines as code', assuming that is what you are referring to.
You could - build custom automation triggers that update source controlled JSON templates via GoCD APIs - or you could explore config repo plugins that better support templating conceptually (e.g Groovy, jsonnet - but come with their own downsides) - or you could use an intermediary step to translate your templates to regular yaml|json config repo format - write your own config repo plugin 😅 See https://github.com/gocd/gocd/issues/5675 fir some more discussion/background. -Chad On Thu, 25 Jul 2024, 20:02 'Hans Dampf' via go-cd, <[email protected]> wrote: > Hi, > > because we have our templates for the pipelines in gitlab and there is > currently a copy job for it to transfer the saved templates on to the gocd > master server. > > Is there a way to configure this in the same way as pipelines and env > config as a config repository? > > Regards > > -- > 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/8e2c66a9-1904-4815-8aac-e2a7f2dfc2cfn%40googlegroups.com > <https://groups.google.com/d/msgid/go-cd/8e2c66a9-1904-4815-8aac-e2a7f2dfc2cfn%40googlegroups.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/CAA1RwH9q4T6Rbdsh7DiCuOLzu5HHLZNemKKwXGLc%3DksDDU5Lfw%40mail.gmail.com.
