News for hackers. Stuff that matters.
Re:CircleCI Announces Support for Gitlab by bdcravens on Tuesday July 26, 2022 @02:52PM (#32242342)
Isn't one of the main selling points of Gitlab their built-in CI? Anyone using Gitlab use an external CI?
Re:CircleCI Announces Support for Gitlab by mtlynch on Tuesday July 26, 2022 @03:01PM (#32242463)
It appeals to me as someone who likes Circle's CI offering but wants to move away from Github.

I tried using Gitlab's CI and was surprised at how limited it was. The Gitlab CI syntax was harder to follow, and my integration tests took 17m to run when they ran in almost 1/3 the time on Circle.

A big part of the problem was that CircleCI lets me use an instance with 8 CPUs / 16 GB RAM with just a config file change[0], whereas every Gitlab instance is 1 CPU / 3.75 GB RAM unless you host your own runners.[1] But if I'm paying a company to manage CI, I don't want to provision my own hardware infrastructure

[0] https://circleci.com/docs/configuration-reference#docker-exe...

[1] https://docs.gitlab.com/ee/ci/runners/saas/linux_saas_runner...

Re:CircleCI Announces Support for Gitlab by judge2020 on Tuesday July 26, 2022 @03:50PM (#32243061)
Related, GitHub has had 'use more powerful hosted runners' in the pipeline for over 2 years[0]. This issue replaced another now-deleted issue[1] from July 2020.

Really disappointing, as I've had to resort to using `az vm start` -> run -> `az vm deallocate` to use an on-demand powerful runner.

0: https://github.com/github/roadmap/issues/161

1: https://github.com/github/roadmap/issues/95 (note: added `ga` `ae` and removed `beta` `cloud` labels on Oct 13, 2020 ; the previous text: https://web.archive.org/web/20200731200411/https://github.co... )

Re:CircleCI Announces Support for Gitlab by thinkafterbef on Tuesday July 26, 2022 @05:25PM (#32244269)
I'm a bit biased as one of the founders of BuildJet, but we solve this exact issue.

BuildJet for GitHub Actions, plugs elegantly into GitHub Actions. With 1-line change in your config, you get 2x speed for half of GitHub's price.

Check it out @ https://buildjet.com/for-github-actions

Re:CircleCI Announces Support for Gitlab by jacooper on Tuesday July 26, 2022 @05:34PM (#32244364)
Quick question, why does every startup on earth have google as a customer? Shouldn't a company of this size have its own solutions and programs?

This is in no way a deg against your project, its just a general question .

Re:CircleCI Announces Support for Gitlab by thinkafterbef on Tuesday July 26, 2022 @07:07PM (#32245203)
Yeah, it's kind of a trope by now. However, we felt it was justified when Google Lighthouse wanted to use BuildJet.
Re:CircleCI Announces Support for Gitlab by judge2020 on Tuesday July 26, 2022 @06:37PM (#32244978)
I imagine non-core-product teams at Google are encouraged to submit purchase requests for any tools they think would improve their processes instead of being constrained to existing solutions. They also could just be showing it because someone with an @google.com has a paid account, but I don't know for sure :)
Re:CircleCI Announces Support for Gitlab by noisy_boy on Tuesday July 26, 2022 @10:38PM (#32246347)
I would think that it also brings the advantage of having tried the actual product in their own ecosystem, Google have a good overall insight into it in case they want to buy it - not sure if this is actually the case though.
Re:CircleCI Announces Support for Gitlab by intelVISA on Wednesday July 27, 2022 @07:09AM (#32249049)
Great market fit, runners are the worst part of GitHub Actions so I'm really glad to see a product enter this space as a drop-in replacement. Will definitely check this out for my pipelines.
Re:CircleCI Announces Support for Gitlab by srijan4 on Tuesday July 26, 2022 @11:24PM (#32246572)
We recently started using buildjet, and it has been nothing short of awesome. So I can highly recommend them.
Re:CircleCI Announces Support for Gitlab by stusmall on Tuesday July 26, 2022 @05:49PM (#32244518)
Oh this is good. I couldn't find it in your documentation but how big are the disks on these VMs?
Re:CircleCI Announces Support for Gitlab by thinkafterbef on Tuesday July 26, 2022 @07:02PM (#32245164)
Oh, should probably add that to the docs. Anyway, they are 120 GB.
Re:CircleCI Announces Support for Gitlab by stusmall on Wednesday July 27, 2022 @01:35PM (#32253599)
Absolutely. That's a huge jump over GitHub's tiny 14GB
Re:CircleCI Announces Support for Gitlab by robertlagrant on Tuesday July 26, 2022 @05:03PM (#32243973)
As a former CircleCI customer (my new employer uses Gitlab) I can highly recommend them. They make that issue so easy. You can even request GPU machines and it all works really well.
Re:CircleCI Announces Support for Gitlab by Dracophoenix on Tuesday July 26, 2022 @05:18PM (#32244182)
Why are you a former customer?
Re:CircleCI Announces Support for Gitlab by simlevesque on Wednesday July 27, 2022 @01:31AM (#32247169)
They said that their new employer uses Gitlab. The link in the OP describes that before today you couldn't use both at the same time.
Re:CircleCI Announces Support for Gitlab by robertlagrant on Thursday July 28, 2022 @12:25PM (#32266522)
I moved job.
Re:CircleCI Announces Support for Gitlab by mdaniel on Tuesday July 26, 2022 @04:20PM (#32243428)
As a long-time GitLab CI user, I do miss how the local circleci runner binary just worked. I am aware of gitlab-runner but it is a sick joke designed to mislead folks who just skim the docs into believing that they have a local execution story

Or, I guess a more conciliatory stance is: wow, folks must be using some pretty hello-world pipelines if `gitlab-runner exec` works for you

Re:CircleCI Announces Support for Gitlab by goodoldneon on Tuesday July 26, 2022 @04:39PM (#32243680)
We provision our self-hosted runners via Terraform and GitLab's Helm chart. It's a relatively painless setup, but obviously not a few button clicks and commands
Re:CircleCI Announces Support for Gitlab by mdaniel on Tuesday July 26, 2022 @05:22PM (#32244227)
> a local execution story

I can see how "local" can have multiple meanings, but here I meant "as a developer on my laptop, can I have local docker run things the way GL is going to run things?"

I hear people say a lot "oh, I just use shell scripts, NBD" but as I said, I'm sure for hello-world setups which don't have any includes or take advantage of GLCI constructs that can work fine, but what rubs me the wrong way is that "gitlab-runner exec" doesn't say "just use shell scripts," it says "gitlab-runner exec - execute a build locally" and it for sure does not do that

Re:CircleCI Announces Support for Gitlab by Volundr on Tuesday July 26, 2022 @07:20PM (#32245289)
Yeah this is a pain point for me as well, especially when developing the pipelines themselves. There's no good way to run it on my own machine, so I'm stuck pushing new commits to Gitlab over and over again and waiting for it to complete, or rather fail so I can troubleshoot the new error.
Re:CircleCI Announces Support for Gitlab by mdaniel on Tuesday July 26, 2022 @07:36PM (#32245389)
Depending on one's definition of "good," running GL locally in docker is (in my experience) painless, given sufficient disk space and probably RAM

But yes, your observation is my whole complaint: it is not _reasonable_ to ask a GLCI developer to run a local copy of GL, complete with any shared GLCI template repos, in a local docker container just to have local execution. Maybe I wouldn't complain about it so much had I not started with circleci so long ago and had such a "wow, this is amazing" followed by gitlab-runner's :troll_face: -- to say nothing of GitHub Actions just straight up ignoring that whole demographic and hoping https://github.com/nektos/act emulates enough to have people not notice the massive feature gap

Re:CircleCI Announces Support for Gitlab by neoromantique on Tuesday July 26, 2022 @09:39PM (#32246081)
unfortunately `act` is pretty bad :(

My go to workflow for workflows (ha) is forking a repo as a private fork and toying on it until I'm happy with the results

Re:CircleCI Announces Support for Gitlab by eins1234 on Tuesday July 26, 2022 @11:13PM (#32246519)
This thread makes me wonder if the root of the problem is actually the lack of a local runner. I hypothesize that it's the length of the feedback loop that's the real issue.

Even if we had a local runner, if it takes a ton of time to start and complete every step, it'd be almost as painful to debug as a remote runner taking the same time. On the other hand, if the cloud runner is ridiculously fast, and completes steps on the order of single digit seconds, it would be fairly painless to debug.

Re:CircleCI Announces Support for Gitlab by Volundr on Wednesday July 27, 2022 @05:30PM (#32257273)
Not really. I mean yes my dev machine is faster than the CI runner, so things do run faster, but even assuming the CI runner was just as beefy and picked up the job immediately instead of taking 10ish seconds it's still the difference between

When running remotely: edit file > commit > push > switch to browser > browse to pipeline > repeat

Vs locally: edit file > run pipeline > repeat.

Re:CircleCI Announces Support for Gitlab by rmetzler on Wednesday July 27, 2022 @01:57AM (#32247304)
If you have access to the Kubernetes cluster or wherever your runner is running: put a sleep right before the error, execute into the running pod and debug it.

I like to do gitlab-runner exec docker … locally, but it doesn’t work with includes and you need to set up your own variables.

Re:CircleCI Announces Support for Gitlab by goodoldneon on Tuesday July 26, 2022 @11:58PM (#32246705)
Ah, I see what you're saying. I've had to do some debugging in GitLab instead of local and it wasn't ideal. To prevent mucking with important stuff, I have a scratch project that's dedicated to testing things. It isn't perfect, but I've been able to replicate nearly every problem in the scratch project
Re:CircleCI Announces Support for Gitlab by avip on Tuesday July 26, 2022 @03:57PM (#32243172)
Using built-in gitlab ci. It's definitely good enough for my ci needs. Setup was easy. Love having less tools involved in my day2day.

Some features seem to work incorrectly (ex. some combinations of branch filter rules + file changes rules). Or I misread the docs. For a free service it gives excellent value.

Circleci also good product. But having 1 less "thing" wins over most other considerations for me.

Re:CircleCI Announces Support for Gitlab by superb-owl on Tuesday July 26, 2022 @02:56PM (#32242401)
Funny, I was gonna say the same thing. But I also remembered GitHub now has built-in CI (Actions).

I wonder if Circle is struggling to maintain market share.

Re:CircleCI Announces Support for Gitlab by danielvaughn on Tuesday July 26, 2022 @03:39PM (#32242931)
With all the built-in support for CI, I'm not sure how CircleCI is even operating anymore.
Re:CircleCI Announces Support for Gitlab by philwelch on Tuesday July 26, 2022 @03:26PM (#32242771)
My last job used Gitlab as an external CI.
Re:CircleCI Announces Support for Gitlab by ramoz on Tuesday July 26, 2022 @03:21PM (#32242717)
They offer a whole kitchen sink at this point and honestly it's not great.
Re:CircleCI Announces Support for Gitlab by cyberpunk on Tuesday July 26, 2022 @03:28PM (#32242792)
I really like GitLab's CI. Actions is probably winning the war, though.
Re:CircleCI Announces Support for Gitlab by freedomben on Tuesday July 26, 2022 @04:11PM (#32243341)
Actions does seem to be winning, but having used both extensively I'm convinced that it's on name recognition alone (with pricing being a second). Gitlab CI is my favorite of the many I've tried (gitlab, circle, travis, github), Actions is probably my least preferred. It gets the job done but there are always a lot of actions-specific stuff for every job, whereas with most of the others they're relatively portable. Actions feels like it was designed with lock-in as a primary goal.
Re:CircleCI Announces Support for Gitlab by pas on Tuesday July 26, 2022 @03:44PM (#32242988)
GitLab CI can launch multiple pipelines on the same push/trigger (use separate files, like GH Actions, etc), but even after using it for I don't even know how many years I'm still struggling with setting it up in a nice way.
Re:CircleCI Announces Support for Gitlab by mqus on Tuesday July 26, 2022 @04:27PM (#32243525)
We're using gitlab with (on-premise) jenkins. It seems just much more capable (and if we choose to switch away from gitlab it won't matter)