Repository navigation
Conversation
|
@copilot review the errors in the linting |
|
This pull request is now in conflicts. Could you fix it? 🙏 |
Minorexport 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 or branches created remotely
=== Starting Major/Minor Release Workflow for 9.5.0 ===
Step 1: Preparing release files...
=== Preparing Major/Minor Release 9.5.0 ===
✓ Updated version to 9.5.0 in version/version.go
✓ Updated version to 9.5.0 in deploy/kubernetes/elastic-agent-managed-kubernetes.yaml
✓ Updated version to 9.5.0 in deploy/kubernetes/elastic-agent-standalone-kubernetes.yaml
✓ Added backport rule for 9.5 to .mergify.yml
✓ All files updated for major/minor release
Step 2: [DRY RUN] Would create release branch and commit
Branch: 9.5
Commit: [Release] Prepare release 9.5.0
Step 3: [DRY RUN] Would push branch to remote
git push origin 9.5
Step 4: [DRY RUN] Would create pull request
Title: [Release 9.5.0] Prepare release branch
Head: 9.5
Base: main
=== Major/Minor Release Workflow Complete ===
⚠️ This was a DRY RUN. Review the changes with 'git diff' and run again without DRY_RUN=truediff --git a/.mergify.yml b/.mergify.yml
index a0cc5c8d5c..d0c688987b 100644
--- a/.mergify.yml
+++ b/.mergify.yml
@@ -1,348 +1,339 @@
+ - actions:
+ backport:
+ branches:
+ - "9.5"
+ conditions:
+ - merged
+ - label=backport-9.5
+ name: backport patches to 9.5 branch
diff --git a/beats b/beats
index eff088939b..11d1fe736b 160000
--- a/beats
+++ b/beats
@@ -1 +1 @@
-Subproject commit eff088939b9a4c2f1616a9b64eb5fe4a3352fea4
+Subproject commit 11d1fe736b330f5293576796b8732289259da0ff
diff --git a/deploy/kubernetes/elastic-agent-managed-kubernetes.yaml b/deploy/kubernetes/elastic-agent-managed-kubernetes.yaml
index e6451393ff..c7bf6ee93e 100644
--- a/deploy/kubernetes/elastic-agent-managed-kubernetes.yaml
+++ b/deploy/kubernetes/elastic-agent-managed-kubernetes.yaml
@@ -34,7 +34,7 @@ spec:
dnsPolicy: ClusterFirstWithHostNet
containers:
- name: elastic-agent
- image: docker.elastic.co/elastic-agent/elastic-agent:9.4.0
+ image: docker.elastic.co/elastic-agent/elastic-agent:9.5.0
env:
# Set to 1 for enrollment into Fleet server. If not set, Elastic Agent is run in standalone mode
- name: FLEET_ENROLL
diff --git a/deploy/kubernetes/elastic-agent-standalone-kubernetes.yaml b/deploy/kubernetes/elastic-agent-standalone-kubernetes.yaml
index 7fbc77540e..f669cfd038 100644
--- a/deploy/kubernetes/elastic-agent-standalone-kubernetes.yaml
+++ b/deploy/kubernetes/elastic-agent-standalone-kubernetes.yaml
@@ -711,7 +711,7 @@ spec:
# Uncomment if using hints feature
#initContainers:
# - name: k8s-templates-downloader
- # image: docker.elastic.co/elastic-agent/elastic-agent:9.4.0
+ # image: docker.elastic.co/elastic-agent/elastic-agent:9.5.0
# command: ['bash']
# args:
# - -c
@@ -723,7 +723,7 @@ spec:
# mountPath: /etc/elastic-agent/inputs.d
containers:
- name: elastic-agent-standalone
- image: docker.elastic.co/elastic-agent/elastic-agent:9.4.0
+ image: docker.elastic.co/elastic-agent/elastic-agent:9.5.0
args: ["-c", "/etc/elastic-agent/agent.yml", "-e"]
env:
# The API Key with access privilleges to connect to Elasticsearch. https://www.elastic.co/guide/en/fleet/current/grant-access-to-elasticsearch.html#create-api-key-standalone-agent
diff --git a/version/version.go b/version/version.go
index c308f7ba8b..bdb3291104 100644
--- a/version/version.go
+++ b/version/version.go
@@ -4,5 +4,5 @@
package version
-const defaultBeatVersion = "9.4.0"
+const defaultBeatVersion = "9.5.0"
const Agent = defaultBeatVersion
$ export PROJECT_OWNER="v1v"
export CURRENT_RELEASE="9.5.1"
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.5.1 ===
Step 1: Verifying current branch...
Step 1: [DRY RUN] Would verify current branch
Step 2: Updating version files...
✓ Updated version to 9.5.1 in version/version.go
✓ Updated version to 9.5.1 in deploy/kubernetes/elastic-agent-managed-kubernetes.yaml
✓ Updated version to 9.5.1 in deploy/kubernetes/elastic-agent-standalone-kubernetes.yaml
Step 3: [DRY RUN] Would commit changes
Commit: [Release] Prepare patch release 9.5.1
Step 4: [DRY RUN] Would push changes to remote
git push origin 9.5
=== Patch Release Workflow Complete ===
⚠️ This was a DRY RUN. Review the changes with 'git diff' and run again without DRY_RUN=true
-Subproject commit eff088939b9a4c2f1616a9b64eb5fe4a3352fea4
+Subproject commit 11d1fe736b330f5293576796b8732289259da0ff
diff --git a/deploy/kubernetes/elastic-agent-managed-kubernetes.yaml b/deploy/kubernetes/elastic-agent-managed-kubernetes.yaml
index e6451393ff..1b98569b75 100644
--- a/deploy/kubernetes/elastic-agent-managed-kubernetes.yaml
+++ b/deploy/kubernetes/elastic-agent-managed-kubernetes.yaml
@@ -34,7 +34,7 @@ spec:
dnsPolicy: ClusterFirstWithHostNet
containers:
- name: elastic-agent
- image: docker.elastic.co/elastic-agent/elastic-agent:9.4.0
+ image: docker.elastic.co/elastic-agent/elastic-agent:9.5.1
env:
# Set to 1 for enrollment into Fleet server. If not set, Elastic Agent is run in standalone mode
- name: FLEET_ENROLL
diff --git a/deploy/kubernetes/elastic-agent-standalone-kubernetes.yaml b/deploy/kubernetes/elastic-agent-standalone-kubernetes.yaml
index 7fbc77540e..6072871ac6 100644
--- a/deploy/kubernetes/elastic-agent-standalone-kubernetes.yaml
+++ b/deploy/kubernetes/elastic-agent-standalone-kubernetes.yaml
@@ -711,7 +711,7 @@ spec:
# Uncomment if using hints feature
#initContainers:
# - name: k8s-templates-downloader
- # image: docker.elastic.co/elastic-agent/elastic-agent:9.4.0
+ # image: docker.elastic.co/elastic-agent/elastic-agent:9.5.1
# command: ['bash']
# args:
# - -c
@@ -723,7 +723,7 @@ spec:
# mountPath: /etc/elastic-agent/inputs.d
containers:
- name: elastic-agent-standalone
- image: docker.elastic.co/elastic-agent/elastic-agent:9.4.0
+ image: docker.elastic.co/elastic-agent/elastic-agent:9.5.1
args: ["-c", "/etc/elastic-agent/agent.yml", "-e"]
env:
# The API Key with access privilleges to connect to Elasticsearch. https://www.elastic.co/guide/en/fleet/current/grant-access-to-elasticsearch.html#create-api-key-standalone-agent
diff --git a/version/version.go b/version/version.go
index c308f7ba8b..e26da47984 100644
--- a/version/version.go
+++ b/version/version.go
@@ -4,5 +4,5 @@
package version
-const defaultBeatVersion = "9.4.0"
+const defaultBeatVersion = "9.5.1"
const Agent = defaultBeatVersion
|
this should help with manipulating the YAML using the YAML golang library
|
buildkite test this |
|
This pull request is now in conflicts. Could you fix it? 🙏 |
1 similar comment
|
This pull request is now in conflicts. Could you fix it? 🙏 |
|
@copilot resolve the merge conflicts in this pull request |
|
Replaced by #15433 |
What does this PR do?
This PR migrates the elastic-agent release automation from Makefile-based scripts to a pure Go implementation using Mage, eliminating all external tool dependencies.
✨ Key Features
Why is it important?
Move away from centralised approach but support the FF automation as part of #12711
Checklist
./changelog/fragmentsusing the changelog toolDisruptive User Impact
How to test this PR locally
Related issues
Questions to ask yourself