Skip to content
Open
Changes from all 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
8 changes: 6 additions & 2 deletions .ci/updatecli/updatecli-bump-kube-stack.yml
Original file line number Diff line number Diff line change
Expand Up @@ -41,7 +41,11 @@ sources:
kind: file
spec:
file: "testing/integration/k8s/k8s.go"
matchpattern: 'KubeStackChartVersion\s*=\s"(.*)"'
transformers:
- findsubmatch:
pattern: 'KubeStackChartVersion\s*=\s*"(.*)"'
# This tells Updatecli to only keep the 1st capture group
captureindex: 1

conditions:
is-new-version:
Expand All @@ -60,7 +64,7 @@ targets:
sourceid: opentelemetry-kube-stack-helm
spec:
file: "testing/integration/k8s/k8s.go"
matchpattern: '(KubeStackChartVersion\s*=\s)".*"'
matchpattern: '(KubeStackChartVersion\s*=\s*)".*"'
replacepattern: '$1"{{ source "opentelemetry-kube-stack-helm" }}"'

update-testdata:
Expand Down