Repository: honeydipper/honeydipper
Pull request #248 (2020-05-20 16:18:25)

chore(release): release
#### Description
* fix(deps): update module yaml to v2.3.0 (#244)
* chore(deps): update golang docker tag to v1.14.3 (#241)
* fix(deps): update module cloud.google.com/go to v0.57.0 (#242)
* ci: checking dependency licenses (#245)
* ci: allowing MPL licenses for now (#245)
* feat(k8s): add a function for deleting jobs (#246)
* fix(workflow): truthy condition check should recognize <no value> (#247)
* fix(deps): update module google.golang.org/api to v0.24.0 (#243)
* fix(deps): update golang.org/x/crypto commit hash to 06a226f (#239) 



Patch:
diff --git a/.circleci/config.yml b/.circleci/config.yml
index cc8c681..b2f07f1 100644
--- a/.circleci/config.yml
+++ b/.circleci/config.yml
@@ -1,11 +1,18 @@
 ---
 defaults: &defaults
   docker:
-    - image: golang:1.14.2-alpine3.11
+    - image: golang:1.14.3-alpine3.11
       environment:
         - GO111MODULE=auto
   working_directory: /go/src/github.com/honeydipper/honeydipper
 
+license_finder: &license_finder
+  docker:
+    - image: licensefinder/license_finder:6.3.0
+      environment:
+        - GO111MODULE=auto
+  working_directory: /root/src/honeydipper
+
 restore_mod: &restore_mod
   restore_cache:
     key: go-mod-v1-{{ checksum "go.sum" }}
@@ -26,6 +33,14 @@ jobs:
       - run: go get -u golang.org/x/lint/golint
       - run: go fmt
       - run: golint
+  license_finder:
+    <<: *license_finder
+    steps:
+      - checkout
+      - run: go build -v ./...
+      - run: |
+          source /root/.bash_profile
+          license_finder --decisions_file=./.dependency_decisions.yml
   test:
     <<: *defaults
     steps:
@@ -42,7 +57,7 @@ jobs:
   integration:
     <<: *defaults
     docker:
-      - image: golang:1.14.2-alpine3.11
+      - image: golang:1.14.3-alpine3.11
       - image: redis:5.0.9-alpine
     steps:
       - run:
@@ -76,9 +91,11 @@ workflows:
   run_tests:
     jobs:
       - lint
+      - license_finder
       - test:
           requires:
             - lint
+            - license_finder
       - integration:
           requires:
             - test
diff --git a/.dependency_decisions.yml b/.dependency_decisions.yml
new file mode 100644
index 0000000..9a2744c
--- /dev/null
+++ b/.dependency_decisions.yml
@@ -0,0 +1,247 @@
+---
+- - :permit
+  - MIT
+  - :who: 
+    :why: 
+    :versions: []
+    :when: 2020-05-06 20:13:14.077490000 Z
+- - :permit
+  - Apache 2.0
+  - :who: 
+    :why: 
+    :versions: []
+    :when: 2020-05-06 20:13:22.783357000 Z
+- - :permit
+  - BSD
+  - :who: 
+    :why: 
+    :versions: []
+    :when: 2020-05-06 20:14:26.033435000 Z
+- - :permit
+  - New BSD
+  - :who: 
+    :why: 
+    :versions: []
+    :when: 2020-05-06 20:18:47.405209000 Z
+- - :permit
+  - BSD-like
+  - :who: 
+    :why: 
+    :versions: []
+    :when: 2020-05-06 20:19:38.030658000 Z
+- - :permit
+  - Simplified BSD
+  - :who: 
+    :why: 
+    :versions: []
+    :when: 2020-05-06 20:21:25.182595000 Z
+- - :permit
+  - 'OSI Approved :: BSD License'
+  - :who: 
+    :why: 
+    :versions: []
+    :when: 2020-05-06 20:21:55.368056000 Z
+- - :permit
+  - BSD or Apache License, Version 2.0
+  - :who: 
+    :why: 
+    :versions: []
+    :when: 2020-05-06 20:22:13.873245000 Z
+- - :permit
+  - 3-Clause BSD License
+  - :who: 
+    :why: 
+    :versions: []
+    :when: 2020-05-06 20:22:30.672497000 Z
+- - :permit
+  - BSD 3-Clause License or Apache License, Version 2.0
+  - :who: 
+    :why: 
+    :versions: []
+    :when: 2020-05-06 20:24:07.759261000 Z
+- - :permit
+  - Expat
+  - :who: 
+    :why: 
+    :versions: []
+    :when: 2020-05-06 20:25:31.479873000 Z
+- - :permit
+  - ASL 2
+  - :who: 
+    :why: 
+    :versions: []
+    :when: 2020-05-06 20:27:39.901129000 Z
+- - :approve
+  - cloud.google.com/go
+  - :who: 
+    :why: 
+    :versions: []
+    :when: 2020-05-18 21:50:06.227066000 Z
+- - :approve
+  - cloud.google.com/go/pubsub
+  - :who: 
+    :why: MIT
+    :versions: []
+    :when: 2020-05-18 21:51:30.829005000 Z
+- - :approve
+  - cloud.google.com/go/storage
+  - :who: 
+    :why: MIT
+    :versions: []
+    :when: 2020-05-18 21:51:39.020575000 Z
+- - :approve
+  - github.com/DataDog/datadog-go
+  - :who: 
+    :why: MIT
+    :versions: []
+    :when: 2020-05-18 21:51:53.572825000 Z
+- - :approve
+  - github.com/Masterminds/sprig
+  - :who: 
+    :why: MIT
+    :versions: []
+    :when: 2020-05-18 21:52:42.752697000 Z
+- - :approve
+  - github.com/Masterminds/sprig/v3
+  - :who: 
+    :why: MIT
+    :versions: []
+    :when: 2020-05-18 21:52:48.699593000 Z
+- - :approve
+  - github.com/Masterminds/semver
+  - :who: 
+    :why: MIT
+    :versions: []
+    :when: 2020-05-18 21:53:07.976869000 Z
+- - :approve
+  - github.com/ghodss/yaml
+  - :who: 
+    :why: MIT
+    :versions: []
+    :when: 2020-05-18 21:53:23.703943000 Z
+- - :approve
+  - github.com/go-errors/errors
+  - :who: 
+    :why: MIT
+    :versions: []
+    :when: 2020-05-18 21:56:50.852312000 Z
+- - :approve
+  - github.com/go-redis/redis
+  - :who: 
+    :why: BSD-2-Clause
+    :versions: []
+    :when: 2020-05-18 21:57:42.588466000 Z
+- - :approve
+  - github.com/golang/mock
+  - :who: 
+    :why: Apache-2.0
+    :versions: []
+    :when: 2020-05-18 21:58:21.999176000 Z
+- - :approve
+  - github.com/googleapis/gnostic
+  - :who: 
+    :why: Apache-2.0
+    :versions: []
+    :when: 2020-05-18 21:58:54.936806000 Z
+- - :approve
+  - github.com/imdario/mergo
+  - :who: 
+    :why: BSD-3-Clause
+    :versions: []
+    :when: 2020-05-18 21:59:51.814750000 Z
+- - :approve
+  - github.com/mitchellh/mapstructure
+  - :who: 
+    :why: MIT
+    :versions: []
+    :when: 2020-05-18 22:00:27.006411000 Z
+- - :approve
+  - github.com/mitchellh/reflectwalk
+  - :who: 
+    :why: MIT
+    :versions: []
+    :when: 2020-05-18 22:00:51.549336000 Z
+- - :approve
+  - github.com/op/go-logging
+  - :who: 
+    :why: BSD-3-Clause
+    :versions: []
+    :when: 2020-05-18 22:01:22.807298000 Z
+- - :approve
+  - github.com/stretchr/testify
+  - :who: 
+    :why: MIT
+    :versions: []
+    :when: 2020-05-18 22:01:47.667117000 Z
+- - :approve
+  - golang.org/x/crypto
+  - :who: 
+    :why: BSD-3-Clause
+    :versions: []
+    :when: 2020-05-18 22:02:20.097249000 Z
+- - :approve
+  - golang.org/x/oauth2
+  - :who: 
+    :why: BSD-3-Clause
+    :versions: []
+    :when: 2020-05-18 22:02:46.458542000 Z
+- - :approve
+  - google.golang.org/api
+  - :who: 
+    :why: BSD-3-Clause
+    :versions: []
+    :when: 2020-05-18 22:03:20.443048000 Z
+- - :approve
+  - google.golang.org/genproto
+  - :who: 
+    :why: Apache-2.0
+    :versions: []
+    :when: 2020-05-18 22:04:32.937078000 Z
+- - :approve
+  - gopkg.in/h2non/gock.v1
+  - :who: 
+    :why: MIT
+    :versions: []
+    :when: 2020-05-18 22:05:15.887612000 Z
+- - :approve
+  - gopkg.in/src-d/go-git.v4
+  - :who: 
+    :why: Apache-2.0
+    :versions: []
+    :when: 2020-05-18 22:06:10.615852000 Z
+- - :approve
+  - gopkg.in/yaml.v2
+  - :who: 
+    :why: Apache-2.0
+    :versions: []
+    :when: 2020-05-18 22:06:41.946870000 Z
+- - :approve
+  - k8s.io/api
+  - :who: 
+    :why: Apache-2.0
+    :versions: []
+    :when: 2020-05-18 22:07:40.828327000 Z
+- - :approve
+  - k8s.io/apimachinery
+  - :who: 
+    :why: Apache-2.0
+    :versions: []
+    :when: 2020-05-18 22:08:28.944354000 Z
+- - :approve
+  - k8s.io/client-go
+  - :who: 
+    :why: Apache-2.0
+    :versions: []
+    :when: 2020-05-18 22:08:50.941564000 Z
+- - :approve
+  - github.com/logrusorgru/aurora
+  - :who: 
+    :why: DWTFYWTPL
+    :versions: []
+    :when: 2020-05-18 22:16:03.105598000 Z
+- - :approve
+  - github.com/hashicorp/golang-lru
+  - :who: 
+    :why: Allowing MPL 2.0 for now
+    :versions: []
+    :when: 2020-05-19 18:52:49.045160000 Z
diff --git a/build/docker/Dockerfile b/build/docker/Dockerfile
index 34dcf65..d13c458 100644
--- a/build/docker/Dockerfile
+++ b/build/docker/Dockerfile
@@ -1,4 +1,4 @@
-FROM golang:1.14.2-alpine AS build
+FROM golang:1.14.3-alpine AS build
 
 ARG GOINSTALLOPTS
 ARG GOGC
diff --git a/drivers/cmd/kubernetes/main.go b/drivers/cmd/kubernetes/main.go
index 39db3fb..dade6b4 100644
--- a/drivers/cmd/kubernetes/main.go
+++ b/drivers/cmd/kubernetes/main.go
@@ -61,10 +61,34 @@ func main() {
 	driver.Commands["createJob"] = createJob
 	driver.Commands["waitForJob"] = waitForJob
 	driver.Commands["getJobLog"] = getJobLog
+	driver.Commands["deleteJob"] = deleteJob
 	driver.Reload = func(*dipper.Message) {}
 	driver.Run()
 }
 
+func deleteJob(m *dipper.Message) {
+	k8client := prepareKubeConfig(m)
+
+	nameSpace, ok := dipper.GetMapDataStr(m.Payload, "namespace")
+	if !ok {
+		nameSpace = DefaultNamespace
+	}
+	jobName := dipper.MustGetMapDataStr(m.Payload, "job")
+
+	client := k8client.BatchV1().Jobs(nameSpace)
+	ctx, cancel := context.WithTimeout(context.Background(), driver.APITimeout*time.Second)
+	defer cancel()
+	err := client.Delete(ctx, jobName, metav1.DeleteOptions{})
+	if err != nil {
+		log.Panicf("[%s] unable to delete the job %s: %+v", driver.Service, jobName, err)
+	}
+	m.Reply <- dipper.Message{
+		Labels: map[string]string{
+			"status": "success",
+		},
+	}
+}
+
 func getJobLog(m *dipper.Message) {
 	k8client := prepareKubeConfig(m)
 
diff --git a/go.mod b/go.mod
index d3efc59..d553d41 100644
--- a/go.mod
+++ b/go.mod
@@ -3,7 +3,7 @@ module github.com/honeydipper/honeydipper
 go 1.13
 
 require (
-	cloud.google.com/go v0.56.0
+	cloud.google.com/go v0.57.0
 	cloud.google.com/go/pubsub v1.2.0
 	cloud.google.com/go/storage v1.6.0
 	github.com/DataDog/datadog-go v3.7.1+incompatible
@@ -23,13 +23,13 @@ require (
 	github.com/mitchellh/reflectwalk v1.0.1 // indirect
 	github.com/op/go-logging v0.0.0-20160315200505-970db520ece7
 	github.com/stretchr/testify v1.5.1
-	golang.org/x/crypto v0.0.0-20200429183012-4b2356b1ed79
+	golang.org/x/crypto v0.0.0-20200510223506-06a226fb4e37
 	golang.org/x/oauth2 v0.0.0-20200107190931-bf48bf16ab8d
-	google.golang.org/api v0.23.0
+	google.golang.org/api v0.24.0
 	google.golang.org/genproto v0.0.0-20200430143042-b979b6f78d84
 	gopkg.in/h2non/gock.v1 v1.0.15
 	gopkg.in/src-d/go-git.v4 v4.13.1
-	gopkg.in/yaml.v2 v2.2.8
+	gopkg.in/yaml.v2 v2.3.0
 	k8s.io/api v0.18.2
 	k8s.io/apimachinery v0.18.2
 	k8s.io/client-go v0.18.2
diff --git a/go.sum b/go.sum
index fe4319d..57b316b 100644
--- a/go.sum
+++ b/go.sum
@@ -16,6 +16,8 @@ cloud.google.com/go v0.54.0 h1:3ithwDMr7/3vpAMXiH+ZQnYbuIsh+OPhUPMFC9enmn0=
 cloud.google.com/go v0.54.0/go.mod h1:1rq2OEkV3YMf6n/9ZvGWI3GWw0VoqH/1x2nd8Is/bPc=
 cloud.google.com/go v0.56.0 h1:WRz29PgAsVEyPSDHyk+0fpEkwEFyfhHn+JbksT6gIL4=
 cloud.google.com/go v0.56.0/go.mod h1:jr7tqZxxKOVYizybht9+26Z/gUq7tiRzu+ACVAMbKVk=
+cloud.google.com/go v0.57.0 h1:EpMNVUorLiZIELdMZbCYX/ByTFCdoYopYAGxaGVz9ms=
+cloud.google.com/go v0.57.0/go.mod h1:oXiQ6Rzq3RAkkY7N6t3TcE6jE+CIBBbA36lwQ1JyzZs=
 cloud.google.com/go/bigquery v1.0.1/go.mod h1:i/xbL2UlR5RvWAURpBYZTtm/cXjCha9lbfbpx4poX+o=
 cloud.google.com/go/bigquery v1.3.0/go.mod h1:PjpwJnslEMmckchkHFfq+HTD2DmtT67aNFKH1/VBDHE=
 cloud.google.com/go/bigquery v1.4.0/go.mod h1:S8dzgnTigyfTmLBfrtrhyYhwRxG72rYxvftPBK2Dvzc=
@@ -154,6 +156,12 @@ github.com/golang/protobuf v1.3.4 h1:87PNWwrRvUSnqS4dlcBU/ftvOIBep4sYuBLlh6rX2wk
 github.com/golang/protobuf v1.3.4/go.mod h1:vzj43D7+SQXF/4pzW/hwtAqwc6iTitCiVSaWz5lYuqw=
 github.com/golang/protobuf v1.3.5 h1:F768QJ1E9tib+q5Sc8MkdJi1RxLTbRcTf8LJV56aRls=
 github.com/golang/protobuf v1.3.5/go.mod h1:6O5/vntMXwX2lRkT1hjjk0nAC1IDOTvTlVgjlRvqsdk=
+github.com/golang/protobuf v1.4.0-rc.1/go.mod h1:ceaxUfeHdC40wWswd/P6IGgMaK3YpKi5j83Wpe3EHw8=
+github.com/golang/protobuf v1.4.0-rc.1.0.20200221234624-67d41d38c208/go.mod h1:xKAWHe0F5eneWXFV3EuXVDTCmh+JuBKY0li0aMyXATA=
+github.com/golang/protobuf v1.4.0-rc.2/go.mod h1:LlEzMj4AhA7rCAGe4KMBDvJI+AwstrUpVNzEA03Pprs=
+github.com/golang/protobuf v1.4.0-rc.4.0.20200313231945-b860323f09d0/go.mod h1:WU3c8KckQ9AFe+yFwt9sWVRKCVIyN9cPHBJSNnbL67w=
+github.com/golang/protobuf v1.4.0 h1:oOuy+ugB+P/kBdUnG5QaMXSIyJ1q38wWSojYCb3z5VQ=
+github.com/golang/protobuf v1.4.0/go.mod h1:jodUvKwWbYaEsadDk5Fwe5c77LiNKVO9IDvqG2KuDX0=
 github.com/google/btree v0.0.0-20160524151835-7d79101e329e/go.mod h1:lNA+9X1NB3Zf8V7Ke586lFgjr2dZNuvo3lPJSGZ5JPQ=
 github.com/google/btree v0.0.0-20180813153112-4030bb1f1f0c/go.mod h1:lNA+9X1NB3Zf8V7Ke586lFgjr2dZNuvo3lPJSGZ5JPQ=
 github.com/google/btree v1.0.0/go.mod h1:lNA+9X1NB3Zf8V7Ke586lFgjr2dZNuvo3lPJSGZ5JPQ=
@@ -176,6 +184,7 @@ github.com/google/pprof v0.0.0-20190515194954-54271f7e092f/go.mod h1:zfwlbNMJ+OI
 github.com/google/pprof v0.0.0-20191218002539-d4f498aebedc/go.mod h1:ZgVRPoUq/hfqzAqh7sHMqb3I9Rq5C59dIz2SbBwJ4eM=
 github.com/google/pprof v0.0.0-20200212024743-f11f1df84d12/go.mod h1:ZgVRPoUq/hfqzAqh7sHMqb3I9Rq5C59dIz2SbBwJ4eM=
 github.com/google/pprof v0.0.0-20200229191704-1ebb73c60ed3/go.mod h1:ZgVRPoUq/hfqzAqh7sHMqb3I9Rq5C59dIz2SbBwJ4eM=
+github.com/google/pprof v0.0.0-20200430221834-fc25d7d30c6d/go.mod h1:ZgVRPoUq/hfqzAqh7sHMqb3I9Rq5C59dIz2SbBwJ4eM=
 github.com/google/renameio v0.1.0/go.mod h1:KWCgfxg9yswjAJkECMjeO8J8rahYeXnNhOm40UhjYkI=
 github.com/google/uuid v1.0.0/go.mod h1:TIyPZe4MgqvfeYDBFedMoGGpEw/LqOeaOT+nhxU+yHo=
 github.com/google/uuid v1.1.1 h1:Gkbcsh/GbpXz7lPftLA3P6TYMwjCLYm83jiFQZF/3gY=
@@ -297,6 +306,7 @@ github.com/stretchr/testify v1.5.1/go.mod h1:5W2xD1RspED5o8YsWQXVCued0rvSQ+mT+I5
 github.com/xanzy/ssh-agent v0.2.1 h1:TCbipTQL2JiiCprBWx9frJ2eJlCYT00NmctrHxVAr70=
 github.com/xanzy/ssh-agent v0.2.1/go.mod h1:mLlQY/MoOhWBj+gOGMQkOeiEvkx+8pJSI+0Bx9h2kr4=
 github.com/yuin/goldmark v1.1.25/go.mod h1:3hX8gzYuyVAZsxl0MRgGTJEmQBFcNTphYh9decYSb74=
+github.com/yuin/goldmark v1.1.27/go.mod h1:3hX8gzYuyVAZsxl0MRgGTJEmQBFcNTphYh9decYSb74=
 go.opencensus.io v0.21.0/go.mod h1:mSImk1erAIZhrmZN+AvHh14ztQfjbGwt4TtuofqLduU=
 go.opencensus.io v0.22.0 h1:C9hSCOW830chIVkdja34wa6Ky+IzWllkUinR+BtRZd4=
 go.opencensus.io v0.22.0/go.mod h1:+kGneAE2xo2IficOXnaByMWTGM9T73dGwxeWcUqIpI8=
@@ -331,6 +341,8 @@ golang.org/x/crypto v0.0.0-20200414173820-0848c9571904 h1:bXoxMPcSLOq08zI3/c5dEB
 golang.org/x/crypto v0.0.0-20200414173820-0848c9571904/go.mod h1:LzIPMQfyMNhhGPhUkYOs5KpL4U8rLKemX1yGLhDgUto=
 golang.org/x/crypto v0.0.0-20200429183012-4b2356b1ed79 h1:IaQbIIB2X/Mp/DKctl6ROxz1KyMlKp4uyvL6+kQ7C88=
 golang.org/x/crypto v0.0.0-20200429183012-4b2356b1ed79/go.mod h1:LzIPMQfyMNhhGPhUkYOs5KpL4U8rLKemX1yGLhDgUto=
+golang.org/x/crypto v0.0.0-20200510223506-06a226fb4e37 h1:cg5LA/zNPRzIXIWSCxQW10Rvpy94aQh3LT/ShoCpkHw=
+golang.org/x/crypto v0.0.0-20200510223506-06a226fb4e37/go.mod h1:LzIPMQfyMNhhGPhUkYOs5KpL4U8rLKemX1yGLhDgUto=
 golang.org/x/exp v0.0.0-20190121172915-509febef88a4/go.mod h1:CJ0aWSM057203Lf6IL+f9T1iT9GByDxfZKAQTCR3kQA=
 golang.org/x/exp v0.0.0-20190306152737-a1d7652674e8/go.mod h1:CJ0aWSM057203Lf6IL+f9T1iT9GByDxfZKAQTCR3kQA=
 golang.org/x/exp v0.0.0-20190510132918-efd6b22b2522/go.mod h1:ZjyILWgesfNpC6sMxTJOJm9Kp84zZh5NQWvqDGG3Qr8=
@@ -398,6 +410,8 @@ golang.org/x/net v0.0.0-20200301022130-244492dfa37a h1:GuSPYbZzB5/dcLNCwLQLsg3ob
 golang.org/x/net v0.0.0-20200301022130-244492dfa37a/go.mod h1:z5CRVTTTmAJ677TzLLGU+0bjPO0LkuOLi4/5GtJWs/s=
 golang.org/x/net v0.0.0-20200324143707-d3edc9973b7e h1:3G+cUijn7XD+S4eJFddp53Pv7+slrESplyjG25HgL+k=
 golang.org/x/net v0.0.0-20200324143707-d3edc9973b7e/go.mod h1:qpuaurCH72eLCgpAm/N6yyVIVM9cpaDIP3A8BGJEC5A=
+golang.org/x/net v0.0.0-20200501053045-e0ff5e5a1de5 h1:WQ8q63x+f/zpC8Ac1s9wLElVoHhm32p6tudrU72n1QA=
+golang.org/x/net v0.0.0-20200501053045-e0ff5e5a1de5/go.mod h1:qpuaurCH72eLCgpAm/N6yyVIVM9cpaDIP3A8BGJEC5A=
 golang.org/x/oauth2 v0.0.0-20180821212333-d2e6202438be/go.mod h1:N/0e6XlmueqKjAGxoOufVs8QHGRruUQn6yWY3a++T0U=
 golang.org/x/oauth2 v0.0.0-20190226205417-e64efc72b421/go.mod h1:gOpvHmFTYa4IltrdGE7lF6nIHvwfUNPOp7c8zoXwtLw=
 golang.org/x/oauth2 v0.0.0-20190402181905-9f3314589c9a/go.mod h1:gOpvHmFTYa4IltrdGE7lF6nIHvwfUNPOp7c8zoXwtLw=
@@ -450,6 +464,8 @@ golang.org/x/sys v0.0.0-20200302150141-5c8b2ff67527/go.mod h1:h1NjWce9XRLGQEsW7w
 golang.org/x/sys v0.0.0-20200323222414-85ca7c5b95cd/go.mod h1:h1NjWce9XRLGQEsW7wpKNCjG9DtNlClVuFLEZdDNbEs=
 golang.org/x/sys v0.0.0-20200331124033-c3d80250170d h1:nc5K6ox/4lTFbMVSL9WRR81ixkcwXThoiF6yf+R9scA=
 golang.org/x/sys v0.0.0-20200331124033-c3d80250170d/go.mod h1:h1NjWce9XRLGQEsW7wpKNCjG9DtNlClVuFLEZdDNbEs=
+golang.org/x/sys v0.0.0-20200501052902-10377860bb8e h1:hq86ru83GdWTlfQFZGO4nZJTU4Bs2wfHl8oFHRaXsfc=
+golang.org/x/sys v0.0.0-20200501052902-10377860bb8e/go.mod h1:h1NjWce9XRLGQEsW7wpKNCjG9DtNlClVuFLEZdDNbEs=
 golang.org/x/text v0.0.0-20160726164857-2910a502d2bf/go.mod h1:NqM8EUOU14njkJ3fqMW+pc6Ldnwhi/IjpwHt7yyuwOQ=
 golang.org/x/text v0.0.0-20170915032832-14c0d48ead0c/go.mod h1:NqM8EUOU14njkJ3fqMW+pc6Ldnwhi/IjpwHt7yyuwOQ=
 golang.org/x/text v0.3.0/go.mod h1:NqM8EUOU14njkJ3fqMW+pc6Ldnwhi/IjpwHt7yyuwOQ=
@@ -504,6 +520,8 @@ golang.org/x/tools v0.0.0-20200304193943-95d2e580d8eb h1:iKlO7ROJc6SttHKlxzwGytR
 golang.org/x/tools v0.0.0-20200304193943-95d2e580d8eb/go.mod h1:o4KQGtdN14AW+yjsvvwRTJJuXz8XRtIHtEnmAXLyFUw=
 golang.org/x/tools v0.0.0-20200331025713-a30bf2db82d4 h1:kDtqNkeBrZb8B+atrj50B5XLHpzXXqcCdZPP/ApQ5NY=
 golang.org/x/tools v0.0.0-20200331025713-a30bf2db82d4/go.mod h1:Sl4aGygMT6LrqrWclx+PTx3U+LnKx/seiNR+3G19Ar8=
+golang.org/x/tools v0.0.0-20200501065659-ab2804fb9c9d h1:lzLdP95xJmMpwQ6LUHwrc5V7js93hTiY7gkznu0BgmY=
+golang.org/x/tools v0.0.0-20200501065659-ab2804fb9c9d/go.mod h1:EkVYQZoAsY45+roYkvgYkIh4xh/qjgUK9TdY2XT94GE=
 golang.org/x/xerrors v0.0.0-20190717185122-a985d3407aa7/go.mod h1:I/5z698sn9Ka8TeJc9MKroUUfqBBauWjQqLJ2OPfmY0=
 golang.org/x/xerrors v0.0.0-20191011141410-1b5146add898/go.mod h1:I/5z698sn9Ka8TeJc9MKroUUfqBBauWjQqLJ2OPfmY0=
 golang.org/x/xerrors v0.0.0-20191204190536-9bdfabe68543 h1:E7g+9GITq07hpfrRu66IVDexMakfv52eLZ2CXBWiKr4=
@@ -526,6 +544,8 @@ google.golang.org/api v0.22.0 h1:J1Pl9P2lnmYFSJvgs70DKELqHNh8CNWXPbud4njEE2s=
 google.golang.org/api v0.22.0/go.mod h1:BwFmGc8tA3vsd7r/7kR8DY7iEEGSU04BFxCo5jP/sfE=
 google.golang.org/api v0.23.0 h1:YlvGEOq2NA2my8cZ/9V8BcEO9okD48FlJcdqN0xJL3s=
 google.golang.org/api v0.23.0/go.mod h1:lIXQywCXRcnZPGlsd8NbLnOjtAoL6em04bJ9+z0MncE=
+google.golang.org/api v0.24.0 h1:cG03eaksBzhfSIk7JRGctfp3lanklcOM/mTGvow7BbQ=
+google.golang.org/api v0.24.0/go.mod h1:lIXQywCXRcnZPGlsd8NbLnOjtAoL6em04bJ9+z0MncE=
 google.golang.org/appengine v1.1.0/go.mod h1:EbEs0AVv82hx2wNQdGPgUI5lhzA/G0D9YwlJXL52JkM=
 google.golang.org/appengine v1.4.0/go.mod h1:xpcJRLb0r/rnEns0DIKYYv+WjYCduHsrkT7/EB5XEv4=
 google.golang.org/appengine v1.5.0/go.mod h1:xpcJRLb0r/rnEns0DIKYYv+WjYCduHsrkT7/EB5XEv4=
@@ -533,6 +553,8 @@ google.golang.org/appengine v1.6.1 h1:QzqyMA1tlu6CgqCDUtU9V+ZKhLFT2dkJuANu5QaxI3
 google.golang.org/appengine v1.6.1/go.mod h1:i06prIuMbXzDqacNJfV5OdTW448YApPu5ww/cMBSeb0=
 google.golang.org/appengine v1.6.5 h1:tycE03LOZYQNhDpS27tcQdAzLCVMaj7QT2SXxebnpCM=
 google.golang.org/appengine v1.6.5/go.mod h1:8WjMMxjGQR8xUklV/ARdw2HLXBOI7O7uCIDZVag1xfc=
+google.golang.org/appengine v1.6.6 h1:lMO5rYAqUxkmaj76jAkRUvt5JZgFymx/+Q5Mzfivuhc=
+google.golang.org/appengine v1.6.6/go.mod h1:8WjMMxjGQR8xUklV/ARdw2HLXBOI7O7uCIDZVag1xfc=
 google.golang.org/genproto v0.0.0-20180817151627-c66870c02cf8/go.mod h1:JiN7NxoALGmiZfu7CAH4rXhgtRTLTxftemlI0sWmxmc=
 google.golang.org/genproto v0.0.0-20190307195333-5fe7a883aa19/go.mod h1:VzzqZJRnGkLBvHegQrXjBqPurQTc5/KpmUdxsrq26oE=
 google.golang.org/genproto v0.0.0-20190418145605-e7d98fc518a7/go.mod h1:VzzqZJRnGkLBvHegQrXjBqPurQTc5/KpmUdxsrq26oE=
@@ -584,6 +606,14 @@ google.golang.org/grpc v1.27.1 h1:zvIju4sqAGvwKspUQOhwnpcqSbzi7/H6QomNNjTL4sk=
 google.golang.org/grpc v1.27.1/go.mod h1:qbnxyOmOxrQa7FizSgH+ReBfzJrCY1pSN7KXBS8abTk=
 google.golang.org/grpc v1.28.0 h1:bO/TA4OxCOummhSf10siHuG7vJOiwh7SpRpFZDkOgl4=
 google.golang.org/grpc v1.28.0/go.mod h1:rpkK4SK4GF4Ach/+MFLZUBavHOvF2JJB5uozKKal+60=
+google.golang.org/grpc v1.29.1 h1:EC2SB8S04d2r73uptxphDSUG+kTKVgjRPF+N3xpxRB4=
+google.golang.org/grpc v1.29.1/go.mod h1:itym6AZVZYACWQqET3MqgPpjcuV5QH3BxFS3IjizoKk=
+google.golang.org/protobuf v0.0.0-20200109180630-ec00e32a8dfd/go.mod h1:DFci5gLYBciE7Vtevhsrf46CRTquxDuWsQurQQe4oz8=
+google.golang.org/protobuf v0.0.0-20200221191635-4d8936d0db64/go.mod h1:kwYJMbMJ01Woi6D6+Kah6886xMZcty6N08ah7+eCXa0=
+google.golang.org/protobuf v0.0.0-20200228230310-ab0ca4ff8a60/go.mod h1:cfTl7dwQJ+fmap5saPgwCLgHXTUD7jkjRqWcaiX5VyM=
+google.golang.org/protobuf v1.20.1-0.20200309200217-e05f789c0967/go.mod h1:A+miEFZTKqfCUM6K7xSMQL9OKL/b6hQv+e19PK+JZNE=
+google.golang.org/protobuf v1.21.0 h1:qdOKuR/EIArgaWNjetjgTzgVTAZ+S/WXVrq9HW9zimw=
+google.golang.org/protobuf v1.21.0/go.mod h1:47Nbq4nVaFHyn7ilMalzfO3qCViNmqZ2kzikPIcrTAo=
 gopkg.in/check.v1 v0.0.0-20161208181325-20d25e280405/go.mod h1:Co6ibVJAznAaIkqp8huTwlJQCZ016jof/cbN4VW5Yz0=
 gopkg.in/check.v1 v1.0.0-20180628173108-788fd7840127/go.mod h1:Co6ibVJAznAaIkqp8huTwlJQCZ016jof/cbN4VW5Yz0=
 gopkg.in/errgo.v2 v2.1.0/go.mod h1:hNsd1EY+bozCKY1Ytp96fpM3vjJbqLJn88ws8XvfDNI=
@@ -609,6 +639,8 @@ gopkg.in/yaml.v2 v2.2.7 h1:VUgggvou5XRW9mHwD/yXxIYSMtY0zoKQf/v226p2nyo=
 gopkg.in/yaml.v2 v2.2.7/go.mod h1:hI93XBmqTisBFMUTm0b8Fm+jr3Dg1NNxqwp+5A1VGuI=
 gopkg.in/yaml.v2 v2.2.8 h1:obN1ZagJSUGI0Ek/LBmuj4SNLPfIny3KsKFopxRdj10=
 gopkg.in/yaml.v2 v2.2.8/go.mod h1:hI93XBmqTisBFMUTm0b8Fm+jr3Dg1NNxqwp+5A1VGuI=
+gopkg.in/yaml.v2 v2.3.0 h1:clyUAQHOM3G0M3f5vQj7LuJrETvjVot3Z5el9nffUtU=
+gopkg.in/yaml.v2 v2.3.0/go.mod h1:hI93XBmqTisBFMUTm0b8Fm+jr3Dg1NNxqwp+5A1VGuI=
 honnef.co/go/tools v0.0.0-20190102054323-c2f93a96b099/go.mod h1:rf3lG4BRIbNafJWhAfAdb/ePZxsR/4RtNHQocxwk9r4=
 honnef.co/go/tools v0.0.0-20190106161140-3f1c8253044a/go.mod h1:rf3lG4BRIbNafJWhAfAdb/ePZxsR/4RtNHQocxwk9r4=
 honnef.co/go/tools v0.0.0-20190418001031-e561f6794a2a/go.mod h1:rf3lG4BRIbNafJWhAfAdb/ePZxsR/4RtNHQocxwk9r4=
diff --git a/internal/workflow/condition.go b/internal/workflow/condition.go
index 6b5d13d..692ef28 100644
--- a/internal/workflow/condition.go
+++ b/internal/workflow/condition.go
@@ -13,10 +13,10 @@ import (
 	"github.com/honeydipper/honeydipper/pkg/dipper"
 )
 
-// isTruey is a helper function to check if string represents Truey value
-func isTruey(c string) bool {
+// isTruthy is a helper function to check if string represents Truey value
+func isTruthy(c string) bool {
 	c = strings.ToLower(strings.TrimSpace(c))
-	return len(c) != 0 && c != "false" && c != "nil" && c != "0" && c != "{}" && c != "[]"
+	return len(c) != 0 && c != "false" && c != "nil" && c != "0" && c != "{}" && c != "[]" && c != "<no value>"
 }
 
 // checkCondition check if meet the condition to execute the workflow
@@ -24,28 +24,28 @@ func (w *Session) checkCondition() bool {
 	switch {
 	case len(w.workflow.If) > 0:
 		for _, c := range w.workflow.If {
-			if !isTruey(c) {
+			if !isTruthy(c) {
 				return false
 			}
 		}
 		return true
 	case len(w.workflow.IfAny) > 0:
 		for _, c := range w.workflow.IfAny {
-			if isTruey(c) {
+			if isTruthy(c) {
 				return true
 			}
 		}
 		return false
 	case len(w.workflow.Unless) > 0:
 		for _, c := range w.workflow.Unless {
-			if isTruey(c) {
+			if isTruthy(c) {
 				return false
 			}
 		}
 		return true
 	case len(w.workflow.UnlessAll) > 0:
 		for _, c := range w.workflow.UnlessAll {
-			if !isTruey(c) {
+			if !isTruthy(c) {
 				return true
 			}
 		}
@@ -79,7 +79,7 @@ func (w *Session) checkLoopCondition(msg *dipper.Message) bool {
 		envData := w.buildEnvData(msg)
 		for _, c := range w.workflow.While {
 			c = dipper.InterpolateStr(c, envData)
-			if !isTruey(c) {
+			if !isTruthy(c) {
 				return false
 			}
 		}
@@ -88,7 +88,7 @@ func (w *Session) checkLoopCondition(msg *dipper.Message) bool {
 		envData := w.buildEnvData(msg)
 		for _, c := range w.workflow.WhileAny {
 			c = dipper.InterpolateStr(c, envData)
-			if isTruey(c) {
+			if isTruthy(c) {
 				return true
 			}
 		}
@@ -97,7 +97,7 @@ func (w *Session) checkLoopCondition(msg *dipper.Message) bool {
 		envData := w.buildEnvData(msg)
 		for _, c := range w.workflow.Until {
 			c = dipper.InterpolateStr(c, envData)
-			if isTruey(c) {
+			if isTruthy(c) {
 				return false
 			}
 		}
@@ -106,7 +106,7 @@ func (w *Session) checkLoopCondition(msg *dipper.Message) bool {
 		envData := w.buildEnvData(msg)
 		for _, c := range w.workflow.UntilAll {
 			c = dipper.InterpolateStr(c, envData)
-			if !isTruey(c) {
+			if !isTruthy(c) {
 				return true
 			}
 		}


Test patch:
diff --git a/internal/workflow/condition_test.go b/internal/workflow/condition_test.go
index d4988d7..407c982 100644
--- a/internal/workflow/condition_test.go
+++ b/internal/workflow/condition_test.go
@@ -18,6 +18,10 @@ import (
 	"github.com/stretchr/testify/assert"
 )
 
+func TestTruthyCheck(t *testing.T) {
+	assert.Falsef(t, isTruthy(dipper.InterpolateStr("{{ .something_undefined }}", map[string]interface{}{})), "interpolated <no value> should be false")
+}
+
 func TestConditionElse(t *testing.T) {
 	testcase := map[string]interface{}{
 		"workflow": &config.Workflow{If: []string{"false"}, Else: config.Workflow{CallDriver: "foo.bar"}},