-
Notifications
You must be signed in to change notification settings - Fork 4.9k
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
[bug][Elastic Agent] Fix endpoint constraint to enable arm64 #28677
[bug][Elastic Agent] Fix endpoint constraint to enable arm64 #28677
Conversation
This pull request doesn't have a |
💚 Build Succeeded
Expand to view the summary
Build stats
Test stats 🧪
💚 Flaky test reportTests succeeded. 🤖 GitHub commentsTo re-run your PR in the CI, just comment with:
|
@@ -113,3 +113,5 @@ inputs: | |||
network: true | |||
runtime: | |||
arch: arm64 | |||
family: redhat |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I'm not familiar with this spec, what does this section do?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
this is a test file for testing endpoint will not be installed with certain runtime fields. this is used in TestConfiguration
test in x-pack/elastic-agent/pkg/agent/program/program_test.go
see this change: https://github.com/elastic/beats/pull/27256/files#diff-baae09041516b8dab23e04ea74951edf4683919de0e2e35500158fe99fde088b
we populate these runtime fields based on env agent is running on so we can work with it within contraints or elsewhere in a program spec file
test failures not related. i need to push this |
…#28691) [bug][Elastic Agent] Fix endpoint constraint to enable arm64 (#28677) (cherry picked from commit 8562134) Co-authored-by: Michal Pristas <[email protected]>
…#28677) [bug][Elastic Agent] Fix endpoint constraint to enable arm64 (elastic#28677)
…#28692) [bug][Elastic Agent] Fix endpoint constraint to enable arm64 (#28677) (cherry picked from commit 8562134) Co-authored-by: Michal Pristas <[email protected]>
What does this PR do?
Constraint logic was a bit incorrect this PR makes it simpler to read and correct
Why is it important?
Fixes: #28442
Checklist
CHANGELOG.next.asciidoc
orCHANGELOG-developer.next.asciidoc
.