@@ -378,6 +378,35 @@ postsubmits:
378
378
- --scratch-bucket=gs://k8s-staging-sig-storage-gcb
379
379
- --env-passthrough=PULL_BASE_REF
380
380
- .
381
+ kubernetes-sigs/nfs-subdir-external-provisioner :
382
+ - name : post-nfs-subdir-external-provisioner-push-images
383
+ cluster : k8s-infra-prow-build-trusted
384
+ annotations :
385
+ testgrid-dashboards : sig-storage-image-build
386
+ decorate : true
387
+ branches :
388
+ # For publishing canary images.
389
+ - ^master$
390
+ - ^release-
391
+ # For publishing tagged images. Those will only get built once, i.e.
392
+ # existing images are not getting overwritten. A new tag must be set to
393
+ # trigger another image build. Images are only built for tags that follow
394
+ # the semver format (regex from https://semver.org/#is-there-a-suggested-regular-expression-regex-to-check-a-semver-string).
395
+ - ^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-]+)*))?$
396
+ spec :
397
+ serviceAccountName : gcb-builder
398
+ containers :
399
+ - image : gcr.io/k8s-testimages/image-builder:v20200901-ab141a0
400
+ command :
401
+ - /run.sh
402
+ args :
403
+ # this is the project GCB will run in, which is the same as the GCR
404
+ # images are pushed to.
405
+ - --project=k8s-staging-sig-storage
406
+ # This is the same as above, but with -gcb appended.
407
+ - --scratch-bucket=gs://k8s-staging-sig-storage-gcb
408
+ - --env-passthrough=PULL_BASE_REF
409
+ - .
381
410
kubernetes-csi/csi-driver-iscsi :
382
411
- name : post-csi-driver-iscsi-push-images
383
412
cluster : k8s-infra-prow-build-trusted
@@ -937,3 +966,34 @@ periodics:
937
966
- --scratch-bucket=gs://k8s-staging-sig-storage-gcb
938
967
- --env-passthrough=PULL_BASE_REF
939
968
- .
969
+ - name : canary-nfs-subdir-external-provisioner-push-images
970
+ cluster : k8s-infra-prow-build-trusted
971
+ annotations :
972
+ testgrid-dashboards : sig-storage-image-build
973
+ decorate : true
974
+ interval : 168h # one week
975
+ extra_refs :
976
+ # This also becomes the current directory for run.sh and thus
977
+ # the cloud image build.
978
+ - org : kubernetes-csi
979
+ repo : nfs-subdir-external-provisioner
980
+ base_ref : master
981
+ spec :
982
+ serviceAccountName : gcb-builder
983
+ containers :
984
+ - image : gcr.io/k8s-testimages/image-builder:v20200901-ab141a0
985
+ command :
986
+ - /run.sh
987
+ env :
988
+ # We need to emulate a pull job for the cloud build to work the same
989
+ # way as it usually does.
990
+ - name : PULL_BASE_REF
991
+ value : master
992
+ args :
993
+ # this is the project GCB will run in, which is the same as the GCR
994
+ # images are pushed to.
995
+ - --project=k8s-staging-sig-storage
996
+ # This is the same as above, but with -gcb appended.
997
+ - --scratch-bucket=gs://k8s-staging-sig-storage-gcb
998
+ - --env-passthrough=PULL_BASE_REF
999
+ - .
0 commit comments