Skip to content
Merged
Show file tree
Hide file tree
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
9 changes: 5 additions & 4 deletions config/versions.yml
Original file line number Diff line number Diff line change
@@ -1,4 +1,6 @@
versioning_systems:
# This file contains the version numbers for various Elastic products and tools.
# Updates for Stack versions are manual
stack: &stack
base: 9.0
current: 9.1.0
Expand All @@ -9,7 +11,8 @@ versioning_systems:
base: 99999
current: 99999

# deployment types
# Deployment types
# Ece version updates are manual
ece:
base: 4.0
current: 4.1
Expand All @@ -19,16 +22,14 @@ versioning_systems:
current: 3.0
ess: *all
self: *stack

# things that i don't know about
ecctl:
base: 1.0
current: 1.15
curator:
base: 8.0
current: 8.21

# serverless
# Serverless
serverless: *all
elasticsearch: *all
observability: *all
Expand Down
47 changes: 24 additions & 23 deletions updatecli/updatecli.d/versions.yml
Original file line number Diff line number Diff line change
Expand Up @@ -21,23 +21,24 @@ actions:
spec:
automerge: false
labels:
- dependencies
- chore
title: '[Automation] Bump product version numbers'

sources:
latest-stack-version:
name: Get latest stack version
kind: githubrelease
transformers:
- trimprefix: v
spec:
owner: elastic
repository: elasticsearch
token: '{{ requiredEnv "GITHUB_TOKEN" }}'
username: '{{ requiredEnv "GITHUB_ACTOR" }}'
versionfilter:
kind: regex
pattern: "v9.(\\d*).(\\d*)$"
# TODO Automate only for patch releases
# latest-stack-version:
# name: Get latest stack version
# kind: githubrelease
# transformers:
# - trimprefix: v
# spec:
# owner: elastic
# repository: elasticsearch
# token: '{{ requiredEnv "GITHUB_TOKEN" }}'
# username: '{{ requiredEnv "GITHUB_ACTOR" }}'
# versionfilter:
# kind: regex
# pattern: "v9.(\\d*).(\\d*)$"

latest-edot-android-version:
name: Get latest release version for the apm-agent-android
Expand Down Expand Up @@ -291,15 +292,15 @@ sources:
pattern: "^@elastic/apm-rum@(\\d*).(\\d*).(\\d*)$"

targets:
update-docs-docset-stack:
name: 'Update config/versions.yml stack {{ source "latest-stack-version" }}'
scmid: githubConfig
sourceid: latest-stack-version
kind: file
spec:
file: config/versions.yml
matchpattern: '(stack: &stack\s+base: [\d\.]+\s+current:)\s+(.+)'
replacepattern: '$1 {{ source "latest-stack-version" }}'
# update-docs-docset-stack:
# name: 'Update config/versions.yml stack {{ source "latest-stack-version" }}'
# scmid: githubConfig
# sourceid: latest-stack-version
# kind: file
# spec:
# file: config/versions.yml
# matchpattern: '(stack: &stack\s+base: [\d\.]+\s+current:)\s+(.+)'
# replacepattern: '$1 {{ source "latest-stack-version" }}'

update-docs-docset-android:
name: 'Update config/versions.yml edot-android {{ source "latest-edot-android-version" }}'
Expand Down
Loading