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

2023-08-08 Thread 'Ashwanth Kumar' via go-cd
Usually "git pull" means you're pulling the latest changes from the server. While for 90% of your case it might be right, but when you're using the "git pull" method you are not leveraging GoCD's power to the full extent. Also why you're not able to roll back the changes when you do "trigger with

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

2023-08-08 Thread Vijayakumaran A.
Thankyou so much.Yes the given yaml file go server and agent are in same machine. But I have multiple projects same like this I have another remote machine in that go-agent is running and which have same setup but different meteial.when trigger the pipeline,pipeline start running on this remote

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

2023-08-08 Thread 'Ashwanth Kumar' via go-cd
So just to confirm, you're running go-agent on the same machine where your server is running? If yes (which seems to be the case based on the YAML file), then the answer to your question is also "Yes". You need to copy the same set of files over again, it also means it will take twice the space.

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

2023-08-08 Thread Vijayakumaran A.
My php project has a huge size.material checked in go-agent home path(/usr/share/go-agent/).so everytime pipeline run we need to copy all my files/folder from go-agent home path(/usr/share/go-agent/lib/pipelines/pipeline name ) to my project directory (var/www/html).is this correct approach ?

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

2023-08-08 Thread Vijayakumaran A.
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-cd@googlegroups.com> wrote: > 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.

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

[go-cd] Need help for setup pipeline

2023-08-08 Thread Vijayakumaran A.
Hi Team, I have one requirement, we have a php application,Whenever a developer pushes their code to a repository, gocd automatically triggers the pipeline and deploy the latest code to the php project directory. example : php project dir : /var/ww/html Whenever pushes happen my pipeline

Re: [go-cd] Config Repositories has always in fetch status

2023-08-08 Thread Chad Wilson
Hmm, given your description and the basic metrics you shared, the behaviour sounds strange. To step back slightly and confirm the issue, please look inside the container at the process tree (via ps, top etc) and see whether there are a large number of forked git processes. If there *are*, we want

Re: [go-cd] Config Repositories has always in fetch status

2023-08-08 Thread Komgrit Aneksri
Hello Chad, What did you change around the time this behaviour started happening? -GoCD = no -Gitlab = upgrade from 16.2.0 to 16.2.3 Which container image for the server are you using? (only gocd-server-centos-9 is built for ARM64 - if you

Re: [go-cd] Log in Issues

2023-08-08 Thread Chad Wilson
I didn't say to delete the config file (I explained why that might not work) - I said to *edit* the config file and remove the ... block from the XML content. -Chad On Tue, Aug 8, 2023 at 5:37 PM Alex Murphy wrote: > I tried the way you told me, but nothing changed. I followed the above >

Re: [go-cd] Log in Issues

2023-08-08 Thread Alex Murphy
I tried the way you told me, but nothing changed. I followed the above steps: 1. stop the GoCD server service 2. delete the config file 3. start the server service And then the config file was shown again and the content is same as the file was deleted. 在2023年8月8日星期二 UTC+8 11:11:21 写道: >

Re: [go-cd] Config Repositories has always in fetch status

2023-08-08 Thread Chad Wilson
If you are getting logs like that, it sounds like the container is experiencing CPU starvation. - What did you change around the time this behaviour started happening? - Which container image for the server are you using? (only gocd-server-centos-9

Re: [go-cd] Config Repositories has always in fetch status

2023-08-08 Thread Komgrit Aneksri
Hello Chad, Thank you for your advice. I tried run git clone with debug environment variables command in gocd server pod. So the command run successfully and there is no any abnormal log. And CPU and memory are not high usage. We tried restart gocd server pods many time but it is not help.