From 692c3008998915d6d832dafa01915052bc599532 Mon Sep 17 00:00:00 2001 From: Joachim Hill-Grannec Date: Mon, 10 Sep 2018 10:53:18 -0700 Subject: [PATCH 1/2] using dep ensure -update for the drone build to use latest plugin version --- .drone.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.drone.yml b/.drone.yml index 4d45dca..06b233e 100644 --- a/.drone.yml +++ b/.drone.yml @@ -7,7 +7,7 @@ pipeline: pull: true commands: - go get -u github.com/golang/dep/cmd/dep - - dep ensure + - dep ensure -update test: image: golang:1.10 From e8e87c7ff88aa5122643d166d586bfa3c64cc6d3 Mon Sep 17 00:00:00 2001 From: Joachim Hill-Grannec Date: Sat, 10 Nov 2018 18:11:42 -0500 Subject: [PATCH 2/2] adding promote and roolback to the upgrade event from drone 1.0 rc --- plugin/plugin.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/plugin/plugin.go b/plugin/plugin.go index 25bbeb8..9ca5963 100644 --- a/plugin/plugin.go +++ b/plugin/plugin.go @@ -149,7 +149,7 @@ func setHelmCommand(p *Plugin) { setDeleteCommand(p) default: switch os.Getenv("DRONE_BUILD_EVENT") { - case "push", "tag", "deployment", "pull_request": + case "push", "tag", "deployment", "pull_request", "promote", "rollback": setUpgradeCommand(p) case "delete": setDeleteCommand(p)