Skip to content
Merged
Changes from 4 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
30 changes: 20 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 }}'
Comment thread
v1v marked this conversation as resolved.
Outdated
Comment thread
v1v marked this conversation as resolved.
Outdated

scms:
githubConfig:
Expand All @@ -12,7 +13,7 @@ scms:
repository: '{{ .scm.repository }}'
token: '{{ requiredEnv "GITHUB_TOKEN" }}'
commitusingapi: true
branch: main
branch: '{{ .scm.branch }}'
Comment thread
v1v marked this conversation as resolved.
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:
Comment thread
v1v marked this conversation as resolved.
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,21 @@ 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+'
update-runner-test-go:
name: "Update pkg/testing/runner/runner_test.go"
Comment thread
v1v marked this conversation as resolved.
Outdated
sourceid: latestGoVersion
scmid: githubConfig
kind: file
spec:
file: pkg/testing/runner/runner_test.go
matchpattern: '(GOVersion):(\s+)("\d+.\d+.\d+")'
replacepattern: '$1:$2"{{ source "latestGoVersion" }}"'
Comment thread
v1v marked this conversation as resolved.
Outdated