News for hackers. Stuff that matters.
Re:Gitlab 14 by mikepurvis on Friday July 02, 2021 @02:52PM (#27715310)
My org has a mix of Jenkins and GitLab CI, and I think it actually works reasonably well, especially if you can have both systems targeting a common pool of k8s-managed compute.

Basically there are large build/integration/test jobs that are centrally managed on Jenkins via Pipeline/Jenkinsfile, but then we offer a library of relatively simple common-case gitlab-ci configs that can be trivially pulled in, so most common cases are basically a one-liner (build dpkg, build setuptools, build sphinx, run nose, etc), but from the dev's point of view it's a self-serve thing rather than some mystery-meat process that can only be altered by filing DevOps tickets and hoping for the best.

TBH I think my biggest complaint with GitLab CI is the insistence that every job is a brand new container. This means if you, say, have a big NPM project that installs thousands of dependencies on every run, you have to either a) hit your repo multiple times and not worry about it, b) figure out a local-enough caching proxy for your repo that it doesn't matter, c) combine your build/test/lint stages into a single one, d) build from a nightly container that has a bunch of it pre-installed, e) abuse the artifacts system to pass the workspace between jobs, f) spend multiple hours trying to make the supplied caching mechanism work, only to find that no matter what you do, NPM ignores the cache and re-fetches every time, and even if it worked, you'd have to pick between various non-ideal cache-keying strategies: https://docs.gitlab.com/ee/ci/caching/

Re:Gitlab 14 by oweiler on Friday July 02, 2021 @03:31PM (#27715798)
The caching is Gitlab CI biggest weakness IMHO, super slow, and as you said cache strategies are to few to be useful.
Re:Gitlab 14 by Koffiepoeder on Friday July 02, 2021 @05:36PM (#27717220)
Tip: Using the fast zip feature flag when configuring runners/pipelines can help quite a bit

https://docs.gitlab.com/runner/configuration/feature-flags.h...

Re:Gitlab 14 by oweiler on Tuesday July 06, 2021 @05:23AM (#27745925)
I've tried this out but the difference was almost immeasurable. Probably depends on the type of project.