Skip to content

Commit

Permalink
Merge pull request #1014 from salasberryfin/updatecli-add-capg-to-lis…
Browse files Browse the repository at this point in the history
…t-of-providers

chore: add capg to list of updatecli providers
  • Loading branch information
alexander-demicev authored Jan 20, 2025
2 parents 0450b5f + 3f2a34b commit 12add0e
Showing 1 changed file with 19 additions and 0 deletions.
19 changes: 19 additions & 0 deletions updatecli/updatecli.d/manifest.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -56,6 +56,16 @@ sources:
username: '{{ requiredEnv "UPDATECLI_GITHUB_ACTOR" }}'
typeFilter:
latest: true
capgrelease:
kind: githubrelease
name: Get the latest CAPI GCP infrastructure provider release
spec:
owner: "rancher-sandbox"
repository: "cluster-api-provider-gcp"
token: '{{ requiredEnv "UPDATECLI_GITHUB_TOKEN" }}'
username: '{{ requiredEnv "UPDATECLI_GITHUB_ACTOR" }}'
typeFilter:
latest: true
capvrelease:
kind: githubrelease
name: Get the latest CAPI vSphere infrastructure provider release
Expand Down Expand Up @@ -142,6 +152,15 @@ targets:
replacepattern: 'https://github.com/rancher-sandbox/cluster-api-provider-aws/releases/{{ source "caparelease" }}/'
scmid: turtles
sourceid: caparelease # Will be ignored as `replacepattern` is specified
bumpcapg:
name: bump capg provider
kind: file
spec:
file: ./internal/controllers/clusterctl/config.yaml
matchpattern: 'https://github.com/rancher-sandbox/cluster-api-provider-gcp/releases/(.*)/'
replacepattern: 'https://github.com/rancher-sandbox/cluster-api-provider-gcp/releases/{{ source "capgrelease" }}/'
scmid: turtles
sourceid: capgrelease # Will be ignored as `replacepattern` is specified
bumpcapv:
name: bump capv provider
kind: file
Expand Down

0 comments on commit 12add0e

Please sign in to comment.