ci(ff): support feature freeze automation#6584
Draft
v1v wants to merge 7 commits intoelastic:mainfrom
Draft
Conversation
Contributor
|
This pull request is now in conflicts. Could you fix it @v1v? 🙏 |
Member
Author
$ export PROJECT_OWNER="v1v"
export CURRENT_RELEASE="9.5.0"
export GITHUB_TOKEN=$(gh auth token)
export DRY_RUN=true
# Dry run first
mage release:runMajorMinor
🔍 DRY RUN MODE - No changes will be pushed
🚀 Starting major/minor release workflow for 9.5.0
Step 1: Preparing release files...
Preparing major/minor release for version 9.5.0
✓ Updated version to 9.5.0 in version/version.go
✓ Added backport rule for 9.5 to .mergify.yml
✓ Major/minor release preparation complete
Next steps:
1. Review changes: git diff
2. Create branch: mage release:createBranch
3. Create PR: mage release:createPR
Step 2: Creating release branch...
Creating release branch: 9.5
[DRY RUN] Would create branch 9.5 and commit changes
[DRY RUN] Would push to remote: origin
Step 3: Creating pull request...
[DRY RUN] Would create PR:
Title: [Release] 9.5.0
Head: 9.5
Base: main
✅ Major/minor release workflow complete for 9.5.0diff --git a/.mergify.yml b/.mergify.yml
index 67c6b8cf..031cefdf 100644
--- a/.mergify.yml
+++ b/.mergify.yml
@@ -270,3 +270,11 @@ pull_request_rules:
backport:
branches:
- "9.3"
+ - name: backport patches to 9.5 branch
+ conditions:
+ - merged
+ - label=backport-9.5
+ actions:
+ backport:
+ branches:
+ - "9.5"
diff --git a/version/version.go b/version/version.go
index f9febdb6..95b14148 100644
--- a/version/version.go
+++ b/version/version.go
@@ -6,4 +6,4 @@ package version
// DefaultVersion is the current release version of Fleet-server, this version must match the
// Elastic Agent version.
-const DefaultVersion = "9.4.0"
+const DefaultVersion = "9.5.0"Patch$ export PROJECT_OWNER="v1v"
export CURRENT_RELEASE="9.3.3"
export GITHUB_TOKEN=$(gh auth token)
export DRY_RUN=true
# Dry run first
mage release:runPatch
🔍 DRY RUN MODE - No changes will be pushed
🚀 Starting patch release workflow for 9.3.3
Preparing patch release files...
Preparing patch release for version 9.3.3
✓ Updated version to 9.3.3 in version/version.go
✓ Patch release preparation complete
✅ Patch release workflow complete for 9.3.3
Review changes and commit to the release branchI used diff --git a/version/version.go b/version/version.go
index f9febdb6..5408abfe 100644
--- a/version/version.go
+++ b/version/version.go
@@ -6,4 +6,4 @@ package version
// DefaultVersion is the current release version of Fleet-server, this version must match the
// Elastic Agent version.
-const DefaultVersion = "9.4.0"
+const DefaultVersion = "9.3.3" |
Member
|
Buildkite test this |
Contributor
|
This pull request is now in conflicts. Could you fix it @v1v? 🙏 |
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.
What is the problem this PR solves?
This PR migrates the fleet-server release automation from Makefile-based scripts to a pure Go implementation using Mage, eliminating all external tool dependencies.
✨ Key Features
How does this PR solve the problem?
Move away from centralised approach but support the FF automation as part of #6343
How to test this PR locally
Design Checklist
Checklist
./changelog/fragmentsusing the changelog toolRelated issues
Auotmate releases like https://github.com/elastic/fleet-server/issues?q=sort%3Aupdated-desc%20state%3Aclosed%20label%3Arelease