Skip to content

Commit

Permalink
Add prow job to publishing csi-proxy binary
Browse files Browse the repository at this point in the history
Add a prow job to publish csi-proxy binary

csi-proxy PR to add cloudbuild.yaml kubernetes-csi/csi-proxy#53
  • Loading branch information
jingxu97 committed May 27, 2020
1 parent 1e6a379 commit 801bd56
Show file tree
Hide file tree
Showing 2 changed files with 32 additions and 0 deletions.
30 changes: 30 additions & 0 deletions config/jobs/image-pushing/k8s-csi-proxy.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,30 @@
postsubmits:
# This is the github repo we'll build from. This block needs to be repeated
# for each repo.
kubernetes-csi/csi-proxy:
# The name should be changed to match the repo name above
- name: post-csi-proxy-push-binary
cluster: k8s-infra-prow-build-trusted
annotations:
# This is the name of some testgrid dashboard to report to.
testgrid-dashboards: sig-storage-csi-csi-proxy
decorate: true
branches:
# For publishing canary images
- ^master$
# this is a regex for semver, from https://semver.org/#is-there-a-suggested-regular-expression-regex-to-check-a-semver-string
- ^v(0|[1-9]\d*)\.(0|[1-9]\d*)\.(0|[1-9]\d*)(?:-((?:0|[1-9]\d*|\d*[a-zA-Z-][0-9a-zA-Z-]*)(?:\.(?:0|[1-9]\d*|\d*[a-zA-Z-][0-9a-zA-Z-]*))*))?(?:\+([0-9a-zA-Z-]+(?:\.[0-9a-zA-Z-]+)*))?$
spec:
serviceAccountName: gcb-builder
containers:
- image: gcr.io/k8s-testimages/image-builder:v20200422-c760048
command:
- /run.sh
args:
# this is the project GCB will run in, which is the same as the GCR
# images are pushed to.
- --project=k8s-staging-csi
# This is the same as above, but with -gcb appended.
- --scratch-bucket=gs://k8s-staging-csi-gcb
- --env-passthrough=PULL_BASE_REF
- .
2 changes: 2 additions & 0 deletions config/testgrids/kubernetes/sig-storage/config.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,7 @@ dashboard_groups:
- sig-storage-local-static-provisioner
- sig-storage-csi-ci
- sig-storage-csi-csi-driver-host-path
- sig-storage-csi-csi-proxy
- sig-storage-csi-external-attacher
- sig-storage-csi-external-provisioner
- sig-storage-csi-external-resizer
Expand Down Expand Up @@ -99,6 +100,7 @@ dashboards:

- name: sig-storage-csi-ci
- name: sig-storage-csi-csi-driver-host-path
- name: sig-storage-csi-csi-proxy
- name: sig-storage-csi-external-attacher
- name: sig-storage-csi-external-provisioner
- name: sig-storage-csi-external-resizer
Expand Down

0 comments on commit 801bd56

Please sign in to comment.