Skip to content

Start using 9.x versions of the stack by default #2753

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 1 commit into from
Jul 22, 2025
Merged
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
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ pipelineid: 'bump-elastic-stack-default-version'

actions:
default:
title: '[updatecli] Update default stack version to {{ source "latest8xVersion" }}'
title: '[updatecli] Update default stack version to {{ source "latest9xVersion" }}'
kind: github/pullrequest
scmid: default
spec:
Expand All @@ -25,24 +25,24 @@ scms:
branch: main

sources:
latest8xVersion:
name: Get latest 8.x version
latest9xVersion:
name: Get latest 9.x version
kind: file
transformers:
# Get only the version to avoid spaces and newlines.
- findsubmatch:
pattern: '([0-9\.]+)'
captureindex: 1
spec:
file: https://storage.googleapis.com/artifacts-api/releases/current/8
file: https://storage.googleapis.com/artifacts-api/releases/current/9

targets:
update-default-version:
name: '[updatecli] Update default stack version to {{ source "latest8xVersion" }}'
name: '[updatecli] Update default stack version to {{ source "latest9xVersion" }}'
kind: file
sourceid: latest8xVersion
sourceid: latest9xVersion
scmid: default
spec:
file: internal/install/stack_version.go
matchpattern: '(DefaultStackVersion =) "[^"]+"'
replacepattern: '$1 "{{ source "latest8xVersion" }}"'
replacepattern: '$1 "{{ source "latest9xVersion" }}"'