This document provides an overview of autobump Prow Jobs.
Generic-autobumper tool allows for automatic upgrading of Docker images URLs in the values.yaml
files to their latest versions; the images have to be specified as Docker images URLs.
The following template data file can be used to generate the autobumper configuration for Kyma repository:
templates:
# generate autobump configuration
- from : templates/autobump-config.tmpl
render:
- to: ../prow/autobump-config/kyma-autobump-config.yaml
values:
org: kyma-project
repo: kyma
included_paths:
- resources
excluded_paths:
- resources/rafter
extra_files:
- "non_yaml_file.go"
The previous template updates images in YAML files, stored in resources
, except forresources/rafter
. Additional non-YAML files have to be specified in the extra_files
list.
The following template data file can be used to generate the autobumper job for Kyma repository:
- from: templates/generic.tmpl
render:
- to: ../prow/jobs/kyma/kyma-autobump.yaml
localSets:
github_token_mounts:
labels:
preset-autobump-bot-github-token: "true"
jobConfigs:
- repoName: kyma-project/kyma
jobs:
- jobConfig:
name: kyma-autobump
cron: "30 * * * 1-5"
image: gcr.io/k8s-prow/generic-autobumper:v20220524-dfb23cb2d1
command: generic-autobumper
args:
- --config=prow/autobump-config/kyma-autobump-config.yaml
inheritedConfigs:
local:
- github_token_mounts
global:
- jobConfig_default
- jobConfig_postsubmit
- pubsub_labels
- disable_testgrid