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

Add an upgrade integration test upgrading to the PR build #4560

Open
AndersonQ opened this issue Apr 10, 2024 · 2 comments
Open

Add an upgrade integration test upgrading to the PR build #4560

AndersonQ opened this issue Apr 10, 2024 · 2 comments
Assignees
Labels
enhancement New feature or request estimation:Week Task that represents a week of work. Team:Elastic-Agent Label for the Agent team Testing

Comments

@AndersonQ
Copy link
Member

AndersonQ commented Apr 10, 2024

Describe the enhancement:

The integration test should install and enroll the latest official release Elastic Agent, then upgrade it to the agent built from the PR.

The following is required:

  • Sing the agent package built from the PR. (use pgptest.Sing
  • Setup a http server serving the ASCII armoured public key used to sign the agent artifact.
  • setup a http server to serve the agent binary, its signature and checksum file for the upgrade
  • configure the policy to use the custom agent download binary URL

Describe a specific use case for the enhancement or feature:

To test the migration of the state store during upgrade

What is the definition of done?

The test is created and successfully runs together with the current integration tests

@AndersonQ AndersonQ self-assigned this Apr 10, 2024
@AndersonQ AndersonQ added enhancement New feature or request Testing estimation:Week Task that represents a week of work. labels Apr 10, 2024
@AndersonQ
Copy link
Member Author

@pierrehilbert, @cmacknz as we discussed in the weekly, I created this issue for the new upgrade test

@elasticmachine
Copy link
Collaborator

Pinging @elastic/elastic-agent (Team:Elastic-Agent)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request estimation:Week Task that represents a week of work. Team:Elastic-Agent Label for the Agent team Testing
Projects
None yet
Development

No branches or pull requests

3 participants