[HN Gopher] Gitlab reducing free tier CI/CD minutes from 2000 to...
       ___________________________________________________________________
        
       Gitlab reducing free tier CI/CD minutes from 2000 to 400 minutes
        
       Author : kraf
       Score  : 195 points
       Date   : 2020-09-03 12:38 UTC (10 hours ago)
        
 (HTM) web link (about.gitlab.com)
 (TXT) w3m dump (about.gitlab.com)
        
       | qppo wrote:
       | edit: I can't read, ignore my gripes on github actions. Gitlab is
       | the best!
        
         | Macha wrote:
         | This is about gitlab, not github.
        
         | mcintyre1994 wrote:
         | FWIW Gitlab's default timeout is 60 minutes and you can view
         | logs of a pipeline as it runs.
        
       | nscalf wrote:
       | For smaller projects who aren't ready to start spending yet, it's
       | pretty trivial to spin up your own runners on a server. Not sure
       | how it scales, but Gitlab has pretty solid guides on how to make
       | one. It took me maybe an hour the last time I looked at it, worth
       | checking out. Definitely easier to drop $10 than maintain that
       | though, I'm a fan of Gitlab's CI/CD infrastructure.
        
         | davnicwil wrote:
         | This thing of spending like an hour setting up a runner is one
         | of the things I wanted to address with https://boxci.dev - A CI
         | service I've built with a similar bring your own runners model
         | but where "setting up the runner" consists of just installing a
         | package, literally done in seconds :-) You should check it out.
        
           | nscalf wrote:
           | Awesome! I'm a couple weeks from turning my attention to
           | ci/cd for a side project. I'm going to bookmark this and I
           | promise I'll check it out!
        
       | pyrox420 wrote:
       | When can we address only offering yearly plans for the paid user
       | seats? We would have upgraded months ago if we could go month to
       | month....
        
       | dmm wrote:
       | This is only about seven builds per month for my Rust project,
       | not too bad but something I'll have to keep in mind.
       | 
       | Does anyone else think this is a Gitlab campaign against overuse
       | of monomorphization in Rust projects? I just can't get myself to
       | use Dyn...
        
         | toupeira wrote:
         | If that's an Open Source project you could apply for a free
         | Gold license and get 50'000 minutes per group per month (see
         | links in the article).
        
         | YorickPeterse wrote:
         | > Does anyone else think this is a Gitlab campaign against
         | overuse of monomorphization in Rust projects? I just can't get
         | myself to use Dyn...
         | 
         | I presume this is some kind of joke. If not, why on earth would
         | GitLab campaign against the use of dyn types? GitLab doesn't
         | even use Rust.
        
         | rumanator wrote:
         | > Does anyone else think this is a Gitlab campaign against
         | overuse of monomorphization in Rust projects?
         | 
         | No,not really. I mean, in healthy projects build times are
         | dwarfed by the time it takes to run tests. In web development
         | projects even the delivery and deployment steps dwarf build
         | times.
        
           | dmm wrote:
           | > in healthy projects build times are dwarfed by the time it
           | takes to run tests
           | 
           | I don't doubt that's often true but many Rust projects may be
           | outliers here. A full, non-incremental build of a Rust
           | project involves building all of its dependencies. This can
           | add significant amounts of time if a project uses a big
           | framework like Actix-web, which adds many dependencies.
           | 
           | My tests however run very quickly, ~1ms each. So running
           | thousands of tests only takes a few seconds, even on
           | relatively slow gitlab runners.
        
             | oehtXRwMkIs wrote:
             | Plus Rust by design avoids all sorts of bugs leading to
             | less tests imo. Python for example you really want a lot of
             | testing, maybe even contracts, but with Rust I find that
             | many of those tests are irrelevant.
        
             | kevincox wrote:
             | You should be caching the builds of your dependencies. This
             | is very easy with cargo and GitLab. I think encouraging
             | people to optimize this is a reasonable cost to push onto
             | the free users.
        
               | papaf wrote:
               | To add to your point, the caching is done by adding a
               | cache entry to .gitlab-ci.yml :
               | variables:         CARGO_HOME: $CI_PROJECT_DIR/cargo
               | cache:         key: "$CI_JOB_NAME"         untracked:
               | true         paths:           - cargo/           -
               | target/
        
             | snovv_crash wrote:
             | Is there an equivalent of `ccache` for Rust? For C++ it's
             | been a total lifesaver, I've introduced it in multiple
             | organizations for massively reducing (average) build times,
             | even by sharing the cache on an NFS drive between multiple
             | machines.
        
               | Camas wrote:
               | https://github.com/mozilla/sccache
        
           | jamesh-gl wrote:
           | GitLab Product Manager here - We're working on ways to run
           | fewer tests OR only the necessary tests earlier in a pipeline
           | so you get to a result in fewer minutes. The first project
           | towards this in the product is https://docs.gitlab.com/ee/use
           | r/project/merge_requests/fail_... which we hope to bring down
           | to the Core tier soon.
           | 
           | -James H, GL Product Manager, Verify:Testing
        
             | karlerss wrote:
             | I think most test runners have a --stop-on-failure feature,
             | but using it has the downside of not giving you the
             | complete list of failing tests.
             | 
             | If you haven't touched your gitlab pipelines for a few
             | months, check out DAG pipelines [0] - I got my web project
             | deployment pipeline down from 25 to ~12 minutes by running
             | tests sooner.
             | 
             | [0] https://docs.gitlab.com/ee/ci/directed_acyclic_graph/
        
       | badbanana wrote:
       | Colleague of mine blogged about how to save on Gitlab runner
       | costs using AWS Spot instances not too long ago,
       | https://makersden.io/blog/reducing-gitlab-runner-cost-with-a...
        
       | atonse wrote:
       | Seems like they've done it in a pretty reasonable way.
        
       | nrclark wrote:
       | I've never really understood "minutes" as a unit of build work.
       | 
       | What kind of server are we talking about? What CPU? How much RAM?
       | How fast is the storage access? Is my instance virtualized? And
       | if so, do I have dedicated resources?
       | 
       | I have a build that takes around 70 minutes on an 8-core i9 with
       | 32 GB of RAM and M.2 SSDs. What does that translate into for
       | Gitlab "minutes"?
        
         | deastman wrote:
         | We define Pipeline minutes as the execution time for your
         | pipelines. You bring up an interesting point, though. So today,
         | for our Linux Runners on GitLab.com, those Runners are
         | currently offered only on one machine type, Google Compute
         | n1-standard-1 instances with 3.75GB of RAM. Our current Windows
         | Runners on GitLab.com are Google Compute n1-standard-2
         | instances with 2 vCPUs and 7.5GB RAM.
         | 
         | In the future, for Linux and Windows Runners, we will offer
         | more GCP machine types. For our soon to launch macOS Build
         | Cloud beta, we are planning to start with one virtual machine
         | size and then possibly offer different machine configurations
         | at GA.
         | 
         | And yes - the virtual machine used for your build on GitLab.com
         | are dedicated only to your pipeline job and immediately deleted
         | on job completion.
         | 
         | Finally, the only way to know how long your current build job
         | will take on a GCP n1-standard-1 compared to the 8-core machine
         | is to run the job and compare the results. I assume that your
         | 8-core machine is probably a physical box, so you should of
         | course, get better performance than a 1-2 vCPU VM.
         | 
         | A few reference links:
         | 
         | https://docs.gitlab.com/ee/user/gitlab_com/#shared-runners
         | 
         | https://gitlab.com/groups/gitlab-org/-/epics/1830
         | 
         | https://gitlab.com/groups/gitlab-org/-/epics/2426
         | 
         | Darren Eastman: Product Manager GitLab Runner
        
           | MayeulC wrote:
           | > In the future, for Linux and Windows Runners, we will offer
           | more GCP machine types.
           | 
           | I can see free plan users starting to see their CI jobs
           | randomly timeout if they have access to those machines.
           | 
           | I get that execution time isn't a bad metric, all things
           | considered. But I would have expected actual CPU `time` (1),
           | maybe mixed with memory usage.
        
             | jrochkind1 wrote:
             | AWS or GCS charge for VMs in actual clock (wall) time
             | though, right?
             | 
             | Tthat your load may spend more or less time waiting on IO
             | instead of actually using the CPU... I would not expect to
             | effect your charge. Which is the main difference between
             | wall time and actual CPU time, right?
        
         | muspimerol wrote:
         | All you have to do is look, they list the shared runner specs:
         | https://docs.gitlab.com/ee/user/gitlab_com/index.html#shared...
        
         | sushshshsh wrote:
         | Probably a lifetime :) Just kidding.
         | 
         | Either they went the cheap route and stuck it on some price
         | efficient EC2 instances, or they went the vogue-but-expensive
         | route of lambdas for "rapid processing and ease of development"
        
         | MichaelBurge wrote:
         | Presumably they're the same machines as before, so anyone
         | affected already knows the translation.
        
         | JoshTriplett wrote:
         | What would be the most immediately understandable way to
         | present that? Suppose they added new, faster servers in the
         | future; what unit would make the most sense to offer that won't
         | change in the future?
        
           | WindyLakeReturn wrote:
           | Probably could just include a * that points to the
           | infrastructure it runs on with a link to the update history
           | of that infrastructure. It only becomes an issue when the
           | infrastructure isn't standardized, but that is just exposing
           | the underlying issue where the same build won't take equal
           | time due to a difference in infrastructure.
        
           | ivalm wrote:
           | I mean like other public cloud providers it would make sense
           | to have instances and per minute pricing for an instance. If
           | there is only one instance type that's fine.
        
             | JoshTriplett wrote:
             | What about if there's one instance type, but sometimes that
             | instance gets upgraded so that the same things take less
             | time? Is there a unit that would make more sense than
             | "minutes", and be stable over time?
             | 
             | For instance, "time to compile XYZ well-known project"?
        
         | judge2020 wrote:
         | In case anyone is wondering about GitHub (not GitLab), they're
         | planning to add multiple runner sizes[0]. Unfortunately it was
         | moved from Q4 2020 to 'future' so there's no expected release
         | time.
         | 
         | 0: https://github.com/github/roadmap/issues/95
        
         | mumblerino wrote:
         | The point of a service like this is that you should not concern
         | yourself with dirty hardware details.
         | 
         | They give you a certain power for a number of minutes. It seems
         | reasonable.
         | 
         | If they upgrade their servers, they can fit more minutes per
         | machine, or _give it away_ by speeding up runs for free.
         | 
         | If you want to think about "minutes on XYZ machine", then build
         | your own CI on AWS and pay exactly what you want.
        
       | nakedgremlin wrote:
       | Does anyone know how to see historical runner usage on GitLab?
       | I'm digging into the interface, and I only see current month
       | usage, no ability to go back to previous months. With this
       | reduction news, I thought the interface would have updated with
       | better details.
        
       | bachmeier wrote:
       | Their existing policy has never made sense to me. You can only
       | give away so much stuff on a free plan. I don't think CI/CD is
       | cheap. Buying extra minutes for $10 (not per month) is completely
       | reasonable. At some point I feel uncomfortable using a free plan
       | that is obviously unsustainable.
        
         | jchw wrote:
         | I think a good free tier still makes sense _as long as it seems
         | sustainable overall._ For example, if a lot of people are
         | willing to pay for at least a basic plan, I feel a little
         | better.
         | 
         | I think for CI/CD having a generous free tier is _great_
         | because it makes it easier for people to get started and really
         | dig into a project, not to mention the obvious benefit to open
         | source that works as a continuous PR machine. Practically
         | _everyone_ knows what Travis CI and CircleCI are.
         | 
         | I still agree that it can be unnerving at times. I worry about
         | services that seemingly offer _no_ paid tiers. Like, draw.io.
         | Thankfully draw.io actually seems to be sustainable, but you
         | wouldn 't guess it based on their very unobtrusive app!
        
         | usr1106 wrote:
         | I am not sure whether their CI/CD has been a main driver, but
         | their investment rounds haven proven that they have built up a
         | very positive image. So in a way attracting users for free can
         | bring money to the company.
         | 
         | But you are right: Such model is not sustainable for very long.
        
         | jldugger wrote:
         | >Buying extra minutes for $10 (not per month) is completely
         | reasonable.
         | 
         | I agree that free tier is moderately reckless, as it invites
         | people like me who bookmark https://free-for.dev to devour your
         | service with no gain.
         | 
         | The pricing question though is tough. How much would an
         | instance in AWS cost you for 4000 minutes? Two dollars? Pretty
         | sweet markup if you can find a buyer.
        
         | vkgfx wrote:
         | > At some point I feel uncomfortable using a free plan that is
         | obviously unsustainable.
         | 
         | This describes how I've felt about Discord for years.
        
           | jchw wrote:
           | You can pay for Discord. Admittedly, I do. It's not that
           | Discord is perfect, I have a lot of personal gripes with it.
           | But it's still significantly better than where I came from
           | (Skype) and I use it a lot so it seems fair enough. Discord
           | Nitro also thankfully pivoted from being a games service and
           | the features it does provide are nice to have. (Larger file
           | uploads, better stream quality, cross-server emoji.)
        
             | time0ut wrote:
             | The pricing for this seems totally crazy to me. If I recall
             | correctly, maxing out a server is like $160 a month, right?
        
               | chucky wrote:
               | Compared to Slack, which sells you basically the same
               | thing but with a "business" tag for $8 per person and
               | month it doesn't seem like that much.
               | 
               | On the other hand Slack's pricing is pretty crazy.
        
               | stu2b50 wrote:
               | Is it? $15-30/head sounds like a lot, but these are
               | employees you're paying 30k+ to in salary alone, if the
               | addition of slack makes them 1% more efficient per month,
               | that blows past the $15/head. Forget the tech companies
               | with employees that easily crest 200-300k in costs after
               | insurance and other benefits.
               | 
               | There's a lot of audits and regulation, in addition to
               | tighter security, that Slack needs to prove to its
               | enterprise customers that they can trust their employees
               | blasting confidential information on it every day of
               | every year.
        
               | masklinn wrote:
               | This and that are different things though.
               | 
               | Nitro is for individual accounts and provides features
               | for you as a user, boost is for the server and provides
               | features for every user of the server.
               | 
               | Maxing out a server takes 30 boosts but the level 3 perks
               | seem pretty... thin on the ground:
               | 
               | - +100 emoji (from 150 to 200)
               | 
               | - 384Kbps audio (from 256)
               | 
               | - 100MB uploads (from 50)
               | 
               | - custom URLs
               | 
               | Only the third one is somewhat useful, but 15 boosts for
               | that doesn't really seems worth it.
               | 
               | As to price, a boost is $5 so a level 3 server is indeed
               | $150 (level 2 is half), however Nitro ($10) provides 2
               | boosts and 30% off all boost purchases, meaning you can
               | max out a server for $108, or 55.5 for a level 2. Nitro
               | classic is only $5 and also provides 30% off of boosts,
               | but doesn't include the free boosts, so it comes out at
               | $110 to get a level 3 server on your own.
        
         | vorpalhex wrote:
         | You can also run your own CI/CD runner for free and use their
         | platform for coordination. I do this and it works well, as easy
         | as running a docker image. Runs on my homelab.
        
           | time0ut wrote:
           | This is the way to go. I've got a whole fleet of executors
           | running on spot instances orchestrated by a runner on a
           | t3.nano. Works great.
        
           | acoard wrote:
           | Can you share a bit more about this? I'm interested in
           | setting this up myself. A link the docker image or name I can
           | google?
           | 
           | To be clear, you store all your code on Gitlab's servers
           | (i.e. not self-hosting git instance) but just "outsource" the
           | CI/CD work to your homelab? That's my ideal.
        
             | usr1106 wrote:
             | The link has already been provided. The runner is only an
             | administrative process. It can be indeed put into a Docker
             | container. The instructions are easy to follow, the image
             | is built by gitlab and updated regularly. If you choose the
             | alpine variant instead of latest it's much smaller. We have
             | done that for 2+ years and not noted any limitations.
             | 
             | The runner will start jobs that do the real building (or
             | whatever you have coded in your CI). Again you can choose
             | to have jobs executed in docker containers. Also documented
             | by gitlab, easy to set up. Of course you need to provide a
             | suitable Docker image where your build can work. Nobody can
             | do that for you. In simple cases you can pull something
             | existing from Docker hub without further additions.
        
             | time0ut wrote:
             | You run an agent called the GitLab runner. You configure it
             | with a token from your Gitlab.com group or repo (depending
             | on where you want the runner to be available). You tag the
             | runner and reference it by tagging CI jobs you want to run
             | on it. The runner polls for outstanding jobs and then
             | executes them. It is extremely flexible in how it does
             | this. In our case, the runner manages a fleet of executors
             | using docker+machine. I believe this is similar to how
             | Gitlab does it internally.
             | 
             | See https://docs.gitlab.com/runner/
        
               | e12e wrote:
               | The ci/gitlab runner bit, might be the best part of
               | gitlab - it's pretty straightforward to set up (we self-
               | host gitlab and ci).
               | 
               | The omnibus-installer (for gitlab itself) _works_ - but
               | knowing a bit about rails (gitlab is a ror monolith) - it
               | 's a bit terrifying.
               | 
               | But the runner is very nice.
        
               | ddoice wrote:
               | Yep, I have a raspberry Pi with gitlab runner and works
               | great.
        
               | lloeki wrote:
               | I did macOS runners this way, combining the runner with
               | the VirtualBox executor. Best part is once you set up the
               | base VMs (one per macOS version), the runner is smart
               | enough to take a snapshot right after boot and restore
               | that on subsequent runs, which not just makes job running
               | stateless, but also makes job worker boot about 2s.
        
           | toomuchtodo wrote:
           | Will also run on a Synology NAS using Docker (I do this).
        
         | rolleiflex wrote:
         | Relying on an obviously unsustainable free plan to build
         | something always felt icky to me, because it will inevitably
         | break, and then you will have to deal with the fallout of a
         | perhaps now-unsustainable project of yours, your investment
         | upon which then could end up possibly sunk, leaving you worse
         | off than not having started the project in the first place.
         | 
         | Paradoxically, a lower free tier makes me a lot more likely to
         | use Gitlab CI now, since I now know they know their costs and
         | limits, and from now on, not eating the cost for a future drop
         | of the hammer in an undetermined timeframe.
        
         | woofie11 wrote:
         | Business models which leverage network effects often subsidize
         | things to build out a network. I wouldn't feel bad about it.
         | 
         | That said, this move seems 100% reasonable. I care about having
         | a free tier. If they were killing the free tier, I'd be sad.
         | But if I'm not paying anything, I'm okay being required to make
         | my CI/CD pipeline efficient for my benefactor. I'd even take
         | less than 400, gladly.
        
           | mlyle wrote:
           | > I wouldn't feel bad about it.
           | 
           | I don't think he feels guilty. I think he feels the risk of
           | becoming dependent upon a service when the service is clearly
           | unprofitable.
        
         | codegladiator wrote:
         | The free mins definitely got me started. and later I just had
         | to attach my k8s cluster with gitlab and allow worker pods for
         | my project builds.
        
       | aaomidi wrote:
       | I know I work at Microsoft and this is going to sound bad
       | but...at what stage is it other companies doing EEE?
        
         | thrwaway69 wrote:
         | I have reported this comment to the anti trust team. They will
         | soon look into the matter.
        
       | bovermyer wrote:
       | This seems totally reasonable.
        
       | avolcano wrote:
       | $4/mo for 2000 minutes is reasonable. GitHub Actions does 2000
       | minutes for free/3000 minutes for $4, wonder if they'll drop
       | their free tier a bit without the competition.
        
         | jstummbillig wrote:
         | Alas, I doubt they care much. Post-Microsoft-acquisition-GitHub
         | is playing a different game.
        
           | riyadparvez wrote:
           | > Post-Microsoft-acquisition-GitHub is playing a different
           | game.
           | 
           | Excatly. Microsoft owned GitHub is more interested into
           | getting more customers for Azure than GitHub itself.
        
       | slykar wrote:
       | The feature that sold me GitLab was the ability to run your own
       | runners. It's basically 10x (source needed) cheaper than other
       | hosted CI/CD services. Most basic setup is like 3 commands.
        
       | agarzenm wrote:
       | Do they have metrics on how many free tier accounts actually use
       | the CI/CD feature and of those how many exhaust the former 2000
       | minute quota?
       | 
       | I am asking because my use is definitely in the minority of the
       | user base which is just slapping projects into a managed git repo
       | that is not owned by Microsoft.
       | 
       | This was before github decided to allow private repos for free.
        
       | etaioinshrdlu wrote:
       | Are we in a "belt-tightening" cycle? Noticing that Docker and now
       | Gitlab are reducing their super generous free tiers...
        
         | marcosdumay wrote:
         | There is a global recession out there, of the kind that only
         | happens once every 3 or 4 decades.
         | 
         | Even if those companies aren't losing revenue (they probably
         | are), there is less investment money too, so they are still
         | impacted.
        
           | swyx wrote:
           | it isnt evenly distributed. usage of cloud services is UP if
           | aws results are any indication. gitlab should experience a
           | similar lift.
        
         | ffpip wrote:
         | They can only give away so much for free
        
       | tomcam wrote:
       | 400 minutes is plenty to decide if you need to pay for the
       | service, and they need to stay in business. Eminently fair, and
       | still far better than the typical 1 month free.
        
       | cornflake wrote:
       | CI pricing (gitlab, github actions, circleci etc.) is all
       | extortionate. When they price by 'user seat' (gitlab) or 'credit'
       | (circleci), comparing pricing is like trying to pick a cell phone
       | plan.
       | 
       | AWS Code Build will always be an order of magnitude cheaper, it's
       | just slightly harder to set up but it works very well. It's
       | unclear how all these other services will ever compete with that.
       | 
       | For example, to run a CI server on Gitlab for a team of 8 that
       | never spun down, it would cost $492 per month on their 'shared'
       | runners. On AWS Code Build, you get a DEDICATED ec2 instance for
       | $223 per month and only pay for what you use when it's running.
        
         | jsmeaton wrote:
         | Circle charges per seat and for credits. It's ridiculous.
         | Increase per minute pricing and remove seat pricing.
        
         | ccday wrote:
         | Install GitLab Runner on any EC2 instance you'd like, it's
         | simple. You can even run on Spot!
        
         | danielheath wrote:
         | The setup time isn't cheap, though, and the UI is... confusing.
         | 
         | If you're using a dedicated ec2 instance, most providers
         | (gitlab, buildkite, github, etc) will let you connect it as an
         | agent for free.
         | 
         | IMO using your own runner is a better way to go in general
         | because the standard ones tend to be very underpowered and you
         | can get much faster builds without spending much.
         | 
         | At that point different providers are largely competing on
         | price and UX (imo Buildkite have the best developer UX and the
         | time saved as a result is well worth the price).
         | 
         | (Not affiliated with buildkite other than as a user).
        
         | whoisjuan wrote:
         | You can install GitLab Runners on EC2. You can even GitLab
         | install Runners on a Raspberry Pi or use some old computer and
         | put it in a closet somewhere (uptime not guaranteed though).
        
       | alexellisuk wrote:
       | Good timing with Docker being the first-mover with its Hub
       | pricing change.
        
       | sushshshsh wrote:
       | Metering of services like this only makes sense for organizations
       | that don't have the time or expertise or desire to maintain the
       | open source, self-hosted version themselves.
       | 
       | Raspi and similar devices will some day hopefully rid the world
       | of this tyranny of having to trust a website like this and pay
       | them for eternity and hope they dont go down and hope they dont
       | raise prices (oops) and hope they dont obfuscate pricing like
       | ermmm well every cloud provider has.
        
         | aeternum wrote:
         | It's not tyranny, it's convenience. Our engineers can focus on
         | creating features that provide more benefit than an in-house
         | build system.
        
         | swebs wrote:
         | Well you can already self host Gitlab on your own server if you
         | want.
        
           | viro wrote:
           | I honestly don't understand what he is complaining about.
        
             | sushshshsh wrote:
             | I'm suggesting that $4 per month where I have to estimate
             | the number of requests I will actually make is actually not
             | that good of a value compared to self hosting on a
             | raspberry pi.
             | 
             | The devices will pay for themselves within the first year
             | and generally my philosophy is to avoid building your
             | operation around 50 services cobbled together because there
             | is a possibility you will spend more dev time trying to
             | understand a service's idiosyncracies than actually just
             | rolling your own.
        
               | viro wrote:
               | Fair enough, I know I self host everything. I would just
               | suggest that a pi is probably a bad example. Since its
               | ARM and you would want your ci/cd to run as close to
               | production(x86) as possible.
        
               | ajford wrote:
               | Build vs Buy is a very individual decision that should be
               | based on your team and your product.
               | 
               | At my last employer, we used a free tier of CI/CD through
               | CircleCI as it was sufficient enough and easy to spin up
               | for testing a couple of small internal libraries we
               | needed to hook things together with a SaaS product we
               | were using. We weighed the benefits and came up with a
               | number that balanced the estimated cost of implementation
               | and running cost of self-hosted against the free tier
               | offering and estimated cost of implementation there.
               | 
               | Once you factor in engineering costs and the additional
               | server to maintain, it made sense to go hosted for us.
               | But every team is different, and hardware cost isn't the
               | only thing. You need to consider the running cost of
               | utilities, maintenance, and in the case of larger
               | equipment, even cooling costs.
               | 
               | That said, for personal projects, yeah, I just kick
               | things onto my home file server, since it's running
               | anyways, and normally has nearly no load other than
               | managing my ZFS and occasional backup operations.
        
         | pkaye wrote:
         | It seems you can already use your own runners.
        
         | zepolen wrote:
         | 99$ for 50,000 hours is a steal. You could barely rent a
         | dedicated server for that amount of money, let alone the
         | maintenance.
        
           | random_visitor wrote:
           | > You could barely rent a dedicated server for that amount of
           | money
           | 
           | You can get a Ryzen 5/64G for like $40/month on providers
           | like hetzner. While I get your point about maintenance, it's
           | not right to say that dedicated servers are _that_ expensive
           | (you also can 't compare the performance of 2vCPU/4G with a
           | dedi but that's beside the point)
        
           | slykar wrote:
           | For 150$ I have the most expensive option with 20 cores and
           | 256GB of RAM. o.O
        
       | interrupt_ wrote:
       | I wonder what would be the response here if GitHub did the same.
        
       | time0ut wrote:
       | Gitlab's SaaS offering is an excellent product. It is absolutely
       | worth paying for. Their free tier was and still is very generous.
       | I hope this isn't a signal that they are having trouble. I've
       | kind of naturally shifted 90+% of my work over the Gitlab over
       | the past year. I love it and want to stay!
        
       | jrochkind1 wrote:
       | One thing that always confuses me about the business factors in
       | this kind of announcement, where they say that the vast majority
       | of users won't be effected:
       | 
       | > We evaluted CI/CD minute usage and found that 98.5% of free
       | users use 400 CI/CD minutes or less per month.
       | 
       | Okay, so just that 1.5% of free users, each using at most 1600
       | minutes more than the 400 under the new limits... is enough cost
       | to actually matter and make it worth making this change?
       | 
       | Or they anticipated that number going up if they didn't make the
       | change?
       | 
       | It seems odd to me to say "This hardly effects anyone at all,
       | almost everyone can keep doing exactly what they are doing for
       | the same price (free in this case)", AND "this was necessary for
       | the sustainability of our budget."
       | 
       | What am I missing?
        
         | lacker wrote:
         | This sort of thing happens a lot when you first set up a free
         | plan. Some part of it turns out to cost more money than you
         | expected, and it's a small but growing segment. If you're going
         | to have to pull back in it eventually, why wait? Waiting might
         | just annoy twice as many people when you inevitably have to
         | introduce stricter limits later.
        
           | TimWolla wrote:
           | > and it's a small but growing segment
           | 
           | They could have grandfathered the existing accounts into the
           | 2000 minutes. Then the segment would no longer be growing and
           | stay small, no?
        
             | foota wrote:
             | Except in this case individual users will also grow. You'd
             | have to do something like grant them their current usage
             | plus some buffer (without letting them know ahead of time
             | maybe, since otherwise this is gameable).
        
         | nialv7 wrote:
         | These are carefully constructed truthful statistic lies.
         | 
         | Of all the free users, how many of them even have a repository?
         | Out of all the users who have a repository, how many of them
         | actually make any use of CI/CD?
         | 
         | They are saying "1.5%" to make it sounds small, but those 1.5%
         | could account for a significant portion of total minutes of
         | CI/CD used.
        
           | echelon wrote:
           | Great point.
           | 
           | And I guarantee you that they did the math to optimize for
           | conversion and churn. Behind all product decisions are an
           | army of analysts.
        
         | yebyen wrote:
         | The math works out if you presume that 20% or more of that 1.5%
         | is converted into a paying customer. If I was using GitLab that
         | much and could pay $20 to support GitLab but wasn't already a
         | paid subscriber, I probably would think about it. (I'm thinking
         | about it now, and I don't even use GitLab.)
        
         | bsder wrote:
         | > Or they anticipated that number going up if they didn't make
         | the change?
         | 
         | Do CI/CD minutes _ever_ go down once you start? I suspect not.
         | 
         | They probably plotted the trend line and realized that they had
         | to do something.
         | 
         | Or, it could be bifurcated. Most people use like 2 minutes but
         | 1 in 100 use 2000 minutes.
         | 
         | They may also be tracking and saw that people were using the
         | free 2,000 minutes as "overflow" with multiple accounts.
        
         | contravariant wrote:
         | It wouldn't surprise me if 90% (or more) of their free users
         | use exactly 0 minutes of CI/CD per month.
         | 
         | So then it's more like 1 in 6 of the people that _do_ use CI
         | /CD need more than 400 minutes per month.
         | 
         | Just to be clear, these numbers are completely made up. They
         | seem reasonable though.
        
       | sam0x17 wrote:
       | They sort of hang themselves with this -- gitlab runners will
       | occasionally hang and just run for the full 1 hour max, making it
       | very easy to max out your hours. Presumably they don't fix this
       | so people max out their hours and have to buy more, but it also
       | hurts the bottom line of their free tier. I see this happen at
       | least 2x a month on our project, and it doesn't seem to
       | correspond with any particular docker image.
        
         | [deleted]
        
         | cpb wrote:
         | Can you reproduce this behaviour in local runners?
        
         | deastman wrote:
         | Can you raise an issue in the GitLab Runner project? This way
         | we can take a closer look at the errors you have experienced.
         | 
         | And no, we don't do this on purpose in order to have you buy
         | more minutes.
         | 
         | https://gitlab.com/gitlab-org/gitlab-runner/-/issues
         | 
         | Darren Eastman - Product Manager GitLab Runner
        
       | aaronbrager wrote:
       | This is cool, I love that gitlab lets you purchase extra minutes
       | adhoc without a tier change. Neither GitHub nor CircleCi let you
       | do that
        
       | coding123 wrote:
       | This doesn't change anything for us, we use our own runners.
        
       | immago wrote:
       | Honestly not that big of a deal given that(I would assume) most
       | probably run their own gitlab runners. I personally use the free
       | tier and have a bunch of my own runners.
        
       ___________________________________________________________________
       (page generated 2020-09-03 23:00 UTC)