From 98ff87f7afbe701003582e1cbd9cf6b34ec0116a Mon Sep 17 00:00:00 2001 From: CF Buildpacks Team CI Server Date: Fri, 5 Jul 2019 20:32:31 +0000 Subject: [PATCH] Update go module github.com/cloudfoundry/dagger --- go.mod | 2 +- go.sum | 4 ++-- vendor/github.com/cloudfoundry/dagger/buildpack.go | 7 +++++++ vendor/modules.txt | 2 +- 4 files changed, 11 insertions(+), 4 deletions(-) diff --git a/go.mod b/go.mod index 69a9d558..286732b4 100644 --- a/go.mod +++ b/go.mod @@ -3,7 +3,7 @@ module github.com/cloudfoundry/node-engine-cnb require ( github.com/Masterminds/semver v1.4.2 github.com/buildpack/libbuildpack v1.19.0 - github.com/cloudfoundry/dagger v0.0.0-20190702204901-6f86432fd00d + github.com/cloudfoundry/dagger v0.0.0-20190705203005-020f9ac2f14e github.com/cloudfoundry/libcfbuildpack v1.76.0 github.com/onsi/gomega v1.5.0 github.com/sclevine/spec v1.2.0 diff --git a/go.sum b/go.sum index c06c2860..d490ceeb 100644 --- a/go.sum +++ b/go.sum @@ -5,8 +5,8 @@ github.com/Masterminds/semver v1.4.2 h1:WBLTQ37jOCzSLtXNdoo8bNM8876KhNqOKvrlGITg github.com/Masterminds/semver v1.4.2/go.mod h1:MB6lktGJrhw8PrUyiEoblNEGEQ+RzHPF078ddwwvV3Y= github.com/buildpack/libbuildpack v1.19.0 h1:HUkaIwuGmPbQhujBjYNpd+E4f0NdAgAgHq7skydiL5s= github.com/buildpack/libbuildpack v1.19.0/go.mod h1:oxgSTzPbWscHs27iuYrctEZpSak2m/qPThA+9JM0Boo= -github.com/cloudfoundry/dagger v0.0.0-20190702204901-6f86432fd00d h1:vpKkm7GEKaSGn1whjthGausas9/lomcZqh8cGMc7ZmA= -github.com/cloudfoundry/dagger v0.0.0-20190702204901-6f86432fd00d/go.mod h1:PXeUHc4d2vAVO/31jFE6uD09w/yFfzs4kcayAVEvnEI= +github.com/cloudfoundry/dagger v0.0.0-20190705203005-020f9ac2f14e h1:5uEL2c5gNnF3KPZCNIfeVnvHubRkiOi+HYlhz/TJ8fs= +github.com/cloudfoundry/dagger v0.0.0-20190705203005-020f9ac2f14e/go.mod h1:PXeUHc4d2vAVO/31jFE6uD09w/yFfzs4kcayAVEvnEI= github.com/cloudfoundry/libcfbuildpack v1.76.0 h1:oMTv35mjk5Jogzy2sshVXHyolDWnWHMfANQ0UooXJq0= github.com/cloudfoundry/libcfbuildpack v1.76.0/go.mod h1:QGm+nzixn579dvQNlS7ZQET541y2hEpZ0/5uNxkQ04Y= github.com/fatih/color v1.7.0 h1:DkWD4oS2D8LGGgTQ6IvwJJXSL5Vp2ffcQg58nFV38Ys= diff --git a/vendor/github.com/cloudfoundry/dagger/buildpack.go b/vendor/github.com/cloudfoundry/dagger/buildpack.go index ae009dd5..c5e2f0f2 100644 --- a/vendor/github.com/cloudfoundry/dagger/buildpack.go +++ b/vendor/github.com/cloudfoundry/dagger/buildpack.go @@ -90,6 +90,13 @@ func GetLatestBuildpack(name string) (string, error) { return GetLatestCommunityBuildpack("cloudfoundry", name) } +func DeleteBuildpack(root string) error { + if root == os.Getenv("BP_PACKAGED_PATH") { + return nil + } + return os.RemoveAll(root) +} + func GetLatestCommunityBuildpack(org, name string) (string, error) { uri := fmt.Sprintf("https://api.github.com/repos/%s/%s/releases/latest", org, name) ctx := context.Background() diff --git a/vendor/modules.txt b/vendor/modules.txt index 2944b8b6..8a792ff5 100644 --- a/vendor/modules.txt +++ b/vendor/modules.txt @@ -14,7 +14,7 @@ github.com/buildpack/libbuildpack/logger github.com/buildpack/libbuildpack/platform github.com/buildpack/libbuildpack/services github.com/buildpack/libbuildpack/stack -# github.com/cloudfoundry/dagger v0.0.0-20190702204901-6f86432fd00d +# github.com/cloudfoundry/dagger v0.0.0-20190705203005-020f9ac2f14e github.com/cloudfoundry/dagger # github.com/cloudfoundry/libcfbuildpack v1.76.0 github.com/cloudfoundry/libcfbuildpack/build