<p>I'm currently in the process of working on a small start-up project that will most likely be built in Go and I'm looking for feedback regarding Git platforms. I have experience using <a href="https://github.com/" rel="nofollow">Github</a>, <a href="https://beanstalkapp.com/" rel="nofollow">Beanstalk</a>, and <a href="https://app.assembla.com/" rel="nofollow">Assembla</a> but I'm having a hard time choosing a platform for this projects. Most of the work I've done previously has been in languages other than Go so I'm not entirely sure if one platform is better than others for Go projects. I've had a lot of success with Beanstalk so I'm leaning in that direction but I'm also open to other suggestions. I'm also looking into different CI/CD pipelines but leaning towards Jenkins and Ansible since that's what I'm most familiar with. I've considered <a href="https://about.gitlab.com/" rel="nofollow">GitLab</a> but have zero experience using their platform or CI/CD tools and don't know how well they work with Go projects. The only real requirements that I have are that the platform I use offers private repos and some sort of review feature such as Github's pull requests or Beanstalks code reviews. I know that a question like this is prone to bias but I want to know others experiences and opinions regarding Git platforms and Go.</p>
<p>Edit: I've also been looking at AWS <a href="https://aws.amazon.com/codecommit/" rel="nofollow">CodeCommit</a> but what I've found online and <a href="https://www.reddit.com/r/aws/comments/512nxt/github_vs_codecommit_vs_diy_git_on_ec2/d78ud8o/" rel="nofollow">here</a> on Redit so far hasn't led me to believe that it would be the best solution. We will most likely start out on AWS so the fact that CodeCommit is part of the ecosystem is a plus. I'm not sure if the drawbacks outweigh the benefits though.</p>
<hr/>**评论:**<br/><br/>circuitously: <pre><p>We use Gitlab at work, and it’s really good. The list of features is amazing, all the stuff you’d expect of git, plus a ton of CI stuff. We’re using the CI pipeline to build containers, push to AWS docker registry, update tasks and deploy services. </p>
<p>They release on the 22nd of each month and it’s pretty cool to see all the new features completed over just the previous month. We’re over 12 months behind the latest version, and it still does 99% of what we need</p></pre>Kraigius: <pre><p>Is the CI integrated right into Gitlab or is it like Github where you can set your CI (travis/jenkins) to hook up to your repo?</p></pre>wittywitwitty: <pre><p>My understanding is that it’s integrated into the platform.</p></pre>kjell_k: <pre><p>For some time ago, I wanted to make a demo of the CI in gitlab, for go projects.</p>
<p>I works partly, but i never finished it, or announced it. You can see it at <a href="https://gitlab.com/kjell/go-gitlab-ci-template" rel="nofollow">https://gitlab.com/kjell/go-gitlab-ci-template</a></p>
<p>As long as you have the .gitlab-ci.yml - it will run.</p>
<p>edit:
check out the CI piplines, its quite nice</p></pre>jsixface: <pre><p>Have you looked into gitea?
<a href="https://gitea.io/en-US/" rel="nofollow">https://gitea.io/en-US/</a></p>
<p>It is very light weight and you can host privately</p></pre>rayascott: <pre><p>I'm surprised you didn't mention Atlassian's <a href="http://bitbucket.org" rel="nofollow">Bitbucket</a>. You're allowed as many free private repos as you like. Been using them for years, wouldn't use anything else, as they have an entire suite of products. They've got integration with tons of other services, including Jenkins & Ansible. They also appear to have <a href="https://confluence.atlassian.com/bitbucket/language-guides-856821477.html" rel="nofollow">Golang support</a>. Plus I like the <a href="https://www.atlassian.com/software/sourcetree" rel="nofollow">SourceTree</a> Git app that comes in handy from time to time. You get a free wiki and a lightweight issue tracker, and you can alway upgrade to Confluence &&|| JIRA if you need to. I've worked on a team of 10 using nothing but Atlassian, and I couldn't imagine better integration across all products than what you get with Atlassian. Their CI integration is referred to as Pipelines, or you can go all in and using Bamboo, but I think you may need to self host it. Their code review features are also great. Comments inline, and you can configure it to allow a change to be accepted after x number of OK's from other devs. It works really well. </p></pre>LadyDascalie: <pre><p>We use self hosted gitlab at work, we use a lot of the CI tools it provides to build containers and deploy on GCP, I think it's a great solution</p></pre>
这是一个分享于 的资源,其中的信息可能已经有所发展或是发生改变。
入群交流(和以上内容无关):加入Go大咖交流群,或添加微信:liuxiaoyan-s 备注:入群;或加QQ群:692541889
- 请尽量让自己的回复能够对别人有帮助
- 支持 Markdown 格式, **粗体**、~~删除线~~、
`单行代码`
- 支持 @ 本站用户;支持表情(输入 : 提示),见 Emoji cheat sheet
- 图片支持拖拽、截图粘贴等方式上传