Skip to content

Commit ece6aad

Browse files
committed
upload csiproxy binary to gcs with version information
add logic to upload binary to gcs with version information
1 parent e7c1df0 commit ece6aad

File tree

2 files changed

+3
-4
lines changed

2 files changed

+3
-4
lines changed

.cloudbuild.sh

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -5,5 +5,4 @@
55
# Extract tag-n-hash value from GIT_TAG (form vYYYYMMDD-tag-n-hash) for REV value.
66
REV=v$(echo "$GIT_TAG" | cut -f3- -d 'v')
77

8-
run_with_go "${CSI_PROW_GO_VERSION_BUILD}" make build REV="${REV}"
9-
cp bin/csi-proxy.exe bin/csi-proxy-"${PULL_BASE_REF}".exe
8+
run_with_go "${CSI_PROW_GO_VERSION_BUILD}" make build REV=${REV}

cloudbuild.yaml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -27,6 +27,6 @@ substitutions:
2727
_PULL_BASE_REF: 'master'
2828
artifacts:
2929
objects:
30-
location: 'gs://k8s-staging-sig-storage/csi-proxy'
31-
paths: 'bin/csi-proxy-${_PULL_BASE_REF}.exe'
30+
location: 'gs://k8s-staging-sig-storage/csi-proxy/${_PULL_BASE_REF}'
31+
paths: 'bin/csi-proxy.exe'
3232

0 commit comments

Comments
 (0)