Re: [go-cd] GOCD restart issue

2024-05-07 Thread Vijayakumaran A.
its is just regular container in linux server and used local disk for volume

On Tuesday, May 7, 2024 at 9:18:37 PM UTC+5:30 Vijayakumaran A. wrote:

> We have started container using docker start servicename.
>
> Here is the composer file of gocd server part 
>
> server:
> container_name: gocd-server
> image: gocd/gocd-server:v23.4.0
> restart: always
> ports:
>   - "8153:8153"
> volumes:
>   - ./gocd/data:/godata
>   - ./gocd/data/home:/home/go
>   - ./gocd/scripts/server:/docker-entrypoint.d
>   - ./gocd/scripts/shared:/shared
>   - ./gocd/passwd:/godata/config/passwd
>   - 
> ./gocd/docker-elastic-agents-3.2.3-415.jar:/go-working-dir/plugins/external
> networks:
>   - gocd
>
>
>
> On Tuesday, May 7, 2024 at 9:05:30 PM UTC+5:30 Chad Wilson wrote:
>
>> Please share how you are starting the container and what mounts you are 
>> using, especially to /godata.
>>
>> Your container may have permissions issues writing to /godata or issues 
>> mounting the filesystem in writeable mode. Is it some kind of NFS volume? 
>> Is it mounted by another container/host already and thus is being mounted 
>> in read-only mode? is this a Helm/Kubernetes install, or just a regular 
>> container on a server?
>>
>> You can exec into the container and check /godata and /go-working-dir are 
>> writable by the `go` user.
>>
>> -Chad
>>
>> On Tue, May 7, 2024 at 11:21 PM Sriram Narayanan  
>> wrote:
>>
>>>
>>>
>>> On Tue, May 7, 2024 at 10:33 PM Vijayakumaran A. <
>>> vijayak...@praniontech.com> wrote:
>>>
>>>> Team,we have just restarted the gocd container now gocd not started.
>>>>
>>>> Having below in docker logs please help 
>>>> [image: go1.PNG][image: go2.PNG]
>>>>
>>>>
>>> Looks like something is wrong with the container system. 
>>> /go-working-dir/ is a runtime symlink directory created here 
>>> https://github.com/gocd/docker-gocd-server/blob/master/docker-entrypoint.sh#L41
>>>
>>> If a directory is not getting created, then there is an underlying issue 
>>> unrelated to GoCD and entirely related to the underlying container system. 
>>> Please see if a container restart helps you continue. You should also check 
>>> the container system's logs. To share something that we saw at our project 
>>> two weeks ago, one of the EKS clusters was still running at version 1.23 
>>> and we would often see the error "Out of storage space" (sometimes once a 
>>> day). When I'd exec into the container, I found that we were unable to make 
>>> directories but were able to create files. We upgrades to EKS 1.24 and that 
>>> error has not recurred since then.
>>>
>>> I also see that you are using GoCD 23.4 and the H2DB. If this is a GoCD 
>>> setup that you are using for your project, then I urge you to use the 
>>> postgres database instead. See 
>>> https://github.com/gocd/gocd-database-migrator
>>>  
>>>
>>>> -- 
>>>> 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+un...@googlegroups.com.
>>>> To view this discussion on the web visit 
>>>> https://groups.google.com/d/msgid/go-cd/5df023fd-f859-4a6b-99e7-92e3063653e7n%40googlegroups.com
>>>>  
>>>> <https://groups.google.com/d/msgid/go-cd/5df023fd-f859-4a6b-99e7-92e3063653e7n%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 go-cd+un...@googlegroups.com.
>>>
>> To view this discussion on the web visit 
>>> https://groups.google.com/d/msgid/go-cd/CANiY96bSuG28hLLP_A%2Bij%3DKt0xO%3Digxb3zawjKXcj_bjnAWpLg%40mail.gmail.com
>>>  
>>> <https://groups.google.com/d/msgid/go-cd/CANiY96bSuG28hLLP_A%2Bij%3DKt0xO%3Digxb3zawjKXcj_bjnAWpLg%40mail.gmail.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 go-cd+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/go-cd/2617898c-d51e-4d67-9465-8027874ff647n%40googlegroups.com.


Re: [go-cd] GOCD restart issue

2024-05-07 Thread Vijayakumaran A.
We have started container using docker start servicename.

Here is the composer file of gocd server part 

server:
container_name: gocd-server
image: gocd/gocd-server:v23.4.0
restart: always
ports:
  - "8153:8153"
volumes:
  - ./gocd/data:/godata
  - ./gocd/data/home:/home/go
  - ./gocd/scripts/server:/docker-entrypoint.d
  - ./gocd/scripts/shared:/shared
  - ./gocd/passwd:/godata/config/passwd
  - 
./gocd/docker-elastic-agents-3.2.3-415.jar:/go-working-dir/plugins/external
networks:
  - gocd



On Tuesday, May 7, 2024 at 9:05:30 PM UTC+5:30 Chad Wilson wrote:

> Please share how you are starting the container and what mounts you are 
> using, especially to /godata.
>
> Your container may have permissions issues writing to /godata or issues 
> mounting the filesystem in writeable mode. Is it some kind of NFS volume? 
> Is it mounted by another container/host already and thus is being mounted 
> in read-only mode? is this a Helm/Kubernetes install, or just a regular 
> container on a server?
>
> You can exec into the container and check /godata and /go-working-dir are 
> writable by the `go` user.
>
> -Chad
>
> On Tue, May 7, 2024 at 11:21 PM Sriram Narayanan  
> wrote:
>
>>
>>
>> On Tue, May 7, 2024 at 10:33 PM Vijayakumaran A. <
>> vijayak...@praniontech.com> wrote:
>>
>>> Team,we have just restarted the gocd container now gocd not started.
>>>
>>> Having below in docker logs please help 
>>> [image: go1.PNG][image: go2.PNG]
>>>
>>>
>> Looks like something is wrong with the container system. /go-working-dir/ 
>> is a runtime symlink directory created here 
>> https://github.com/gocd/docker-gocd-server/blob/master/docker-entrypoint.sh#L41
>>
>> If a directory is not getting created, then there is an underlying issue 
>> unrelated to GoCD and entirely related to the underlying container system. 
>> Please see if a container restart helps you continue. You should also check 
>> the container system's logs. To share something that we saw at our project 
>> two weeks ago, one of the EKS clusters was still running at version 1.23 
>> and we would often see the error "Out of storage space" (sometimes once a 
>> day). When I'd exec into the container, I found that we were unable to make 
>> directories but were able to create files. We upgrades to EKS 1.24 and that 
>> error has not recurred since then.
>>
>> I also see that you are using GoCD 23.4 and the H2DB. If this is a GoCD 
>> setup that you are using for your project, then I urge you to use the 
>> postgres database instead. See 
>> https://github.com/gocd/gocd-database-migrator
>>  
>>
>>> -- 
>>> 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+un...@googlegroups.com.
>>> To view this discussion on the web visit 
>>> https://groups.google.com/d/msgid/go-cd/5df023fd-f859-4a6b-99e7-92e3063653e7n%40googlegroups.com
>>>  
>>> <https://groups.google.com/d/msgid/go-cd/5df023fd-f859-4a6b-99e7-92e3063653e7n%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 go-cd+un...@googlegroups.com.
>>
> To view this discussion on the web visit 
>> https://groups.google.com/d/msgid/go-cd/CANiY96bSuG28hLLP_A%2Bij%3DKt0xO%3Digxb3zawjKXcj_bjnAWpLg%40mail.gmail.com
>>  
>> <https://groups.google.com/d/msgid/go-cd/CANiY96bSuG28hLLP_A%2Bij%3DKt0xO%3Digxb3zawjKXcj_bjnAWpLg%40mail.gmail.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 go-cd+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/go-cd/d1136435-78d7-42b6-9b1c-5c2d2a49ded2n%40googlegroups.com.


Re: [go-cd] GOCD server Db issue

2024-04-26 Thread Vijayakumaran A.
Thanks its working

On Thursday, April 25, 2024 at 6:03:28 PM UTC+5:30 Chad Wilson wrote:

> You may have killed GoCD while it was starting up? If you are sure that 
> you do not have multiple processes accessing the same database at the same 
> time and it is still stuck, you will have to try manually clearing the 
> lock 
> <https://docs.liquibase.com/concepts/tracking-tables/databasechangeloglock-table.html>.
>  
> Backup your database file before doing this.
>
> Need to connect to the database and use this to clear the lock. You'll 
> have to do so using something like is done here 
> <https://gist.github.com/arvindsv/c7934bee26ce1c47e9d24f0a493d3c87> but 
> *instead 
> of running an export/import* to recreate the DB you just want to 
>
> 1) backup the cruise.mv.db file ()
> 2) find the h2-1.4.200.jar file
> 3) create clear-liquibase-lock.sql with UPDATE DATABASECHANGELOGLOCK SET 
> LOCKED=0
> 4) run something like this on the main DB file java -cp h2-1.4.200.jar 
> org.h2.tools.RunScript -url jdbc:h2:./cruise -user sa -script 
> clear-liquibase-lock.sql
>
> -Chad
>
>
> On Thu, Apr 25, 2024 at 7:22 PM Vijayakumaran A. <
> vijayak...@praniontech.com> wrote:
>
>> HI Team,
>>
>> When we restarting gocd server we have below error please advice us. We 
>> use h2db.
>>
>> 2024-04-25 16:22:33,896 INFO  [WrapperJarAppMain] Jetty9Server:199 - 
>> Configuring Jetty using /etc/go/jetty.xml
>> 2024-04-25 16:22:33,958 WARN  [WrapperJarAppMain] Server:357 - 
>> ErrorPageMapper not supported for Server level Error Handling
>> 2024-04-25 16:22:34,088 WARN  [WrapperJarAppMain] AbstractHandler:96 - No 
>> Server set for ResourceHandler@5904a259{STOPPED}
>> 2024-04-25 16:22:40,659 WARN  [WrapperJarAppMain] ConnectionManager:117 - 
>> The file /etc/go/db.properties specified by `go.db.config` does not exist.
>> 2024-04-25 16:22:41,319 INFO  [WrapperJarAppMain] DatabaseMigrator:40 - 
>> Upgrading database, this might take a while depending on the size of the 
>> database.
>> 2024-04-25 16:22:41,320 INFO  [WrapperJarAppMain] DatabaseMigrator:49 - 
>> 
>> 2024-04-25 16:22:41,320 INFO  [WrapperJarAppMain] DatabaseMigrator:49 - 
>> WARNING: Shutting down your server at this point will lead to a database 
>> corruption. Please wait until the database upgrade completes.
>> 2024-04-25 16:22:41,320 INFO  [WrapperJarAppMain] DatabaseMigrator:49 - 
>> 
>> 2024-04-25 16:27:42,107 ERROR [WrapperJarAppMain] DatabaseMigrator:65 - 
>> Unable to create database upgrade script for database. The problem was: 
>> Could not acquire change log lock.  Currently locked by 172.21.0.1 
>> (172.21.0.1) since 4/25/24, 12:19 PM
>> liquibase.exception.LockException: Could not acquire change log lock.  
>> Currently locked by 172.21.0.1 (172.21.0.1) since 4/25/24, 12:19 PM
>>
>> -- 
>> 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+un...@googlegroups.com.
>> To view this discussion on the web visit 
>> https://groups.google.com/d/msgid/go-cd/a1b7a304-1559-441e-b002-b385ae93184en%40googlegroups.com
>>  
>> <https://groups.google.com/d/msgid/go-cd/a1b7a304-1559-441e-b002-b385ae93184en%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 go-cd+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/go-cd/cf7fd20a-9016-4bec-8070-1aad99b9fab5n%40googlegroups.com.


Re: [go-cd] Is possible to run task parallel

2024-01-04 Thread Vijayakumaran A.
Thanks.so we can't run multiple stage with one agent.but  Is there any 
possibilities to run the GOCD Task parallely? i have submit my pipeline 
code here i have one stage with one job 5 task(commands)..i wanted to run 
all my task(commands) parallel.Please find my attachment here. 

On Thursday, January 4, 2024 at 3:25:20 PM UTC+5:30 Chad Wilson wrote:

> Indeed, you need the ability to have multiple agents running in parallel 
> to be able to do multiple jobs in parallel. The best way to achieve this 
> depends on 1) your installation/deployment choice 2) your agent 
> requirements 3) whether you are experimenting or thinking about a 
> production deployment.
>
> If you want to use "static" agents directly as processes at OS level, 
> there is 
> https://docs.gocd.org/current/advanced_usage/admin_install_multiple_agents.html
>
> Otherwise you can use "elastic" (dynamically created) agents 
>  via a 
> plugin , e.g to run 
> multiple agents on a single host within Docker (here 
> ), or if 
> you are familiar with Kubernetes running GoCD or its agents inside 
> Kubernetes (use either multiple static agents, or elastic agents - even for 
> experimenting locally).
>
> -Chad
>
> On Thu, Jan 4, 2024 at 5:40 PM Sriram Narayanan  wrote:
>
>> No
>>
>> On Thu, 4 Jan 2024 at 3:02 PM, Vijay A  wrote:
>>
>>>
>>> I have installed GoCD server. And Installed one GoCD Agent.
>>>
>>> Now i created a new pipeline : Pipeline1
>>>
>>> Created one stage : Stage1
>>>
>>> Now two jobs: Job1 and Job2
>>>
>>> As i am having one GoAgent, does these two jobs will be executed 
>>> parallely.is there any way to achieve this ? 
>>>
>>> Yes, add a second good agent. Ensure that both the go agents and The job 
>> are marked as the same “resource”. 
>>
>>
>> -- 
>>> 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+un...@googlegroups.com.
>>> To view this discussion on the web visit 
>>> https://groups.google.com/d/msgid/go-cd/b832fcba-6af7-4516-8420-3e97055bf486n%40googlegroups.com
>>>  
>>> 
>>> .
>>>
>> -- 
>> 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+un...@googlegroups.com.
>>
> To view this discussion on the web visit 
>> https://groups.google.com/d/msgid/go-cd/CANiY96aAwLpWERzOoeecEksG0NY1im3V4X6FQO9HReC%3DMXQYAA%40mail.gmail.com
>>  
>> 
>> .
>>
>

-- 
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 the web visit 
https://groups.google.com/d/msgid/go-cd/c89596c6-223a-48e9-be6a-dfcccf2c63dbn%40googlegroups.com.


CFS.gocd.yaml
Description: Binary data


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

2023-11-22 Thread Vijayakumaran A.
Team,Thanks for your time after enable SMTPS and Allow less secure apps: 
ON. I was able to connect my smtp server 


On Thursday, November 23, 2023 at 12:23:57 PM UTC+5:30 Chad Wilson wrote:

> Do you have the SMTPS setting enabled? IIRC needs to be enabled for port 
> 465 on Gmail but something might have changed.
>
> And which GoCD version (if you have tried both and they don't work on port 
> 465)
>
> On Thu, 23 Nov 2023, 14:40 Vijayakumaran A.,  
> wrote:
>
>> HI PFA,
>>
>> jvm 1| 2023-11-23 06:39:41,213 ERROR [Thread-2818] 
>> GoSmtpMailSender:63 - Sending failed for email [Go Email Notification] to [
>> us...@gmail.com]
>> jvm 1| jakarta.mail.MessagingException: Got bad greeting from SMTP 
>> host: smtp.gmail.com, port: 465, response: [EOF]
>> jvm 1|  at 
>> org.eclipse.angus.mail.smtp.SMTPTransport.openServer(SMTPTransport.java:2231)
>> jvm 1|  at 
>> org.eclipse.angus.mail.smtp.SMTPTransport.protocolConnect(SMTPTransport.java:729)
>> jvm 1|  at jakarta.mail.Service.connect(Service.java:345)
>> jvm 1|  at 
>> com.thoughtworks.go.config.GoSmtpMailSender.send(GoSmtpMailSender.java:58)
>> jvm 1|  at 
>> com.thoughtworks.go.config.BackgroundMailSender.lambda$send$0(BackgroundMailSender.java:44)
>> jvm 1|  at java.base/java.lang.Thread.run(Unknown Source)
>>
>> On Thursday, November 23, 2023 at 11:30:29 AM UTC+5:30 
>> ashwant...@gmail.com wrote:
>>
>>> 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. <
>>> vijayak...@praniontech.com> wrote:
>>>
>>>> ps:Before 2 month back im used the same that time its works that was 
>>>> installed by apt ubuntu package.Now we are using GOCD by docker.
>>>>
>>>> On Thursday, November 23, 2023 at 11:17:14 AM UTC+5:30 Vijayakumaran A. 
>>>> wrote:
>>>>
>>>>> Team,I was setting up an email server configuration with my smtp 
>>>>> server credentials but its throw error.my credentials are correct. Why am 
>>>>> I 
>>>>> having this error ? 
>>>>>
>>>>> There was an unknown error performing the operation. Possible reason 
>>>>> (Not Acceptable)
>>>>>
>>>>>
>>>>>
>>>>>
>>>>> -- 
>>>> 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+un...@googlegroups.com.
>>>> To view this discussion on the web visit 
>>>> https://groups.google.com/d/msgid/go-cd/5d47e887-8e96-45c0-8e0f-0ab02706278an%40googlegroups.com
>>>>  
>>>> <https://groups.google.com/d/msgid/go-cd/5d47e887-8e96-45c0-8e0f-0ab02706278an%40googlegroups.com?utm_medium=email&utm_source=footer>
>>>> .
>>>>
>>>
>>>
>>> -- 
>>>
>>> Ashwanth Kumar / ashwanthkumar.in
>>>
>>> -- 
>> 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+un...@googlegroups.com.
>>
> To view this discussion on the web visit 
>> https://groups.google.com/d/msgid/go-cd/1ee6c52b-b972-4918-b501-dde6f60bb41en%40googlegroups.com
>>  
>> <https://groups.google.com/d/msgid/go-cd/1ee6c52b-b972-4918-b501-dde6f60bb41en%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 go-cd+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/go-cd/6d91ee81-192b-4a3f-a19a-ada16c5ddc56n%40googlegroups.com.


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

2023-11-22 Thread Vijayakumaran A.
HI PFA,

jvm 1| 2023-11-23 06:39:41,213 ERROR [Thread-2818] GoSmtpMailSender:63 
- Sending failed for email [Go Email Notification] to [u...@gmail.com]
jvm 1| jakarta.mail.MessagingException: Got bad greeting from SMTP 
host: smtp.gmail.com, port: 465, response: [EOF]
jvm 1|  at 
org.eclipse.angus.mail.smtp.SMTPTransport.openServer(SMTPTransport.java:2231)
jvm 1|  at 
org.eclipse.angus.mail.smtp.SMTPTransport.protocolConnect(SMTPTransport.java:729)
jvm 1|  at jakarta.mail.Service.connect(Service.java:345)
jvm 1|  at 
com.thoughtworks.go.config.GoSmtpMailSender.send(GoSmtpMailSender.java:58)
jvm 1|  at 
com.thoughtworks.go.config.BackgroundMailSender.lambda$send$0(BackgroundMailSender.java:44)
jvm 1|  at java.base/java.lang.Thread.run(Unknown Source)

On Thursday, November 23, 2023 at 11:30:29 AM UTC+5:30 ashwant...@gmail.com 
wrote:

> 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.  
> wrote:
>
>> ps:Before 2 month back im used the same that time its works that was 
>> installed by apt ubuntu package.Now we are using GOCD by docker.
>>
>> On Thursday, November 23, 2023 at 11:17:14 AM UTC+5:30 Vijayakumaran A. 
>> wrote:
>>
>>> Team,I was setting up an email server configuration with my smtp server 
>>> credentials but its throw error.my credentials are correct. Why am I having 
>>> this error ? 
>>>
>>> There was an unknown error performing the operation. Possible reason 
>>> (Not Acceptable)
>>>
>>>
>>>
>>>
>>> -- 
>> 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+un...@googlegroups.com.
>> To view this discussion on the web visit 
>> https://groups.google.com/d/msgid/go-cd/5d47e887-8e96-45c0-8e0f-0ab02706278an%40googlegroups.com
>>  
>> <https://groups.google.com/d/msgid/go-cd/5d47e887-8e96-45c0-8e0f-0ab02706278an%40googlegroups.com?utm_medium=email&utm_source=footer>
>> .
>>
>
>
> -- 
>
> Ashwanth Kumar / ashwanthkumar.in
>
>

-- 
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 the web visit 
https://groups.google.com/d/msgid/go-cd/1ee6c52b-b972-4918-b501-dde6f60bb41en%40googlegroups.com.


[go-cd] Re: GOCD Email server configuration

2023-11-22 Thread Vijayakumaran A.
ps:Before 2 month back im used the same that time its works that was 
installed by apt ubuntu package.Now we are using GOCD by docker.

On Thursday, November 23, 2023 at 11:17:14 AM UTC+5:30 Vijayakumaran A. 
wrote:

> Team,I was setting up an email server configuration with my smtp server 
> credentials but its throw error.my credentials are correct. Why am I having 
> this error ? 
>
> There was an unknown error performing the operation. Possible reason (Not 
> Acceptable)
>
>
>
>
>

-- 
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 the web visit 
https://groups.google.com/d/msgid/go-cd/5d47e887-8e96-45c0-8e0f-0ab02706278an%40googlegroups.com.


[go-cd] Re: GOCD Email server configuration

2023-11-22 Thread Vijayakumaran A.
ps:Before 2 month back im used the same that time its works

On Thursday, November 23, 2023 at 11:17:14 AM UTC+5:30 Vijayakumaran A. 
wrote:

> Team,I was setting up an email server configuration with my smtp server 
> credentials but its throw error.my credentials are correct. Why am I having 
> this error ? 
>
> There was an unknown error performing the operation. Possible reason (Not 
> Acceptable)
>
>
>
>
>

-- 
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 the web visit 
https://groups.google.com/d/msgid/go-cd/58d04cc4-7588-42f2-b210-e6f71494da55n%40googlegroups.com.


[go-cd] GOCD Email server configuration

2023-11-22 Thread Vijayakumaran A.
Team,I was setting up an email server configuration with my smtp server 
credentials but its throw error.my credentials are correct. Why am I having 
this error ? 

There was an unknown error performing the operation. Possible reason (Not 
Acceptable)




-- 
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 the web visit 
https://groups.google.com/d/msgid/go-cd/64f1f54e-8b75-439d-a815-1c33a2bae3dcn%40googlegroups.com.


[go-cd] Pipeline behaviour

2023-09-12 Thread Vijayakumaran A.

Hi Team,we have multiple pipelines with multiple  stages.

ex: I have one pipeline which is running every 1 minute and another 
pipeline which runs every 5 mins.in 2nd pipeline i have 5 stages but before 
running all my 5 stages in my agent are assigned to another pipeline (like 
after 2 stages are completed  agent not  assigned to 3rd stage inside agent 
go another pipeline )why this happens i wanted to all my stages 
executed then only agent assigned to another pipeline how to achieve this ?

-- 
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 the web visit 
https://groups.google.com/d/msgid/go-cd/fb83f2b7-ec68-4a85-96b0-5da2aae13327n%40googlegroups.com.


Re: [go-cd] Regarding docker elastic agent

2023-08-15 Thread Vijayakumaran A.
Thanks.i have changed image with* gocd/gocd-agent-ubuntu-22.04:v23.3.0 *to 
build job (mvn clean install) but got maven not installed error.
  /bin/bash -c "mvn install"took: 0.113sexited: 127
/bin/bash: line 1: mvn: command not found

On Tuesday, August 15, 2023 at 10:23:08 PM UTC+5:30 ashwant...@gmail.com 
wrote:

> 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 elastic agent setup on gocd this 
> can be confusing but hopefully this is a one time learning.
>
> Thanks,
>
> On Tue, Aug 15, 2023, 18:01 Vijayakumaran A.  
> wrote:
>
>> Hi Team,
>>
>> I have set up a docker elastic agent using docker plugin and created a 
>> cluster profile with one elastic profile using* maven:3.6.3-openjdk-11 
>> *docker 
>> image.
>>
>> i have one pipeline with one stage build maven job,i wanted to perform 
>> just checkout the code and *mvn clean install* using elastic agent,and i 
>> wanted to save generted build artifact.i have given elastic agent profile 
>> ID in this job.when i run the pipeline it started created 
>> *maven:3.6.3-openjdk-11 *docker image after one sec the container 
>> status  automatically exited.i don't know why.Can i need to change any 
>> other docker images are what steps i need to make this works. please anyone 
>> help me to build my pipeline.
>>
>> 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+un...@googlegroups.com.
>> To view this discussion on the web visit 
>> https://groups.google.com/d/msgid/go-cd/04c54e9e-6926-4d25-9e3d-f121d4230920n%40googlegroups.com
>>  
>> <https://groups.google.com/d/msgid/go-cd/04c54e9e-6926-4d25-9e3d-f121d4230920n%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 go-cd+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/go-cd/a6cc5189-1e94-4e29-a45b-b2c08dfb7749n%40googlegroups.com.


[go-cd] Regarding docker elastic agent

2023-08-15 Thread Vijayakumaran A.
Hi Team,

I have set up a docker elastic agent using docker plugin and created a 
cluster profile with one elastic profile using* maven:3.6.3-openjdk-11 *docker 
image.

i have one pipeline with one stage build maven job,i wanted to perform just 
checkout the code and *mvn clean install* using elastic agent,and i wanted 
to save generted build artifact.i have given elastic agent profile ID in 
this job.when i run the pipeline it started created 
*maven:3.6.3-openjdk-11 *docker image after one sec the container status  
automatically exited.i don't know why.Can i need to change any other docker 
images are what steps i need to make this works. please anyone help me to 
build my pipeline.

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 the web visit 
https://groups.google.com/d/msgid/go-cd/04c54e9e-6926-4d25-9e3d-f121d4230920n%40googlegroups.com.


Re: [go-cd] Regarding Gocd user management

2023-08-09 Thread Vijayakumaran A.
  Thanks.It is possible to give access to specific pipelines to specific 
users.

Ex: i have a demo pipeline group in that i have multiple pipelines but i 
wanted to only single pipeline access to specific users. Is this possible ?
On Monday, July 31, 2023 at 8:24:54 PM UTC+5:30 Chad Wilson wrote:

> Generally speaking, the permission required to pause a pipeline should be 
> the same as the permissions required to trigger it ("operate" or "admin" 
> permission to the pipeline or the pipeline group). 
> https://docs.gocd.org/current/configuration/dev_authorization.html
>
> The only other thing I can guess you might have done to get this behaviour 
> is to override the permissions for a single *stage* within a pipeline to 
> allow it to be triggered by only user1 via PipelineConfig > stage > 
> permissions.
>
> Normally this is intended to restrict (manual) stage approval triggers to 
> a different group than the overall pipeline as documented at 
> https://docs.gocd.org/current/configuration/dev_authorization.html#adding-authorization-to-approvals.
>  
> If you are configuring permissions for a pipeline *stage*, you may be 
> doing it in the wrong place to get your desired behaviour. Generally the 
> "pipeline group" is the normal unit of permissioning within GoCD and 
> stage-specific permissions are used for special cases.
>
> Since *pausing* as an operation is at the overall pipeline scope (not for 
> a specific stage), the permissions need to be restricted from the pipeline 
> *group* which the pipeline belongs to.
>
> If you still think something is not working as expected, perhaps share 
> your configuration of the pipeline group and the pipeline stages, and share 
> some more details/screenshots etc so someone else can reproduce what you 
> are seeing.
>
> -Chad
>
> On Mon, Jul 31, 2023 at 6:05 PM Vijayakumaran A. <
> vijayak...@praniontech.com> wrote:
>
>> Hi Team,
>>
>> I am new here and exploring gocd. i have setup one pipeline and created 
>> two users ex:(user1,user2).i have set specific permission only user1 
>> able to trigger the pipeline. when i login as user2 im not able to trigger 
>> the pipeline its working but user2 able to pause the pipeline i don't want 
>> user2 pipeline pause access how to do this .im new to gocd pls help anyone. 
>>
>> 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+un...@googlegroups.com.
>> To view this discussion on the web visit 
>> https://groups.google.com/d/msgid/go-cd/b3c2fe15-9be2-47be-94f2-956a7b6e07c4n%40googlegroups.com
>>  
>> <https://groups.google.com/d/msgid/go-cd/b3c2fe15-9be2-47be-94f2-956a7b6e07c4n%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 go-cd+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/go-cd/83b143a0-05ad-4d2b-b300-0cc18eb3a74an%40googlegroups.com.


Re: [go-cd] Rollback deployment method

2023-08-08 Thread Vijayakumaran A.
Thanks,So i don't want to git pull stage inside of i need to cp stage for 
copying all files/folders from go-agent  directory 
(/usr/share/go-agent/lib/pipelines/pipeline name) to 
/path/to/phpdirectory.my php project have huge size , it means i need to 
have a twice storage. 

On Saturday, August 5, 2023 at 9:48:52 PM UTC+5:30 srir...@gmail.com wrote:

> On Fri, Aug 4, 2023 at 3:03 PM Vijayakumaran A. <
> vijayak...@praniontech.com> wrote:
>
>> hi Thanks for the reply,actually we are new to gocd and we have simple 
>> two  pipelines as of now.
>>
>> pipeline one for java application with two stages:
>>
>> Stage 1 : build stage using maven 
>> Stage 2 : copy the build war file to tomcat directory. (cp *.war 
>> /opt/tomcat/webapp)
>>
>> Another pipeline for php whenever developers push their code gocd 
>> automatically triggered in this pipeline we have only one stage.
>>
>> stage: cd /path/to/phpdirectory && git pull 
>>
>> When I use trigger with option to run the pipeline with specific commit 
>> it only runs that commit changes in go-agent home 
>> path /usr/share/go-agent/lib/pipelines/pipelinename not in 
>> /path/to/phpdirectory
>>
>> Please help us to rollback the method for the above scenario.
>>
>
> Assuming that you need help with just the PHP scenario, please see if 
> the following meets your needs:
> Just as you are using "cp" to copy the war file to /opt/tomcat/webapp, you 
> could similarly run a shell script for your PHP deployment scenario to 
> perform the following action:
> a. cp the files from the current directory 
> (/usr/share/go-agent/lib/pipelines/pipelinename) to /path/to/phpdirectory
> b. Change the ownership of /path/to/phpdirectory to the user of the web 
> server ( the "go" user will need to sudo privileges with NOPASSWD, or at 
> least NOPASSWD for this particular script/chown)
>  
>
>>
>>
>>
>> On Fri, Aug 4, 2023 at 11:51 AM Chad Wilson  
>> wrote:
>>
>>> It depends on the tooling you are using and what environment/stack you 
>>> are deploying to, alongside artifact storage relevant to your deployments.
>>>
>>> Not all deployments can be rolled back without extra effort in tooling 
>>> or application design (e.g how will you roll back a DROP TABLE for a 
>>> database? Do you have rollback scripts that need to be invoked? Do you use 
>>> DB snapshots pre-deploy?)
>>>
>>> GoCD isn't opinionated about this.
>>>
>>> If you are using a declarative deployment tool or approach you can 
>>> sometimes trigger a re-run of the previous successful deployment's pipeline 
>>> instance/stage. Sometimes teams will roll forward (from a GoCD perspective) 
>>> by initialising a new pipeline run and populating some environment variable 
>>> to override the artifact versions to deploy. Or use a manual 'rollback' 
>>> stage in the same pipeline as the normal deploy.
>>>
>>> As with most other pipeline automation approaches, all of these things 
>>> depend on your target platform, tooling and application design.
>>>
>>> https://www.gocd.org/2017/06/20/hotfixes-rollback-rollforward.html may 
>>> be useful alongside the wider series at 
>>> https://www.gocd.org/tags/modeling-deployment-pipelines.html
>>>
>>> -Chad
>>>
>>> On Fri, 4 Aug 2023, 13:58 Vijayakumaran A.,  
>>> wrote:
>>>
>>>> Hi Team,
>>>>
>>>> How to rollback to the previous deployment. Please any one share any 
>>>> ideas/Docs to refer.
>>>>
>>>> -- 
>>>> 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+un...@googlegroups.com.
>>>> To view this discussion on the web visit 
>>>> https://groups.google.com/d/msgid/go-cd/933926d9-2ac7-4a34-b994-98a0f9a12c7an%40googlegroups.com
>>>>  
>>>> <https://groups.google.com/d/msgid/go-cd/933926d9-2ac7-4a34-b994-98a0f9a12c7an%40googlegroups.com?utm_medium=email&utm_source=footer>
>>>> .
>>>>
>>> -- 
>>> You received this message because you are subscribed to a topic in the 
>>> Google Groups "go-cd" group.
>>> To unsubscribe from this topic, visit 
>>> https://groups.google.com/d/topic/go-cd/eqYdAKivhi0/unsubscribe.
>>> To unsubscribe from this group and all its

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
machine using resources.In this also ,meterial checkout this machine
go-agent path. So  we need to copy thatagent home path project to our
php 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 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. Today it seems like from your YAML code you're
> already fetching the artifact for the pipeline so you're already using
> twice the storage space.
>
> Thanks,
>
>
> On Wed, 9 Aug 2023 at 09:55, Vijayakumaran A. <
> vijayakumara...@praniontech.com> wrote:
>
>> 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 ? but does it need 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> 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. 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 instead scp or ftp the contents of the php project to
>>>> `/var/www/html` folder on the remote server for each run.
>>>>
>>>> Thanks,
>>>>
>>>> On Wed, 9 Aug 2023 at 09:22, Vijayakumaran A. <
>>>> vijayak...@praniontech.com> wrote:
>>>>
>>>>> 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 triggers and deploy the changes to
>>>>> the php project dir.
>>>>>
>>>>> I have set up one stage with one job
>>>>> cd /var/www/html && git pull is working fine.But when i use trigger
>>>>> with option to deploy the previous commit my previous changes are not
>>>>> reflected to my php project directory.
>>>>>
>>>>> what is the step i need to make this work..im new to gocd please
>>>>> let me know if i did any mistake or need to change anything.
>>>>>
>>>>> --
>>>>> 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+un...@googlegroups.com.
>>>>> To view this discussion on the web visit
>>>>> https://groups.google.com/d/msgid/go-cd/cbd2d65b-8371-43e9-bf35-10c5482dc682n%40googlegroups.com
>>>>> <https://groups.google.com/d/msgid/go-cd/cbd2d65b-8371-43e9-bf35-10c5482dc682n%40googlegroups.com?utm_medium=email&utm_source=footer>
>>>>> .
>>>>>
>>>>
>>>>
>>>> --
>>>>
>>>> Ashwanth Kumar / ashwanthkumar.in
>>>>
>>>> --
>>>>
>>> You received this message because you are subscribed to a topic in the
>>>> Google Groups "go-cd" group.
>>>> To unsubscribe from this topic, visit
>>>> https://groups.google.com/d

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 ? but does it need 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> 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. 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 instead scp or ftp the contents of the php project to 
>> `/var/www/html` folder on the remote server for each run.
>>
>> Thanks,
>>
>> On Wed, 9 Aug 2023 at 09:22, Vijayakumaran A.  
>> wrote:
>>
>>> 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 triggers and deploy the changes to 
>>> the php project dir.
>>>
>>> I have set up one stage with one job 
>>> cd /var/www/html && git pull is working fine.But when i use trigger with 
>>> option to deploy the previous commit my previous changes are not 
>>> reflected to my php project directory.
>>>
>>> what is the step i need to make this work..im new to gocd please let me 
>>> know if i did any mistake or need to change anything.
>>>
>>> -- 
>>> 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+un...@googlegroups.com.
>>> To view this discussion on the web visit 
>>> https://groups.google.com/d/msgid/go-cd/cbd2d65b-8371-43e9-bf35-10c5482dc682n%40googlegroups.com
>>>  
>>> <https://groups.google.com/d/msgid/go-cd/cbd2d65b-8371-43e9-bf35-10c5482dc682n%40googlegroups.com?utm_medium=email&utm_source=footer>
>>> .
>>>
>>
>>
>> -- 
>>
>> Ashwanth Kumar / ashwanthkumar.in
>>
>> -- 
>>
> You received this message because you are subscribed to a topic in the 
>> Google Groups "go-cd" group.
>> To unsubscribe from this topic, visit 
>> https://groups.google.com/d/topic/go-cd/xHSb78j0yeM/unsubscribe.
>> To unsubscribe from this group and all its topics, send an email to 
>> go-cd+un...@googlegroups.com.
>> To view this discussion on the web visit 
>> https://groups.google.com/d/msgid/go-cd/CAD9m7CzShfqy5GN9XXD0hSmw4Yh7FFZraOM1MXu-CBXqJNE95g%40mail.gmail.com
>>  
>> <https://groups.google.com/d/msgid/go-cd/CAD9m7CzShfqy5GN9XXD0hSmw4Yh7FFZraOM1MXu-CBXqJNE95g%40mail.gmail.com?utm_medium=email&utm_source=footer>
>> .
>>
>
>
> -- 
>
> [image: Email Signature.png]
>
> *VIJAYAKUMARAN A *
>
> *Technical Operations Engineer *
> +919788372454 <+91%2097883%2072454>
>
> *vijayakumara...@praniontech.com*
>
> http://www.praniontech.com
>
>

-- 
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 the web visit 
https://groups.google.com/d/msgid/go-cd/ad490b15-8f69-48c3-9dc8-a2bdb6a58450n%40googlegroups.com.


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. 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 instead scp or ftp the contents of the php project to
> `/var/www/html` folder on the remote server for each run.
>
> Thanks,
>
> On Wed, 9 Aug 2023 at 09:22, Vijayakumaran A. <
> vijayakumara...@praniontech.com> wrote:
>
>> 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 triggers and deploy the changes to the
>> php project dir.
>>
>> I have set up one stage with one job
>> cd /var/www/html && git pull is working fine.But when i use trigger with
>> option to deploy the previous commit my previous changes are not
>> reflected to my php project directory.
>>
>> what is the step i need to make this work..im new to gocd please let me
>> know if i did any mistake or need to change anything.
>>
>> --
>> 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 the web visit
>> https://groups.google.com/d/msgid/go-cd/cbd2d65b-8371-43e9-bf35-10c5482dc682n%40googlegroups.com
>> <https://groups.google.com/d/msgid/go-cd/cbd2d65b-8371-43e9-bf35-10c5482dc682n%40googlegroups.com?utm_medium=email&utm_source=footer>
>> .
>>
>
>
> --
>
> Ashwanth Kumar / ashwanthkumar.in
>
> --
> You received this message because you are subscribed to a topic in the
> Google Groups "go-cd" group.
> To unsubscribe from this topic, visit
> https://groups.google.com/d/topic/go-cd/xHSb78j0yeM/unsubscribe.
> To unsubscribe from this group and all its topics, send an email to
> go-cd+unsubscr...@googlegroups.com.
> To view this discussion on the web visit
> https://groups.google.com/d/msgid/go-cd/CAD9m7CzShfqy5GN9XXD0hSmw4Yh7FFZraOM1MXu-CBXqJNE95g%40mail.gmail.com
> <https://groups.google.com/d/msgid/go-cd/CAD9m7CzShfqy5GN9XXD0hSmw4Yh7FFZraOM1MXu-CBXqJNE95g%40mail.gmail.com?utm_medium=email&utm_source=footer>
> .
>


-- 

[image: Email Signature.png]

*VIJAYAKUMARAN A *

*Technical Operations Engineer *
+919788372454

*vijayakumara...@praniontech.com *

http://www.praniontech.com

-- 
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 the web visit 
https://groups.google.com/d/msgid/go-cd/CAMpsvH1rd4oEtrQnsSQm5PnF_3ZZz%3Diu2fZbL0mgBzO_U9iFAw%40mail.gmail.com.


Demo-php-pipeline.gocd (1).yaml
Description: Binary data


[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 triggers and deploy the changes to the 
php project dir.

I have set up one stage with one job 
cd /var/www/html && git pull is working fine.But when i use trigger with 
option to deploy the previous commit my previous changes are not 
reflected to my php project directory.

what is the step i need to make this work..im new to gocd please let me 
know if i did any mistake or need to change anything.

-- 
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 the web visit 
https://groups.google.com/d/msgid/go-cd/cbd2d65b-8371-43e9-bf35-10c5482dc682n%40googlegroups.com.


[go-cd] Multi gocd server

2023-08-06 Thread Vijayakumaran A.
Hi Team,

It is possible to setup multi master (gocd server) ? 

-- 
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 the web visit 
https://groups.google.com/d/msgid/go-cd/6779d5e3-d6a0-4c35-a417-b893788ccc19n%40googlegroups.com.


Re: [go-cd] Rollback deployment method

2023-08-04 Thread Vijayakumaran A.
hi Thanks for the reply,actually we are new to gocd and we have simple two
pipelines as of now.

pipeline one for java application with two stages:

Stage 1 : build stage using maven
Stage 2 : copy the build war file to tomcat directory. (cp *.war
/opt/tomcat/webapp)

Another pipeline for php whenever developers push their code gocd
automatically triggered in this pipeline we have only one stage.

stage: cd /path/to/phpdirectory && git pull

When I use trigger with option to run the pipeline with specific commit it
only runs that commit changes in go-agent home
path /usr/share/go-agent/lib/pipelines/pipelinename not in
/path/to/phpdirectory

Please help us to rollback the method for the above scenario.



On Fri, Aug 4, 2023 at 11:51 AM Chad Wilson  wrote:

> It depends on the tooling you are using and what environment/stack you are
> deploying to, alongside artifact storage relevant to your deployments.
>
> Not all deployments can be rolled back without extra effort in tooling or
> application design (e.g how will you roll back a DROP TABLE for a database?
> Do you have rollback scripts that need to be invoked? Do you use DB
> snapshots pre-deploy?)
>
> GoCD isn't opinionated about this.
>
> If you are using a declarative deployment tool or approach you can
> sometimes trigger a re-run of the previous successful deployment's pipeline
> instance/stage. Sometimes teams will roll forward (from a GoCD perspective)
> by initialising a new pipeline run and populating some environment variable
> to override the artifact versions to deploy. Or use a manual 'rollback'
> stage in the same pipeline as the normal deploy.
>
> As with most other pipeline automation approaches, all of these things
> depend on your target platform, tooling and application design.
>
> https://www.gocd.org/2017/06/20/hotfixes-rollback-rollforward.html may be
> useful alongside the wider series at
> https://www.gocd.org/tags/modeling-deployment-pipelines.html
>
> -Chad
>
> On Fri, 4 Aug 2023, 13:58 Vijayakumaran A., <
> vijayakumara...@praniontech.com> wrote:
>
>> Hi Team,
>>
>> How to rollback to the previous deployment. Please any one share any
>> ideas/Docs to refer.
>>
>> --
>> 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 the web visit
>> https://groups.google.com/d/msgid/go-cd/933926d9-2ac7-4a34-b994-98a0f9a12c7an%40googlegroups.com
>> <https://groups.google.com/d/msgid/go-cd/933926d9-2ac7-4a34-b994-98a0f9a12c7an%40googlegroups.com?utm_medium=email&utm_source=footer>
>> .
>>
> --
> You received this message because you are subscribed to a topic in the
> Google Groups "go-cd" group.
> To unsubscribe from this topic, visit
> https://groups.google.com/d/topic/go-cd/eqYdAKivhi0/unsubscribe.
> To unsubscribe from this group and all its topics, send an email to
> go-cd+unsubscr...@googlegroups.com.
> To view this discussion on the web visit
> https://groups.google.com/d/msgid/go-cd/CAA1RwH-gG18mKgqeUMkSz3NYwoHTe%2BWsb0ckSsB4uiPSt003AQ%40mail.gmail.com
> <https://groups.google.com/d/msgid/go-cd/CAA1RwH-gG18mKgqeUMkSz3NYwoHTe%2BWsb0ckSsB4uiPSt003AQ%40mail.gmail.com?utm_medium=email&utm_source=footer>
> .
>


-- 

[image: Email Signature.png]

*VIJAYAKUMARAN A *

*Technical Operations Engineer *
+919788372454

*vijayakumara...@praniontech.com *

http://www.praniontech.com

-- 
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 the web visit 
https://groups.google.com/d/msgid/go-cd/CAMpsvH3y6TXs63JvVQKoS2UTFstU4Z%3DjgATz-cN0DP8HRdGRnQ%40mail.gmail.com.


[go-cd] Rollback deployment method

2023-08-03 Thread Vijayakumaran A.
Hi Team,

How to rollback to the previous deployment. Please any one share any 
ideas/Docs to refer.

-- 
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 the web visit 
https://groups.google.com/d/msgid/go-cd/933926d9-2ac7-4a34-b994-98a0f9a12c7an%40googlegroups.com.


[go-cd] Regarding Gocd user management

2023-07-31 Thread Vijayakumaran A.
Hi Team,

I am new here and exploring gocd. i have setup one pipeline and created two 
users ex:(user1,user2).i have set specific permission only user1 able to 
trigger the pipeline. when i login as user2 im not able to trigger the 
pipeline its working but user2 able to pause the pipeline i don't want 
user2 pipeline pause access how to do this .im new to gocd pls help anyone. 

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 the web visit 
https://groups.google.com/d/msgid/go-cd/b3c2fe15-9be2-47be-94f2-956a7b6e07c4n%40googlegroups.com.