ttys3 / utterances-cmt

this repo holds comments for utterances
0 stars 0 forks source link

post/how-we-make-gitlab-golangci-lint-runs-50-times-faster/ #17

Open utterances-bot opened 2 years ago

utterances-bot commented 2 years ago

How We Make Gitlab Golangci-lint Runs 50 Times Faster :: /dev/ttyS3 — 回首向来萧瑟处 也无荒野也无灯

自从我们迁移到 k8s, 我们观察到 k8s 集群里的 gitlab CI runner 在跑 golangci-lint 的时候比本机跑慢很多. 本机一般几十秒就能搞定的事情, 在跑 CI 的时候, 基本上都要花上几分钟甚至几

https://ttys3.dev/post/how-we-make-gitlab-golangci-lint-runs-50-times-faster/

leganck commented 2 years ago

容器中的CI 缓存是挺重要的