-
Notifications
You must be signed in to change notification settings - Fork 4
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Signed-off-by: Manuel Buil <[email protected]>
- Loading branch information
1 parent
928c7b9
commit b15f79a
Showing
3 changed files
with
68 additions
and
3 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,64 @@ | ||
--- | ||
name: "Update autoscaler version" | ||
|
||
sources: | ||
autoscaler: | ||
name: Get autoscaler version | ||
kind: githubrelease | ||
spec: | ||
owner: kubernetes-sigs | ||
repository: cluster-proportional-autoscaler | ||
token: '{{ requiredEnv .github.token }}' | ||
typefilter: | ||
release: true | ||
draft: false | ||
prerelease: false | ||
versionfilter: | ||
kind: latest | ||
|
||
targets: | ||
dockerfile: | ||
name: "Bump to latest autoscaler version in Dockerfile" | ||
kind: dockerfile | ||
scmid: default | ||
sourceid: autoscaler | ||
spec: | ||
file: "Dockerfile" | ||
instruction: | ||
keyword: "ARG" | ||
matcher: "TAG" | ||
|
||
makefile: | ||
name: "Bump to latest autoscaler version in Makefile" | ||
kind: file | ||
scmid: default | ||
disablesourceinput: true | ||
spec: | ||
file: Makefile | ||
matchpattern: '(?m)^TAG \?\= (.*)' | ||
replacepattern: 'TAG ?= {{ source "autoscaler" }}$$(BUILD_META)' | ||
|
||
scms: | ||
default: | ||
kind: github | ||
spec: | ||
token: '{{ requiredEnv .github.token }}' | ||
username: '{{ requiredEnv .github.username }}' | ||
user: '{{ .github.user }}' | ||
email: '{{ .github.email }}' | ||
owner: '{{ .github.owner }}' | ||
repository: '{{ .github.repository }}' | ||
branch: '{{ .github.branch }}' | ||
|
||
actions: | ||
default: | ||
title: 'Bump autoscaler version to {{ source "autoscaler" }}' | ||
kind: github/pullrequest | ||
spec: | ||
automerge: false | ||
labels: | ||
- chore | ||
- skip-changelog | ||
- status/auto-created | ||
scmid: default | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters