Skip to content

Commit

Permalink
[updatecli] Use tags instead of githubrelease
Browse files Browse the repository at this point in the history
Signed-off-by: Manuel Buil <[email protected]>
  • Loading branch information
manuelbuil committed Feb 28, 2024
1 parent b15f79a commit a26a56e
Showing 1 changed file with 12 additions and 9 deletions.
21 changes: 12 additions & 9 deletions updatecli/updatecli.d/updatednsnodecache.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -4,17 +4,12 @@ name: "Update autoscaler version"
sources:
autoscaler:
name: Get autoscaler version
kind: githubrelease
kind: gittag
scmid: upstream
spec:
owner: kubernetes-sigs
repository: cluster-proportional-autoscaler
token: '{{ requiredEnv .github.token }}'
typefilter:
release: true
draft: false
prerelease: false
versionfilter:
kind: latest
kind: regex
pattern: '^v\d+\.\d+\.\d+$'

targets:
dockerfile:
Expand Down Expand Up @@ -50,6 +45,14 @@ scms:
repository: '{{ .github.repository }}'
branch: '{{ .github.branch }}'

upstream:
kind: github
spec:
owner: "kubernetes-sigs"
repository: "cluster-proportional-autoscaler"
branch: "master"
token: '{{ requiredEnv .github.token }}'

actions:
default:
title: 'Bump autoscaler version to {{ source "autoscaler" }}'
Expand Down

0 comments on commit a26a56e

Please sign in to comment.