Skip to content

Commit

Permalink
add updatecli manifest
Browse files Browse the repository at this point in the history
  • Loading branch information
lemeurherve committed Sep 8, 2023
1 parent d9259d3 commit 58bceb8
Showing 1 changed file with 41 additions and 0 deletions.
41 changes: 41 additions & 0 deletions updatecli/updatecli.d/charts/mirrorbits-parent.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,41 @@
name: "Bump mirrorbits-parent Helm Chart Version"

scms:
default:
kind: github
spec:
user: "{{ .github.user }}"
email: "{{ .github.email }}"
owner: "{{ .github.owner }}"
repository: "{{ .github.repository }}"
token: "{{ requiredEnv .github.token }}"
username: "{{ .github.username }}"
branch: "{{ .github.branch }}"

sources:
lastChartVersion:
kind: helmchart
name: get last chart version
spec:
url: https://jenkins-infra.github.io/helm-charts
name: mirrorbits-parent

targets:
updateChartVersion:
name: "Update the chart version for mirrorbits-parent"
kind: file
spec:
file: clusters/publick8s.yaml
matchpattern: 'chart: jenkins-infra\/mirrorbits-parent((\r\n|\r|\n)(\s+))version: .*'
replacepattern: 'chart: jenkins-infra/mirrorbits-parent${1}version: {{ source "lastChartVersion" }}'
scmid: default

actions:
default:
kind: github/pullrequest
scmid: default
title: Bump `mirrorbits-parent` helm chart version to {{ source "lastChartVersion" }}
spec:
labels:
- dependencies
- mirrorbits-parent

0 comments on commit 58bceb8

Please sign in to comment.