summaryrefslogtreecommitdiffhomepage
path: root/Makefile
diff options
context:
space:
mode:
authorLantao Liu <lantaol@google.com>2019-10-09 15:57:05 -0700
committerGitHub <noreply@github.com>2019-10-09 15:57:05 -0700
commitf299b553afdd8455a0057862004061ea12e660f5 (patch)
treef1ea4ffe1b4c4719e79493c2321ff9313a328b52 /Makefile
parent3168afab03d52e160f6accaeea8d4ed304c1aba1 (diff)
Support volume annotations (#40)
* Add volume annotation support Signed-off-by: Lantao Liu <lantaol@google.com> * Add unit test. Signed-off-by: Lantao Liu <lantaol@google.com>
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile5
1 files changed, 5 insertions, 0 deletions
diff --git a/Makefile b/Makefile
index 6336bab87..abfadc1b5 100644
--- a/Makefile
+++ b/Makefile
@@ -35,3 +35,8 @@ push: binaries
gsutil cp ./bin/gvisor-containerd-shim gs://$(DEPLOY_PATH)/gvisor-containerd-shim-$(VERSION)
gsutil cp ./bin/containerd-shim-runsc-v1 gs://$(DEPLOY_PATH)/containerd-shim-runsc-v1-$(VERSION)
echo "$(VERSION)" | gsutil cp - "gs://$(DEPLOY_PATH)/latest"
+
+.PHONY: test
+
+test:
+ GO111MODULE=${GO_MODULE} CGO_ENABLED=0 ${GC} test -v ./pkg/... ${SHIM_GO_LDFLAGS} ${GO_TAGS}