Re: [go-cd] Managing Pipeline Permissions for Multiple Pipeline Groups

2024-06-02 Thread Aravind SV
Tricky. Yes, there is no mechanism I'm aware of to set default permissions for new pipeline groups. :( For the existing groups and your upcoming upgrade, I would suggest making the implicit permission explicit, by adding a role permission to the 230 pipeline groups, and then giving that role view

Re: [go-cd] Assign Administrator Permissions to Role Without Manually Modifying cruise-config.xml

2024-06-02 Thread Aravind SV
Hello! Yes, what Chad says makes sense to me. I don't recall discussing a UI for the tag though. There is an API, if that helps you, Jason: https://api.gocd.org/current/#update-system-admins Cheers, Aravind On Sat, 1 Jun 2024 at 10:21, Chad Wilson wrote: > Interesting, had not noticed tha

Re: [go-cd] Queries on Webhook

2023-06-14 Thread Aravind SV
On Thu, 15 Jun 2023 at 03:15, Chad Wilson wrote: > I'm personally not sure if it's 1:1 or not in the case of > webhook-triggered material updates, but speaking generally I doubt GoCD > gives this guarantee. e.g if a pipeline's *stage1* is already running, > and then two webhooks are fired that af

Re: [go-cd] Issues with saving xml on secure url with reverse proxy

2023-01-17 Thread Aravind SV
Hello, > It's also possible that the reverse proxy is doing something to the Origin > headers, but I have not touched IIS for a very long time, and never used it > in a reverse proxy mode, so have no specific insight there - and to me > doesn't **seem** to explain the CSRF token errors. It also

Re: [go-cd] GoCD database connection properties question

2022-11-22 Thread Aravind SV
rity: max-age=31536000; includeSubDomains > > The url you are trying to reach appears to be incorrect. > > -- END --- > > Have you successfully been able to use it? > Thanks. > > Tsanko > > > On Tue, Nov 22, 2022 at 4:00 AM Aravind SV > wrote: > >> O

Re: [go-cd] GoCD database connection properties question

2022-11-22 Thread Aravind SV
ken or another credential - but I haven't > personally tried it for this purpose. > > I am sure Aravind can correct me if this is for a different purpose and > encrypts differently. :-) > > > On Tue, Nov 22, 2022 at 5:50 PM Aravind SV > wrote: > >> I would say

Re: [go-cd] GoCD database connection properties question

2022-11-22 Thread Aravind SV
I would say the easiest way would be to add a secure environment variable to any job or pipeline and copy the encrypted value off of the config XML. I vaguely remember a command-line utility for it, but copying it off the config XML is likely simpler at this time. Cheers, Aravind On Mon, Nov 21,

Re: [go-cd] gocd agent 18.10

2022-11-08 Thread Aravind SV
Hello! On Tue, Nov 8, 2022 at 1:26 PM Sriram Narayanan wrote: > Could you just create that directory and file and configure the values > there? > The RPM does not deliver that directory. > I don't think that'll work. The person mentioned 18.10, which is over 4 years old. No one should really be

Re: [go-cd] Issues with GoCD db.properties file and LDAP after upgrade to 20.4.

2022-11-01 Thread Aravind SV
Hello, > We alias them as a cname since our servernames are pretty complex so perhaps the issue is that its not properly authenticating/redirecting because it needs to have alternate site name bindings entered somewhere? Hmm, I wonder if the site URL and secure site URL are set wrong, and the

Re: [go-cd] Issues with GoCD db.properties file and LDAP after upgrade to 20.4.

2022-10-27 Thread Aravind SV
Hello, > Is there a way to increase logging or anything to provide more detail? You can access: (basically `/go/api/support`) to get more information about paths + much more. Search for: "loc.config.dir". You can increase the logging levels (see [

Re: [go-cd] Re: Dynamic agents are not getting terminated if the job is cancelled

2022-09-29 Thread Aravind SV
Hello, Do you have any "On Cancel" tasks in that job? If you do, then the killing of running/stuck tasks is skipped by GoCD. You'll need to handle that in your on cancel tasks. Cheers, Aravind -- You received this message because you are subscribed to the Google Groups "go-cd" group. To unsu

Re: [go-cd] config-repo rules

2022-09-29 Thread Aravind SV
Hello Laurence, Yes, your understanding of the pipeline group vs. pipeline difference seems correct. I got confused too just now, and had to go find the GitHub issue which discussed this: You'll have to ignore the mention of the

Re: [go-cd] A new elastic agent is created for every 2 mins.

2022-07-14 Thread Aravind SV
Is there any information in the elastic agent logs? Not the GoCD server logs. It looks like the plugin you're using is: The author or someone there might know more. To me, it looks like some kind of a timing issue and the agent not id

Re: [go-cd] How To Create Complex Work Flow

2022-07-14 Thread Aravind SV
Hello Nayan, There are a few blog posts which might give you some ideas regarding pipeline modeling: I haven't looked into your specific case. You'll likely need to understand the principles based on the blog posts and [other docum

Re: [go-cd] Configure "Elastic agents" on standalone Go server (v21.1.0)

2022-07-04 Thread Aravind SV
I've updated https://github.com/gocd/kubernetes-elastic-agents/blob/master/docs/install.md to make it more clear where the plugin JAR file can be downloaded from. Cheers, Aravind On Sat, Jul 2, 2022 at 10:15 PM Satya Elipe wrote: > Hi Chad > Thank you for the input, appreciate it. > So, as I me

Re: [go-cd] upgrade from version 19.8.0 to 20.1.0

2022-06-13 Thread Aravind SV
It’s just the path to the RPM file you download. You don’t need any braces etc. On Mon, 13 Jun 2022 at 17:44, Obiageli Adegbite wrote: > Hello, > I am trying to upgrade from version 19.8.0 to 20.1.0 on a centos server, > the upgrade documentation states : sudo rpm -Uvh > /path/to/go-server-${ve

Re: [go-cd] H2 Database Backup

2022-05-27 Thread Aravind SV
s performed through the GoCD user interface > on the server? > > On Thursday, May 26, 2022 at 2:43:21 AM UTC-7 Aravind SV wrote: > >> There’s also the maintenance mode >> <https://docs.gocd.org/current/advanced_usage/maintenance_mode.html>, >> which helps make sur

Re: [go-cd] H2 Database Backup

2022-05-26 Thread Aravind SV
There's also the [maintenance mode](https://docs.gocd.org/current/advanced_usage/maintenance_mode.html), which helps make sure that nothing is running and no one is able to run anything new. I don't remmeber if you can run a backup during that time, but it could be used to wind everything down

Re: [go-cd] H2 error: "Database may be already in use" after upgrade

2022-05-21 Thread Aravind SV
Apologies if you all see duplicate messages. It's because some of these messages were caught in a Spam filter, and marking these as not spam will likely have re-sent them. Cheers, Aravind On Sat, May 21, 2022 at 7:03 PM AquilaNiger wrote: > Hi everyone, > > I really need your help. Previously w

Re: [go-cd] Artifact fetch URL is broken

2022-02-09 Thread Aravind SV
In this case, it looks like it should be `srcfile` not `srcdir` since `foo.tar` is a file. Cheers, Aravind -- 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+unsub

Re: [go-cd] Database migration dry run gone wrong

2022-01-19 Thread Aravind SV
Thank you. The trace file was helpful. Not sure, but you might need to seriously consider step 4 in my previous response. The DB file seems to be corrupted. Did you forcibly quit the server by running something like `kill -9`? I don't see this happening via the migrator, but I can't be sure. C

Re: [go-cd] Database migration dry run gone wrong

2022-01-19 Thread Aravind SV
Hello Jonathan, > but with my limited knowledge of Java, I don't know what to make of it. I was looking for the rest of the error message, which you showed in the pastebin. Thanks. Unfortunately, the stack-trace isn't too helpful. I tried running the migration tool on a running GoCD server and

Re: [go-cd] Database migration dry run gone wrong

2022-01-18 Thread Aravind SV
Hello Jonathan, Given that the message seems to be coming from [around here](https://github.com/gocd/gocd/blob/1278474dcd8b2e90c0f19fc15098c279274141cb/db-support/db-migration/src/main/java/com/thoughtworks/go/server/database/migration/DatabaseMigrator.java#L61), there could be more information

[go-cd] Release announcement - 21.4.0

2021-12-31 Thread Aravind SV
Hello, A new release of GoCD (21.4.0) is out. This is a release mainly in preparation for adding support for Java 17. To know more about the features and bug fixes in this release, see the release notes or head to the downloads page

[go-cd] Re: log4j CVE-2021-44228 vulnerability

2021-12-13 Thread Aravind SV
Wanted to redirect others coming across this to the other thread: https://groups.google.com/g/go-cd/c/d-uA9v760Bg/m/VAWsMPCCCwAJ On Monday, December 13, 2021 at 12:50:12 PM UTC pranav...@contentstack.com wrote: > Hi Team, > We are currently using gocd version of 20.6.0 and we found that it has

Re: [go-cd] Re: Regarding the log4j vulnerability

2021-12-13 Thread Aravind SV
Hello Pranav, No, I can't confirm that, because I haven't looked into any old versions. After 21.3.0 came out, it doesn't make sense to be on any older version, since anything less than 21.2.0 was directly vulnerable in a very bad way. My *opinion* is that 20.6.0 is not vulnerable to this, sinc

Re: [go-cd] Re: Regarding the log4j vulnerability

2021-12-13 Thread Aravind SV
> unless the underlying implementation is log4j 2.x. > > On Monday, December 13, 2021 at 6:25:03 PM UTC+5:30 Aravind SV wrote: > >> Ha. As I write this ... someone seems to have brought this up. Please >> watch this or the discussion for updates. >> >> On Mon, D

[go-cd] Re: Regarding the log4j vulnerability

2021-12-13 Thread Aravind SV
Ha. As I write this ... someone seems to have brought this up. Please watch this or the discussion for updates. On Mon, Dec 13, 2021 at 12:53 PM Aravind SV wrote: > Hello, > > Just a quick note to say that there is a discussion happening around the > log4j vulnerability and GoCD h

[go-cd] Regarding the log4j vulnerability

2021-12-13 Thread Aravind SV
Hello, Just a quick note to say that there is a discussion happening around the log4j vulnerability and GoCD here . The current understanding is that GoCD (by itself) isn't vulnerable, since it doesn't use log4j directly. There is a TFS dependency wh

Re: [go-cd] How to pass modified files to gocd pipeline

2021-12-06 Thread Aravind SV
Hello Beatrice, The `GO_FROM_REVISION` and `GO_TO_REVISION` environment variables (along with their variations when you have multiple materials) described [in the documentation](https://docs.gocd.org/current/faq/dev_use_current_revision_in_build.html#standard-gocd-environment-variables) can be

[go-cd] Heads up about security issues and a release next week

2021-10-22 Thread Aravind SV
Hello everyone, There will be a release of GoCD next week, on Tuesday Oct 26 (tentatively around mid-day UTC). This release will have important security fixes. There will be a *strong *recommendation for all users of GoCD to upgrade to 21.3.0 to be protected. Especially if you're in a hostile

Re: [go-cd] Manually assigning an administrator role

2021-08-20 Thread Aravind SV
Hello Rob, You should be able to edit the config XML file directly on the filesystem to get admin access. It's usually in `/etc/go/cruise-config.xml`. For other OSes, the [installation instructions](https://docs.gocd.org/current/installation/installing_go_server.html) can tell you where the co

Re: [go-cd] Re: Mulltiple GoCD build agents on Windows?

2021-08-18 Thread Aravind SV
That's right. I think it's possible to change the name (to be *any* name), only if using auto-registration. If not, it uses the hostname and you might have to use the agent work directory to differentiate it. Cheers, Aravind -- You received this message because you are subscribed to the Google

Re: [go-cd] Mulltiple GoCD build agents on Windows?

2021-08-17 Thread Aravind SV
Hello Emil, You should be able to just use the zip version of it to run multiple agents: That will work on any OS. Regards, Aravind -- You received this message because you are subscribed to the Google Groups "go-cd" group. To unsubscribe from this group

Re: [go-cd] error launching the go-agent

2021-08-05 Thread Aravind SV
Hello Satya, As mentioned [in the documentation](https://docs.gocd.org/current/installation/install/agent/osx.html), the file is `./wrapper-config/wrapper-properties.conf`. Regards, Aravind -- You received this message because you are subscribed to the Google Groups "go-cd" group. To unsubsc

Re: [go-cd] ETA for GoCD 21.3.0

2021-08-05 Thread Aravind SV
Hello Dennis, I think it might be worth waiting a week or two if possible. There is no strict ETA, but there is some activity (especially by Chad Wilson) in the codebase. There is a change around the agent license keys that might need to happen as well, and it might make sense to release after

Re: [go-cd] Hibernate issue with gocd

2021-06-09 Thread Aravind SV
Are you sure you're on 19.7.0? From the release notes, [20.5.0](https://www.gocd.org/releases/#20-5-0) introduced support for Postgres. There used to be a paid add-on previously, but it only supported version 9.6 of Postgres, if I remember correctly. -- You received this message because you ar

Re: [go-cd] Guidance needed on securing username and password on Gocd yaml

2021-06-04 Thread Aravind SV
Every API call [will need authentication](https://api.gocd.org/current/#authentication) (either `username:password` you use for logging in, or authentication tokens). Those two headers are constant. And yes, the `badger` is the value you want to encrypt. What happened when you tried it? -- Yo

Re: [go-cd] Not able to connect to private git repo using password

2021-06-03 Thread Aravind SV
I think the `ssh://` protocol doesn't work with `username:password`. So, I agree that option 2 (using SSH keys) is the right one to use. -- 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,

Re: [go-cd] Java LTS Support in GoCD

2021-06-02 Thread Aravind SV
Hello, There's also a similar conversation which happened over at: > Is it just too much work to test such an "old" version? I think, partially, yes. > Sorry if this is not the right place to raise this but it didn't seem appropriate to raise a GitHu

Re: [go-cd] How to setup password authentication on Windows GoCD

2021-05-28 Thread Aravind SV
d-holding. We can’t spoon feed you all requisite knowledge. Otherwise >> we’d be teaching you how to use bash as well, which is clearly beyond the >> scope of GoCD. >> >> On Fri, May 28, 2021 at 1:56 PM Aravind SV >> wrote: >> >>> > andfor y

Re: [go-cd] How to setup password authentication on Windows GoCD

2021-05-28 Thread Aravind SV
> andfor your info..YES it needs to say EXACTLY how to set it up. Documentation needs to be complete with no guess work involved. Not really. Please stop acting so entitled. You don't "deserve" anything. Here's a document that might help you: http://catb.org/~esr/faqs/smart-questions.html

Re: [go-cd] go server / agent upgraded to 21.2.0 and agent lost contact

2021-05-26 Thread Aravind SV
I agree with Ashwanth. It might also be a matter of trying to upgrade from a very old version to the latest, without considering changes in the versions in between. For instance, [20.2.0](https://www.gocd.org/releases/#20-2-0) made some SSL/TLS changes which will need to be considered if upgrad

Re: [go-cd] Analytics plugin Mysql DB Setup

2021-05-22 Thread Aravind SV
I'd think using Postgres would be easier than making sure all the queries work properly and do what they're supposed to. Some of the queries are [here](https://github.com/gocd/gocd-analytics-plugin/tree/e6b0c514934169f68e82c91801c5ac5f0d9738ba/src/main/java/com/thoughtworks/gocd/analytics/mapper)

Re: [go-cd] Downloading yaml config of UI configured jobs

2021-05-14 Thread Aravind SV
> There's a pipeline export function --- if you go to Admin > Pipelines you will see a list of your pipelines. As with almost everything in the UI, there is also an API for this: Cheers, Aravind -- You received this

Re: [go-cd] Do we have HA (high availability) in GO CD, Such as a Load balancer

2021-05-04 Thread Aravind SV
Hello Hussein, I believe it was brought into GoCD: Postgres support is also built into GoCD now. Regards, Aravind -- You received this message because you are subscribed to the Google Groups "go-cd" group. T

Re: [go-cd] Question about setting up postgres for 20.5.0

2021-04-27 Thread Aravind SV
Hello Jo, These steps from some older documentation is what I believe works with RDS (and should really be part of the new documentation): 1. Bring up a local PostgreSQL server. Using a database superuser account, perform the migration on this local PostgreSQL server. 2. Once the migration i

Re: [go-cd] Looking for Steering Committee updates

2021-04-16 Thread Aravind SV
Hello Thomas, There is a slightly newer update from Dec 2020 . However, as the designated "communicator" for the steering group, it's a miss from my side that the bootstrap steering committee GitHub repo isn't up to date. Apologies. W

Re: [go-cd] Error when updating from 20.8.0 to 20.9.0

2021-04-13 Thread Aravind SV
Ooh. Once you start changing the DB manually ... all bets are off. Regarding the pipeline history page, it'll likely be joining a few tables. Here are some pointers that might help: 1. See [this query](https://github.com/gocd/gocd/blob/fdbdbd4477cd8ae9b90b5dae883199f01fe00dce/server/src/main/r

Re: [go-cd] Error when updating from 20.8.0 to 20.9.0

2021-04-10 Thread Aravind SV
Hello Nikolay, , That's strange. Can you [open an issue on GitHub](https://github.com/gocd/gocd/issues/)? I think you should look for a row where the state column is "Passed". Looks like there's some data that is wrong (not sure how). The valid values of JobState [are here](https://github.com

Re: [go-cd] Add environment variables to config repository

2021-03-31 Thread Aravind SV
Hello, Do you mean something more than / different from *using* environment variables within a config repository? Cheers, Aravind -- You received this message because you are subscribed to the Google Groups "go-cd" grou

Re: [go-cd] Migrating a GoCD instance between instances, startup hanging on Hibernate task

2021-03-16 Thread Aravind SV
Good to know. Thank you for following up. I'm sure it'll help someone, at some point. :) Cheers, Aravind -- 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+unsubsc

Re: [go-cd] Migrating a GoCD instance between instances, startup hanging on Hibernate task

2021-03-15 Thread Aravind SV
Yes, 17.11 is quite old and it's hard to say what the problem could be. A couple of things I'd look at: 1. Run: `kill -3 go-server-process-id` and it will show you stack traces, which might tell you what the main thread is doing. 2. The pipeline timeline update query is quite time consuming,

Re: [go-cd] Pipeline as code not reflecting on dashboard

2021-03-08 Thread Aravind SV
Hello, Maybe there is a problem accessing the repository? See if there is an error box (in red) in the top right. If not, see if you turned off polling for that repository (in its config). Cheers, Aravind -- You received this message because you are subscribed to the Google Groups "go-cd" gr

Re: [go-cd] Re: Using GoCD API withing a Pipeline

2021-03-01 Thread Aravind SV
Hello, > One problem I have not worked out yet is this: Having a pipeline on one GoCD > server (via an agent) call a pipeline on another GoCD server (via the API). > The point of this would be to relieve the server-single-point-of-failure and > server-bottle-neck we are seeing at our site. I se

Re: [go-cd] Re: Could someone please help me understand using API?

2021-02-26 Thread Aravind SV
Marques: I think this post came through later, after being stuck in a spam check queue. I don\'t think this part of the question is valid any more. -- You received this message because you are subscribed to the Google Groups "go-cd" group. To unsubscribe from this group and stop receiving email

Re: [go-cd] Re: About Gocd swag

2021-02-25 Thread Aravind SV
Hello, I believe you\'re talking about ? If so, as I mentioned a couple of times, there is no bounty or swag. We used to give out swag (don\'t any more) but all the offices are closed. :/ Regards, Aravind -- You received this message because you are su

Re: [go-cd] Question: What happens to GoCD agent when the Java wrapper tanuki license expired?

2021-02-17 Thread Aravind SV
Hello Danny, , > Knowing that the end date here is this year June, what will happen when the > date arrived in 4 months time? > Will GoCD agent refuse to start when a restart occured? No, nothing should happen. This license has been renewed every year for the last 10 to 12 years. It will be a

Re: [go-cd] Pipeline files in subdirectory

2021-02-09 Thread Aravind SV
It *should* just work. The default file search pattern in mentioned here: -- 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,

Re: [go-cd] Global Variable - GO CD

2021-01-16 Thread Aravind SV
I\'d suggest doing a GET and then makee no change and do a PUT. That should work. If it doesn\'t, you probably have some of the parameters wrong in your request. -- You received this message because you are subscribed to the Google Groups "go-cd" group. To unsubscribe from this group and stop

Re: [go-cd] Re: Help! API returning 403 after upgrade to 20.10.0

2021-01-12 Thread Aravind SV
Hello Jeff, *Usually*, when a change in behavior is made, it is behind a feature flag, to help in case anyone is affected a lot. If no one has a concern after a while, those flags are removed. It looks like this change also has a flag: Can you see if th

Re: [go-cd] Global Variable - GO CD

2021-01-11 Thread Aravind SV
Materials are part of a pipeline and so, they are updated using the "Edit pipeline config" API call: You'll need to do a GET and then a PUT with an `If-Match` header based on the GET response:

Re: [go-cd] Re: Help! API returning 403 after upgrade to 20.10.0

2021-01-08 Thread Aravind SV
Hello Jeff, > Was there a bug maybe that was fixed that allowed a user to call the schedule > api on a pipeline or pipeline group without needing at least "operator" > permissions? Maybe it is this? It says it was in 20.4.0. Other relevant conversations:

Re: [go-cd] Task Plugin: Web UI does not set number input value

2020-12-15 Thread Aravind SV
I think this is an issue with how AngularJS handles string values in the model provided to the `` field. See: If you do need to write some Javascript to change the type, I'm not sure whether you

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

2020-12-04 Thread Aravind SV
Hello Brian, This thread from the mailing list is relevant: About gomatic: Last I heard, it wasn't compatible with the latest versions of GoCD. I'd look into one of the pipelines as code plugins supported by GoCD instead:

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

2020-12-02 Thread Aravind SV
nkins so I might be a bit biased from that > side as you also explained. > > > Best regards, > ~ Joel > > On Wednesday, December 2, 2020 at 7:49:07 PM UTC+1 Aravind SV wrote: > >> Yes, it's complicated because it's an Angular template with its own >&g

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

2020-12-02 Thread Aravind SV
ill have the *ng-** attributes but the checkbox >> in question has been stripped of the *ng-model* and *ng-required* >> attribute. >> >> I'd appreciate it a lot if somebody could help out an embedded C++ >> developer here not accustomed to work with Angular

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

Re: [go-cd] Cannot run agent in MSYS2

2020-11-28 Thread Aravind SV
Hello, I completely agree with Jason about creating that boundary. About the difference between the server and the agent, I'm not sure, but did you try downloading the zip "installer" option? Regards, Aravind -- You received this message because you are subscribed to the Google Groups "go-

Re: [go-cd] Recommendations for multi-platform builds, tests & deployments

2020-11-26 Thread Aravind SV
Hello Joel, I can't speak to a typical C++ build in GoCD, but some of the questions you bring up have been tackled in this blog post series: In particular, these two: -

Re: [go-cd] can't start the server in develepment mode

2020-11-15 Thread Aravind SV
Hello Liang, Did you follow all the steps in https://developer.gocd.org/current/ and then this happened in one of those steps? Can you provide more information? Regards, Aravind -- You received this message because you are subscribed to the Google Groups "go-cd" group. To unsubscribe f

Re: [go-cd] Elastic agent registration problem from Windows docker swarm plugin

2020-11-04 Thread Aravind SV
Hello, I see. You're creating your own image. The docker image provided by GoCD (on DockerHub) [does this](https://github.com/gocd/docker-gocd-agent-dind/blob/fd70ef0eb4c2ff750ad297b1810b08bd31f11229/docker-entrypoint.sh#L26-L36) to populate the `autoregister.properties` file correctly, based o

Re: [go-cd] Elastic agent registration problem from Windows docker swarm plugin

2020-11-03 Thread Aravind SV
Hello, Elastic agents are not started by users. They're started automatically, using an elastic agent plugin. If you use one, you won't need to set agent properties, etc. That's the whole point of it being elastic, in that it creates an agent when needed and gets rid of it when it's not needed

Re: [go-cd] Batch file on Windows not exiting

2020-10-27 Thread Aravind SV
Hello Andy, I'm not sure. On Windows, GoCD should be running eveything with [`cmd /c`](https://github.com/gocd/gocd/blob/fa1c20b7450a60af1434b0dcb4f473f6fa14ff18/common/src/main/java/com/thoughtworks/go/domain/builder/CommandBuilder.java#L44-L48). So, you shouldn't have to do anything except us

Re: [go-cd] Batch file on Windows not exiting

2020-10-27 Thread Aravind SV
Hello Andy, Have you tried just `start_docker.bat`? What happens with that? Regards, Aravind -- 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...@googl

Re: [go-cd] Spin up jails instead of containers for elastic agents in FreeBSD

2020-10-26 Thread Aravind SV
Elastic agent plugins are based on this plugin interface: It's possible to write your own, if you want. -- You received this message because you are subscribed to the Google Groups "go-cd" group. To unsubscribe from this group and stop rece

Re: [go-cd] Delete pipelines

2020-10-08 Thread Aravind SV
Hello Anouar, \[Adding the group since it might be useful to others\] > Do you have any suggestions to reduce the size of the database, we have more > than 600 popelines to delete because they are inactive and we dont want to > delete them and keep their data in our database. The database is H2

Re: [go-cd] Delete pipelines

2020-10-07 Thread Aravind SV
Hello Anouar, It's not recommended to change the DB manually. All bets are off if you do. I'm sure there are dependencies etc. which will cause problems at a later time. Cheers, Aravind -- You received this message because you are subscribed to the Google Groups "go-cd" group. To unsubscrib

Re: [go-cd] Migrating and Upgrade GoCD Version

2020-09-09 Thread Aravind SV
Hello Carlos, This questions keeps getting asked in the mailing list. Searching the archives might give you more ideas. Generally, as long as you have a backup and try it in a test setup, it should be fine. Things I'd watch out for: 1. Java versions supported by newer versions will have chang

Re: [go-cd] Problems with material pipeline

2020-09-05 Thread Aravind SV
Hello Rafael, I think you need There was some talk about working on it, recently. The general reason that multiple commits or pipeline runs are "combined" or ignored, *I think*, are two-fold: 1. It could be inefficient / performance intensive (unless

Re: [go-cd] GoCD 19.1.0 Git material unwanted clean

2020-09-04 Thread Aravind SV
Hello Denis, It's hard to say for sure, just from that, but these are some behaviors I believe are true: 1. If there are files left behind *inside* a git repository checked out folder, then it will run a `git clean`. No way to stop that. It will need to make sure every job run starts with a c

Re: [go-cd] Material clone failed

2020-09-04 Thread Aravind SV
Hello, GoCD doesn't do anything more than use the git (external) command. Maybe you can see the git config in the checkout folder and see what it looks like? Since it does accept username/password now for git materials, it does try to use that while cloning, but the git config should give you m

Re: [go-cd] GoCD crash after upgrading from 20.4 to 20.7

2020-09-04 Thread Aravind SV
Hello Luca, Something seems wrong in your installation. I see lines like this: > Failed to instantiate > \[com.thoughtworks.go.server.database.DatabaseStrategy\]: Constructor threw > exception; nested exception is java.lang.RuntimeException: Failed loading > database provider \[com.thoughtwork

Re: [go-cd] GoCD 19.1.0 Git material unwanted clean

2020-09-01 Thread Aravind SV
Hello Denis, It depends. GoCD just does a `git clean` as I mentioned, which shouldn't change modified times of your codebase, I mean, of files which haven't changed, right? If you've asked it to clean working directory, it will remove and re-clone. Otherwise, it shouldn't change. Of course, if

Re: [go-cd] GoCD 19.1.0 Git material unwanted clean

2020-08-26 Thread Aravind SV
Hello Denis, The working directory will always be cleaned using something like `git clean -dff` (or `git clean -dffx` maybe) before any job starts. If you really need something across runs, then you should move it out of the workspace directory. However, please note that this is not recommended

Re: [go-cd] Artifact Cleanup by Pipeline

2020-08-25 Thread Aravind SV
Hello Erik, There's a pull request in this area, which is open: Maybe you can add to that conversation there, so that the PR can accommodate what you're thinking about. Cheers, Aravind PS: There isn't a pipeline-level config to retain a set number of

Re: [go-cd] Upgrade issue

2020-08-18 Thread Aravind SV
Hello Brent, I don't see a broken link. Where did you see it? I see: [Release notes](https://www.gocd.org/releases/#20-5-0) links to [Database migration documentation](https://docs.gocd.org/20.5.0/installation/upgrade_to_gocd_20.5.0.html) which links to the [migrator tool](https://github.com/

Re: [go-cd] GoCD Docker Agent Installing Python3

2020-08-17 Thread Aravind SV
Hello Ryan, This blog post might be useful: You'll need to maintain a custom image with extra dependencies, I believe. Cheers, Aravind -- You received this message because you are subscribed to the Google Groups "go-cd" group. To

Re: [go-cd] Private git for windows go agent

2020-08-13 Thread Aravind SV
Hello Jérôme, This seems similar to: You need to see which user the GoCD Agent is running as and change it at the level of the service or run a zip agent as a different user. The "System" user services run under is not the same a

Re: [go-cd] Re: GoCD - Deploy using an artefact rather using git checkout - URGENT please

2020-08-10 Thread Aravind SV
Hello, In case it helps, I see Jason had responded earlier to something like this: Cheers, Aravind PS: Thanks for helping people, Jason. :) -- You received this message because you are subscribed to the Google Groups "go-cd"

Re: [go-cd] Material update hung help

2020-08-07 Thread Aravind SV
Hello Krzysztof, It sounds like a problem with the SSH key set up, especially since it is a private repo. Could it be that the GoCD server is currently running as a user who is not you, and the SSH keys are not set up for that user? When you tried the "try out" version, it likely ran as your u

Re: [go-cd] Re: Help with more detailed logs from 400 bad request thrown by org.eclipse.jetty.http on GoCD Server

2020-08-07 Thread Aravind SV
Hello Bob, > As I said earlier all of this worked just fine in version 19.9, so have there > been any changes to how the data is parsed for the config.yml endpoint? > Limitations on the field sizes or anything along those lines? Nothing comes to mind in that area. There were likely some changes

Re: [go-cd] Re: Help with more detailed logs from 400 bad request thrown by org.eclipse.jetty.http on GoCD Server

2020-08-07 Thread Aravind SV
Hello Bob, , > Actually I don't think this is the issue, Gomatic dumps the XML that it is > going to post, I can take this XML and enter it directly into GoCD via the > UI without error, it just doesn't work when POST'd to the config.yml > endpoint. Yes, I found something similar in

Re: [go-cd] Can not show GoCD Aanalytics Dashboard

2020-08-06 Thread Aravind SV
Hello, This is mentioned in the installation documentation as a pre-requisite: Cheers, Aravind -- You received this message because you are subscribed to the Google Groups "go-cd" group. To unsubscribe f

Re: [go-cd] Edit config repo pipeline via API?

2020-08-06 Thread Aravind SV
> we have pipelines defined via config repositories and we have a ruby script > triggering API calls on demand to reconfigure some parameters and environment > variables. Can this even work with config repositories? I'm wondering now, > because we are getting an error when editing some parameter

Re: [go-cd] Pipeline templates as Code

2020-07-16 Thread Aravind SV
Hello Helge, Yes, there has been a lot of discussion around templates in config repos. I'll link to some more conversations below. Unfortunately, there is no plan to incorporate GoCD's templates into config repos. Tomasz, the author of configuration repositories, has mentioned a few times that

Re: [go-cd] Re: How to use managed secret for Github password

2020-07-16 Thread Aravind SV
Hello Helge, > A question regarding Pipelines as code: When exporting the pipeline, e.g. as > JSON, the password (or the placeholder) is exported as encrypted string. This > is not portable between GoCD instances. Is it somehow possible to specify it > in JSON as plain text? I think not. At th

Re: [go-cd] Re: How to use managed secret for Github password

2020-07-16 Thread Aravind SV
> All the steps you have taken are correct. This seems like a bug in GoCD. I > would suggest opening an issue here . I wonder if it's because a pipeline is not created (yet) at the time of "Test connection" – assuming this is at the time of creation of the p

Re: [go-cd] Query on upgrading gocd server 19.12 running in a docker container

2020-07-08 Thread Aravind SV
Hello Steve, I'm not the best person to answer this. I think there are others here who would be using GoCD in this way. I would lean heavily towards approach 2, and not messing around with docker exec, etc. You should still take a full backup before you do anything. You should be able to copy

Re: [go-cd] Re: Changes to GoCD in 2020

2020-06-25 Thread Aravind SV
Hello Roberto, On Wed, Jun 24, 2020 at 20:00:00 -0700, Roberto Yudice wrote: > Hi, was the S3 artifact storage plugin going to be open sourced as well? Not sure which one you're talking about. There wasn't a commercial S3 artifact storage plugin. Cheers, Aravind -- You received this message b

  1   2   3   4   5   >