Plugin for woodpecker to deploy helm charts using helm3
Go to file
Erin Call 13c663e906
Initialize kubernetes config on upgrade
This change revealed more about how the system needs to work, so there
are some supporting changes:

* helm.upgrade and helm.help are now vars rather than raw functions.
    This allows unit tests to target the "which step should we run"
    logic directly by comparing function pointers, rather than having to
    configure/prepare a fully-valid Plan and then infer the logic’s
    correctness based on the Plan’s state.
* configuration that's specific to kubeconfig initialization is now part
    of the InitKube struct rather than run.Config, since other steps
    shouldn’t need access to those settings (particularly the secrets).
* Step.Execute now receives a run.Config so it can log debug output.
2019-12-16 15:41:04 -08:00
cmd/drone-helm Replicate most of drone-helm's config 2019-12-09 09:58:42 -08:00
internal Initialize kubernetes config on upgrade 2019-12-16 15:41:04 -08:00
.drone.yml Run golint during drone builds 2019-12-09 15:27:56 -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 Initialize kubernetes config on upgrade 2019-12-16 15:41:04 -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
  • EKS support
  • Change .drone.yml to use a real docker registry