From e7f7117a82f12971547e8b692156b408415353e2 Mon Sep 17 00:00:00 2001 From: Jing Xu Date: Thu, 3 Jun 2021 14:27:58 -0700 Subject: [PATCH] upload csiproxy binary to gcs with version information add logic to upload binary to gcs with version information --- .cloudbuild.sh | 1 - cloudbuild.yaml | 4 ++-- 2 files changed, 2 insertions(+), 3 deletions(-) diff --git a/.cloudbuild.sh b/.cloudbuild.sh index 82c01724..ae33c0b9 100644 --- a/.cloudbuild.sh +++ b/.cloudbuild.sh @@ -9,4 +9,3 @@ REV=v$(echo "$GIT_TAG" | cut -f3- -d 'v') ensure_paths run_with_go "${CSI_PROW_GO_VERSION_BUILD}" make build REV="${REV}" -cp bin/csi-proxy.exe bin/csi-proxy-"${PULL_BASE_REF}".exe diff --git a/cloudbuild.yaml b/cloudbuild.yaml index 24f207ea..eed62e97 100644 --- a/cloudbuild.yaml +++ b/cloudbuild.yaml @@ -27,6 +27,6 @@ substitutions: _PULL_BASE_REF: 'master' artifacts: objects: - location: 'gs://k8s-staging-sig-storage/csi-proxy' - paths: 'bin/csi-proxy-${_PULL_BASE_REF}.exe' + location: 'gs://k8s-staging-sig-storage/csi-proxy/${_PULL_BASE_REF}' + paths: 'bin/csi-proxy.exe'