Skip to content

Commit fab19b6

Browse files
apmmachinecmacknzrdner
authored
[main][Automation] Update .agent-versions.json (#4535)
This file is used for picking agent versions in integration tests. The file's 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: ```json { "UpgradeToVersion": "8.14.0", "CurrentMajors": 2, "PreviousMajors": 1, "PreviousMinors": 1, "SnapshotBranches": [ "8.13", "8.12", "7.17" ] } ``` * Test 8.12.2 instead of 8.13.0 * Change version requirements to match the manual selection --------- Co-authored-by: apmmachine <apmmachine@users.noreply.github.com> Co-authored-by: Craig MacKenzie <craig.mackenzie@elastic.co> Co-authored-by: Denis Rechkunov <denis.rechkunov@elastic.co>
1 parent 43cb148 commit fab19b6

File tree

2 files changed

+6
-6
lines changed

2 files changed

+6
-6
lines changed

.agent-versions.json

+4-4
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,10 @@
11
{
22
"testVersions": [
3-
"8.13.0-SNAPSHOT",
3+
"8.13.2-SNAPSHOT",
4+
"8.13.1",
45
"8.12.3-SNAPSHOT",
56
"8.12.2",
6-
"8.12.1",
7-
"7.17.19-SNAPSHOT",
8-
"7.17.18"
7+
"7.17.20-SNAPSHOT",
8+
"7.17.19"
99
]
1010
}

magefile.go

+2-2
Original file line numberDiff line numberDiff line change
@@ -1606,8 +1606,8 @@ func (Integration) UpdateVersions(ctx context.Context) error {
16061606

16071607
reqs := upgradetest.VersionRequirements{
16081608
UpgradeToVersion: bversion.Agent,
1609-
CurrentMajors: 2,
1610-
PreviousMinors: 1,
1609+
CurrentMajors: 1,
1610+
PreviousMinors: 2,
16111611
PreviousMajors: 1,
16121612
SnapshotBranches: branches,
16131613
}

0 commit comments

Comments
 (0)