Skip to content

Commit

Permalink
Add build and release for csi proxy to gcs bucket
Browse files Browse the repository at this point in the history
This PR adds building and publishing csi-proxy binary to gcs bucket k8s-artifacts-csi
  • Loading branch information
jingxu97 committed May 27, 2020
1 parent 9eff164 commit 6039148
Showing 1 changed file with 17 additions and 0 deletions.
17 changes: 17 additions & 0 deletions build/cloudbuild.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,17 @@
# Build the module.
steps:
- name: gcr.io/cloud-builders/go:debian
entrypoint: bash
args:
- -c
- |
set -ex
IFS=- read str1 rev <<< "${_GIT_TAG}"
make build REV=${rev}
cp bin/csi-proxy.exe bin/csi-proxy${_GIT_TAG}.exe
substitutions:
_GIT_TAG: '12345'
artifacts:
objects:
location: 'gs://k8s-artifacts-csi'
paths: 'bin/csi-proxy${_GIT_TAG}.exe'

0 comments on commit 6039148

Please sign in to comment.