Live data from Hacker News

Gitlab 10.7 Released

about.gitlab.com

51–60 of 84 posts

Re: Gitlab 10.7 Released

#51

Earlier quoted context omitted.

Let me see if I understand it. Let's say I whitelist user "me" and user "foo" using this variable in the .gitlab-ci.yml. Let's also assume I have runners locked to my repo. Doing nothing else than that, user foo now submits a merge request from their fork to my repo. Does CI now run for that merge request?

If it is a forked project, CI should run in their own project I believe. It should not run on your Runners.

That is my understanding, too.

So consider the following common pattern:

1. Someone (new employee, FLOSS volunteer, doesn't matter) forks my repo. That's the normal way of working in Gitlab.

2. Someone creates a feature branch, tests it, considers it ready for merging. Again, common flow.

3. Someone creates a merge request. Totally reasonable.

So far so good. Now let's keep going.

4. I notice the merge request. It has almost certainly timed out and failed because new users don't come to the job with their own set of runners.

5. The only sane option is for me to allow them to use my runners. Ok, let's do it-- I must do the following:

6. Either have them add me to their fork with sufficient permissions to set up the runners, or log in to Gitlab as root, impersonate them, and add myself.

7. Unlock my runners from my repo and manually enable each one in the new user's fork using the Gitlab UI.

8. Retry the CI.

9. When it passes, either a) lock the runners again or b) put up with runners getting used by every single commit by the new user (which nobody, including the new user, wants).

Now, I could probably set up the runners as an initial step in welcoming a new user into the fold. That would save me the failure step #4 above. And maybe I could set up a webhook and an additional webserver to listen for it so that I can only trigger on merge requests.

But that's back to the old svn permissions pattern plus custom server hacks. That is what I wanted to avoid in the first place by using Git.

I really do want to use either a single variable or a single button click to mean "go ahead and use my runners for this particular user's merge requests." Or even, "go ahead and use my runners for this particular merge request." Even that would be a vast UX improvement.

The only serious alternative right now is for me to create a "dev" branch, have new users make merge requests to it, and just make a habit of accept them there to trigger CI. Then if tests pass merge them into master.

But that requires yet more documentation for new users and more complexity in the flow.

Re: Gitlab 10.7 Released

#52
post #27

Earlier quoted context omitted.

> We're indeed a completely remote team, see https://about.gitlab.com/culture/remote-only/ That's very hard to keep at a constant pace. > And we do want to make sure that all the features you really need are there. So far, everything is great, but we would love to have: - Custom Fields, in order to leave trac (such a pain, this service is); - A way to fork/MR across Gitlab/Github instances: we don't want our instance…

> A way to fork/MR across Gitlab/Github instances I think ActivityPub would be a good fit for federation across GitLab instances and would have a real chance to displace Github for open-source projects, if implemented right.

Hell, git-ssb is already working! ActivityPub would be great for GNU Social or Mastodon (or, of course, Pleroma), but I still have a soft spot for Scuttlebutt.

Re: Gitlab 10.7 Released

#53

I implemented the HTTPS-only Pages feature in this release. I just wanted to say that GitLab is a great project to contribute to, with a very friendly and professional community! Definitely recommend to anybody interested in contributing to a project themselves. [1] https://gitlab.com/gitlab-org/gitlab-ce/merge_requests/16273 [2] https://about.gitlab.com/contributing/

Thank you. The issue thread/request for this had been open for something like 2 years and I waited patiently for someone braver than me to implement it. Now my custom domain on GitLab Pages automatically redirects to HTTPS. I'm happy. Next up is to add an option to automatically renew Let's Encrypt certs for GitLab Pages.

Letsencrypt integration with pages is coming! https://gitlab.com/gitlab-org/gitlab-ce/issues/28996#note_69...

Re: Gitlab 10.7 Released

#54
Gitlab is pretty much the only provider other than CircleCI to get CI right.

I use their hosted gitlab version, but have their CI runner on our ci box that runs docker. It's fantastic.

Re: Gitlab 10.7 Released

#55
post #54

Gitlab is pretty much the only provider other than CircleCI to get CI right. I use their hosted gitlab version, but have their CI runner on our ci box that runs docker. It's fantastic.

BuildKite is a pretty compelling option. Simple concepts combined with a powerful plugin system.

Re: Gitlab 10.7 Released

#56

There seem to be several people involved with GitLab here, so maybe one of you would be kind enough to answer the question I've had for a long time: what exactly is GitLab? I've met several people who speak well of it or mention particular things they use it for, so I have to assume there is something very useful in there, but unfortunately I've always found the web site more confusing than enlightening.

Glad to hear you're interested Silhouette! > what exactly is GitLab? Here's a couple of points that might shed some more light on it: https://about.gitlab.com/about/ . IMHO the first point nails it pretty well: "GitLab is a single application with features for the whole software development and operations (DevOps) lifecycle." > I've always found the web site more confusing than enlightening. Did you take a look at ou…

Thanks for replying. I did actually check your home page, and various others on the site, before commenting. The best way I can think of to describe my experience is that it feels like I'm reading something written for someone who already knows what they're looking for and what the context is, but that's exactly what I'm there to find out.

Perhaps some examples would help. For context, I am about to set up the infrastructure for a new project, involving source control, issue tracking, testing, deployment and so on. From past discussions with friends and colleagues who have used GitLab, I had the impression that it was somewhat like GitHub, in the sense of providing a front-end to help manage Git repos and some related facilities like issue tracking and CI, but GitLab was based on OSS and could be hosted locally. So, GitLab seems like something I should be very interested in right now. I'm an experienced developer and familiar with many other tools, so my interest is in whether GitLab might offer a better approach than things we've used before.

However, looking at the site, I can't find anything describing the relationship between GitLab and Git anywhere on the home page. I checked the features page, but again found nothing, aside from a few passing references to actions like merging but only in the context of other functionality. I tried putting "git" into the search box on the documentation page, but again, nothing. Have I just totally misunderstood what GitLab does? And if so, why "Git" in the name?

Likewise, I honestly can't tell whether GitLab is an OSS project or some sort of hosted enterprise "call us for pricing" behemoth (or both or neither). I've seen references to open source and some sort of community edition, but the "Community" link on the top of the site is clearly about something else entirely. There's a pricing page with various plans including a free plan, but while I initially assumed they were for a hosted online service, apparently they're for self-hosted. There is information about many ways to install GitLab locally on different platforms, but it's not clear what you're actually installing at that point or whether you then need some sort of licence to do anything with it. On the features page, each item has two different scales under it, one for GitLab and one for GitLab.com, but I really have no idea what the relationship between those is. There is an entirely separate feature comparison table that is actually linked from the pricing page, but that only shows one of the scales, and suggests that the lower/free tier is quite restrictive. But these look like they're self-hosted options and if there's OSS involved then how does that restriction work?

I hope you'll forgive the brain dump, but other than showing a stream of consciousness as I looked through the site earlier today and how I was unable to answer my two most basic questions, I can't think of a better way to illustrate the difficulty I encountered.

Re: Gitlab 10.7 Released

#57

I implemented the HTTPS-only Pages feature in this release. I just wanted to say that GitLab is a great project to contribute to, with a very friendly and professional community! Definitely recommend to anybody interested in contributing to a project themselves. [1] https://gitlab.com/gitlab-org/gitlab-ce/merge_requests/16273 [2] https://about.gitlab.com/contributing/

We switched over to Gitlab from Stash about 9 months ago and it's been fantastic. There are so many amazing features, and the CI/CD integration has been smooth. I highly recommend it.

Re: Gitlab 10.7 Released

#58
post #3
post #2

I know its not as sexy as new features, but I really wish gitlab took a look at performance. Currently its sitting at 9GiB of Memory on my dedicated server box for basically no users. I tried it on smaller instances but it was so painfully slow I ended up getting a cheap dedicated server from Hetzner.

Which is why I personally use Gitea, which is super light and performs very well. But it only has a fraction of the features of GitLab so it's not an apples to apples comparison, but my personal projects and my friends it works just fine. I combine it with Drone for testing and it totally suits my needs, and I host everything myself on a $5 VPS.

same here, gitea works for probably 90% of the users IMO, I use it to host everything these days. tried gitlab a couple of times in the past, not impressed by the performance yet.

have not used drone yet, will give it a shot.

Re: Gitlab 10.7 Released

#59

Earlier quoted context omitted.

If it is a forked project, CI should run in their own project I believe. It should not run on your Runners.

That is my understanding, too. So consider the following common pattern: 1. Someone (new employee, FLOSS volunteer, doesn't matter) forks my repo. That's the normal way of working in Gitlab. 2. Someone creates a feature branch, tests it, considers it ready for merging. Again, common flow. 3. Someone creates a merge request. Totally reasonable. So far so good. Now let's keep going. 4. I notice the merge request. It ha…

jancsika, totally understand the forking workflow is not ideal right now. Thanks for sharing your use case and using GitLab.

We are tracking more formal support for this here: https://gitlab.com/gitlab-org/gitlab-ce/issues/23902

It's a popular issue, but there are some tricky implementation details to work out.

Re: Gitlab 10.7 Released

#60

Earlier quoted context omitted.

Glad to hear you're interested Silhouette! > what exactly is GitLab? Here's a couple of points that might shed some more light on it: https://about.gitlab.com/about/ . IMHO the first point nails it pretty well: "GitLab is a single application with features for the whole software development and operations (DevOps) lifecycle." > I've always found the web site more confusing than enlightening. Did you take a look at ou…

Thanks for replying. I did actually check your home page, and various others on the site, before commenting. The best way I can think of to describe my experience is that it feels like I'm reading something written for someone who already knows what they're looking for and what the context is, but that's exactly what I'm there to find out. Perhaps some examples would help. For context, I am about to set up the infras…

I'll try and clear up any confusion you might have about GitLab. Feel free to ask more questions if I left something out.

> I can't find anything describing the relationship between GitLab and Git anywhere on the home page.

The relation between git and GitLab is that GitLab is a front-end for git. However, it's so much more than that. We strive to offer features that encompass the whole DevOps lifecycle - see https://about.gitlab.com/direction/#scope for more context.

We have an integrated CI/CD system, issue tracker with boards and epics, built-in container registry, monitoring and many many others. All of them are listed in https://about.gitlab.com/features/

> Likewise, I honestly can't tell whether GitLab is an OSS project or some sort of hosted enterprise "call us for pricing" behemoth

GitLab Community Edition (CE) is a completely open-source project - https://gitlab.com/gitlab-org/gitlab-ce . It's MIT licensed.

We offer a proprietary version with added features - GitLab Enterprise Edition (EE) - https://gitlab.com/gitlab-org/gitlab-ee . It has a proprietary license. Even though it's proprietary, Enterprise Edition is source-visible i.e. you can browse the source.

> There's a pricing page with various plans including a free plan, but while I initially assumed they were for a hosted online service, apparently they're for self-hosted.

There's both a hosted solution (GitLab.com) and the option of self-hosting. The pricing page has two tabs - one for self-hosted options and the other for GitLab.com

> There is information about many ways to install GitLab locally on different platforms, but it's not clear what you're actually installing at that point or whether you then need some sort of licence to do anything with it.

No matter which package of GitLab (Community Edition or Enterprise Edition) you install locally, you'll always be able to access the free tier of features without a license.

> On the features page, each item has two different scales under it, one for GitLab and one for GitLab.com, but I really have no idea what the relationship between those is.

There's four feature / pricing tiers for self-hosted instances: Core (Free), Starter, Premium and Ultimate. From left to right, every tier has more features than the previous one. The distribution of features is documented in https://about.gitlab.com/features/ (upper scale).

If you opt for a hosted solution on GitLab.com, there's also 4 pricing / feature tiers: Free, Bronze, Silver and Gold. All public projects have access to Gold-tier features for free. The feature distribution between these tiers is also documented in https://about.gitlab.com/features/ (lower scale).

> There is an entirely separate feature comparison table that is actually linked from the pricing page, but that only shows one of the scales, and suggests that the lower/free tier is quite restrictive.

We prioritize features for one of the paid tiers if we think the feature is more relevant for larger organizations.

You can find out more about our stewardship of the open-source GitLab CE project at: https://about.gitlab.com/stewardship/

Post reply on HN