From a2a0d541e3d5cc211435c6571d2f9c29978ec6fb Mon Sep 17 00:00:00 2001 From: Fabrizio Ferri Benedetti Date: Tue, 29 Jul 2025 11:02:03 +0200 Subject: [PATCH 1/5] Make stack manual --- updatecli/updatecli.d/versions.yml | 45 +++++++++++++++--------------- 1 file changed, 23 insertions(+), 22 deletions(-) diff --git a/updatecli/updatecli.d/versions.yml b/updatecli/updatecli.d/versions.yml index a1aec3af8..af5d49285 100644 --- a/updatecli/updatecli.d/versions.yml +++ b/updatecli/updatecli.d/versions.yml @@ -22,22 +22,23 @@ actions: automerge: false labels: - dependencies + - documentation 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*)$" + # 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 @@ -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" }}' From ba2f4aac0d310f195601335a3de6a151ac53b8ec Mon Sep 17 00:00:00 2001 From: Fabrizio Ferri Benedetti Date: Tue, 29 Jul 2025 11:03:55 +0200 Subject: [PATCH 2/5] Keep one label --- updatecli/updatecli.d/versions.yml | 1 - 1 file changed, 1 deletion(-) diff --git a/updatecli/updatecli.d/versions.yml b/updatecli/updatecli.d/versions.yml index af5d49285..1bfe9e519 100644 --- a/updatecli/updatecli.d/versions.yml +++ b/updatecli/updatecli.d/versions.yml @@ -22,7 +22,6 @@ actions: automerge: false labels: - dependencies - - documentation title: '[Automation] Bump product version numbers' sources: From 089fe8294187b514998b71f3807f968ff22b3954 Mon Sep 17 00:00:00 2001 From: Fabrizio Ferri Benedetti Date: Tue, 29 Jul 2025 11:27:25 +0200 Subject: [PATCH 3/5] Replacee label --- updatecli/updatecli.d/versions.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/updatecli/updatecli.d/versions.yml b/updatecli/updatecli.d/versions.yml index 1bfe9e519..4a971c793 100644 --- a/updatecli/updatecli.d/versions.yml +++ b/updatecli/updatecli.d/versions.yml @@ -21,7 +21,7 @@ actions: spec: automerge: false labels: - - dependencies + - chore title: '[Automation] Bump product version numbers' sources: From c8110f4ee8a5d16032e7dcaf6843e69d9c5bad7b Mon Sep 17 00:00:00 2001 From: Fabrizio Ferri Benedetti Date: Tue, 29 Jul 2025 11:31:09 +0200 Subject: [PATCH 4/5] Add comments --- config/versions.yml | 9 +++++---- 1 file changed, 5 insertions(+), 4 deletions(-) diff --git a/config/versions.yml b/config/versions.yml index d68e7fc04..a41e9d02d 100644 --- a/config/versions.yml +++ b/config/versions.yml @@ -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 @@ -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 @@ -19,8 +22,6 @@ versioning_systems: current: 3.0 ess: *all self: *stack - - # things that i don't know about ecctl: base: 1.0 current: 1.15 @@ -28,7 +29,7 @@ versioning_systems: base: 8.0 current: 8.21 - # serverless + # Serverless serverless: *all elasticsearch: *all observability: *all From dd31bf7bf5fad3b6304ca306443103b9a5bf08ea Mon Sep 17 00:00:00 2001 From: Fabrizio Ferri-Benedetti Date: Tue, 29 Jul 2025 11:40:24 +0200 Subject: [PATCH 5/5] Add TODO --- updatecli/updatecli.d/versions.yml | 1 + 1 file changed, 1 insertion(+) diff --git a/updatecli/updatecli.d/versions.yml b/updatecli/updatecli.d/versions.yml index 4a971c793..92c01558a 100644 --- a/updatecli/updatecli.d/versions.yml +++ b/updatecli/updatecli.d/versions.yml @@ -25,6 +25,7 @@ actions: title: '[Automation] Bump product version numbers' sources: + # TODO Automate only for patch releases # latest-stack-version: # name: Get latest stack version # kind: githubrelease