Skip to content
Merged
Show file tree
Hide file tree
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 1 addition & 0 deletions config/jobs/image-pushing/k8s-staging-sig-storage.sh
Original file line number Diff line number Diff line change
Expand Up @@ -27,6 +27,7 @@ readonly REPOS=(
kubernetes-csi/external-provisioner
kubernetes-csi/external-resizer
kubernetes-csi/external-snapshotter
kubernetes-csi/external-snapshot-metadata
kubernetes-csi/livenessprobe
kubernetes-csi/node-driver-registrar
kubernetes-csi/csi-driver-nfs
Expand Down
71 changes: 71 additions & 0 deletions config/jobs/image-pushing/k8s-staging-sig-storage.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -321,6 +321,46 @@ postsubmits:
- --scratch-bucket=gs://k8s-staging-sig-storage-gcb
- --env-passthrough=PULL_BASE_REF
- .
kubernetes-csi/external-snapshot-metadata:
- name: post-external-snapshot-metadata-push-images
rerun_auth_config:
github_team_slugs:
- org: kubernetes
slug: release-managers
- org: kubernetes
slug: test-infra-admins
- org: kubernetes
slug: sig-storage-image-build-admins
cluster: k8s-infra-prow-build-trusted
annotations:
testgrid-dashboards: sig-storage-image-build, sig-k8s-infra-gcb
decorate: true
decoration_config:
timeout: 240m
grace_period: 15m
branches:
# For publishing canary images.
- ^master$
- ^release-
Comment on lines +341 to +344

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Hey @hairyhum @xing-yang ,

The development branch for https://github.com/kubernetes-csi/external-snapshot-metadata is main and not master master as with other sidecars.

The build job will not get triggered due to this difference ?

https://github.com/kubernetes-csi/external-snapshot-metadata
I don't this job being triggered for the pr that merged 3 days ago.

cc @PrasadG193 @carlbraganza

# For publishing tagged images. Those will only get built once, i.e.
# existing images are not getting overwritten. A new tag must be set to
# trigger another image build. Images are only built for tags that follow
# the semver format (regex 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-staging-test-infra/image-builder:v20240725-9fc4a08b13
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-sig-storage
# This is the same as above, but with -gcb appended.
- --scratch-bucket=gs://k8s-staging-sig-storage-gcb
- --env-passthrough=PULL_BASE_REF
- .
kubernetes-csi/livenessprobe:
- name: post-livenessprobe-push-images
rerun_auth_config:
Expand Down Expand Up @@ -1060,6 +1100,37 @@ periodics:
- --scratch-bucket=gs://k8s-staging-sig-storage-gcb
- --env-passthrough=PULL_BASE_REF
- .
- name: canary-external-snapshot-metadata-push-images
cluster: k8s-infra-prow-build-trusted
annotations:
testgrid-dashboards: sig-storage-image-build, sig-k8s-infra-gcb
decorate: true
interval: 168h # one week
extra_refs:
# This also becomes the current directory for run.sh and thus
# the cloud image build.
- org: kubernetes-csi
repo: external-snapshot-metadata
base_ref: master
spec:
serviceAccountName: gcb-builder
containers:
- image: gcr.io/k8s-staging-test-infra/image-builder:v20240725-9fc4a08b13
command:
- /run.sh
env:
# We need to emulate a pull job for the cloud build to work the same
# way as it usually does.
- name: PULL_BASE_REF
value: master
args:
# this is the project GCB will run in, which is the same as the GCR
# images are pushed to.
- --project=k8s-staging-sig-storage
# This is the same as above, but with -gcb appended.
- --scratch-bucket=gs://k8s-staging-sig-storage-gcb
- --env-passthrough=PULL_BASE_REF
- .
- name: canary-livenessprobe-push-images
cluster: k8s-infra-prow-build-trusted
annotations:
Expand Down
Loading