Skip to content

Conversation

@pkoutsovasilis
Copy link
Contributor

@pkoutsovasilis pkoutsovasilis commented Jul 1, 2025

What does this PR do?

This PR ensures the inclusion of the 8.19 LTS branch in the list of snapshot branches used for upgrade testing in CI. Previously, only a limited number of recent release branches (e.g., 9.x, 7.17) were included. However, since 8.19 is designated as an LTS branch and will be supported for an extended period, this change adds it explicitly - similar to the existing logic for 7.17.

The implementation includes:

  • Dynamically appending 8.19 to the list of snapshot branches if the current agent version is greater than 8.19.
  • Updating testdata/.upgrade-test-agent-versions.yml to reflect the latest 7.17 snapshot version (7.17.30-SNAPSHOT).

Why is it important?

This change ensures that upgrade tests against the 8.19 LTS branch are consistently included in CI pipelines, especially when building agent versions from 9.x onward. It guarantees test coverage against supported upgrade paths and aligns with the long-term support strategy.

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

None. This change only affects internal test version selection logic for CI environments.

How to test this PR locally

mage integration:updateVersions

Related issues

N/A

@pkoutsovasilis pkoutsovasilis self-assigned this Jul 1, 2025
@pkoutsovasilis pkoutsovasilis added Team:Elastic-Agent-Control-Plane Label for the Agent Control Plane team skip-changelog backport-active-all Automated backport with mergify to all the active branches labels Jul 1, 2025
@pkoutsovasilis pkoutsovasilis marked this pull request as ready for review July 2, 2025 06:34
@pkoutsovasilis pkoutsovasilis requested a review from a team as a code owner July 2, 2025 06:34
@elasticmachine
Copy link
Collaborator

Pinging @elastic/elastic-agent-control-plane (Team:Elastic-Agent-Control-Plane)

@elastic-sonarqube
Copy link

@elasticmachine
Copy link
Collaborator

💚 Build Succeeded

History

cc @pkoutsovasilis

@pkoutsovasilis pkoutsovasilis added backport-skip backport-active-all Automated backport with mergify to all the active branches and removed backport-active-all Automated backport with mergify to all the active branches backport-skip labels Jul 2, 2025
@pkoutsovasilis pkoutsovasilis merged commit e629b9e into elastic:main Jul 2, 2025
23 checks passed
@github-actions
Copy link
Contributor

github-actions bot commented Jul 2, 2025

@Mergifyio backport 8.17 8.18 8.19 9.0 9.1

@mergify
Copy link
Contributor

mergify bot commented Jul 2, 2025

backport 8.17 8.18 8.19 9.0 9.1

✅ Backports have been created

mergify bot pushed a commit that referenced this pull request Jul 2, 2025
…ons (#8761)

* ci: always include 8.19 LTS release branch in snapshots of test versions

* update .upgrade-test-agent-versions.yml

(cherry picked from commit e629b9e)

# Conflicts:
#	testing/integration/testdata/.upgrade-test-agent-versions.yml
mergify bot pushed a commit that referenced this pull request Jul 2, 2025
…ons (#8761)

* ci: always include 8.19 LTS release branch in snapshots of test versions

* update .upgrade-test-agent-versions.yml

(cherry picked from commit e629b9e)

# Conflicts:
#	testing/integration/testdata/.upgrade-test-agent-versions.yml
mergify bot pushed a commit that referenced this pull request Jul 2, 2025
…ons (#8761)

* ci: always include 8.19 LTS release branch in snapshots of test versions

* update .upgrade-test-agent-versions.yml

(cherry picked from commit e629b9e)

# Conflicts:
#	testing/integration/testdata/.upgrade-test-agent-versions.yml
mergify bot pushed a commit that referenced this pull request Jul 2, 2025
…ons (#8761)

* ci: always include 8.19 LTS release branch in snapshots of test versions

* update .upgrade-test-agent-versions.yml

(cherry picked from commit e629b9e)

# Conflicts:
#	testing/integration/testdata/.upgrade-test-agent-versions.yml
mergify bot pushed a commit that referenced this pull request Jul 2, 2025
…ons (#8761)

* ci: always include 8.19 LTS release branch in snapshots of test versions

* update .upgrade-test-agent-versions.yml

(cherry picked from commit e629b9e)
pkoutsovasilis added a commit that referenced this pull request Jul 2, 2025
…snapshots of test versions (#8783)

* ci: always include 8.19 LTS release branch in snapshots of test versions (#8761)

* ci: always include 8.19 LTS release branch in snapshots of test versions

* update .upgrade-test-agent-versions.yml

(cherry picked from commit e629b9e)

* fix: update .upgrade-test-agent-versions.yml

---------

Co-authored-by: Panos Koutsovasilis <panos.koutsovasilis@elastic.co>
pkoutsovasilis added a commit that referenced this pull request Jul 2, 2025
…snapshots of test versions (#8782)

* ci: always include 8.19 LTS release branch in snapshots of test versions (#8761)

* ci: always include 8.19 LTS release branch in snapshots of test versions

* update .upgrade-test-agent-versions.yml

(cherry picked from commit e629b9e)

# Conflicts:
#	testing/integration/testdata/.upgrade-test-agent-versions.yml

* fix: resolve conflicts

---------

Co-authored-by: Panos Koutsovasilis <panos.koutsovasilis@elastic.co>
pkoutsovasilis added a commit that referenced this pull request Jul 2, 2025
… snapshots of test versions (#8779)

* ci: always include 8.19 LTS release branch in snapshots of test versions (#8761)

* ci: always include 8.19 LTS release branch in snapshots of test versions

* update .upgrade-test-agent-versions.yml

(cherry picked from commit e629b9e)

# Conflicts:
#	testing/integration/testdata/.upgrade-test-agent-versions.yml

* fix: resolve conflicts

---------

Co-authored-by: Panos Koutsovasilis <panos.koutsovasilis@elastic.co>
pkoutsovasilis added a commit that referenced this pull request Jul 2, 2025
… snapshots of test versions (#8780)

* ci: always include 8.19 LTS release branch in snapshots of test versions (#8761)

* ci: always include 8.19 LTS release branch in snapshots of test versions

* update .upgrade-test-agent-versions.yml

(cherry picked from commit e629b9e)

# Conflicts:
#	testing/integration/testdata/.upgrade-test-agent-versions.yml

* fix: resolve conflicts

---------

Co-authored-by: Panos Koutsovasilis <panos.koutsovasilis@elastic.co>
pkoutsovasilis added a commit that referenced this pull request Jul 2, 2025
… snapshots of test versions (#8781)

* ci: always include 8.19 LTS release branch in snapshots of test versions (#8761)

* ci: always include 8.19 LTS release branch in snapshots of test versions

* update .upgrade-test-agent-versions.yml

(cherry picked from commit e629b9e)

# Conflicts:
#	testing/integration/testdata/.upgrade-test-agent-versions.yml

* fix: resolve conflicts

---------

Co-authored-by: Panos Koutsovasilis <panos.koutsovasilis@elastic.co>
v1v added a commit to v1v/elastic-agent that referenced this pull request Jul 6, 2025
…ng-oblt-cli

* upstream: (37 commits)
  [AutoOps] Add `autoops-es.yml` to Packages (elastic#8728)
  EDOT collector: include the forward connector. (elastic#8753)
  Revert "ci: pin elastic-agent version (elastic#8736)" (elastic#8754)
  bk: retry Start ESS stack for integration tests (elastic#8553)
  Re-enable TestStandaloneUpgradeRollbackOnRestarts on windows (elastic#8718)
  removed reviewers from dependabot.yml (elastic#8709)
  Pass `--header` enrollment option to fleet-server (elastic#8071)
  Add ability for local output configuration to add to policy configuration (elastic#8766)
  Bump up github.com/go-viper/mapstructure/v2 dependency (elastic#8764)
  [Synthetics] Upgrade node to latest lts v20 (elastic#8712)
  [CI] BK Vault plugin for EC access (elastic#8377)
  feat: singleTest mage target for each integration test package (elastic#8691)
  ci: always include 8.19 LTS release branch in snapshots of test versions (elastic#8761)
  build(deps): bump github.com/elastic/mito from 1.19.0 to 1.20.0 (elastic#8755)
  chore: fix elastic-agent helm chart examples (elastic#8765)
  feat: support onboarding-id for kubernetes (elastic#8692)
  [main][Automation] Bump VM Image version to 1751072471 (elastic#8734)
  ci: revert deployment_csp_configuration.yaml to create_deployment_csp_configuration.yaml (elastic#8746)
  kustomize: pin kube-state-metrics version (elastic#8739)
  ci: pin elastic-agent version (elastic#8736)
  ...
v1v added a commit that referenced this pull request Jul 6, 2025
* upstream: (39 commits)
  Fix otel extension status reporting (#8696)
  Refactor user change on service (#8347)
  [AutoOps] Add `autoops-es.yml` to Packages (#8728)
  EDOT collector: include the forward connector. (#8753)
  Revert "ci: pin elastic-agent version (#8736)" (#8754)
  bk: retry Start ESS stack for integration tests (#8553)
  Re-enable TestStandaloneUpgradeRollbackOnRestarts on windows (#8718)
  removed reviewers from dependabot.yml (#8709)
  Pass `--header` enrollment option to fleet-server (#8071)
  Add ability for local output configuration to add to policy configuration (#8766)
  Bump up github.com/go-viper/mapstructure/v2 dependency (#8764)
  [Synthetics] Upgrade node to latest lts v20 (#8712)
  [CI] BK Vault plugin for EC access (#8377)
  feat: singleTest mage target for each integration test package (#8691)
  ci: always include 8.19 LTS release branch in snapshots of test versions (#8761)
  build(deps): bump github.com/elastic/mito from 1.19.0 to 1.20.0 (#8755)
  chore: fix elastic-agent helm chart examples (#8765)
  feat: support onboarding-id for kubernetes (#8692)
  [main][Automation] Bump VM Image version to 1751072471 (#8734)
  ci: revert deployment_csp_configuration.yaml to create_deployment_csp_configuration.yaml (#8746)
  ...
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

backport-active-all Automated backport with mergify to all the active branches skip-changelog Team:Elastic-Agent-Control-Plane Label for the Agent Control Plane team

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants