diff --git a/CHANGELOG.md b/CHANGELOG.md index f20497a..145e22a 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,5 +1,10 @@ # Changelog +## v0.1.18 + +- update helm to v3.3.1 +- update kubectl to 1.19.0 + ## v0.1.17 - update helm to v3.2.1 diff --git a/Dockerfile b/Dockerfile index 880ed36..575583a 100644 --- a/Dockerfile +++ b/Dockerfile @@ -8,10 +8,10 @@ RUN GOOS=linux go build -mod=vendor -ldflags="-s -w" FROM alpine as downloader -ARG HELM_VERSION=3.2.1 +ARG HELM_VERSION=3.3.1 ENV HELM_URL=https://get.helm.sh/helm-v${HELM_VERSION}-linux-amd64.tar.gz -ARG KUBECTL_VERSION=1.17.2 +ARG KUBECTL_VERSION=1.19.0 ENV KUBECTL_URL=https://storage.googleapis.com/kubernetes-release/release/v${KUBECTL_VERSION}/bin/linux/amd64/kubectl WORKDIR /tmp diff --git a/README.md b/README.md index 2eaa976..b936002 100644 --- a/README.md +++ b/README.md @@ -6,8 +6,8 @@ Drone plugin for Helm3. -Helm Version: 3.2.1 -Kubectl Version: 1.17.2 +Helm Version: 3.3.1 +Kubectl Version: 1.19.0 ## Drone settings diff --git a/internal/helm/helm.go b/internal/helm/helm.go index 1d4d81f..720a83f 100644 --- a/internal/helm/helm.go +++ b/internal/helm/helm.go @@ -20,6 +20,12 @@ type ( Test bool TestRollback bool + + OnSuccess []func() + OnTestSuccess []func() + OnTestFailed []func() + OnTestFailedRollbackSuccess []func() + OnTestFailedRollbackFailed []func() } HelmOption func(*HelmCmd) error