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

[system tests] Add support for systemd option in agent.base_image setting #2066

Merged
merged 2 commits into from
Sep 3, 2024

Conversation

mrodm
Copy link
Contributor

@mrodm mrodm commented Sep 2, 2024

This PR adds support to run system tests using the regular Elastic Agent docker image (e.g. docker.elastic.co/elastic-agent/elastic-agent).

It will take into account the Elastic stack version to use docker.elastic.co/beats/elastic-agent docker image when it is required.

If there is no value defined for agent.base_image or it has the default value, the behaviour would be as it was up to now. It would use the complete image where it is supported.

Changed required in the spec: elastic/package-spec#792

Comment on lines +179 to +181
default:
return selectElasticAgentCompleteImageName(v)
}
Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Keep the same behaviour as it was previously. It means using the complete image whenever it is possible.

@mrodm mrodm requested a review from a team September 2, 2024 16:23
@mrodm mrodm marked this pull request as ready for review September 2, 2024 16:23
@mrodm mrodm enabled auto-merge (squash) September 3, 2024 09:32
@mrodm mrodm merged commit ed0a6dd into elastic:main Sep 3, 2024
3 checks passed
@elasticmachine
Copy link
Collaborator

💚 Build Succeeded

History

cc @mrodm

@mrodm mrodm deleted the add-new-option-agent-baseimage branch September 3, 2024 10:14
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