2 Star 0 Fork 0

mirrors_kubernetes-sigs / k8s-container-image-promoter

加入 Gitee
与超过 1200万 开发者一起发现、参与优秀开源项目,私有仓库也完全免费 :)
免费加入
克隆/下载
cloudbuild.yaml 1.37 KB
一键复制 编辑 原始数据 按行查看 历史
Marko Mudrinić 提交于 2024-02-02 12:16 . Bump promo-tools to v4.0.5
# Google Cloud Build configuration: https://cloud.google.com/cloud-build/docs/build-config
# Image building process: https://git.k8s.io/test-infra/config/jobs/image-pushing/README.md
# this must be specified in seconds. If omitted, defaults to 600s (10 mins)
timeout: 1200s
options:
substitution_option: ALLOW_LOOSE
machineType: E2_HIGHCPU_32
steps:
- name: 'gcr.io/cloud-builders/docker'
entrypoint: make
env:
- GIT_TAG=$_GIT_TAG
- PULL_BASE_REF=$_PULL_BASE_REF
- CLOUDBUILD_REPO=$PROJECT_ID
- IMG_VERSION=$_IMG_VERSION
args:
- image-push
- name: 'gcr.io/gcp-runtimes/container-structure-test'
id: structure-test
args:
- test
- --image=gcr.io/$PROJECT_ID/kpromo:$_GIT_TAG
- --config=container-structure.yaml
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: 'dev'
_IMG_VERSION: 'v4.0.5-0'
tags:
- 'kpromo'
- ${_GIT_TAG}
- ${_PULL_BASE_REF}
- ${_IMG_VERSION}
images:
- 'gcr.io/$PROJECT_ID/kpromo:$_GIT_TAG'
- 'gcr.io/$PROJECT_ID/kpromo:$_IMG_VERSION'
- 'gcr.io/$PROJECT_ID/kpromo:latest'
- 'gcr.io/$PROJECT_ID/kpromo:latest-canary'
- 'gcr.io/$PROJECT_ID/kpromo-auditor:$_GIT_TAG'
- 'gcr.io/$PROJECT_ID/kpromo-auditor:$_IMG_VERSION'
- 'gcr.io/$PROJECT_ID/kpromo-auditor:latest'
- 'gcr.io/$PROJECT_ID/kpromo-auditor:latest-canary'
1
https://gitee.com/mirrors_kubernetes-sigs/k8s-container-image-promoter.git
git@gitee.com:mirrors_kubernetes-sigs/k8s-container-image-promoter.git
mirrors_kubernetes-sigs
k8s-container-image-promoter
k8s-container-image-promoter
main

搜索帮助