Live data from Hacker News

GitLab 10.6 released with CI/CD for GitHub

about.gitlab.com

31–40 of 107 posts

Re: GitLab 10.6 released with CI/CD for GitHub

#31

I really want to try GitLab, but I can't log in to their service with oAuth using Google as a provider. I get a 422. I brought this up with GitLab's support, and they essentially told me it was my fault and doing something wrong with JS or something. It's just me clicking on links on their page, wtf. The interaction with their support was enough to turn me away from their service if that's the type of help they provi…

I ran into this recently. You probably created a GitLab account with your Gmail address first and then afterwards tried logging in with OAuth and encountered the 422. Try logging in without OAuth, then enable social sign in under https://gitlab.com/profile/account

Re: GitLab 10.6 released with CI/CD for GitHub

#32

I really want to try GitLab, but I can't log in to their service with oAuth using Google as a provider. I get a 422. I brought this up with GitLab's support, and they essentially told me it was my fault and doing something wrong with JS or something. It's just me clicking on links on their page, wtf. The interaction with their support was enough to turn me away from their service if that's the type of help they provi…

Please email me directly. (email in profile) I'd like to look into what happened here.

Re: GitLab 10.6 released with CI/CD for GitHub

#33

Gitlab's CI/CD is amazing. Of all the systems I've seen, it's the easiest to (a) deploy your own runners easily, and (b) mix private and public runners (i.e. the equivalent of using a free plan on Travis, with the benefit that for heavy-duty jobs you can run your own machines). That and first-class support for docker (no more being at the whims of what Travis chooses to deploy in their images), make it a really great…

Edit2: This is wrong, see replies below.

An update, having now tried this on a toy Gitlab/Github instance.

It looks like this still relies on Gitlab's support for mirroring an external repo, which relies on polling. This is less than awesome, because it means we're back into the (many) minutes latency range from pushing changes to seeing them appear in the mirrored repo (and therefore CI). When I did this before, we had to set up a mirror on our own machines to get this latency down into the ~1 minute range, otherwise it was unusable.

What appears to have been added was syncing the build status from CI builds back to Github. That part seems to work as intended.

There does appear to be a Gitlab API for triggering a mirror update, but I don't see an easy way to get that hooked up to Github out of the box. The CI status feature would be much more aweseome with the addition of push-based mirroring.

Edit: And the problem with mirroring manually like we did before is that there isn't a clean way to mirror pull requests (it requires manipulating web APIs, not just pushing a Git repo). So if we went back to that route, we wouldn't really get the seamless experience we've been hoping for.

Re: GitLab 10.6 released with CI/CD for GitHub

#34
post #26

We used big(6gb) git repo on gitlab. I lived to many problems and moved to gogs now we are hapy with gogs. It is much more lightweight. Just try gogs and gitlab.

The headline is that GitLab adds CI/CD support for GitHub and you are writing about migrating to Gogs which has not nearly as much features. Gogs is a lightweight git hosting solution, so basically the opposite of GitLab. I am not saying Gogs is bad, in fact I use it myself but you are comparing two completely different things. If you only need a simple git solution, you can use Gogs, if you need more and like the features GitLab has you don't have any self-hosted alternative.

You are also not writing if you use their SaaS solution or if you've installed it on your own servers.

Re: GitLab 10.6 released with CI/CD for GitHub

#36

I hate it that Gitlab is focusing too much on all these project-management features, while neglecting the basic code review features such as commenting on a block of code, or making a review session instead of creating individual comments, or the ability to blame previous revisions of a file

It's open source. I'm sure they wouldn't turn down a PR if you submitted one. I've poked around the codebase a few times; it's not too hard to contribute, despite my lack of experience with ruby.

It's open core, not open source. I'm pretty sure they would have a lot of incentives to turn it down.

Re: GitLab 10.6 released with CI/CD for GitHub

#37

I hate it that Gitlab is focusing too much on all these project-management features, while neglecting the basic code review features such as commenting on a block of code, or making a review session instead of creating individual comments, or the ability to blame previous revisions of a file

These are exactly the type of features we are focused on this year.

Commenting on a block of code: https://gitlab.com/gitlab-org/gitlab-ce/issues/4143

Making a review session: https://gitlab.com/groups/gitlab-org/-/epics/23

And here’s a greater overview: https://about.gitlab.com/direction/#merge-requests-approvals...

Re: GitLab 10.6 released with CI/CD for GitHub

#38
post #6

Finally! I'm running a custom GitLab instance, and I have most of my projects in there, but I have to have some of my projects on GitHub, and having the same CI workflow available for them is going to be amazing.

It seems this feature is only available in the Premium plan, if you're hosting your own instance. It's free if you're using GitLab.com with a public GitHub repository. https://about.gitlab.com/features/github/ -- "Large Enterprises"

Also available for free for "anyone using GitHub" - not just enterprises :) https://about.gitlab.com/features/github/#anyone-using-githu...

Re: GitLab 10.6 released with CI/CD for GitHub

#39
Will this be the Trojan Horse that gets me to switch to GitLab? I've been reading a lot of great things about GitLab's CI/CD. They also have cheaper plans for developers and if everything is all integrated into one place, that would make setup for OSS projects that I maintain like gitignore.io really simple.

The main thing that is keeping me on GitHub is the community. GitHub still feels like the main place where developers go to find open source projects. They've done a great job at pulling all of the major corporations like Apple, Microsoft, Google, Netflix, Amazon etc... While that shouldn't really matter because it's just a code repository, some how it does.

Re: GitLab 10.6 released with CI/CD for GitHub

#40
post #23

Earlier quoted context omitted.

Have you tried CircleCI? I've found it really straightforward to use in a lot of the same ways you mention, except for perhaps the docker support -- it uses docker images and you can of course have a docker image that supports docker, but it doesnt upload to dockerhub out of the box. I'm curious to know how the two compare because I haven't tried Gitlab before.

So last time I checked (and I sent an email to sales to confirm) CircleCI doesn't have support for a configuration where you want to use both public and private runners. I want to use my own machines to build certain jobs (perhaps because those jobs require heavy computation), but I want to use the free, shared, cloud-based runners for the rest (to increase overall throughput). And I want to do this while keeping the…

Ah interesting. Thanks for the reply.
Post reply on HN