this post was submitted on 25 Nov 2023
18 points (100.0% liked)

Go programming language discussion

1382 readers
1 users here now

founded 5 years ago
MODERATORS
 

After a while of absence, I'm getting back into Go programming and I was wondering: What's new in terms of quality control tooling? What are you running on your CI/CD ? Any suggestions?

top 5 comments
sorted by: hot top controversial new old
[–] thelastknowngod@lemm.ee 3 points 11 months ago (2 children)

Decouple!

CI should just build container images and do testing. CircleCI, Github Actions, Gitlab, Travis... Jenkins if you don't have any other choice..

CD should manage the deployment of that compiled code into a working environment.. Renovate Bot, Argo CD/Rollouts, Flux.. Ansible if you're still doing things the old way..

If you are still stuck doing stuff the old ways (bare metal, VMs, ansible, etc), packer is great for building immutable images so you can hopefully dump config management entirely.

[–] ck_@discuss.tchncs.de 2 points 11 months ago

Thanks for the suggestions.

I'm looking more for go specific tooling advice, like govet, goimports, golangci tools, nilaway or similar.

[–] ck_@discuss.tchncs.de 1 points 11 months ago

We are running Tekton for CI/CD, highly recommend fyi

[–] bizdelnick@lemmy.ml 2 points 11 months ago

gotestsum, gocover-cobertura, go vet, govulncheck, nancy, osv-scanner

[–] whou@lemmy.ml 2 points 11 months ago

I'm running tests and deploying binaries, nothing special.

I actually use GitHub Actions, even though the project is hosted on Codeberg. I'm too embarrassed to ask for Woodpecker CI/CD for such a small (and not that active) project lol