From 5986702d42e207c35b4c0c2b76fac5a0c76cdbca Mon Sep 17 00:00:00 2001 From: Michal Pristas Date: Mon, 17 Feb 2025 14:08:22 +0100 Subject: [PATCH] pin 9.0 --- magefile.go | 4 ++-- testing/integration/testdata/.upgrade-test-agent-versions.yml | 1 - 2 files changed, 2 insertions(+), 3 deletions(-) diff --git a/magefile.go b/magefile.go index 5bb543abe3..9ab590d17c 100644 --- a/magefile.go +++ b/magefile.go @@ -2033,8 +2033,8 @@ func (Integration) UpdateVersions(ctx context.Context) error { } // -1 because we manually add 7.17 below - if len(branches) > maxSnapshots-1 { - branches = branches[:maxSnapshots-1] + if len(branches) > maxSnapshots-2 { + branches = branches[:maxSnapshots-2] } // it's not a part of this repository, cannot be retrieved with `GetReleaseBranches` diff --git a/testing/integration/testdata/.upgrade-test-agent-versions.yml b/testing/integration/testdata/.upgrade-test-agent-versions.yml index a7d6d3595d..96cba951c3 100644 --- a/testing/integration/testdata/.upgrade-test-agent-versions.yml +++ b/testing/integration/testdata/.upgrade-test-agent-versions.yml @@ -7,7 +7,6 @@ testVersions: - 9.0.0-SNAPSHOT - 8.19.0-SNAPSHOT - - 8.17.3-SNAPSHOT - 8.17.2 - 8.16.4 - 7.17.28-SNAPSHOT