From 477cad54f38af4473f2368c67b727bf716e8699d Mon Sep 17 00:00:00 2001 From: Patrick Ohly Date: Tue, 2 Jun 2020 20:25:29 +0200 Subject: [PATCH] cloud build: use files from csi-release-tools --- .cloudbuild.sh | 1 + Dockerfile | 3 ++- cloudbuild.yaml | 1 + 3 files changed, 4 insertions(+), 1 deletion(-) create mode 120000 .cloudbuild.sh create mode 120000 cloudbuild.yaml diff --git a/.cloudbuild.sh b/.cloudbuild.sh new file mode 120000 index 00000000..94226bc6 --- /dev/null +++ b/.cloudbuild.sh @@ -0,0 +1 @@ +release-tools/cloudbuild.sh \ No newline at end of file diff --git a/Dockerfile b/Dockerfile index 5e781ce1..64986b9a 100644 --- a/Dockerfile +++ b/Dockerfile @@ -15,6 +15,7 @@ FROM gcr.io/distroless/static:latest LABEL maintainers="Kubernetes Authors" LABEL description="CSI Driver liveness probe" +ARG binary=./bin/livenessprobe -COPY ./bin/livenessprobe /livenessprobe +COPY ${binary} /livenessprobe ENTRYPOINT ["/livenessprobe"] diff --git a/cloudbuild.yaml b/cloudbuild.yaml new file mode 120000 index 00000000..bee22c46 --- /dev/null +++ b/cloudbuild.yaml @@ -0,0 +1 @@ +release-tools/cloudbuild.yaml \ No newline at end of file