Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[Testing] Consider using a testing versions file similar to Elastic Agent #3524

Open
ycombinator opened this issue May 6, 2024 · 0 comments
Labels
Team:Elastic-Agent-Control-Plane Label for the Agent Control Plane team

Comments

@ycombinator
Copy link
Contributor

ycombinator commented May 6, 2024

When Fleet Server's version is updated after a release (e.g. #3503), there could be a period of time when stack products of the updated version are not yet available for Fleet Server to use in testing. During this period of time, Fleet Server tests relying on these product versions will fail.

Elastic Agent faced a similar issue and it was decided to resolve it by creating a versions file in the Agent repo and use it do define the list of stack versions that Agent could test against. See:

CI failures examples:

│ Error: failed creating deployment
│
│   with ec_deployment.deployment,
│   on main.tf line 46, in resource "ec_deployment" "deployment":
│   46: resource "ec_deployment" "deployment" {
│
│ api error: 1 error occurred:
│ 	* clusters.cluster_invalid_plan: Version [8.14.1-SNAPSHOT] is not available. Please use one of the available versions (resources.elasticsearch[0].elasticsearch.version)
@ycombinator ycombinator added the Team:Elastic-Agent-Control-Plane Label for the Agent Control Plane team label May 6, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Team:Elastic-Agent-Control-Plane Label for the Agent Control Plane team
Projects
None yet
Development

No branches or pull requests

1 participant