ci(ff): support feature freeze automation#49446
Draft
v1v wants to merge 11 commits intoelastic:mainfrom
Draft
Conversation
|
This pull request doesn't have a |
Contributor
🤖 GitHub commentsJust comment with:
|
Contributor
|
This pull request is now in conflicts. Could you fix it? 🙏 |
Member
Author
Test minordry-run mode for minor release$ export PROJECT_OWNER="v1v"
export CURRENT_RELEASE="9.5.0"
export GITHUB_TOKEN=$(gh auth token)
$ DRY_RUN=true mage release:runMajorMinor
=== Starting Major/Minor Release Workflow ===
Creating release branch: 9.5
Created branch: 9.5
Checked out branch: 9.5
Created branch: update-version-9.5.0
Checked out branch: update-version-9.5.0
Updating version files...
Updated version to 9.5.0 in libbeat/version/version.go
Updated libbeat/docs/version.asciidoc
Updated documentation files to version 9.5.0
Created commit: 28c0c7284dce3c6a3ac1cce8791bbf220519fae7
DRY RUN: Skipping push and PR creation
Branches created: 9.5, update-version-9.5.0
Review changes with 'git diff'diff --git a/libbeat/docs/version.asciidoc b/libbeat/docs/version.asciidoc
index 036a42a9b6..1f54ae4d83 100644
--- a/libbeat/docs/version.asciidoc
+++ b/libbeat/docs/version.asciidoc
@@ -1,4 +1,4 @@
-:stack-version: 9.3.0
+:stack-version: 9.5.0
:doc-branch: current
:go-version: 1.25.8
:release-state: unreleased
diff --git a/libbeat/version/version.go b/libbeat/version/version.go
index 4e8082b359..d7d9623d5f 100644
--- a/libbeat/version/version.go
+++ b/libbeat/version/version.go
@@ -18,4 +18,4 @@
// Code generated by dev-tools/set_version
package version
-const defaultBeatVersion = "9.4.0"
+const defaultBeatVersion = "9.5.0"minor release$ export PROJECT_OWNER="v1v"
export CURRENT_RELEASE="9.5.0"
export GITHUB_TOKEN=$(gh auth token)
$ DRY_RUN=false mage release:runMajorMinor
=== Starting Major/Minor Release Workflow ===
Creating release branch: 9.5
Created branch: 9.5
Checked out branch: 9.5
Created branch: update-version-9.5.0
Checked out branch: update-version-9.5.0
Updating version files...
Updated version to 9.5.0 in libbeat/version/version.go
Updated libbeat/docs/version.asciidoc
Updated documentation files to version 9.5.0
Created commit: c86061f3fb25d2efd24513fddce3cf350ec834c5
Checked out branch: 9.5
Pushed branch 9.5 to remote: origin
Checked out branch: update-version-9.5.0
Pushed branch update-version-9.5.0 to remote: origin
Added labels to #17: [release version]
Created PR #17: https://github.com/v1v/beats/pull/17
=== Major/Minor Release Workflow Complete ===
PR created: https://github.com/v1v/beats/pull/17See https://github.com/v1v/beats/branches/all?query=9.5 and v1v#17 |
Member
Author
Test Patchdry-run mode for patch release$ export PROJECT_OWNER="v1v"
export GITHUB_TOKEN=$(gh auth token)
$ DRY_RUN=true BASE_BRANCH="9.3" CURRENT_RELEASE="9.3.4" mage release:runPatch
=== Starting Patch Release Workflow ===
--- Creating PR 1: Docs and Version ---
Created branch: update-docs-version-9.3.4
Checked out branch: update-docs-version-9.3.4
Updated version to 9.3.4 in libbeat/version/version.go
Updated libbeat/docs/version.asciidoc
Updated documentation files to version 9.3.4
Created commit: 55b218568238bc6a2d01aea335b530567c5c1e88
--- Creating PR 2: Test Environment ---
Checked out branch: 9.3
Created branch: update-testing-env-9.3.4
Checked out branch: update-testing-env-9.3.4
Updated test environment files from 9.3.3 to 9.3.4
No test environment changes to commit
DRY RUN: Skipping push and PR creation
Branches created: [update-docs-version-9.3.4]patch release$ DRY_RUN=false BASE_BRANCH="9.3" CURRENT_RELEASE="9.3.4" mage release:runPatch
=== Starting Patch Release Workflow ===
--- Creating PR 1: Version ---
Checked out branch: 9.3
Created branch: update-version-9.3.4
Checked out branch: update-version-9.3.4
Updated version to 9.3.4 in libbeat/version/version.go
Created commit: 5d948b30f12dc42e7a3da31f81ebbde6a32dd964
--- Creating PR 2: Docs ---
Checked out branch: 9.3
Created branch: update-docs-9.3.4
Checked out branch: update-docs-9.3.4
Updated libbeat/docs/version.asciidoc
Updated documentation files to version 9.3.4
Created commit: 1387dcd9c38e538cd5b8be1086cae69de92dec77
--- Creating PR 3: Test Environment ---
Checked out branch: 9.3
Created branch: update-testing-env-9.3.4
Checked out branch: update-testing-env-9.3.4
Updated test environment in testing/environments/latest.yml
Updated test environment files to 9.3.3
Created commit: 32c058637936a070895a2f7713bc0d0a1f17b121
Checked out branch: update-version-9.3.4
Pushed branch update-version-9.3.4 to remote: origin
Checked out branch: update-docs-9.3.4
Pushed branch update-docs-9.3.4 to remote: origin
Checked out branch: update-testing-env-9.3.4
Added labels to #22: [release version]
Created PR #22: https://github.com/v1v/beats/pull/22
Added labels to #23: [release docs]
Created PR #23: https://github.com/v1v/beats/pull/23
Added labels to #24: [release testing]
Created PR #24: https://github.com/v1v/beats/pull/24
Successfully created 3 PRs
=== Patch Release Workflow Complete ===
PR 1: https://github.com/v1v/beats/pull/22
PR 2: https://github.com/v1v/beats/pull/23
PR 3: https://github.com/v1v/beats/pull/24for 9.3.2 it produced
for 9.3.4 it produced |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Proposed commit message
This PR migrates the Beats release automation from Makefile-based scripts to a pure Go implementation using Mage, eliminating all external tool dependencies.
✨ Key Features
Move away from centralised approach but support the FF automation as part of #48811
Checklist
stresstest.shscript to run them under stress conditions and race detector to verify their stability../changelog/fragmentsusing the changelog tool.Disruptive User Impact
Author's Checklist
How to test this PR locally
Related issues
Use cases
Screenshots
Logs