990d1856d8
The recommended way to test code that uses exec.Cmd involves setting up a real exec.Cmd that invokes `go test` with additional arguments that fire off a specially-constructed test that behaves the way the mocked- out script would be expected to do. It's a sensible way to test exec.Cmd itself, but for code that merely invokes it, I think it makes more sense to use actual mocks. |
||
---|---|---|
cmd/drone-helm | ||
internal/run | ||
.drone.yml | ||
.gitignore | ||
Dockerfile | ||
go.mod | ||
go.sum | ||
LICENSE | ||
README.md |
Drone plugin for Helm 3
TODO:
- Make a
.drone.yml
that's sufficient for building an image - Make a
Dockerfile
that's sufficient for launching the built image - Make
cmd/drone-helm/main.go
actually invokehelm
- Change
.drone.yml
to use a real docker registry