[go-cd] Template as code

2020-12-02 Thread Joel Bodenmann
I'm currently checking out the Pipeline as Code feature (or rather philosophy). So far I've been looking at YAML. Is there a way to put a template as code in the repository as well? Right now I have my pipelines as YAML code in repositories and they refer templates defined through the WebUI / X

Re: [go-cd] Re: Tasks Plugin: Form help text & placeholders

2020-12-02 Thread Joel Bodenmann
I've sent off the PR to get it listed in the meantime :) Before starting to invest time writing this task plugin I tried to do my homework as best as I could. I did not find as much documentation / guides / general resources on GoCD as I expected. Therefore, writing this plugin is/was also a go

Re: [go-cd] Re: Tasks Plugin: Form help text & placeholders

2020-12-02 Thread Aravind SV
You certainly don’t need to pull it. :) You should submit a PR to get it listed on the site too. I’d urge you and others to not depend on task plugins, because it ties you to the tool unnecessarily. That’s all. I’ve seen others ask: “Why isn’t there a plug-in for X??” before and understanding the

Re: [go-cd] Re: Tasks Plugin: Form help text & placeholders

2020-12-02 Thread Joel Bodenmann
Well, I literally just finished publishing the first version of my task plugin (see my other conversation announcing it). So this is a bit of a bummer now... :-( I guess I'm gonna sleep a night over it but I think pulling back the new plugin would be a bit of a shame. I fully understand where y

[go-cd] Presenting: GoCD CMake Task Plugin

2020-12-02 Thread Joel Bodenmann
Alright folks, You guys have been patient with me answering all my questions and showing me the right direction in handling things with GoCD. It's time to give back! Here's my first plugin, a CMake Task plugin. This plugin allows to more-easily build cmake based projects (mainly C/C++ projects)

[go-cd] Migrating (or simply reimplimenting) from Go Version: 18.9.0 to lateast and greatest

2020-12-02 Thread Fenn
We have a large legacy installation of GoCD with many pipelines. We are running Go-server 18.9.0. When we export the XML config it is 175247 lines long and 7.3M. We have 891 pipelines. It will sometimes freeze up and we need to restart the server. We are interested in migrating to a newer version

Re: [go-cd] Re: Tasks Plugin: Form help text & placeholders

2020-12-02 Thread Aravind SV
Yes, it's complicated because it's an Angular template with its own syntax. This is so that a plugin can provide the template. If you have code publicly available, I might be able to take a look in a couple of days. By the way: I'm a big opponent (is that the right word a non-proponent?) of task p

Re: [go-cd] Re: Tasks Plugin: Form help text & placeholders

2020-12-02 Thread Joel Bodenmann
Never mind - got it working. I needed to specify *ng-true-value* and *ng-false-value* to strings that Java's *Boolean.parseBoolean()* can understand. Now the only thing left is fixing the issue that my *number* input is not set to the value from the XML (although it is being saved correctly) wh

[go-cd] Task plugin providing multiple different tasks

2020-12-02 Thread Joel Bodenmann
Hi, Is it possible to write one task plugin that provides a set of different tasks? The idea would be creating a plugin which offers different tasks but which are similar to each other and therefore operate on the same code base. Best regards, ~ Joel -- You received this message because you

[go-cd] Re: Error querying database. Cause: java.sql.SQLSyntaxErrorException: This version of MySQL doesn't yet support 'LIMIT & IN/ALL/ANY/SOME subquery'

2020-12-02 Thread Jason Smyth
Hello, I could be wrong but this looks to me like the sort of thing that should be raised as an issue on GitHub: https://github.com/gocd/gocd/issues Regards, Jason On Wednesday, 2 December 2020 at 08:44:19 UTC-5 gdlai cn wrote: > > ### Error querying database. Cause: java.sql.SQLSyntaxErrorE

Re: [go-cd] Re: Tasks Plugin: Form help text & placeholders

2020-12-02 Thread Joel Bodenmann
Aravind, I've come across that piece of documentation when starting to look at the possibility of creating my own Task plugin. In my opinion the documentation does a good job at giving a quick overview but I found that some more advanced/complex examples might be helpful. Once I gathered the ne

Re: [go-cd] Re: Tasks Plugin: Form help text & placeholders

2020-12-02 Thread Aravind SV
Agree\! The source of the current documentation is: It looks like this: Pull requests are always welcome. Not just from Joel. :) But, for anyone wh

[go-cd] Re: Tasks Plugin: Form help text & placeholders

2020-12-02 Thread Joel Bodenmann
Great, this will definitely be of help :) Would be nice if GoCD would have some official documentation for this tho! Thank you a lot & Best regards, ~ Joel On Wednesday, December 2, 2020 at 7:33:27 AM UTC+1 mahesh@gmail.com wrote: > Hello, > > The GoCD ECS Elastic Agent Plugin's Cluster Pro

[go-cd] Error querying database. Cause: java.sql.SQLSyntaxErrorException: This version of MySQL doesn't yet support 'LIMIT & IN/ALL/ANY/SOME subquery'

2020-12-02 Thread gdlai cn
### Error querying database. Cause: java.sql.SQLSyntaxErrorException: This version of MySQL doesn't yet support 'LIMIT & IN/ALL/ANY/SOME subquery' ### The error may exist in com/thoughtworks/go/server/dao/maps/Stage.xml ### The error may involve defaultParameterMap ### The error occurred while

[go-cd] Is Tag supported in Go-CD yet?

2020-12-02 Thread Trường Nguyễn Thế
Hello, Does Go-CD support git checkout by Tag ? Thanks -- 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 go-cd+unsubscr...@googlegroups.com. To view this discussion on