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

Closed
AndersonQ opened this issue Apr 10, 2024 · 4 comments · Fixed by #5457
Closed

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

AndersonQ opened this issue Apr 10, 2024 · 4 comments · Fixed by #5457
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
Contributor

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

@jlind23
Copy link
Contributor

jlind23 commented Jul 11, 2024

@AndersonQ this has been moved to implementation a couple weeks ago but I do not see any draft PR, what is the current state of it?

@AndersonQ
Copy link
Member Author

Change of priorities, it can be put as ready again

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

Successfully merging a pull request may close this issue.

4 participants