GOCD GitHUB Integration and Workflow

32 views
Skip to first unread message

rajesh bathula

unread,
Aug 27, 2020, 9:29:45 AM8/27/20
to go-cd
HI All,

I am a circleCI user migrating to GOCD, can you guys suggest me best practice to follow and steps to follow doc. 
1. Integrating GOCD in AWS Private Subnet to GitHUB repo -- should trigger on every commit to master.
2. where should i place the GOCD workflows, in CIrcleCI case i have a folder as .circleci in root of repo and placed workflow yml in it.

Any docs or example GitHUB repos appreciated,

Thanks in advance,
Rajesh B.

Ashwanth Kumar

unread,
Aug 27, 2020, 11:48:57 PM8/27/20
to go...@googlegroups.com
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 your repository from the GoCD instance (and other instances where you run the agents) manually then GoCD can also do it for you. 
  2. If you prefer to use the Pipeline as Code approach, then you should check out https://github.com/tomzo/gocd-yaml-config-plugin. This plugin is needed to use a yaml file for pipeline definition(s). Check out the README on the repo for how to set it up and use it. 
Bonus: If you're using Pull Requests based workflow you might also want to check out Github-PR plugin (https://github.com/ashwanthkumar/gocd-build-github-pull-requests). I'm the author of that plugin. 


--
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/dbac9cda-4ced-48c9-873a-54b9fb15d6ecn%40googlegroups.com.


--

Ashwanth Kumar / ashwanthkumar.in

Reply all
Reply to author
Forward
0 new messages