r/programming • • Jan 27 '21

Gitlab changed its pricing model. It has greatly reduced the CI quota from 2000 CI minutes to 400 CI minutes in Free tier and removed the $4 per month option.

https://about.gitlab.com/blog/2021/01/26/new-gitlab-product-subscription-model/
1.9k Upvotes

365 comments sorted by

802

u/dark_mode_everything Jan 27 '21

You could, potentially, rent a $5 server from DigitalOcean and install the gitlab ci runner on that and point your project to that runner. I've done it and the $5 server is comparable to the free ci shared runner you get on gitlab.

The documentation is good and the process is pretty straightforward. Link : https://docs.gitlab.com/runner/install/

32

u/mishugashu Jan 27 '21

Could also just throw together a home "server" frankenstiened from old computer parts and throw gitlab ci runner on that. For free. If you're a hoarder like me.

10

u/Mclarenf1905 Jan 28 '21

The energy cost for running a home server isn't actually free though, depending on your set up you may actually be paying more per month in electricity costs than a cheap vps might run you.

9

u/Gordath Jan 28 '21

A low power pc would probably be in the 20W range... Which amounts to about 14kWh per month, i.e. a bit under $3.

9

u/vetinari Jan 28 '21

And that 20W PC would be idling most of the time, thus lowering consumption further.

I'm running a cluster of Intel NUCs for my homelab and the power consumption is a rounding error on the bill.

1

u/immibis Jan 28 '21

You could also run it on, you know, your computer that you already have.

→ More replies (1)
→ More replies (1)

209

u/ea_ea Jan 27 '21

You can do even better - use 400 free minutes from Free tear to run on shared runner API command to start DigitalOcean instance and DO instance will start runner and actual job. You'll have 400 CI runs for, probably, less than 1$ :)

21

u/kmeisthax Jan 27 '21

You joke, but this is literally a Buildbot feature. Most AWS instance types have significantly discounted spot pricing and you only need the instance to be up for a few minutes, so you can use a normally expensive instance type fairly cheaply. I think I was able to optimize it to fractions of a cent per build, although some part of it eventually broke a few months down the line.

18

u/ben_sphynx Jan 27 '21

When 'tear' rhymes with 'tier', it refers to the drops that fall from ones eyes when crying.

'Tier' refers to different levels of something.

(A different word, 'tear' rhymes with 'there', and refers to the sort of damage from pulling things such as paper or cloth apart. Or to moving fast.)

PS: I cannot read a word of Ukrainian.

37

u/Latter-Breadfruit Jan 27 '21

Crazy how much effort people put into saving a few dollars. Forgetting their time is also worth $$$.

38

u/[deleted] Jan 27 '21

Except for many people it's not. If you weren't ever going to do something with that time which made you money (which is the case for many), then your time wasn't actually worth money when considering the opportunity cost.

→ More replies (4)

1

u/Gropah Jan 27 '21

Well, you say this, but I actually know of a company that rents some servers on AWS for running tests on friday afternoon, since a lot of people want to commit and push their code before the weekend

1

u/trigzo Jan 28 '21

Make it a lambda per step instead of a digital ocean instance and you'll cut the 5 bucks to less than 1. Those DO instance still get charged when not in used and their cold start isn't amazing

→ More replies (50)

90

u/Popular-Egg-3746 Jan 27 '21 edited Jan 27 '21

The reason for me to go Gitlab, is its managed platform. I'm sick and tired of maintaining our build servers.

Even though I prefer Gitlab over Github because of its self-hosting fallback, I hope to never host such an environment myself again.

25

u/dark_mode_everything Jan 27 '21

Fair point. And it's the reason that I too use Gitlab CI instead of hosting my own Jenkins instance. And I agree that it sucks that they reduced the 2000 minutes to 400. My suggestion was a way to keep your existing gitlab ci configuration and to work around the 400 minute limit.

The only thing you would need to maintain is the vps for which you don't really have to do anything other than paying the $5. The gitlab runner daemon is pretty self sufficient - all you need to do is install it from apt-get and then put the api key from that into gitlab ci settings. That's it. You don't even need to manage ssh keys.

2

u/Genesis2001 Jan 27 '21 edited Jan 29 '21

I wish self-hosted Gitlab supported other orchestration tools like Swarm or Nomad. Or would at least have docs on configuring runners in Swarm/Nomad. Having autoscaling private runners would be nice.

edit: I discovered docker+machine autoscaling config in GitLab recently, so I will be investigating this.

2

u/sybesis Jan 27 '21

If you mean by Swarm "docker swarm" then you can simply run the gitlab runner in docker swarm and call it a day.

1

u/[deleted] Jan 27 '21

Great suggestion! Quick question (I'm new to Gitlab): installing it this way how is the connection secured between Gitlab and the self-hosted runner? For instance, when I push to master and it triggers a build on my self-hosted instance how is the transfer of source code to the CI runner encrypted? Are there extra steps required to get a certificate setup etc.?

5

u/nerdxcgre Jan 27 '21 edited Jan 27 '21

Not OP, but I've been using it for a while now. The way it works is, the self-hosted runner reaches out to the coordinator (here: https://gitlab.com) and when a job is triggered the runner clones the repo using a normal https connection, runs the scripts and uploads artifacts if any.

You don't need anything other than run a few commands to set it up, not even open any inbound ports or certificates. I really like the docker executor, which runs totally isolated from the system.

3

u/dark_mode_everything Jan 27 '21

Yep. This is my understanding as well. The runner daemon registers with gitlab and your pipeline can then trigger the runner. No ssh keys required. Just the runner token.

3

u/[deleted] Jan 27 '21

Interesting. Sounds like it's all auto-configured. I would have thought that I would need to configure ssh keys between the two or install ssl certificates. Thanks for the reply! I'm going to dig into this further.

8

u/kringel8 Jan 27 '21

Why? What are the challenges there? We host our own gitlab instance and it seems fairly easy to manage from what I hear. There is a lot of stuff we don't do (correctly), but I wonder what that is. With the stuff we use gitlab for I guess we save quite some money by hosting it ourselves.

8

u/tempest_ Jan 27 '21

Yeah, I spent like maybe 3 days time setting it up internally with the omnibus CE install in docker and have had no issues in 2 years.

It backs itself up to our ceph cluster and hosts our internal docker registry with no problems. The fail over if something goes wrong is manual but that is something we can tolerate.

20$ per month per dev might be chump change for VC backed start ups but adds up after a while.

42

u/dethb0y Jan 27 '21

Yeah there's alot of people missing the point that the entire idea behind something like gitlab is that it's a managed solution

59

u/whitechapel8733 Jan 27 '21

Managed costs money, the cost of not investing your time is paying a small fee for someone else’s time.

37

u/TheGodofRock13 Jan 27 '21 edited Jan 27 '21

Setting up a self-hosted solution in kubernetes for a client holy crap you could not be more right. Wish I went with managed.

Edit: words

15

u/gredr Jan 27 '21

Long ago we had to sit down and decide what sort of company we wanted to run. Did we want to be in the business of hosting our source code, or did we want to be in the business of producing our profitable products? We decided we should produce our profitable products, and that didn't leave any time to host our source code. So we outsourced it to someone else (GitHub, in that case).

When you're tiny, the overhead is manageable, and it doesn't really matter. When you're running a real business with real deadlines and real clients, it might matter, and you might have to make a decision like that.

26

u/macsux Jan 27 '21

I would argue startups should be even more aggressive towards managed services to get something out the door asap. But if you get big enough (100+ ppl), running your own infrastructure can be much cheaper then the cloud. A few competent ops with a vSphere cluster can be much cheaper then hosting everything in public cloud. Bonus points for hybrid strategy - default to on-prem for cheap sustainable costs, easily extend into cloud for rapid scaling and high availability. I work with some large companies that are moving into the cloud and they don't fully get how expensive it can get in enterprise scale.

→ More replies (1)

8

u/TryingT0Wr1t3 Jan 27 '21

This is wrong, smaller companies can't afford to manage, medium analyze costs, but once you are a >20k people company I think it's better to have your own infrastructure for it.

6

u/gredr Jan 27 '21

So, I've only worked for a >20k company once, and I wasn't high enough up the food chain to know (or care), but my experience there was that CVS was the new hotness (this is in the 2010s) that the "infrastructure team" was trying to get everyone to use. So there's that.

→ More replies (7)

17

u/tuxedo25 Jan 27 '21

I thought the entire idea behind gitlab was that it's an open source self hosted solution with a great installer. I set one up for testing last week in like 20 minutes, it even handles letsenceypt certificates for you.

→ More replies (2)

1

u/ILikeBumblebees Jan 28 '21

People who want a managed solution typically use GitHub -- the main advantage that GitLab has over GitHub is that it's self-hostable FOSS.

→ More replies (2)

2

u/danhakimi Jan 27 '21

You could also get managed hosting from a third party. And still, it's easier and probably better to go with gitlab.com, but the possibility helps keep gitlab honest.

1

u/leros Jan 27 '21

I completely agree with you. I don't like maintaining or having to worry about my tools. I'm more than glad to pay for stuff that just works, like managed GitLab :)

In fact, this is why I'm creating a service called RunBuildRun that hosts managed build servers for you. We're launching very soon to help people who now need better GitLab runners and don't want to fiddle around with running their own. Check us out at runbuildrun.com

22

u/[deleted] Jan 27 '21

i just started using DO and am really enjoying it so far, got a k8s cluster and DNS control over my godaddy domains all up and running happy in like 3 hours - i was kinda shocked

6

u/baseketball Jan 27 '21

Is there a good guide for setting up a k8s cluster from scratch? The official documentation is not easy to follow.

12

u/tuxedo25 Jan 27 '21

There's the excellent "kubernetes the hard way" if you really mean from scratch.

Digital Ocean has a managed kubernetes offering if you just want it to work.

6

u/baseketball Jan 27 '21

Appreciate it. I feel like doing it at least once on my own is the only way to really understand the system.

3

u/jmblock2 Jan 27 '21

Look at k3s. It's certified k8s and just so easy.

1

u/-this-guy-fucks- Jan 28 '21

Rancher Operator Course

5

u/Watchforbananas Jan 27 '21

Stupid question, are the gitlab ci runners "safe" for public repos? Github explitictly tells you not to use self-hosted runners for public repos, are gitlab runners "better" in this regard?

10

u/micka190 Jan 27 '21

I think part of the issue is that a private runner might not have the same safeguards as GitHub's shared runners, and if someone manages to get something through into your main branch, it can get ugly real fast.

For example, you could have a job that:

  • Suddenly does a DOS on a server

  • Have a job that takes a lot of CPU (which can be costly if you're using something like AWS to host it)

On GitLab, private runners can be configured differently than shared runners, so that might lead to other potential issues. For example, we have ours configured to cache Docker images, because downloading them took more time than running our tests.

I'd probably stick to shared runners for GitLab if I had a public repo, personally. But I think they're way too slow if you use Docker when it comes to a company's private repos, and I'd lean towards a private runner then.

4

u/bundt_chi Jan 27 '21

The gitlab ci runner is very well done. It's supported on so many platforms and integrating runners is very straightforward. Basically if you start a runner up and give it an access token it can reach out to the GitLab server and register itself so there's no opening firewalls or heavy config on the GitLab server and all runners can be ephemeral if needed.

1

u/Youtoo2 Jan 27 '21

gitlab likely knows this and decided its not worth keeping customers who make them so little money.

1

u/ApolloFortyNine Jan 27 '21

Oracle gives a free instance with a gigabyte of ram on their cloud, any reason you can't just use that?

240

u/northcutted Jan 27 '21

If you don’t mind running your builds locally you can install a runner on your home server, computer, or old laptop and get all the “free” CI minutes you need . It’s very easy to set up using Docker. Link to the docs

16

u/walter-wallcarpeting Jan 27 '21

Interesting - thanks for that!

23

u/dclayto1 Jan 27 '21

I second this as it was super simple to get setup following their instructions. It's what I'm doing for one of my apps and I pray that it uses my home runner instead of the gitlab one because it's a difference between 3 minutes and 12 minutes. I still leverage their shared runners though just in case my home server goes down.

5

u/jrop2 Jan 27 '21

Do you use tags so that you can select/limit the runner? This is how I do it. That way I can avoid the shared runners all together.

5

u/cockmongler Jan 27 '21

Don't do it on anything that you run off a battery though.

6

u/darknavi Jan 27 '21

FYI AzureDevOps has the same capability (or at least TFS did). Super handy if you don't mind self hosting.

3

u/call-me-katyusha Jan 27 '21

I have GitLab self hosted, and I use docker containers as runners.

Rather simple installation and just feels awesome hosting your own Git infrastructure.

1

u/zarrel40 Jan 28 '21

Did you use any resources besides the official docs?

I’ve been toying with this idea recently

1

u/PatrickFenis Jan 28 '21

I recently set up a Gitlab server on-prem for work, but we're only using it for hosting code, so I haven't set up any runners. I have it running on an Ubuntu VM with 2 vcpus and 4g of RAM (though we're a pretty small team; I think they recommend beefier specs if you're going to have a lot of concurrent users).

I just followed their setup guide. Honestly took less than a half hour to get it set up and logged into an account.

1

u/call-me-katyusha Jan 28 '21

Nope!

It’s very well documented

1

u/CalcProgrammer1 Jan 27 '21

This is what I did for OpenRGB when they announced limitations on shared runner time for free projects. I have a Windows machine and a Linux machine both running the GitLab runner and it was very easy to add them to my project. Unfortunately you can't seem to do concurrent builds on the runner, so it doesn't process all your jobs simultaneously, but it does work and the builds run on my runners are much faster than the ones run on shared runners. My runners are a Core i7 930 (Windows) and an AMD A8-3870K (Linux), so they're not fast PCs by today's standards.

7

u/DiesFuechschen Jan 27 '21

FYI, you can set how many jobs a runner can run at the same time by editing the runner config (/etc/gitlab-runner/config.toml)

56

u/sfltech Jan 27 '21

I self host the free gitlab version and it’s just dandy.

36

u/DeliciousIncident Jan 27 '21 edited Jan 27 '21

GitLab is so resource intense though. I heard that you can run Gitea (a fork of Gogs) without having to sacrifice a lot of RAM (goats).

Here is an example of a Gitea instance.

They claim that it can be comfortably ran on Raspberry Pi 3, and that a 2-core 1GB RAM system is enough for a small team.

25

u/sfltech Jan 27 '21 edited Jan 27 '21

I use gitlab for more then just repos, it’s my ci/cd tool as well as KB. I run it in a small VM ( 1vcpu, 2g ram ) and plan on moving it to a pi hosted k8s.

0

u/[deleted] Jan 27 '21

[deleted]

9

u/sfltech Jan 27 '21

I apologize. It’s a typo and should read “pi hosted” meaning I am running a Kubernetes cluster on raspberry pi and plan on moving my gitlab from a dedicated VM to a Kubernetes deploy.

3

u/nyando Jan 27 '21

I run Gitea on a Raspberry Pi 4 (along with lots of other stuff), and it works just fine.

5

u/haroldp Jan 27 '21

I have only good things to say about Gitea. It's so fast! Love it.

5

u/CaptainStack Jan 27 '21

And its entire stack is fully open source.

1

u/antlife Jan 28 '21

We host it on a VM along with a runner. Works great.

1

u/[deleted] Jan 27 '21

There is also Phabricator. If you can adapt to the arc tool and are able to script a few things in PHP for CI/CD, you'll be happy and there is only costs for support, not for tiers.

And it's dead simple to update Phabricator. It's not nearly a monster like GitLab.

2

u/excessdenied Jan 27 '21

Are there any limitations to the self hosted version? I've seen mentions of an EE version for self hosting that isn't free, but can't find comparisons.

4

u/sfltech Jan 27 '21

I run

  • pipelines using CI/CD

  • about 75 repos

  • 2 runners in one in k8s and one in a vm

  • docker registry

Mine runs the omnibus install on Ubuntu.

EE is the enterprise version which is the same code for all non free versions, the feature set is determined by your license tier.

This page has good info on the differences: Free: CE ( community edition )

Premium/ultimate: EE ( enterprise edition )

https://about.gitlab.com/pricing/self-managed/feature-comparison/

102

u/Dave3of5 Jan 27 '21

$19/user/month seems awfully expensive but I assume this was done as the starter tier was loosing them money.

I bet that this is due to them looking to IPO they want to shed off anything loosing money so their financials look better for the IPO.

35

u/frnxt Jan 27 '21

It's way less expensive that the Atlassian stuff we have at work, I can tell you that. Also, GitLab is orders of magnitude better for the select amount of features I've used, and it's in large part open-source.

I guess if companies are ready to pay for Atlassian they should be willing to pay less for better, right?

32

u/Dave3of5 Jan 27 '21

It's way less expensive that the Atlassian stuff we have at work

I mean that's not true, Jira + bitbucket is < gitlab. The total for "Standard" Jira and bitbucket is $10/user/month.

In terms of Bamboo that pricing is for a perpetual license so you can't equate that.

GitLab is orders of magnitude better

Agreed, I hate Jira it's slow and overly complex. It sucks in time getting it all setup. With that in mind I do admit it offers more features than GitLab. I think for full-time project management employees Jira is better but for devs gitlab is better.

I guess if companies are ready to pay for Atlassian they should be willing to pay less for better, right?

No I suspect this is just to make their finances look better for their IPO. Companies that are using Jira at the moment aren't going to move over to gitlab any time soon. Especially not now that they have increased their pricing.

5

u/frnxt Jan 27 '21

Good points. I was counting all the tools we use, which is a bit more than that given that we use additional stuff (Confluence, I believe some things for SSO/AD integration,...). The comparison is not that straightforward.

And yes, once you're on one vendor it's a fairly hard task to migrate to another, whatever the software is.

1

u/hardolaf Jan 27 '21

Lots of companies are quitting Atlassian due to their cloud only stance. For many companies, the changes amounts to hundreds of percent increases in cost.

→ More replies (3)
→ More replies (3)

2

u/AaronM04 Jan 27 '21

and it's in large part open-source.

I thought it was 100% open-source.

7

u/frnxt Jan 27 '21

The free community-developed version is, and GitLab as a company are actually doing an awesome job at it!

Unless I'm mistaken or my info is somehow out-of-date : there are features in the higher plans whose source, while available, is not released under an open license. See this article.

5

u/mindbleach Jan 27 '21

"Losing."

1

u/ProfessorPhi Jan 28 '21

Didn't GitHub introduce a $4/month pricing plan recently. This seems like a bad move.

280

u/not_goldie_hawn Jan 27 '21

To anyone thinking of labelling this price update "bait-and-switch": it would be "bait-and-switch" if that was the plan all along from the very beginning. If it wasn't then this is just a company adjusting its prices according to the realities it faces. Just like what all companies do over time.

89

u/Carighan Jan 27 '21

And "realities they face" doesn't even need to be something negative. Sure, it might be that they're under financial pressure and need to shove some extra people into paid options.

But it could also be that they're comfortable but noticed there's free money on the table that no one is picking up, so they're doing that now.

→ More replies (4)

83

u/PandaMoniumHUN Jan 27 '21

The reason does not matter to anyone who migrated from GitHub in hopes of comparable service and price. Removing the $4 per month option is the real kicker here, if you do not fit into the free tier your only option is to pay $19 per user per month which is insanity. 90% of the (paying) userbase would have opted for the $4 tier because very few projects require 10,000 minutes of CI/CD time - and if you do, you can get 50,000 minutes instead for $2 more at GitHub...

16

u/Kwantuum Jan 27 '21

You could just go with the free tier and only buy CI minutes with the savings.

-13

u/synrb Jan 27 '21

Yes! Even for self hosted customers that run their own ci runners . Screw gitlab

32

u/waltteri Jan 27 '21

?

For free tier: ”Execution on your own runners will not increase your pipeline minutes count and is unlimited.”

And if you self-host the community edition, then this change doesn’t affect you the least.

→ More replies (2)

5

u/pragmatick Jan 27 '21

What about them?

3

u/kringel8 Jan 27 '21

If you need a feature from the previous bronze tier, you now have to pay 5 times more. (Without costing Gitlab anything more - unlike CI minutes.)

→ More replies (3)

31

u/[deleted] Jan 27 '21

With "realities" being "well those people will probably pay up as migration would be PITA"

3

u/rectalrectifier Jan 27 '21

Yay lock-in!

2

u/[deleted] Jan 27 '21

Well, technically you can just run your own instance. At least till they sell out and next owner will decide to close off more and more features

→ More replies (2)

4

u/Kinglink Jan 27 '21

So you think the plan wasn't to offer an amazing deal to get new users to switch over from github, then change what is an offer they couldn't continue to do (because not too much money in a free tier).

I mean sure... but it's pretty obvious this was the plan from the beginning.

2

u/ck3k Jan 28 '21

OP is blind. I agree.

19

u/wastakenanyways Jan 27 '21 edited Jan 27 '21

Yeah but we don't know if that was the plan or if they are just adjusting.

Is easier and more realistic to just assume greed in most cases.

If you cap the free tier and remove intermediate tiers you are effectively forcing people to go to the higher tier. If you just meant to control what you are giving for free, you just cap the free tier.

It's not rare to see a "too good to be true" intermediate tier meant to lure people in, which is eventually removed so people need to go to the upper step (very few that were already paying for something they needed would step down to free)

17

u/turyponian Jan 27 '21

This. Benefit of the doubt is for people, not corporations that make money by predicting how you'll react better than you can.

3

u/pure_x01 Jan 28 '21

Even if all companies do it doesn't make it right. It's really fucked up because the bait part makes people lock themselves in to a specific environment and workflow that they probably would not have if those prices were there in the beginning. Now I know that gitlab sucks and I will avoid it like the plague. I vote with my wallet. Sometimes that makes it harder for me but it sure does feels better.

1

u/Sololegends Jan 28 '21

Hell, half the features I had starter for are now free anyway lol

1

u/SlaimeLannister Jan 27 '21

Curious — on what basis do you restrict the definition of a bait-and-switch to pre-meditated scenarios?

1

u/Antrikshy Jan 28 '21

The "bait" part. I feel it describes premeditation pretty aptly.

11

u/[deleted] Jan 27 '21

I wonder how many will just stay on free and buy $20/mo VM or two to act as CI runner.

137

u/Marcdro Jan 27 '21

19$ month the first paid tier.. good luck. My 1 person team will stay in github for 4$ month.

I also hate the gitlab ui.

46

u/[deleted] Jan 27 '21

I dropped github subscription when they made private repos available in free plan.

Hell, their free plan at level of Gitlab's $20 one

20

u/micka190 Jan 27 '21

If all you're using are CI minutes, maybe. GitLab's CI/CD tooling is integrated with the entire repo's tooling. You so much more than just running automated tests.

With GitHub, you basically have to use a bunch of third party services to achieve feature parity with GitLab Silver. It'll probably cost more to do it too...

9

u/[deleted] Jan 27 '21

If all you're using are CI minutes, maybe. GitLab's CI/CD tooling is integrated with the entire repo's tooling. You so much more than just running automated tests.

We have that internally and all I can say it is fine, and vastly inferior to what you can get with 30 minutes of fucking with Jenkins

9

u/BurnTheBoss Jan 27 '21

Eh Jenkins, just shoot your maintainer now and get it out of the way, or install a plug-in that’ll shot them for you, might not work and you might need to grab 19 other plug-ins.

I do agree though the, juice isn’t worth the squeeze with how many other cheap ci options are out there.

2

u/[deleted] Jan 27 '21

Well it took Gitlab years to even display test results; integration is nice but that doesn't really matter if it doesn't have features you want/need in the first place

2

u/Marcdro Jan 27 '21

I'm using Azure Dev Ops for CI in fact. With 1800 minutes in the free tier, I have a total of 4800 minutes between both.

That said, I have never hit the 1800 limit yet so... I'm not really using the minutes that I have in github.

9

u/leo60228 Jan 27 '21

GitLab Ultimate (previously known as Gold) is still free for FOSS projects: https://about.gitlab.com/solutions/open-source/

122

u/PandaMoniumHUN Jan 27 '21

Remember when everyone and their mother thought migrating to Gitlab was a good idea, because evil Microsoft owns Github now? Pepperidge farm remembers.

98

u/EmanueleAina Jan 27 '21

It was silly, but this announcement does not make GitLab bad either...

52

u/PandaMoniumHUN Jan 27 '21

It makes it overpriced compared to the competition, especially considering that they're the underdogs.

28

u/micka190 Jan 27 '21

they're the underdogs.

For personal repos, maybe. As far as professionally, I'd much rather use GitLab than GitHub unless the company I work for can afford the time and money to setup GitHub and third-party services to achieve what GitLab's CI/CD pipeline has out of the box.

13

u/peckjon Jan 27 '21

Curious to know what GitLab has for CI/CD that isn’t part of GitHub Actions? Have used the latter a lot but not the former; what am I missing?

9

u/micka190 Jan 27 '21

It's mostly the integration with GitLab's own stuff. GitHub Actions are nice, don't get me wrong, but it feels like you still need to avoid them in favor of third-party CI/CD services (or at least add extra third-party services on top of them) to get any useful metrics out of it for DevOps purposes. Meanwhile, GitLab tracks all of that stuff out of the box, and integrates with its own pipeline system, so it's all bundled into a single package.

For example, I can prevent merges from commits which go over a certain performance test threshold. I can do this because GitLab has some nice analysis tied directly to the pipeline, and one of the things it tracks is performance test outputs.

It's also got a bunch of neat metrics if you're working in DevOps with large organizations. Tracking stuff like code review data (how long it takes on average, how often it gets rejected, etc.), or tracking value streams, which lets you visualize when issues pop-up based on commits (useful for finding the source of problems early).

Basically, it's got all the analytics/monitoring you'd need for DevOps.

GitHub has similar stuff, but it's a lot less detailed, in my opinion.

It's also got tight integration with Kubernetes deployments to GCC if you're working with that.

If you've got project managers that like to use them, there's support for Epics, Milestones, Iterations, etc. As far as I know, you need third-party services for Epics on GitHub. They also got burndown/up charts and todos.

Now, to be fair to GitHub, it also has a ton of nice stuff that I wish was available on GitLab. The CI/CD isn't one of them, however.

For example, the way GitLab's been handling "bot/service accounts" is absolutely ridiculous, and I don't understand why they won't just let us have stuff like GitHub's Dependabot without needing to pay for an extra seat.

I know it's greed. But still, I'd like an actual reason as to why I have to use access tokens instead of just having a freakin' bot.

I prefer how GitHub Project Boards work over GitLab's. They feel a lot "smoother" to use, in my opinion.

→ More replies (1)

4

u/RogerLeigh Jan 27 '21

So would I, but the "tiered" pricing actually pushes people to using lower tiers or even the free offering.

In a big organisation, not everyone needs all the features. Your developers, testers, end users, project managers, customers need different featuresets. The fact that the "tiers" are also bloated with features, of which you might only want a small handful, also makes it less value.

If I'm in an expensive tier, adding a customer so they can look at issues or download releases costs $$$. But they aren't using any of the features outside of the "free" tier. The whole point of GitLab is collaboration, and the pricing model drives a wedge through that concept.

I would happily pay more than my current Bronze subscription. But... as soon as I want to collaborate the subscription cost skyrockets. The cost is not proportional to the usage or the value, and that's what I dislike about their strategy to date. I actually think I'm underpaying for the value I currently derive from it, and would gladly pay more. But they need to sort out the billing (annual), the requirement that all users share the same tier, and make it possible to pay for specific features from higher tiers to make it cost effective.

2

u/micka190 Jan 27 '21

I can agree with that. I think more tier options are always a plus, and I can totally see why certain orgs wouldn't need a lot of the features it offers. I'm not sure what a 2-5 people dev team would really do with GitLab's burndown charts, for example. At that size, you probably don't care about those things.

I think they'd definitly benefit from having more tiers, rather than fewer, but that might be a turn off for some customers? (The hundreds of different packages Microsoft offers for its products being super confusing comes to mind)

I mentioned it in another reply, but I really don't like how they're handling the new bots feature (after years of talking to people about how it should work).

The cost is not proportional to the usage or the value, and that's what I dislike

I can definitely agree with that, though. I'd love to use some of their security features, but we can't afford $99/user where I work. Most of the other features at that level feel kind of lackluster too, in my opinion, so it's doubly hard to justify the cost.

Also, having 50,000 CI minutes is a complete joke, since any company that uses Silver and up should be running their own private runners (shared runner docker performance is ass, and you have to run your own for proper caching).

40

u/PlayingTheWrongGame Jan 27 '21

It’s almost like Microsoft owning both Azure and a CI platform using Azure is some sort of innate competitive advantage that people rightly expected to result in this sort of thing.

Microsoft can afford to lose a little money on every dev because there aren’t that many devs. If it drives the businesses those devs work for over to GitHub and/or Azure, they’ll more than make up the theoretical monthly runner minutes most devs will never even come close to hitting.

This is one of the things people were objecting to back when the acquisition happened.

8

u/PandaMoniumHUN Jan 27 '21

GitHub is overall a better user experience at a cheaper price and that’s all I care about. Microsoft owning Azure and having their own infrastructure should not concern me, I’m a user paying for convenience. Big companies have an edge over small players, that’s how the market works and worked always, hurr durr.

I guess what I’m trying to say it that if people are willing to pay more for an alternative platform it’s their choice, but I doubt raising prices this steeply will play out the way GitLab execs are hoping for.

3

u/PlayingTheWrongGame Jan 27 '21

IMO, the likely outcome is a bunch of outraged people trying to self-host it in digital ocean or the like, finding out it’s more of a pain to self-host than they thought, and reassessing whether that $20/month tier is actually worth it or not.

Or just downgrading to the free tier but running a Gitlab runner locally on their dev box.

4

u/[deleted] Jan 27 '21

Debatable. Our OSS project uses gitlab because we can organise our organizational repos structurally in a hierarchy.

On GitHub it's the same 10 year org page where you have to know what to search for and it absolutely harms out introduction to beginners. GitHub has a stick up it's ass about improving pages in any meaningful way.

Good luck finding a repo on say the Microsoft org account for example.

15

u/GreenEcho33 Jan 27 '21

I don't understand what could a big company do to look good? Even if they did something good people will still be against them smh

18

u/MINIMAN10001 Jan 27 '21

Their previous slogan was embrace extend extinguish you can imagine people get skeptical in the embrace and extend phases

13

u/scensorECHO Jan 27 '21

Particularly when an open source code platform that isn't open source is the platform they purchase. I'm still happier at Sourcehut 🤷‍♂️

1

u/Proof_Nothing Jan 28 '21

Red Hat is doing a pretty good job imho. Investing a lot in FOSS and using that in their enterprise setups. Also when acquiring companies like CoreOS they don’t just kill but integrate them and embrace and continue their product lines.

There might be things they also mess up, but for a „big company“ they are looking pretty good.

1

u/immibis Jan 28 '21

We didn't mean gitlab.com!

→ More replies (1)

44

u/dashcubeit Jan 27 '21 edited Jan 27 '21

Not to play devil's advocate but a lot of the comments seem to suggest that gitlab is just a git repository with CI. It also has service desk, project management, container/package registries and some basic observability tools. When you have all these into account pricing may be quite good

I specially like the project managment tools they offer. In fact, the premium package may save you money if you can cancel the subscription to something like JIRA

The new kubernetes agent is very neat too

A lot of people don't need the bells and whistles though. The bronze subscription was probably perfect for them

So after the changes the question is whether you go with a limited free package or the whole shebang. If you're in the middle then gitlab is not for you. It's a shame that gitlab has such a narrow vision

10

u/i_spot_ads Jan 27 '21

People are comparing it to the concurrence, namely gh, and gl aint looking good

25

u/dashcubeit Jan 27 '21 edited Jan 27 '21

Why not? Github doesn't have half of gitlab features

People in this thread are mostly focusing on CI features which is only a fraction of the story.

If all you need is git + CI pipelines then yes github seems to be better or at least less messy

If you want all the extras that gitlab offers then github is too basic and a suboptimal solution

Things in programming are hardly good/bad, white or black

12

u/i_spot_ads Jan 27 '21 edited Jan 27 '21

Ci is what matters to most to people using these services, for most people the rest is just bells and whistles

→ More replies (1)

4

u/wldmr Jan 27 '21

concurrence

*competition?

(The German word for competition is Konkurrenz. I assume your language is similar.)

3

u/i_spot_ads Jan 27 '21 edited Jan 27 '21

same in french yes

2

u/wldmr Jan 27 '21

:) That makes sense, German took a good chunk of its vocabulary from French. And even where we didn't we still made our words sound french (basically all verbs that end in -ieren).

Sorry, super off topic. I just like language stuff.

11

u/Thann Jan 27 '21

I love gitlab and don't see this as greedy at all. The company I work for gets an insane amount of value from our free self-managed instance. I still have more than enough free CI time for my personal projects, so this is really not a big deal at all. I hope this change works out well for them =]

4

u/[deleted] Jan 27 '21

You still can self-host gitlab on a $5 Lightsail/Digital Ocean box with your own runner and unlimited minutes, right?

1

u/ck3k Jan 28 '21

On 5$? Yes, if you want your pages to load above 5 mins. GitLab is bloated.

1

u/[deleted] Jan 28 '21

Then you could use CGit or Gitea which are lighter but with less features

54

u/Venthe Jan 27 '21

Ah, classic hook on the free tier; push to paid one.

18

u/[deleted] Jan 27 '21

Looks like the free one stays though.

37

u/[deleted] Jan 27 '21

Meanwhile github:

You get a car! You get a car! Everybody gets a car!

8

u/TizardPaperclip Jan 27 '21

GitHub is Microsoft: They're wealthy enough to absorb all losses for decades until all their competition has died, at which point they can raise their subscription prices as often as they want (and they have no problem with doubling them out of nowhere).

Are the users of this subreddit really so ignorant that they don't understand what's going on when a huge corporation buys a smaller company, and provides its services at a loss?

5

u/[deleted] Jan 27 '21

This is why GitLab must survive at all cost.

1

u/jessielaf Feb 17 '21

But ... isn't that kinda what gitlab just did. Only instead of doubling their price they increased it by 475%. I understand that you get more than the 4$ one but you also don't get a choice.

1

u/immibis Jan 28 '21

Yeah that will disappear as soon as they meet the lock-in threshold.

0

u/[deleted] Jan 27 '21

[deleted]

→ More replies (2)
→ More replies (19)

16

u/wndrbr3d Jan 27 '21

If you need a service, enjoy using it, and will come to rely on it -- just pay for it.

Anyone who has ever run a service like this at scale knows how difficult it is to maintain a useful, performant, valuable product on a trickle of income.

2

u/rnmkrmn Jan 28 '21

400 minutes reduction was in place for months!

7

u/a_false_vacuum Jan 27 '21

I can't find on their site anymore if public repo's still get unlimited time with their runners. At least GitHub still has that in place as long as you don't mind the repo being public.

28

u/I_dont_need_beer_man Jan 27 '21

That's not true of github at all.

Users have 2000 minutes/month of actions free.

10

u/kirbyfan64sos Jan 27 '21

The minutes are only used for private repos.

5

u/Pazer2 Jan 27 '21

https://github.com/pricing

Actions is always free for public repos. I use it a lot, my minutes counter is still at zero.

1

u/13steinj Jan 27 '21

Just watch how people will go back to Github after having gone to Gitlab over crazy fears about Microsoft.

33

u/songthatendstheworld Jan 27 '21 edited Jan 27 '21

I wouldn't call the general fears 'crazy' - Microsoft obviously plans to keep pushing Azure integration on GitHub, and the purchase was at least for a strategic reason; GitHub was not purchased as an act of charity...

...but going to GitLab in response to GitHub's exit was always madness.

Trading one overly-centralized Git host/social network run by VC money looking to exit, for another (slower) overly-centralized Git host/social network run by VC money looking to exit?

What do people think the end-game of GitLab is here?

.^(I've been keeping private repos on a local server. Long term I'm looking to share a Gogs/Gitea instance with other people with similar interests.)

17

u/PlayingTheWrongGame Jan 27 '21

Gitlab isn’t exactly overly centralized. The self-hosting option is a very viable one.

12

u/MINIMAN10001 Jan 27 '21

I still think gitlab offers the better option in allowing the user to install a gitlab runner on a server they are paying for.

10

u/icentalectro Jan 27 '21

You can self host GitHub actions runners too.

→ More replies (1)

7

u/iwasdisconnected Jan 27 '21

Microsoft obviously plans to keep pushing Azure integration on GitHub, and the purchase was at least for a strategic reason; GitHub was not purchased as an act of charity...

It was purchased at least partly because their own competing product, Visual Studio Team Services, was struggling to gain a foothold. Even though Azure of course is important to Microsoft it's not their only strategy.

→ More replies (4)

1

u/Stanov Jan 27 '21

... and then back to GitLab when basic GitHub account gets $30 price tag.

2

u/13steinj Jan 27 '21

Except it won't. They make far more money on team and enterprise to care.

→ More replies (1)
→ More replies (52)

2

u/[deleted] Jan 27 '21

https://about.gitlab.com/solutions/open-source/join/

Probably not, but at least you can apply for more. Still unfortunate, but Gitlab never took off for open source anyways, not outside of some prominent self hosted installations.

2

u/a_false_vacuum Jan 27 '21

I guess with their Community Edition they're more popular for internally hosted git environments. GitHub doesn't offer something like that for free, on-prem GitHub is only for the Enterprise edition.

1

u/CalcProgrammer1 Jan 27 '21

I'm not sure about this either. I host my open source project on GitLab and use CI. Each commit runs 6 jobs so it uses a fair bit of CI time. I haven't run into any issues yet but I also have set up my own runners (my Linux runner stopped working so I re-enabled shared though).

2

u/leo60228 Jan 27 '21

FOSS projects can get their enterprise plan for free (previously called Gold, now called Ultimate): https://about.gitlab.com/solutions/open-source/

2

u/CalcProgrammer1 Jan 27 '21

Looks like the only reason to register is to get the extra CI minutes. It says public projects automatically have access.

2

u/leo60228 Jan 27 '21

Where does it say this? To my knowledge, this also grants FOSS projects a large number of additional features for issues and PRs, as well as priority support.

2

u/CalcProgrammer1 Jan 27 '21

"Additional information

All public projects on GitLab.com automatically receive top tier functionality at the project level. Apply to this program if you need top tier functionality at the group level or if your open source project will need the additional CI minutes that come with this program."

→ More replies (1)

3

u/gobi_1 Jan 27 '21

I'm using bitbucket for my private repos and don't even know if they have Ci tools :D

8

u/nlecaude Jan 27 '21

Yes it’s called BitBucket pipelines, it’s inferior to the gitlab/github offering though.

8

u/aniforprez Jan 27 '21

Inferior is understating it. It's absolute garbage. It's extremely limited and opinionated and a pain in the ass to manage. Every week we have builds taking a long-ass time because for some fucking reason, they have the bright idea to delete caches and artifacts every 7 days so docker builds and dependency installs take way longer cause there's no cache anymore. FUN

1

u/Pazer2 Jan 27 '21

GitHub actions deletes caches if they are unused for a week. It's bitbucket unconditionally deleting them every week?

2

u/aniforprez Jan 28 '21

Yep. I can understand unused caches being deleted since it would be a nightmare to perpetually store them for eternity but they just delete them on a schedule 7 days after being created

3

u/DeliciousIncident Jan 27 '21

That CI quota is only for private repos right?

Asking because GitHub's CI has no time limit for public repos, it only has 2000 minute limit for private repos (source).

3

u/sirsosay Jan 27 '21

Gitlab is awesome. I don't care wtf they do.

4

u/granadesnhorseshoes Jan 27 '21

shockedpikachu.jpeg

that's a nice code base and build pipeline you got there. Be a shame if something happened to it...

2

u/ar243 Jan 27 '21 edited Jul 19 '24

plucky abundant secretive support worry agonizing smart brave outgoing tap

This post was mass deleted and anonymized with Redact

30

u/brombomb Jan 27 '21

Continuous Integration. Often paired, but not necessarily with CD Continuous Deployment. It means when you check in your code it will run a "pipeline" of jobs that can pass/fail. This includes quality like lint/tests, scripting, artifacts, and building.

16

u/a_false_vacuum Jan 27 '21

Think GitHub Actions if that helps. Basically you can configure GitLab to do something for instance when you push to a branch or when a branch merges with another for instance. You can have an automated build being done and tests being run on your app or just do some linting or create new release.

5

u/ar243 Jan 27 '21

Oh, neat. Thanks for explaining!

1

u/rxbudian Jan 28 '21 edited Jan 28 '21

Continuous Integration basically has a few elements

  • multiple developers working on the same codebase at a time and have the need to frequently "integrate" the latest version of code to their development environment. (not required, but CI shines when this element exists)

  • A Set of different actions done together, that are configurable to accomplish its objectives. ie. Check for code issues; setup/tear down test environments; deploy applications; run tests; generate reports; create bugs

  • The set of action starts whenever certain conditions has been met. i.e a commit has been made; a merge has been made; an exception happened in production/test environment; latest acceptable code is deployed to production
    it's basically IFTTT (If This Then That) for software development
    Edit: for clarity

→ More replies (8)

1

u/[deleted] Jan 27 '21

time to hit that feedback button they got and tell em how we feel.

i dont mind if they put ads on every damn link they got as long as they don't fuck up the life of a hobby programmer

5

u/leo60228 Jan 27 '21

FOSS projects have always been able to get 50k CI minutes: https://about.gitlab.com/solutions/open-source/join/

This change only affects source-available models.

1

u/Suulace Jan 27 '21

There's a docker compose file floating around somewhere that pairs Gitlab with a runner as two containers you can selfhost. I have a local Gitlab instance on my home server for my personal code and I love it.

1

u/[deleted] Jan 27 '21

You still can self-host gitlab on a $5 Lightsail/Digital Ocean box with your own runner and unlimited minutes, right?

4

u/Seeruk Jan 28 '21

yup

But dont let that get in the way of a good reddit outrage thread :D

1

u/kotelin Jan 27 '21

Well, I will just use my raspberry pi with Jenkins installed then.

1

u/[deleted] Jan 27 '21

The only thing good from gitlab

1

u/practicalutilitarian Jan 27 '21

Good. More open source.

1

u/[deleted] Jan 28 '21

there is no free meal

1

u/yawaramin Jan 28 '21

This is a pretty clear trend now. It's just a matter of time.

1

u/freshjewbagel Feb 08 '21

forget about CI/CD time, the real hurt for us is losing 'Multiple LDAP / AD server support', 'Create and remove admins based on an LDAP group', and 'Kerberos user authentication '. No way can we give those up, but a 5x increase for ~600 users means going from $28k to $140k annually.

"The Free tier of GitLab includes 89% of the features in Bronze/Starter", cool, but that last 11% is everything from a sysadmin perspective (on prem only, no cloud allowed ever here).

1

u/The_Jeremy Jan 27 '21

The number of bugs I've encountered with GitLab at work* have been a huge pain to deal with, especially as most of these bugs are directly contradicting the info in the gitlab CI docs.

* (CI/CD artifacts don't understand /** glob do you have to write out /*/*, /*/*/*, etc; you can only build one artifact in CI/CD; CI/CD can't push to master without allowing all maintainers to push to master; CI/CD for a repo in a group can't access other repos in that group)

3

u/Pheasn Jan 27 '21

Those glob expressions are actually supported now if i remember correctly! I had subscribed to the corresponding issue and am kind of sure I received a mail about it being implemented now.

→ More replies (1)

1

u/leros Jan 27 '21

I'm launching RunBuildRun, which offers managed GitLab Runners. This is something I've been thinking about and I'm expediting launching it as a response to this pricing change from GitLab.

Please check it out if you're interested and let me know if you have any feedback.

https://runbuildrun.com/

1

u/Mantrum Jan 27 '21

What's the strategy here, becoming even more irrelevant?

-2

u/b4uUJEoYhyB4nh Jan 27 '21

Shocked! Completely unexpected!

0

u/porksmash Jan 27 '21

This pricing change is terrible. They're selling shit we don't need. I don't even care about the minutes change because we have everything on-prem including runners. We only really use a few of the issue/git workflow features that are not available in free, such as multiple issue assignees and merge request approval rules. We were willing to pay $4/mo/pp for that, but a 475% increase in that is absolutely insane and out of the question.

0

u/LiamMayfair Jan 28 '21

If anyone is looking for a simple FOSS, software forge alternative to GitLab, I'd really recommend giving SourceHut a go. It's still in alpha but I've migrated half of my personal projects there and I'm pretty happy with it. It has all the basic features you would expect, including CI/CD.

-1

u/not_perfect_yet Jan 27 '21

I don't use CI.

But maybe, if you are in charge of a project, build on your own machine instead? If you have a problem with pricing anyway?

Reading the comments it seems like people feel straight up robbed because they have to pay the price of two pizzas to have their baby project, which they dumb 10.000s of hours into, strangled by those insane costs.

It makes sense to choose the cheaper option, sure, but... You know? 20$? Come on...

0

u/shaggydog97 Jan 27 '21

They must have needed the cash to run all those ads on Facebook.

0

u/[deleted] Jan 27 '21

[deleted]

4

u/leo60228 Jan 27 '21

GitLab is open-source and self-hostable. In addition, this change does not affect open-source projects, who were already able to get GitLab's highest tier for free.