I’m using reflex to automate my testing and linting as I’m working on changes with gobuffalo. I’m also using golangci-lint as my meta linter for golang. Whenever I save a file in my editor (vim or vscode) then my tests and linting is automatically performed.
Installation Install reflex:
go get -u github.com/cespare/reflex Install golangci-lint using one of its releases. This gets 1.15.0:
curl -sfL https://install.goreleaser.com/github.com/golangci/golangci-lint.sh | sh -s -- -b $(go env GOPATH)/bin v1.
I wanted to deploy gobuffalo on kubernetes using gitlab-ci and found several guides but still had to peice together some info on my own and wanted to share that in case anyone else is looking to do the same thing. I initially started with Gitlab Auto DevOps but it came up a bit inflexible and tricky to use for some of my use cases. The biggest one being that I wanted to pass in build-args into my docker build so that I could pass in API key secrets.