Live data from Hacker News

GitLab 10.6 released with CI/CD for GitHub

about.gitlab.com

51–60 of 107 posts

Re: GitLab 10.6 released with CI/CD for GitHub

#52
post #13

Earlier quoted context omitted.

Oh fuck that. I’m a student using this to host open source projects, I’m not going to pay more for GitLab than I pay for all my servers and software combined. I’ll just hack it in there myself then, like I had to put some of the other "premium" features in myself. Long-term it looks like I’ll have to migrate to something else then.

Hi Kuschku - I think this is misunderstanding, we are offering GitLab CI/CD for free for GitHub.com projects. It'll be free for private repos for a year, and it will be free for public repos forever. See the "Open source projects" and "Anyone using GitHub.com" sections: https://about.gitlab.com/features/github/

According to

> For self-hosted installations, GitLab CI/CD for GitHub is available for customers with Premium and Ultimate license plans.

It’s not.

Re: GitLab 10.6 released with CI/CD for GitHub

#53

Earlier quoted context omitted.

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...

Sorry, I don't understand your point. Is there anything in my comment that was incorrect?

Re: GitLab 10.6 released with CI/CD for GitHub

#54

Earlier quoted context omitted.

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…

Hi Eslaught - So the new CI/CD for GitHub feature should be solving the pain points of the old manual mirroring process. When you set up a project and Oauth to GitHub it should automatically implement 3 components: - Bidirectional Mirroring https://gitlab.com/gitlab-org/gitlab-ee/issues/3745 - push webhook to GitLab to trigger CI/CD immediately once a code is committed (e.g. "push mirroring") https://gitlab.com/gitla…

I guess I got lost on my initial pass through the UI.

I deleted my toy repo and did it over again; it seems to be working now. Latency seems to be in the 20-30 second range for incremental pushes, which is pretty good.

Is there a way to do this for existing repos? Or do we have to delete and re-create our production repo to do this?

Re: GitLab 10.6 released with CI/CD for GitHub

#55

Is this available for Stash/Bitbucket as well?

Hi - with GitHub everything is configured automatically. A future feature may implement this for BitBucket as well, but you can get a similar experience today by manually configuring the component parts (mirroring, webhook to GitLab on commit, add a script to push the pipeline status to Bitbucket). There is a guide here on how to do that: https://docs.gitlab.com/ee/ci/ci_cd_for_external_repos/bitbu...

Re: GitLab 10.6 released with CI/CD for GitHub

#56
post #22
post #18

I'm curious for the people that use GitLab CI/CD, what's the pro / cons vs Jenkins and the like?

A short while ago (eh, just noticed this was over a year ago...) I did a comparison between different testing solutions for all projects within the IPFS organization. Remember this was a year ago, so many things have changed but we ended up going with Jenkins and I'm now migrating projects from free usage of Travis/CircleCI to Jenkins. - Brief explanation: https://github.com/ipfs/infrastructure/issues/100#issuecomme.…

"Haven't really found any good way of integrating the Gitlab-CI with Github"

Sounds like that is solved.

Re: GitLab 10.6 released with CI/CD for GitHub

#57
post #52

Earlier quoted context omitted.

Hi Kuschku - I think this is misunderstanding, we are offering GitLab CI/CD for free for GitHub.com projects. It'll be free for private repos for a year, and it will be free for public repos forever. See the "Open source projects" and "Anyone using GitHub.com" sections: https://about.gitlab.com/features/github/

According to > For self-hosted installations, GitLab CI/CD for GitHub is available for customers with Premium and Ultimate license plans. It’s not.

Edit: I see clearly now in the top-level comment you mention self-hosting

Ah, my apologies, didn't realize you were self-hosting GitLab vs using GitLab.com. Yes, this is the case for self-hosted instances it is part of the Premium feature. On GitLab.com is is available for free.

Re: GitLab 10.6 released with CI/CD for GitHub

#58

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

Here's an example of a blame on a previous commit of a file. https://gitlab.com/gitlab-org/gitlab-ce/blame/57ce7c655cc58e... Did you have some particular feature request beyond this view?

The use case is to be able to repeatedly blame on the previous revision of the change that was made to a line. This is especially useful when you're dealing with diffs resulted from code formatting, whitespace changes, etc. in a file and you want to see what is the "original" commit that the change was made.

This has been available on GitHub for a while now (see https://help.github.com/articles/tracing-changes-in-a-file/)

Re: GitLab 10.6 released with CI/CD for GitHub

#59

Earlier quoted context omitted.

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

Sorry, I don't understand your point. Is there anything in my comment that was incorrect?

No, I'm sorry, your comment is correct. It is free on GitLab.com for public repos. It is also free for private repos on GitLab.com for the next year.

Re: GitLab 10.6 released with CI/CD for GitHub

#60
post #49

Earlier quoted context omitted.

Hi Eslaught - So the new CI/CD for GitHub feature should be solving the pain points of the old manual mirroring process. When you set up a project and Oauth to GitHub it should automatically implement 3 components: - Bidirectional Mirroring https://gitlab.com/gitlab-org/gitlab-ee/issues/3745 - push webhook to GitLab to trigger CI/CD immediately once a code is committed (e.g. "push mirroring") https://gitlab.com/gitla…

FWIW, if you created the connection between GitLab and GitHub for your project before 10.6, you'll have to remove the connection and then re-add it to get the push-based mirroring to happen. Otherwise, yes, it will still poll.

How do you do this?
Post reply on HN