Re: [go-cd] Wehbook notification plugin

2024-02-19 Thread 'Ashwanth Kumar' via go-cd
I would be happy to provide the necessary support that's needed. Let's connect offline. Sending you a message shortly. Thanks, On Mon, Feb 19, 2024, 18:16 Sylvain Fabre wrote: > Hi there ! > > GoCD is a great tool, and we would like now to send Webhook notifications > to our Mattermost

Re: [go-cd] Re: GOCD Email server configuration

2023-11-22 Thread 'Ashwanth Kumar' via go-cd
Can you please share the relevant gocd-server logs that would likely have more information which is useful for debugging. Thanks, On Thu, 23 Nov 2023 at 11:25, Vijayakumaran A. < vijayakumara...@praniontech.com> wrote: > ps:Before 2 month back im used the same that time its works that was >

Re: [go-cd] Kubernetes Elastic Agents - Pods can no longer be created

2023-10-26 Thread 'Ashwanth Kumar' via go-cd
A wild guess, anything changed on the service account side or a custom role being added as part of the upgrade that is probably not allowing the gocd plugin to create the pod? Thanks, On Thu, 26 Oct 2023 at 20:27, Kim Pham wrote: > Hi All, > > We recently began to encounter issues where pods

Re: [go-cd] Enterprise Support for GoCD

2023-10-02 Thread 'Ashwanth Kumar' via go-cd
Hello Gautam, if you're looking for some help with your migrations or through your journey with GoCD within your organisation, I can help you. Please feel free to contact me on my email. Thanks, On Mon, Oct 2, 2023, 20:17 Gowtham Ravipati wrote: > Hello Chad, > Thank you so much for the

Re: [go-cd] Unable to run Microsoft Upgrade assistant

2023-09-13 Thread 'Ashwanth Kumar' via go-cd
Maybe try adding, "DOTNET_UPGRADEASSISTANT_TELEMETRY_OPTOUT" environment variable to "1"? Ref - https://learn.microsoft.com/en-us/dotnet/core/porting/upgrade-assistant-telemetry?tabs=console#disclosure On Wed, 13 Sept 2023 at 16:55, nitesh...@gmail.com wrote: > Hi team, > > I am trying to

Re: [go-cd] Pipeline behaviour

2023-09-12 Thread 'Ashwanth Kumar' via go-cd
That's how GoCD operates. Each stage is supposed to be an independent entity and if you want to share files or any state, please expose them as artifacts and fetch them. If you want multiple things to run together, it is best to put them into a single job or have multiple jobs run in parallel

Re: [go-cd] Regarding docker elastic agent

2023-08-15 Thread 'Ashwanth Kumar' via go-cd
I think you need to use a gocd-agent image that is baked from maven image. The agent image when started should register with gocd server and have an actual agent running. In your case the image is trying to run mvn command on startup and exits quickly. I can understand if you're new to this

Re: [go-cd] Need help for setup pipeline

2023-08-08 Thread 'Ashwanth Kumar' via go-cd
p project ? That remote machine also need to have double storage right ? > And git pull is wrong method ? > > > > On Wed, 9 Aug 2023 at 10:12 AM, 'Ashwanth Kumar' via go-cd < > go-cd@googlegroups.com> wrote: > >> So just to confirm, you're running go-agent on the same

Re: [go-cd] Need help for setup pipeline

2023-08-08 Thread 'Ashwanth Kumar' via go-cd
more > storage. > On Wednesday, August 9, 2023 at 9:40:15 AM UTC+5:30 Vijayakumaran A. wrote: > >> Hi thanks for the response,Here i have attached my pipeline code. >> >> On Wed, Aug 9, 2023 at 9:26 AM 'Ashwanth Kumar' via go-cd < >> go...@googlegroups.com> wr

Re: [go-cd] Need help for setup pipeline

2023-08-08 Thread 'Ashwanth Kumar' via go-cd
It's hard to debug why it is not reflecting without having the entire pipeline spec or a screenshot of all the tasks that happen. Having said that, based on your note it seems like you're doing `git pull` inside the stage which would defeat the purpose of pipeline materials / tasks. You should

Re: [go-cd] shouldn't required resources also be at the pipeline level?

2023-07-22 Thread 'Ashwanth Kumar' via go-cd
parameter, but > obviously trying to keep everything green here. > > if you're sure it's possible, can you provide a bit more of an example? > > On Sat, Jul 22, 2023 at 7:08 AM 'Ashwanth Kumar' via go-cd < > go-cd@googlegroups.com> wrote: > >> Use Parameters. >>

Re: [go-cd] shouldn't required resources also be at the pipeline level?

2023-07-22 Thread 'Ashwanth Kumar' via go-cd
Use Parameters. On Sat, Jul 22, 2023, 16:24 Josh wrote: > QUESTION: > > Shouldn't we also be able to communicate a resource requirement at the > pipeline level, and not just inside a single job? > > I get that it definately needs to be at the job level since that's the > smallest unit of work

Re: [go-cd] Need to run a command during deployment which persists after the agent is done

2023-06-16 Thread 'Ashwanth Kumar' via go-cd
May be use systemd or supervisord or monit to start your process? On Fri, Jun 16, 2023, 22:48 Tsanko Stoev wrote: > Hello All, > > I wanted to see if there is a way to solve an issue we are having today. > We have a deployment that runs several commands. At the end of the > deployment we run

Re: [go-cd] Optimizing Plugin Loading Time in GoCD Server

2023-05-22 Thread 'Ashwanth Kumar' via go-cd
It shouldn't be taking 2 hours to load all the plugins. You sure it's the plugin startup that's taking the long time and not something else like the number of pipelines or cron or even a slow disk? Thanks, On Mon, 22 May 2023 at 13:52, pradeep devaraj wrote: > Hi All, > > I have 18 plugins in

Re: [go-cd] Checkout sources into the top level pipelie folder

2023-03-25 Thread 'Ashwanth Kumar' via go-cd
I wouldn't recommend gocd does it automatically because think of 2 pipelines running simultaneously with a different SCM commit of the same material, the result would be undefined and not reliable from CD principles. A better approach would be to expose the repo as an artifact from a pipeline and

Re: [go-cd] Email Settings - multiple receivers

2023-03-17 Thread 'Ashwanth Kumar' via go-cd
Usually SMTP uses comma. Does that not work for you? On Fri, Mar 17, 2023, 20:26 Ertan Küçükoglu wrote: > Hello, > > I would like to define two email addresses for the Administrator Email. > There is below text on the page, but not specific separator mentioned. > > "One or more email address of

Re: [go-cd] Force pipeline material to run

2023-03-16 Thread 'Ashwanth Kumar' via go-cd
If "update" is an application (I am reading it as a shared library) that is needed by other downstream systems, then your current design makes sense. Having said that, why would you want to re-trigger a new run of "update" for each new run of the downstream system(s)? That part doesn't make sense,

Re: [go-cd] Force pipeline material to run

2023-03-16 Thread 'Ashwanth Kumar' via go-cd
GoCD can't trigger upstream pipelines by design. The artifacts should ideally flow downwards (eg: from build -> dev -> staging -> prod) and not the other way around. You can set up pipelines such that if you trigger Pipeline 1 and it passes, it can trigger Pipeline 2 and so on. In your case if

Re: [go-cd] GoCD is slow, several git processes are running with high cpu usage

2023-01-11 Thread 'Ashwanth Kumar' via go-cd
Can you check the avg. disk io on the machine? Something like: $ iostat -k 2 Also are you using SSDs or HDDs on the GoCD Server? If you're using HDDs see if you can run the same setup on SSDs to see if there is a difference. Thanks, On Wed, 11 Jan 2023 at 12:28, Brandon V wrote: > Hi all,

Re: [go-cd] How to aggregate the artifacts of a build matrix

2023-01-06 Thread 'Ashwanth Kumar' via go-cd
Under ideal conditions, I would assume a test failure means the report would either be incomplete or not useful isn't it? AFAIK there isn't a post-build job for a stage, you can do it at a job level though using "Run If" Attribute of the tasks. Here are a few ways to get what you need, it might

Re: [go-cd] GOCD API to Search Pipelines

2022-12-28 Thread 'Ashwanth Kumar' via go-cd
Short answer: No You can use the 'Get all Pipelines ' API to get the whole list of pipelines (in memory or disk) and then implement a prefix search or a lookup on your end. Curious though, is the list of pipelines so large that you need a search

Re: [go-cd] Running additional stages in a pipeline utilizing a template.

2022-11-17 Thread 'Ashwanth Kumar' via go-cd
You can do this using by cloning the existing template and adding the required stages. Thanks, On Thu, Nov 17, 2022, 05:51 Drew wrote: > Hi all, > > I'm wondering if it is possible to add an additional stage in addition to > a template for a pipeline? I want one particular pipeline using a

Re: [go-cd] How to Print Secure Variable Value In console

2022-11-09 Thread 'Ashwanth Kumar' via go-cd
It is by design GoCD does not print secure variables in the console. It is no longer secure if folks can just env on the command to see the variables. The value will be passed correctly to the program. You shouldn't try to print the variable in stdout/stderr, if you must absolutely check the

Re: [go-cd] Need help in resolving few issues with GoCD 20.4

2022-11-02 Thread 'Ashwanth Kumar' via go-cd
>From the attached screenshot the error seems like something to do with a network configuration. > kex_exchange_identification: read: Connection reset by peer First answer on SO also says the same. Also if you can check the go-server.log, it might have

Re: [go-cd] Long running GoCD Pipeline

2022-10-18 Thread 'Ashwanth Kumar' via go-cd
GoCD supports a job timeout the stage after x minutes of inactivity. Now even after explicitly cancelling the stage you see the above error, you might want to look into the go-server logs to see if there are any errors / stack traces

Re: [go-cd] Gocd backup error

2022-09-08 Thread 'Ashwanth Kumar' via go-cd
Can you check disk space usage where `serverBackups` exist? Thanks, On Fri, 9 Sept 2022 at 00:10, VIjay wrote: > Hi, > I am trying to perform gocd-server backup. > My gocd-server version is - 18.10.0 > > when hit perform back up I am seeing below error- > Failed to perform backup. Reason:

Re: [go-cd] Setting up a test server

2022-07-31 Thread 'Ashwanth Kumar' via go-cd
Maybe using GoCD's backup and restore may be? Ref - https://docs.gocd.org/current/advanced_usage/one_click_backup.html#restoring-gocd-using-backup Thanks, On Sun, 31 Jul 2022 at 21:27, Tim Stevens wrote: > Hello, I would like to setup a test server with GoCD installed, but using > a copy of

Re: [go-cd] How Can we Integrate Jira ?

2022-07-30 Thread 'Ashwanth Kumar' via go-cd
Environment variables are usually at a pipeline level, if you want it accessible to more than 1 pipeline, you want to have all the related pipelines inside an environment and define env vars at an environment level in GoCD. Thanks, On Sat, 30 Jul 2022 at 12:01, Nayan Makwana wrote: > yes I

Re: [go-cd] How Can we Integrate Jira ?

2022-07-29 Thread 'Ashwanth Kumar' via go-cd
AFAIK there isn't any plugin for JIRA notifications at the moment in GoCD. You might want to write a notification plugin for this. Just curious though, Would the notifications be sent based on the ticket that's in the commit message? Thanks, On Sat, 30 Jul 2022 at 10:27, Nayan Makwana wrote:

Re: [go-cd] Is their any option or plugin which can copy whole pipeline VSM for another environment

2022-07-27 Thread 'Ashwanth Kumar' via go-cd
A few suggestions: 1. By environment. if you're referring to Environments in GoCD, then you should be able to clone the pipeline and assign the environments accordingly after the clone. It's a few extra clicks but the easiest way. 2. If you can convert the pipeline to YAML/JSON then

Re: [go-cd] how to achieve workflow like given bellow

2022-07-25 Thread 'Ashwanth Kumar' via go-cd
Hello, Without getting into too much specifics, the way we used to construct *conditional workflows* are as follows: The condition is modelled as a stage in the pipeline A usually. The If-true is pipeline B and if-else is pipeline C.So you run your workflow and towards the end (on the last

Re: [go-cd] GoCD as an internal customized CI/CD platform

2022-07-05 Thread 'Ashwanth Kumar' via go-cd
GoCD server has a well documented API documentation at https://api.gocd.org/current/. You can build your own interface if interested using that. I should warn you it's not that trivial to do so. You can look at https://github.com/karmats/gocd-monitor for some inspiration. Thanks, On Tue, Jul

Re: [go-cd] Global Env variables using Pipelines as Code?

2022-04-22 Thread 'Ashwanth Kumar' via go-cd
In this example on the README : I see environments and pipelines defined. Does that not help? On Fri, 22 Apr 2022 at 01:08, Sifu Tian wrote: > Hi, > > I recently converted all of our pipelines to leverage config repository. > One thing I

Re: [go-cd] How GoCD Works

2022-04-18 Thread 'Ashwanth Kumar' via go-cd
You might want to start off with this book . On Mon, 18 Apr 2022 at 22:48, Rahul Khinchi wrote: > Hello GoCD Community, > I am Rahul Khinchi and I want to use GoCD for my project. I just wanted to >

Re: [go-cd] Multiple spawn of Tasks running on a pipeline issue

2022-04-12 Thread 'Ashwanth Kumar' via go-cd
Great that you were able to figure out the root cause. Cheers. On Wed, Apr 13, 2022, 08:20 Sifu Tian wrote: > Hi Ash, > > I wanted to provide a follow-up response and say that I found the root > cause of the issue. > > What I discovered is that during each stage, depending on the scripts our >

Re: [go-cd] Running a pipeline multiple times in parallel in not possible?

2022-03-04 Thread 'Ashwanth Kumar' via go-cd
Template is a set of stage / job combinations which can be created once and re-used across multiple pipelines. Think of a case where-in you've a deploy pipeline called "Deploy-A-Staging", you might need another deploy pipeline for production push say "Deploy-A-Production". In this way, you want

Re: [go-cd] Delete Pipelines in /var/lib/go-agent/pipelines

2022-03-03 Thread 'Ashwanth Kumar' via go-cd
See if this is useful: https://gist.github.com/ashwanthkumar/9ba57d8cdfbcae956ba92a99ebf74bc4 In GoCD when an agent runs a pipeline / stage / job, that job has exclusive access to the agent. So we've a pipeline that is marked to run on all available agents once a day (generally when you know most

Re: [go-cd] Running a pipeline multiple times in parallel in not possible?

2022-03-03 Thread 'Ashwanth Kumar' via go-cd
Unfortunately as you've already discovered GoCD locks at a pipeline-stage level today. So if you don't have the pipeline locked -- You can run the same pipeline in parallel, where the parallelism is defined by the number of stages in the pipeline. If you've locking enabled or just a single stage

Re: [go-cd] Running a pipeline multiple times in parallel in not possible?

2022-03-02 Thread 'Ashwanth Kumar' via go-cd
> I would like to simplify even more problem description. Basically I have X agents. I need to call a "manager" that tells me "there is a free agent". Then I tell the "manager" to run a software on that agent. If there are no more free agents I wait. This is exactly how GoCD works - Manager (the

Re: [go-cd] Windows with space in path

2022-02-24 Thread 'Ashwanth Kumar' via go-cd
There is a comment with a possible workaround on the linked issue - https://github.com/gocd/gocd/issues/4173#issuecomment-596109199. Have you tried that? We've a similar problem with linux based systems as well. As a general rule I always wrap all my commands inside a shell script (or in your

Re: [go-cd] Can get GoCD to perform Git clone when triggering a pipeline

2022-02-24 Thread 'Ashwanth Kumar' via go-cd
Just checking in to see if you're seeing this error while doing "Check Connection" or while running the pipeline? If it's while running the pipeline, then the credentials would have to be present at the go-agent and not at the server because agents do the git clone of the materials for the

Re: [go-cd] Git material authentication using cached username

2022-02-23 Thread 'Ashwanth Kumar' via go-cd
Enjoy your weekend! On Wed, 23 Feb 2022 at 22:49, cal...@vertify.com wrote: > Brilliant, it worked! Thanks so much Ashwanth. Now I will have my weekend > back since I won't be setting up a new GoCD server before the March 1 > deadline :) > > On Wednesday, February 23, 2022 at 11:03:34 AM UTC-6

Re: [go-cd] Git material authentication using cached username

2022-02-23 Thread 'Ashwanth Kumar' via go-cd
As part of the list of things you're willing to try, please try this approach as well: *try changing any character case in your scm connection url. * Eg: Instead of *bitbucket.org/myorg/somerepo.git * try something like *Bitbucket.org/myorg/somerepo.git

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

2021-12-06 Thread 'Ashwanth Kumar' via go-cd
GoCD doesn't give this information out of the box, but you can probably use this answer (https://stackoverflow.com/a/55665550/11474419) to get that yourself. You can get the commit id(s) via environment variable(s) for the required material that's configured in the pipeline. Thanks, On Mon,

Re: [go-cd] error trying to execute a command [script-executor] Script completed with exit code: 127.

2021-12-03 Thread 'Ashwanth Kumar' via go-cd
A few things you can try: 1. Try adding the shebang for bash on your script. -- this will help ensure bash is the interpreter that's being used and it would pick up the *.bashrc* from go user. 2. See if you can update the *PATH* on */etc/profile* or a similar path so even sh sheel can pick it up.

Re: [go-cd] Go / Golang - Impossible to run go build

2021-11-22 Thread 'Ashwanth Kumar' via go-cd
>From a GoCD point of view there is no difference between yarn build and go build. After adding *go* binary to PATH have you tried restarting the agents? If not please restart them and try running the pipeline. We do build go projects in GoCD without issues. On Mon, Nov 22, 2021, 21:02

Re: [go-cd] Is it possible a hung job causes other running jobs to reschedule as well?

2021-10-13 Thread 'Ashwanth Kumar' via go-cd
Scenario(s) that I've personally experienced in GoCD: 1. *Job is actually hung or it doesn't write anything to stdout / stderr for a long time, which is the definition of job hung in GoCD* -- GoCD still doesn't kill the job or reschedule it. If you've configured job hung timeout then

Re: [go-cd] Need info in gocd pipeline setting for time gap

2021-09-01 Thread 'Ashwanth Kumar' via go-cd
steps for pipeline A which needs to wait > for 1 hour > > I can have some other way like using AWS lambda but this is the easiest > way what i could see. > > > On Wed, Sep 1, 2021 at 12:10 PM 'Ashwanth Kumar' via go-cd < > go-cd@googlegroups.com> wrote: > >> You

Re: [go-cd] Need info in gocd pipeline setting for time gap

2021-09-01 Thread 'Ashwanth Kumar' via go-cd
You can't do that across stages in a single pipeline but you might be able to do it across pipelines. I'm going to assume pipeline A is the first pipeline and you want pipeline B to run 2 hours after A has finished. Here are some possible scenarios: 1. Pipeline A runs on a schedule If yes, then

Re: [go-cd] Re: Failover, HotStandby of GoCD

2021-08-30 Thread 'Ashwanth Kumar' via go-cd
I don't know what kind of workloads you're running or plan on running on GoCD that require a Hot Standby. But here are some of my notes if you want to setup a quick failover for GoCD. *The Easy Way* You should look into this addon

Re: [go-cd] After upgraded to 20.10.0-12356 - No pipeline is visible

2021-07-08 Thread 'Ashwanth Kumar' via go-cd
What does the server logs say? On Thu, Jul 8, 2021, 3:40 PM Sathish Ravi wrote: > Hi, > > After we upgraded to from 18.3.0-6540 to 20.10.0-12356. Go dashboard is > not displaying any pipeline that are added before. > > I was getting a empty screen. > > Can you help me on this. > > -- > You

Re: [go-cd] Re: Pipeline failing in Go Server

2021-06-21 Thread 'Ashwanth Kumar' via go-cd
This is a long shot, but can you ssh into the failing agent machine, kill the go-agent process and restart it? After that try assigning the failing job to that agent and see if it works. On Mon, Jun 21, 2021, 10:47 PM Sushma Gangaiah wrote: > Hi Jason, > > The builds in these agents were

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

2021-06-02 Thread 'Ashwanth Kumar' via go-cd
I found another post on the OpenJDK mailing list to explain more clearly. http://mail.openjdk.java.net/pipermail/jdk-dev/2018-August/001841.html This further confirms that vendors who have forked OpenJDK might support it but not OpenJDK itself. On Wed, Jun 2, 2021, 7:57 PM Ashwanth Kumar

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

2021-06-02 Thread 'Ashwanth Kumar' via go-cd
Taking the notes from GoCD stance ( https://www.gocd.org/2019/05/21/official-stance-on-java/) and looking at IntelliJ blog post ( https://blog.jetbrains.com/idea/2018/09/using-java-11-in-production-important-things-to-know/), and OpenJDK releases page (https://jdk.java.net/archive/) and assuming

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

2021-05-28 Thread 'Ashwanth Kumar' via go-cd
The password file format is documented in the Usage Instruction section at https://github.com/gocd/gocd-filebased-authentication-plugin#usage-instructions. To quote > You can put as many username/hashed password pairs as you like -- use a new line for each one This section on the README talks

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

2021-05-28 Thread 'Ashwanth Kumar' via go-cd
RTFM 1. https://docs.gocd.org/current/configuration/dev_authentication.html 2. https://github.com/gocd/gocd-filebased-authentication-plugin#readme On Fri, May 28, 2021 at 10:29 PM 'smtechx5000' via go-cd < go-cd@googlegroups.com> wrote: > See what I mean? Where is all this

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

2021-05-26 Thread 'Ashwanth Kumar' via go-cd
> PKIX path building failed: sun.security.provider.certpath.SunCertPathBuilderException: unable to find valid certification path to requested target This error usually means, SSL Certificate is not trusted on the client side (whoever is making a request). In this case it's the agent. Couple of

Re: [go-cd] HTTP invoker error in GoCD

2021-05-23 Thread 'Ashwanth Kumar' via go-cd
Please add the GoCD and Java version you're using. Also if there were any recent changes in the infrastructure related to the Load Balancer for GoCD / Server <--> Agent communication? Also related issue on GoCD -- https://github.com/gocd/gocd/issues/1341 Thanks, On Mon, May 24, 2021 at 9:01 AM

Re: [go-cd] GO CD - artifacts management in pipeline management

2021-05-18 Thread 'Ashwanth Kumar' via go-cd
Check out a similar discussion at https://groups.google.com/forum/#!topic/go-cd/HfOY_74OKhI/discussion. Shameless plug: I've developed gocd-janitor to handle this exact problem. It's available at https://github.com/ashwanthkumar/gocd-janitor. I've been using this in production for well around 5

Re: [go-cd] Actual compute resources for high load

2021-05-18 Thread 'Ashwanth Kumar' via go-cd
We use multiple GoCD instances, but one of our largest CI/CD setup uses a *c5.4xlarge* instance on AWS. It has 32GB RAM, 16 Core CPU, 2x200GB SSD disks attached. I should also add, we run close to 10 agents on the same machine apart from the *go-server* process. It still uses H2 as the backend. It

Re: [go-cd] GO CD - Agents not getting assigned

2021-05-18 Thread 'Ashwanth Kumar' via go-cd
go-server is usually a single process. Given the agents are anyways not picking up the jobs, I don't see a problem with restarting. As long as they have the same address when it comes back up, the agents would be able to communicate back to the server. PS: As always, please take a backup

Re: [go-cd] GO CD - Agents not getting assigned

2021-05-17 Thread 'Ashwanth Kumar' via go-cd
If you're on linux, sometimes some process could have deleted the files but still have them open. That could be the reason for the difference in free disk space that you see, via a process and `df / du` commands. This answer

Re: [go-cd] API to trigger a pipeline

2021-05-10 Thread 'Ashwanth Kumar' via go-cd
Check out the "Scheduling pipelines" section. On Tue, May 11, 2021, 4:49 AM HUSSEIN KADIRI wrote: > Hi, > My use case involves an external system triggering a CI workflow. > > I can trigger a pipeline by hitting the play button on the UI. I'm looking > thru the API docs for pipelines: >

Re: [go-cd] Configuring pipeline configuration repo

2021-05-08 Thread 'Ashwanth Kumar' via go-cd
I've personally used one GoCD instance per team and eventually combined them into one a few years later. There are few pros / cons with both, but may be that's for another day. For getting started the very first time, just setup things via UI. From there on use the backup at periodic intervals

Re: [go-cd] Create Pluggable SCM error?

2021-04-27 Thread 'Ashwanth Kumar' via go-cd
I have never used a Github Enterprise setup before, but judging from the Postman output and the error you get on the Validation screen. Doesn't the API need any creds to access it? Because on the Postman I can see the owner as "devops" (not sure if it's the default user for unauthenticated

Re: [go-cd] Migration from 16.1.0 to 21.2.0 corrupted my h2db

2021-04-27 Thread 'Ashwanth Kumar' via go-cd
Only way to recover is to use a backup. I'm hoping you took a backup before attempting the upgrade. If not, I would recommend going back to 21.2.0 and solve the issues. PS: Also as a general rule, it is not recommended doing an upgrade across 5+ years of release. Thanks, On Tue, Apr 27, 2021

Re: [go-cd] Create Pluggable SCM error?

2021-04-26 Thread 'Ashwanth Kumar' via go-cd
Emil, I'm one of the authors of the Plugin you're running into issue with. On the README of the plugin, there would be a section on configuring the Github Enterprise Endpoint. I'm assuming you've done that? If yes, can you

Re: [go-cd] Automating Docker server accepting agents using API (and others)

2021-04-15 Thread 'Ashwanth Kumar' via go-cd
For the auto approval of agents you might want to check the manual at https://docs.gocd.org/current/advanced_usage/agent_auto_register.html On Thu, Apr 15, 2021, 7:15 PM Nikola Radovanovic wrote: > Hi, > today I played a little bit with GoCD and ended up creating one Docker > compose with

Re: [go-cd] Remove pipeline directory on agent after completion

2021-03-05 Thread 'Ashwanth Kumar' via go-cd
AFAIK there isn't any feature so far in GoCD. We currently use custom script to delete all the other pipelines on an Agent by running a cleanup pipeline periodically. Since each agent is exclusive to a pipeline run, you can safely delete all the other pipelines in the working directory via the

Re: [go-cd] How to get all environment variables of a running task?

2021-01-30 Thread 'Ashwanth Kumar' via go-cd
Okay, I just realised from this post once again. I don't think there is any way to get only those values that are set directly, instead if you know what those values are then you can write a script to write these values into a text file and use that as a artifact for the remaining Tasks. Having

Re: [go-cd] How to get all environment variables of a running task?

2021-01-30 Thread 'Ashwanth Kumar' via go-cd
The process environment variables overrides the system variables (if any). If you're interested only in the environment variables that are shown above you don't have to worry about value being changed or overwritten by another process because GoCD uses *bash -c* to run tasks with the new variables

Re: [go-cd] How to get all environment variables of a running task?

2021-01-30 Thread 'Ashwanth Kumar' via go-cd
If you're on a Linux instance try using the *env* command. On Sat, 30 Jan, 2021, 21:14 zuk...@gmail.com, wrote: > Hi all, > > I am deploying an image to AWS ECS using task definitions. In order for me > to inject the environment variables from Go into the task definition, I > require all the

Re: [go-cd] Error Starting go-agent version-18.3.0-6540

2021-01-29 Thread 'Ashwanth Kumar' via go-cd
>From the stacktrace, 127.0.0.1:8154 [/127.0.0.1] failed: Connection refused (Connection refused) It looks like the GoCD Server is not running on the same server as the agents. Is the server running when you're starting the agents? On Fri, Jan 29, 2021 at 8:40 PM Sathish Ravi wrote: > Hi,

Re: [go-cd] Error Starting go-agent version-18.3.0-6540

2021-01-26 Thread 'Ashwanth Kumar' via go-cd
It would help if you can share the stacktrace or logs from the go-agent that is failing. On Tue, Jan 26, 2021 at 6:02 PM Sathish Ravi wrote: > Hi, > > Gocd agent not starting after reinstalled in the server. > > Server setup failing in the AWS opsworks instance > >

Re: [go-cd] Mark Ready for Release - Go Pipes

2021-01-18 Thread 'Ashwanth Kumar' via go-cd
One way is to have a marker stage at the end of the pipeline (say Pipeline A) that is set to manual. Now assuming a Pipeline B (high environment) is pulling the artifacts (or traversing through) from Pipeline A, we set it to be dependent on this manual stage. So unless the manual stage is

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

2021-01-09 Thread 'Ashwanth Kumar' via go-cd
You can check the GoCD APIs online at https://api.gocd.org/ (against the corresponding version of your GoCD Server). If you're planning to automate your way through, https://github.com/gocd-contrib/gomatic might be of your interest. On Sun, Jan 10, 2021 at 12:38 PM Nitesh Kumar wrote: >

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

2021-01-08 Thread 'Ashwanth Kumar' via go-cd
IMHO, Environment in GoCD helps in grouping pipelines to provide environment related settings (via environment variables) or agents (that have environment specific access / configurations). A variable used in the pipeline's material isn't specific to an environment and also Parameters are specific

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

2021-01-08 Thread 'Ashwanth Kumar' via go-cd
You could use Parameters for that purpose. On Fri, 8 Jan, 2021, 18:13 nitesh...@gmail.com, wrote: > Hi, > > is there any way we can use a lobal variable and use that variable in my > GO pipe Material path - like TFS repo path > > This is really urgent , and quick help will be very much

Re: [go-cd] i want set environment variable GO_PIPELINE_COUNTER in task command

2020-12-30 Thread 'Ashwanth Kumar' via go-cd
GoCD's Agent architecture doesn't run the entire job (within a stage) in a single shell. So if you export / set an environment variable in one task and try to access it in the next. It wouldn't work. I would suggest using a BAT/PS script (if you're on Windows) or shell script (if you're on Linux /

Re: [go-cd] gocd slack build notifier

2020-12-30 Thread 'Ashwanth Kumar' via go-cd
Hello Rajesh, Thanks for using the Slack plugin. The error comes up when the go_notify.conf is not found / accessible by the plugin. Please check the README on where to place the file (inside the docker container). Note

Re: [go-cd] Re: Update from GoCD bootstrap steering committee

2020-12-18 Thread 'Ashwanth Kumar' via go-cd
Thanks Joel, I'll discuss with other members and connect with you offline to discuss further on this. Thanks, On Fri, Dec 18, 2020 at 7:05 PM Joel Bodenmann wrote: > Hi, > > I am fairly new to GoCD (started using it a couple of weeks ago, first > privately and now also in our company).

[go-cd] Update from GoCD bootstrap steering committee

2020-12-17 Thread 'Ashwanth Kumar' via go-cd
Hello everyone, We wanted to give you an update about how development work on GoCD is likely to operate in the future. As you might remember, ThoughtWorks announced they were no longer going to focus on supporting GoCD as a project.

Re: [go-cd] Public build status query

2020-12-03 Thread 'Ashwanth Kumar' via go-cd
I forgot to add that I'm not using any of it now in production. Having said that, I would be happy to collaborate on this if interested. On Thu, 3 Dec, 2020, 19:32 Ashwanth Kumar, wrote: > If it helps, I tried doing this a few years back. May be these might serve > as a basis for what you want

Re: [go-cd] Public build status query

2020-12-03 Thread 'Ashwanth Kumar' via go-cd
If it helps, I tried doing this a few years back. May be these might serve as a basis for what you want to achieve https://github.com/ashwanthkumar/gocd-build-badge-notifier https://github.com/ashwanthkumar/gocd-build-badge-server Some practical problems are that GoCD installations are

Re: [go-cd] Deployment

2020-10-29 Thread 'Ashwanth Kumar' via go-cd
Hello John, GoCD doesn't force you to use any particular tool for deployment. You can use a simple FTP or SCP commands from a PS / BAT file to copy your project build artifacts to a remote server for deployment. On Thu, Oct 29, 2020 at 9:36 PM John Lawrence wrote: > I am new to GoCD and not

Re: [go-cd] How to clear cached material source repo on gocd server?

2020-10-05 Thread 'Ashwanth Kumar' via go-cd
Make a new commit to that repo. It should fix the problem. GoCD stores the state in the DB. On Mon, 5 Oct, 2020, 15:54 Bojan S., wrote: > Hi all. > > Source repo for 3rd party lib I am using has forced pushed some changed to > master, which our gocd accepted, but they removed those commits back

Re: [go-cd] GOCD GitHUB Integration and Workflow

2020-08-27 Thread 'Ashwanth Kumar' via go-cd
You can use Github with GoCD. 1. If you're using GoCD in a Private Subnet, you might want to make sure you're able to access port 22 (for SSH) or 443 (for HTTPS) based cloning from Github. Check both on the Security Group and NACLs (if any). In short, If you can do a *git clone* of

Re: [go-cd] Debugging SMTP connection problem

2020-08-27 Thread 'Ashwanth Kumar' via go-cd
I'll probably wait for GoCD Developers to respond on the SMTP log. AFAIK there aren't any but there may be a flag to enable it. Based on the stack trace you shared earlier, it looks like there was an error with the credentials that was passed to GoCD. javax.mail.AuthenticationFailedException:

Re: [go-cd] Debugging SMTP connection problem

2020-08-27 Thread 'Ashwanth Kumar' via go-cd
>From the logs looks like the GoCD server is not able to connect to the SMTP server that's configured. May be check the firewall settings? The relevant section is the SocketTimeoutException from the logs. On Thu, 27 Aug, 2020, 20:35 Jeroen Oortwijn, < jeroen.oortwijn.rom...@gmail.com> wrote: >

Re: [go-cd] material update is currently running but has not showing any activity

2020-08-27 Thread 'Ashwanth Kumar' via go-cd
Please try restarting the GoCD server and see if the issue persists. The material update generally runs on server. On Thu, 27 Aug, 2020, 11:01 Sushma Gangaiah, wrote: > Hi All, > > Recently I am facing "material update is currently running but has not > showing any activity" warning, this holds

Re: [go-cd] How to checkout a git tag

2020-08-24 Thread 'Ashwanth Kumar' via go-cd
Try specifying the tag name in the branch parameter of Git material. On Tue, 25 Aug, 2020, 05:13 Shalin Patel, wrote: > I am writing a pipeline to test upgrade flow with following steps. > 1) checkout master branch > 2) checkout old git tag v0.0.1 > 3) checkout latest git tag v0.0.3 > > I need

Re: [go-cd] Config Material Update Error

2020-07-10 Thread 'Ashwanth Kumar' via go-cd
Try deleting the folder in the log file. That might generally fix the problem. The local .git folder ia corrupt or in a state where GoCD is not able to auto reset the working directory. Was the repo force pushed anytime recently? I've seen that also cause these kind of issues in the past. On Sat,

Re: [go-cd] gocd - upload artifact to google storage bucket

2020-06-24 Thread 'Ashwanth Kumar' via go-cd
I've been using S3 for artifact storage (one of the authors of gocd-s3-artifacts suite of plugins) for a long time now, and we still have to handle the same issue. You need AWS Credentials in terms of AccessKey and SecretKey or IAM roles on the

Re: [go-cd] gocd - upload artifact to google storage bucket

2020-06-24 Thread 'Ashwanth Kumar' via go-cd
Looking at https://www.gocd.org/plugins.html, I don't think there is any Google Storage plugin at this point for GoCD. One way to upload an artifact is to have a task that can use the gsutil cp from a script or directly as a task. Thanks,

Re: [go-cd] GOCD Server slow....

2020-06-10 Thread 'Ashwanth Kumar' via go-cd
Generally as a routine I loosely check these (in the given order): 1. Internet speed test. I'm from India, so I need to make sure my internet is working fine. 2. Try resetting / clearing cache for the domain on your browser or try incognito mode (if available). 3. Check

Re: [go-cd] Anyone else getting subversion SSL expiration notifications today?

2020-05-31 Thread 'Ashwanth Kumar' via go-cd
Wild thought, Could it be related to this ongoing issue on Sectigo root CA expiring on May 31? https://www.reddit.com/r/linux/comments/gshh70/sectigo_root_ca_expiring_may_not_be_handled_well/ Quoting from the thread on reddit. > It looks like some older distributions of linux (we've seen issues

Re: [go-cd] Plugins - Post GoCD Upgrade

2020-04-29 Thread 'Ashwanth Kumar' via go-cd
I guess not all plugins implement an icon like the bundled version. You might want to check the plugin logs for possible errors or try using those plugins to see if they work or not. On Wed, Apr 29, 2020 at 6:30 PM Bala s wrote: > Hi All, > > Thanks for your support. We can able to upgrade go

Re: [go-cd] failure trying to start a gocd-server docker image v19.10.0 and onwards

2020-04-21 Thread 'Ashwanth Kumar' via go-cd
This blog post might help you - https://www.gocd.org/2019/06/25/GoCD-non-root-containers/ On Tue, 21 Apr, 2020, 17:37 Srinivas Jonnalagadda, < srini.jonnalaga...@gmail.com> wrote: > Here is my Dockerfile > > --- > FROM gocd/gocd-server:v19.10.0 > > WORKDIR . > #RUN echo pwd &&

Re: [go-cd] Passing variable to tasks

2020-04-08 Thread 'Ashwanth Kumar' via go-cd
ed to pass the path to my command which will be something like >>> this: >>> make build path=$(pwd) >>> >>> Where I mention *make *in custom command field. How do you suggest to >>> use *bash -c * with this command? >>> >>> On Wed, Apr 8, 2020,

Re: [go-cd] Passing variable to tasks

2020-04-08 Thread 'Ashwanth Kumar' via go-cd
Try using it like this bash -c "echo $(pwd)" On Wed, 8 Apr, 2020, 19:16 Shivani Shinde, wrote: > Hi, > Thank you for responding. > I was initially using scripts only, but due to some reasons I need to > mention git URL in materials. > > I also tried using $(pwd) as suggested by you, but it

  1   2   >