mirror of https://github.com/k3s-io/k3s
You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
115 lines
3.2 KiB
115 lines
3.2 KiB
2 years ago
|
---
|
||
2 years ago
|
name: "Bump Klipper Helm and Helm Controller version"
|
||
2 years ago
|
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:
|
||
2 years ago
|
title: "Bump Klipper Helm and Helm Controller version"
|
||
|
helm-controller:
|
||
2 years ago
|
kind: "github"
|
||
|
spec:
|
||
|
user: "{{ .github.user }}"
|
||
|
email: "{{ .github.email }}"
|
||
|
username: "{{ .github.username }}"
|
||
|
token: "{{ requiredEnv .github.token }}"
|
||
2 years ago
|
owner: "{{ .helm_controller.org }}"
|
||
|
repository: "{{ .helm_controller.repo }}"
|
||
|
branch: "{{ .helm_controller.branch }}"
|
||
2 years ago
|
|
||
|
actions:
|
||
|
github:
|
||
2 years ago
|
title: "Bump Klipper Helm and Helm Controller version"
|
||
2 years ago
|
kind: "github/pullrequest"
|
||
|
scmid: "k3s"
|
||
|
spec:
|
||
|
automerge: false
|
||
|
mergemethod: "squash"
|
||
|
usetitleforautomerge: true
|
||
2 years ago
|
parent: false
|
||
2 years ago
|
labels:
|
||
|
- "dependencies"
|
||
2 years ago
|
|
||
|
sources:
|
||
2 years ago
|
helm-controller:
|
||
|
name: "Get Helm Controller latest release version"
|
||
2 years ago
|
kind: "githubrelease"
|
||
|
spec:
|
||
2 years ago
|
owner: "{{ .helm_controller.org }}"
|
||
|
repository: "{{ .helm_controller.repo }}"
|
||
|
branch: "{{ .helm_controller.branch }}"
|
||
2 years ago
|
token: "{{ requiredEnv .github.token }}"
|
||
|
versionfilter:
|
||
|
kind: "latest"
|
||
2 years ago
|
klipper-helm:
|
||
|
name: "Get Klipper Helm latest release version"
|
||
2 years ago
|
kind: "githubrelease"
|
||
|
spec:
|
||
|
owner: "{{ .klipper_helm.org }}"
|
||
2 years ago
|
repository: "{{ .klipper_helm.repo }}"
|
||
|
branch: "{{ .klipper_helm.branch }}"
|
||
2 years ago
|
token: "{{ requiredEnv .github.token }}"
|
||
|
versionfilter:
|
||
|
kind: "latest"
|
||
2 years ago
|
get-pwd:
|
||
|
name: "Run Updatecli execution directory"
|
||
|
kind: "shell"
|
||
|
disablesourceinput: true
|
||
|
spec:
|
||
|
command: 'pwd'
|
||
|
environments:
|
||
|
- name: PATH
|
||
2 years ago
|
|
||
|
conditions:
|
||
|
klipper-helm:
|
||
|
name: "Check rancher/klipper-helm image version in DockerHub"
|
||
|
kind: "dockerimage"
|
||
|
sourceid: "klipper-helm"
|
||
|
spec:
|
||
|
image: "rancher/klipper-helm"
|
||
2 years ago
|
helm-controller:
|
||
|
name: "Check Helm Controller usage in go.mod"
|
||
|
kind: "file"
|
||
|
scmid: "k3s"
|
||
|
disablesourceinput: true
|
||
2 years ago
|
spec:
|
||
2 years ago
|
file: "go.mod"
|
||
|
matchpattern: 'github.com/k3s-io/helm-controller'
|
||
|
klipper-helm-in-helm-controller:
|
||
|
name: "Check rancher/klipper-helm image version in Helm Controller"
|
||
|
kind: "file"
|
||
|
scmid: "helm-controller"
|
||
|
disablesourceinput: true
|
||
|
spec:
|
||
|
file: "pkg/controllers/chart/chart.go"
|
||
|
matchpattern: 'rancher/klipper-helm:{{ source "klipper-helm" }}'
|
||
2 years ago
|
|
||
|
targets:
|
||
2 years ago
|
go-mod:
|
||
|
name: "Run go mod update"
|
||
|
kind: "shell"
|
||
2 years ago
|
scmid: "k3s"
|
||
2 years ago
|
disablesourceinput: true
|
||
2 years ago
|
spec:
|
||
2 years ago
|
command: '{{ source "get-pwd" }}/updatecli/scripts/run-go-mod-update.sh github.com/k3s-io/helm-controller@{{ source "helm-controller" }}'
|
||
|
environments:
|
||
|
- name: PATH
|
||
|
- name: HOME
|
||
2 years ago
|
klipper-helm:
|
||
2 years ago
|
name: "Update rancher/klipper-helm image version"
|
||
2 years ago
|
kind: "file"
|
||
|
scmid: "k3s"
|
||
|
sourceid: "klipper-helm"
|
||
|
spec:
|
||
|
file: "scripts/airgap/image-list.txt"
|
||
|
matchpattern: 'rancher/klipper-helm:v\d+\.\d+\.\d+(-\w+)?'
|
||
|
replacepattern: 'rancher/klipper-helm:{{ source "klipper-helm" }}'
|
||
2 years ago
|
|