Skip to content

[8.18] (backport #8352) [CI] Stable stack version override #8538

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
wants to merge 4 commits into
base: 8.18
Choose a base branch
from

Conversation

mergify[bot]
Copy link
Contributor

@mergify mergify bot commented Jun 16, 2025

What does this PR do?

Pin ESS images versions in create_deployment_csp_configuration.yaml.
Creates a new UpdateCLI pipeline that updates the .create_deployment_csp_configuration.yaml every day for every active branch if there's a new stable snapshot available.

Tested it on my fork for main and 9.0
Example PRs for main and 9.0

Why is it important?

Checklist

  • I have read and understood the pull request guidelines of this project.
  • My code follows the style guidelines of this project
  • I have commented my code, particularly in hard-to-understand areas
  • I have made corresponding changes to the documentation
  • I have made corresponding change to the default configuration files
  • I have added tests that prove my fix is effective or that my feature works
  • I have added an entry in ./changelog/fragments using the changelog tool
  • I have added an integration test or an E2E test

Disruptive User Impact

How to test this PR locally

Related issues

Questions to ask yourself

  • How are we going to support this in production?
  • How are we going to measure its adoption?
  • How are we going to debug this?
  • What are the metrics I should take care of?
  • ...

This is an automatic backport of pull request #8352 done by [Mergify](https://mergify.com).

* [CI] Stable stack version override

* Update stable version

* Added UpdateCLI config

* Added UpdateCLI config

* Applied proposed changes

* Update branch filter

* Update branch filter

* Added th action

* Improved PR description

* improve PR message

* Pin version in create_deployment_csp_configuration

* Added control plane team label

* Remove redundant :

* Applied proposed changes

* Update test_infra/ess/deployment.tf

Co-authored-by: Victor Martinez <[email protected]>

* Added fallback to stack_version for docker images

* build to .build

* Added pipelineid and force

* force: false

* Enabled automerge

---------

Co-authored-by: Victor Martinez <[email protected]>
(cherry picked from commit e728b39)

# Conflicts:
#	pkg/testing/ess/create_deployment_csp_configuration.yaml
@mergify mergify bot added backport conflicts There is a conflict in the backported pull request labels Jun 16, 2025
@mergify mergify bot requested review from a team as code owners June 16, 2025 15:23
@mergify mergify bot added the conflicts There is a conflict in the backported pull request label Jun 16, 2025
@mergify mergify bot assigned pazone Jun 16, 2025
@mergify mergify bot added the backport label Jun 16, 2025
Copy link
Contributor Author

mergify bot commented Jun 16, 2025

Cherry-pick of e728b39 has failed:

On branch mergify/bp/8.18/pr-8352
Your branch is up to date with 'origin/8.18'.

You are currently cherry-picking commit e728b39b5.
  (fix conflicts and run "git cherry-pick --continue")
  (use "git cherry-pick --skip" to skip this patch)
  (use "git cherry-pick --abort" to cancel the cherry-pick operation)

Changes to be committed:
	new file:   .ci/updatecli/updatecli-bump-stack-version.yml
	new file:   .github/workflows/bump-stable-snapshot.yml
	modified:   test_infra/ess/deployment.tf
	new file:   test_infra/ess/readme.md

Unmerged paths:
  (use "git add <file>..." to mark resolution)
	both modified:   pkg/testing/ess/create_deployment_csp_configuration.yaml

To fix up this pull request, you can check it out locally. See documentation: https://docs.github.com/en/pull-requests/collaborating-with-pull-requests/reviewing-changes-in-pull-requests/checking-out-pull-requests-locally

@mergify mergify bot requested review from swiatekm and pchila and removed request for a team June 16, 2025 15:23
@mergify mergify bot mentioned this pull request Jun 16, 2025
8 tasks
pazone
pazone previously approved these changes Jun 16, 2025
@pazone pazone enabled auto-merge (squash) June 16, 2025 15:43
@v1v v1v disabled auto-merge June 16, 2025 15:44
---
name: Bump ESS snapshots

pipelineid: 'bump-ess-snapshot-{{ requiredEnv "BRANCH" }}'
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

The fix is required in main but likely we can fix it here for the backports

Suggested change
pipelineid: 'bump-ess-snapshot-{{ requiredEnv "BRANCH" }}'
pipelineid: 'bump-ess-snapshot-{{ requiredEnv "BRANCH_NAME" }}'

@pazone pazone removed the conflicts There is a conflict in the backported pull request label Jun 16, 2025
@pazone pazone self-requested a review June 16, 2025 17:38
pazone
pazone previously approved these changes Jun 16, 2025
Copy link

@elasticmachine
Copy link
Collaborator

elasticmachine commented Jun 18, 2025

@pierrehilbert pierrehilbert added the Team:Elastic-Agent-Data-Plane Label for the Agent Data Plane team label Jun 18, 2025
@elasticmachine
Copy link
Collaborator

Pinging @elastic/elastic-agent-data-plane (Team:Elastic-Agent-Data-Plane)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants