Skip to content

Conversation

@github-actions
Copy link
Contributor

These files are used for picking the starting (pre-upgrade) or ending (post-upgrade) agent versions in upgrade integration tests.

The content is based on responses from https://www.elastic.co/api/product_versions and https://snapshots.elastic.co

The current update is generated based on the following requirements:

.package-version

{
  "version": "9.2.2-SNAPSHOT",
  "build_id": "9.2.2-8ab89cb9",
  "manifest_url": "https://snapshots.elastic.co/9.2.2-8ab89cb9/manifest-9.2.2-SNAPSHOT.json",
  "summary_url": "https://snapshots.elastic.co/9.2.2-8ab89cb9/summary-9.2.2-SNAPSHOT.html",
  "core_version": "9.2.2",
  "stack_build_id": "9.2.2-8ab89cb9-SNAPSHOT"
}

testing/integration/testdata/.upgrade-test-agent-versions.yml

{
  "UpgradeToVersion": "9.2.2",
  "CurrentMajors": 1,
  "PreviousMajors": 1,
  "PreviousMinors": 2,
  "SnapshotBranches": [
    "9.2",
    "9.1",
    "8.19",
    "7.17"
  ]
}

These files are used for picking the starting (pre-upgrade) or ending (post-upgrade) agent versions in upgrade integration tests.

The content is based on responses from https://www.elastic.co/api/product_versions and https://snapshots.elastic.co

The current update is generated based on the following requirements:

`.package-version`

```json
{
  "version": "9.2.2-SNAPSHOT",
  "build_id": "9.2.2-8ab89cb9",
  "manifest_url": "https://snapshots.elastic.co/9.2.2-8ab89cb9/manifest-9.2.2-SNAPSHOT.json",
  "summary_url": "https://snapshots.elastic.co/9.2.2-8ab89cb9/summary-9.2.2-SNAPSHOT.html",
  "core_version": "9.2.2",
  "stack_build_id": "9.2.2-8ab89cb9-SNAPSHOT"
}
```

`testing/integration/testdata/.upgrade-test-agent-versions.yml`

```json
{
  "UpgradeToVersion": "9.2.2",
  "CurrentMajors": 1,
  "PreviousMajors": 1,
  "PreviousMinors": 2,
  "SnapshotBranches": [
    "9.2",
    "9.1",
    "8.19",
    "7.17"
  ]
}
```
@github-actions github-actions bot requested a review from a team as a code owner November 23, 2025 00:38
@github-actions github-actions bot added Team:Elastic-Agent-Control-Plane Label for the Agent Control Plane team Team:Elastic-Agent Label for the Agent team backport-skip skip-changelog update-versions Updates to the agent versions file labels Nov 23, 2025
@github-actions github-actions bot removed the request for review from a team November 23, 2025 00:38
@elasticmachine
Copy link
Contributor

Pinging @elastic/elastic-agent (Team:Elastic-Agent)

@elasticmachine
Copy link
Contributor

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

@pierrehilbert pierrehilbert merged commit 886af87 into 9.2 Nov 23, 2025
12 checks passed
@pierrehilbert pierrehilbert deleted the update/9.2-update-agent-versions-19603407530 branch November 23, 2025 16:05
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.

3 participants