2023-01-03 17:56:08 +00:00
|
|
|
---
|
|
|
|
name: "Bump Local Path Provisioner version"
|
|
|
|
scms:
|
|
|
|
k3s:
|
|
|
|
kind: "github"
|
|
|
|
spec:
|
|
|
|
user: "{{ .github.user }}"
|
|
|
|
email: "{{ .github.email }}"
|
|
|
|
username: "{{ .github.username }}"
|
|
|
|
token: "{{ requiredEnv .github.token }}"
|
|
|
|
owner: "{{ .k3s.org }}"
|
|
|
|
repository: "{{ .k3s.repo }}"
|
|
|
|
branch: "{{ .k3s.branch }}"
|
|
|
|
commitmessage:
|
|
|
|
title: "Bump Local Path Provisioner version"
|
|
|
|
local-path-provisioner:
|
|
|
|
kind: "github"
|
|
|
|
spec:
|
|
|
|
user: "{{ .github.user }}"
|
|
|
|
email: "{{ .github.email }}"
|
|
|
|
username: "{{ .github.username }}"
|
|
|
|
token: "{{ requiredEnv .github.token }}"
|
|
|
|
owner: "{{ .local_path_provisioner.org }}"
|
|
|
|
repository: "{{ .local_path_provisioner.repo }}"
|
|
|
|
branch: "{{ .local_path_provisioner.branch }}"
|
|
|
|
|
|
|
|
actions:
|
|
|
|
github:
|
|
|
|
title: "Bump Local Path Provisioner version"
|
|
|
|
kind: "github/pullrequest"
|
|
|
|
scmid: "k3s"
|
|
|
|
spec:
|
|
|
|
automerge: false
|
|
|
|
mergemethod: "squash"
|
|
|
|
usetitleforautomerge: true
|
2023-01-18 17:39:46 +00:00
|
|
|
labels:
|
|
|
|
- "dependencies"
|
2023-01-03 17:56:08 +00:00
|
|
|
|
|
|
|
sources:
|
|
|
|
local-path-provisioner:
|
|
|
|
name: "Get Local Path Provisioner latest release version"
|
|
|
|
kind: "githubrelease"
|
|
|
|
spec:
|
|
|
|
owner: "{{ .local_path_provisioner.org }}"
|
|
|
|
repository: "{{ .local_path_provisioner.repo }}"
|
|
|
|
branch: "{{ .local_path_provisioner.branch }}"
|
|
|
|
token: "{{ requiredEnv .github.token }}"
|
|
|
|
versionfilter:
|
|
|
|
kind: "latest"
|
|
|
|
|
|
|
|
conditions:
|
|
|
|
local-path-provisioner:
|
|
|
|
name: "Check rancher/local-path-provisioner image version in DockerHub"
|
|
|
|
kind: "dockerimage"
|
|
|
|
sourceid: "local-path-provisioner"
|
|
|
|
spec:
|
|
|
|
image: "rancher/local-path-provisioner"
|
|
|
|
|
|
|
|
targets:
|
|
|
|
local-path-provisioner:
|
|
|
|
name: "Update rancher/local-path-provisioner image version"
|
|
|
|
kind: "file"
|
|
|
|
scmid: "k3s"
|
|
|
|
sourceid: "local-path-provisioner"
|
|
|
|
spec:
|
|
|
|
files:
|
|
|
|
- "manifests/local-storage.yaml"
|
|
|
|
- "scripts/airgap/image-list.txt"
|
|
|
|
matchpattern: 'rancher/local-path-provisioner:v\d+\.\d+\.\d+(-\w+)?'
|
|
|
|
replacepattern: 'rancher/local-path-provisioner:{{ source `local-path-provisioner` }}'
|