Plugin for woodpecker to deploy helm charts using helm3
Go to file
Erin Call 84ac019838
Add the --namespace flag in Lint.Prepare [#3]
I don't know whether this is necessary; I'm just following drone-helm's
lead. At worst, helm will accept the flag, so it's at least *safe* to
include.
2019-12-18 10:38:33 -08:00
cmd/drone-helm Non-0 exit status on error 2019-12-16 15:46:37 -08:00
internal Add the --namespace flag in Lint.Prepare [#3] 2019-12-18 10:38:33 -08:00
.drone.yml Run linting on an image with golint preinstalled 2019-12-16 15:44:46 -08:00
.gitignore Make it so 2019-11-21 11:35:50 -08:00
Dockerfile Initialize kubernetes config on upgrade 2019-12-16 15:41:04 -08:00
go.mod Run golint during drone builds 2019-12-09 15:27:56 -08:00
go.sum Run golint during drone builds 2019-12-09 15:27:56 -08:00
kubeconfig Initialize kubernetes config on upgrade 2019-12-16 15:41:04 -08:00
LICENSE Make it so 2019-11-21 11:35:50 -08:00
README.md Merge pull request #2 from pelotech/flesh-out-upgrade 2019-12-17 15:34:08 -08:00

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 invoke helm
  • Make golint part of the build process (and make it pass)
  • Implement debug output
  • Flesh out helm upgrade until it's capable of working
  • Implement config settings for upgrade
  • Implement helm lint
  • Implement helm delete
  • Look for command-line flags added in helm3; implement them
  • EKS support
  • Dotenv support
  • Example drone config in this README
  • Change .drone.yml to use a real docker registry

Nice-to-haves:

  • Cleanup() method on Steps to close open filehandles, etc.
  • Replace fmt.Printf with an actual logger
  • Replace fmt.Errorf with github.com/pkg/errors.Wrap, since the built-in Unwrap doesn't work the way Cause does
  • Deprecation warnings if there are environment variables that aren't applicable in helm3