Skip to content

Commit 4569f10

Browse files
committed
Add build and release for csi proxy to gcs bucket
This PR adds building and publishing csi-proxy binary to gcs bucket k8s-artifacts-csi
1 parent 9eff164 commit 4569f10

File tree

1 file changed

+19
-0
lines changed

1 file changed

+19
-0
lines changed

build/cloudbuild.yaml

+19
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,19 @@
1+
# Build the module.
2+
steps:
3+
- name: gcr.io/cloud-builders/go:debian
4+
entrypoint: bash
5+
args:
6+
- -c
7+
- |
8+
set -ex
9+
IFS=- read str1 rev <<< "${_GIT_TAG}"
10+
make build REV=${rev}
11+
cp bin/csi-proxy.exe bin/csi-proxy${_GIT_TAG}.exe
12+
echo $_GIT_TAG
13+
tags: ['jing']
14+
substitutions:
15+
_GIT_TAG: '12345'
16+
artifacts:
17+
objects:
18+
location: 'gs://disksize-bucket'
19+
paths: 'bin/csi-proxy${_GIT_TAG}.exe'

0 commit comments

Comments
 (0)