Skip to content
Merged
Changes from 5 commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
21 changes: 11 additions & 10 deletions .ci/updatecli/updatecli-bump-golang.yml
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
# update-cli configuration for automated go updates
---
name: Bump golang-version to latest version
pipelineid: 'updatecli-bump-golang-{{ .scm.branch }}'

scms:
githubConfig:
Expand All @@ -12,7 +13,7 @@ scms:
repository: '{{ .scm.repository }}'
token: '{{ requiredEnv "GITHUB_TOKEN" }}'
commitusingapi: true
branch: main
branch: '{{ .scm.branch }}'
force: false

actions:
Expand Down Expand Up @@ -84,15 +85,6 @@ targets:
content: '{{ source "latestGoVersion" }}'
file: .go-version
matchpattern: '\d+.\d+.\d+'
update-golang.ci:
name: "Update .golangci.yml"
sourceid: latestGoVersion
scmid: githubConfig
kind: file
spec:
content: '{{ source "latestGoVersion" }}'
file: .golangci.yml
matchpattern: '\d+.\d+.\d+'
update-version.asciidoc:
name: "Update version.asciidoc"
sourceid: latestGoVersion
Expand Down Expand Up @@ -122,3 +114,12 @@ targets:
content: 'go {{ source "latestGoVersion" }}'
file: go.mod
matchpattern: 'go \d+.\d+.\d+'
update-buildkite-pipeline:
name: "Update .buildkite/pipeline.yml"
sourceid: latestGoVersion
scmid: githubConfig
kind: file
spec:
content: 'golang:{{ source "latestGoVersion" }}'
file: .buildkite/pipeline.yml
matchpattern: 'golang:\d+.\d+.\d+'
Loading