https://github.com/kubernetes-csi/csi-release-tools/commit/5489de6e Merge https://github.com/kubernetes-csi/csi-release-tools/pull/174 from mauriciopoppe/bump-kind-version https://github.com/kubernetes-csi/csi-release-tools/commit/0c675d4c Bump kind version to v0.11.1 https://github.com/kubernetes-csi/csi-release-tools/commit/ef69a88d Merge https://github.com/kubernetes-csi/csi-release-tools/pull/173 from nick5616/add-ws2022 https://github.com/kubernetes-csi/csi-release-tools/commit/44c710c5 added WS2022 to build platforms https://github.com/kubernetes-csi/csi-release-tools/commit/0883be4f Merge https://github.com/kubernetes-csi/csi-release-tools/pull/171 from pohly/example-commands https://github.com/kubernetes-csi/csi-release-tools/commit/02cda510 build.make: support binaries outside of cmd, with optional go.mod https://github.com/kubernetes-csi/csi-release-tools/commit/65922ea2 Merge https://github.com/kubernetes-csi/csi-release-tools/pull/170 from pohly/canary-snapshot-controller https://github.com/kubernetes-csi/csi-release-tools/commit/c0bdfb3a prow.sh: deploy canary snapshot-controller in canary jobs https://github.com/kubernetes-csi/csi-release-tools/commit/0438f15a Merge https://github.com/kubernetes-csi/csi-release-tools/pull/167 from c0va23/feature/release-armv7-image https://github.com/kubernetes-csi/csi-release-tools/commit/4786f4d0 Merge https://github.com/kubernetes-csi/csi-release-tools/pull/168 from msau42/update-release-prereq https://github.com/kubernetes-csi/csi-release-tools/commit/6a2dc64a Remove requirement to be top-level approver. Only maintainers membership is required to do a release https://github.com/kubernetes-csi/csi-release-tools/commit/30a4f7bb Release armv7 image https://github.com/kubernetes-csi/csi-release-tools/commit/ac8108f1 Merge https://github.com/kubernetes-csi/csi-release-tools/pull/165 from consideRatio/pr/update-github-links-ref-to-master-to-HEAD https://github.com/kubernetes-csi/csi-release-tools/commit/999b483d docs: make github links reference HEAD instead of main https://github.com/kubernetes-csi/csi-release-tools/commit/fd670693 docs: make github links reference HEAD instead of master git-subtree-dir: release-tools git-subtree-split: 5489de6e743cf8362e5ab8275988cc748d0758b0
49 lines
2.3 KiB
YAML
49 lines
2.3 KiB
YAML
# A configuration file for multi-arch image building with the Google cloud build service.
|
|
#
|
|
# Repos using this file must:
|
|
# - import csi-release-tools
|
|
# - add a symlink cloudbuild.yaml -> release-tools/cloudbuild.yaml
|
|
# - add a .cloudbuild.sh which can be a custom file or a symlink
|
|
# to release-tools/cloudbuild.sh
|
|
# - accept "binary" as build argument in their Dockerfile(s) (see
|
|
# https://github.com/pohly/node-driver-registrar/blob/3018101987b0bb6da2a2657de607174d6e3728f7/Dockerfile#L4-L6)
|
|
# because binaries will get built for different architectures and then
|
|
# get copied from the built host into the container image
|
|
#
|
|
# See https://github.com/kubernetes/test-infra/blob/HEAD/config/jobs/image-pushing/README.md
|
|
# for more details on image pushing process in Kubernetes.
|
|
#
|
|
# To promote release images, see https://github.com/kubernetes/k8s.io/tree/HEAD/k8s.gcr.io/images/k8s-staging-sig-storage.
|
|
|
|
# This must be specified in seconds. If omitted, defaults to 600s (10 mins).
|
|
# Building three images in external-snapshotter takes roughly half an hour,
|
|
# sometimes more.
|
|
timeout: 3600s
|
|
# This prevents errors if you don't use both _GIT_TAG and _PULL_BASE_REF,
|
|
# or any new substitutions added in the future.
|
|
options:
|
|
substitution_option: ALLOW_LOOSE
|
|
steps:
|
|
# The image must contain bash and curl. Ideally it should also contain
|
|
# the desired version of Go (currently defined in release-tools/prow.sh),
|
|
# but that just speeds up the build and is not required.
|
|
- name: 'gcr.io/k8s-testimages/gcb-docker-gcloud:v20210331-c732583'
|
|
entrypoint: ./.cloudbuild.sh
|
|
env:
|
|
- GIT_TAG=${_GIT_TAG}
|
|
- PULL_BASE_REF=${_PULL_BASE_REF}
|
|
- REGISTRY_NAME=gcr.io/${_STAGING_PROJECT}
|
|
- HOME=/root
|
|
substitutions:
|
|
# _GIT_TAG will be filled with a git-based tag for the image, of the form vYYYYMMDD-hash, and
|
|
# can be used as a substitution.
|
|
_GIT_TAG: '12345'
|
|
# _PULL_BASE_REF will contain the ref that was pushed to trigger this build -
|
|
# a branch like 'master' or 'release-0.2', or a tag like 'v0.2'.
|
|
_PULL_BASE_REF: 'master'
|
|
# The default gcr.io staging project for Kubernetes-CSI
|
|
# (=> https://console.cloud.google.com/gcr/images/k8s-staging-sig-storage/GLOBAL).
|
|
# Might be overridden in the Prow build job for a repo which wants
|
|
# images elsewhere.
|
|
_STAGING_PROJECT: 'k8s-staging-sig-storage'
|