From 3fda88b45ac3f1fc3e0c6fd84b59990db6016bc5 Mon Sep 17 00:00:00 2001 From: "github-actions[bot]" <41898282+github-actions[bot]@users.noreply.github.com> Date: Wed, 23 Oct 2024 21:27:08 +0000 Subject: [PATCH] [main][Automation] Update versions (#5820) 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: 9.0.0 ```json { "UpgradeToVersion": "9.0.0", "CurrentMajors": 1, "PreviousMajors": 1, "PreviousMinors": 2, "SnapshotBranches": [ "8.15", "8.x", "7.17" ] } ``` Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com> Co-authored-by: Denis --- .package-version | 2 +- pkg/testing/ess/create_deployment_request.tmpl.json | 6 ++++-- .../integration/testdata/.upgrade-test-agent-versions.yml | 6 +++--- 3 files changed, 8 insertions(+), 6 deletions(-) diff --git a/.package-version b/.package-version index a8759e74384..c9277c5a601 100644 --- a/.package-version +++ b/.package-version @@ -1 +1 @@ -8.16.0 \ No newline at end of file +9.0.0 \ No newline at end of file diff --git a/pkg/testing/ess/create_deployment_request.tmpl.json b/pkg/testing/ess/create_deployment_request.tmpl.json index 3ef93868708..561b40c9428 100644 --- a/pkg/testing/ess/create_deployment_request.tmpl.json +++ b/pkg/testing/ess/create_deployment_request.tmpl.json @@ -83,7 +83,9 @@ "kibana": { "version": "{{ .request.Version }}", "user_settings_json": { - "xpack.fleet.enableExperimental": ["agentTamperProtectionEnabled"] + "xpack.fleet.enableExperimental": ["agentTamperProtectionEnabled"], + "xpack.fleet.internal.registry.kibanaVersionCheckEnabled": false, + "server.restrictInternalApis": false } } }, @@ -99,4 +101,4 @@ "system_owned": false, "tags": {{ json .request.Tags }} } -} \ No newline at end of file +} diff --git a/testing/integration/testdata/.upgrade-test-agent-versions.yml b/testing/integration/testdata/.upgrade-test-agent-versions.yml index f6e55d7e978..9c54b6dc593 100644 --- a/testing/integration/testdata/.upgrade-test-agent-versions.yml +++ b/testing/integration/testdata/.upgrade-test-agent-versions.yml @@ -6,7 +6,7 @@ testVersions: - 8.16.0-SNAPSHOT - - 8.15.2-SNAPSHOT - - 8.15.1 - - 8.15.0 + - 8.15.3 + - 8.15.3-SNAPSHOT + - 8.15.2 - 7.17.25-SNAPSHOT