Skip to content

Allow snapshot stack versions to query EPR for serverless #1484

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

Merged
merged 1 commit into from
Oct 4, 2023

Conversation

mrodm
Copy link
Contributor

@mrodm mrodm commented Oct 3, 2023

This PR allows to use stack SNAPSHOT versions. In order to query to EPR (Elastic Package Registry), it removes the SNAPSHOT prefix for the kibana.version query parameter.

Currently, if a SNAPSHOT version is used , for instance 8.11.0-SNAPSHOT, elastic-package fails creating the agent policy, because it does not find any system package:

 $ elastic-package stack up -v -d --version 8.11.0-SNAPSHOT --provider serverless
...
2023/10/03 18:28:05  INFO Creating agent policy
Error: booting up the stack failed: failed to create agent policy: unexpected number of system package versions - found 0 expected 1

@mrodm mrodm requested a review from a team October 3, 2023 16:44
@mrodm mrodm self-assigned this Oct 3, 2023
@mrodm mrodm force-pushed the allow_stack_snapshot_serverless branch from edcb26c to 760aa08 Compare October 3, 2023 17:06
@mrodm mrodm marked this pull request as ready for review October 3, 2023 17:27
@elasticmachine
Copy link
Collaborator

💚 Build Succeeded

History

cc @mrodm

@mrodm mrodm changed the title Allow snapshot stack versions to query EPR Allow snapshot stack versions to query EPR for serverless Oct 4, 2023
@mrodm mrodm merged commit 47677f1 into elastic:main Oct 4, 2023
@mrodm mrodm deleted the allow_stack_snapshot_serverless branch October 4, 2023 08:13
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants