-
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
Migrate X-PACK Filebeat pipeline to main Beat pipeline #38941
Migrate X-PACK Filebeat pipeline to main Beat pipeline #38941
Conversation
Signed-off-by: Alexandros Sapranidis <[email protected]>
Signed-off-by: Alexandros Sapranidis <[email protected]>
Signed-off-by: Alexandros Sapranidis <[email protected]>
Signed-off-by: Alexandros Sapranidis <[email protected]>
Signed-off-by: Alexandros Sapranidis <[email protected]>
Signed-off-by: Alexandros Sapranidis <[email protected]>
This pull request is now in conflicts. Could you fix it? 🙏
|
…lebeat Signed-off-by: Alexandros Sapranidis <[email protected]>
Signed-off-by: Alexandros Sapranidis <[email protected]>
Signed-off-by: Alexandros Sapranidis <[email protected]>
Signed-off-by: Alexandros Sapranidis <[email protected]>
Signed-off-by: Alexandros Sapranidis <[email protected]>
Signed-off-by: Alexandros Sapranidis <[email protected]>
Signed-off-by: Alexandros Sapranidis <[email protected]>
/test |
Signed-off-by: Alexandros Sapranidis <[email protected]>
/test x-pack/filebeat for aws cloud |
Signed-off-by: Alexandros Sapranidis <[email protected]>
Signed-off-by: Alexandros Sapranidis <[email protected]>
/test x-pack/filebeat for aws cloud |
There are some failures, which I re-triggered, they are known flaky windows tests. |
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.
Mostly LGTM left a few questions
context: "x-pack/filebeat: Windows 11 Unit Tests" | ||
|
||
- group: "x-pack/filebeat Extended Tests" | ||
key: "x-pack-filebeat-extended-tests" |
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.
shouldn't this group be skipped for non pull requests? in Jenkins it is part of the extended group https://github.com/elastic/beats/blob/main/x-pack/filebeat/Jenkinsfile.yml
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.
It is done, but the exception is in the steps not in the group.
This is how it was done with Filebeat.
key: "x-pack-filebeat-extended-tests" | ||
steps: | ||
- label: ":mac: MacOS x86_64 Unit Tests" | ||
if: build.env("BUILDKITE_PULL_REQUEST") == "false" || build.env("GITHUB_PR_LABELS") =~ /.*(macOS|aws).*/ |
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.
if we enable if: build.env("BUILDKITE_PULL_REQUEST") == "false"
at the group level we can remove it from here
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 how we had it for Filebeat as well.
|
||
- label: ":mac: MacOS arm64 Unit Tests" | ||
skip: "https://github.com/elastic/beats/issues/33036" | ||
if: build.env("BUILDKITE_PULL_REQUEST") == "false" || build.env("GITHUB_PR_LABELS") =~ /.*(macOS|aws).*/ |
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.
if we enable if: build.env("BUILDKITE_PULL_REQUEST") == "false"
at the group level we can remove it from here
Signed-off-by: Alexandros Sapranidis <[email protected]>
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.
LGTM
Migrate x-pack filebeat to single pipeline Signed-off-by: Alexandros Sapranidis <[email protected]> (cherry picked from commit fcd4be0) # Conflicts: # .buildkite/scripts/cloud_tests.sh # .buildkite/scripts/common.sh # .buildkite/x-pack/pipeline.xpack.filebeat.yml
Migrate x-pack filebeat to single pipeline Signed-off-by: Alexandros Sapranidis <[email protected]> (cherry picked from commit fcd4be0)
Migrate x-pack filebeat to single pipeline Signed-off-by: Alexandros Sapranidis <[email protected]> (cherry picked from commit fcd4be0)
Migrate x-pack filebeat to single pipeline Signed-off-by: Alexandros Sapranidis <[email protected]>
Migrate x-pack filebeat to single pipeline Signed-off-by: Alexandros Sapranidis <[email protected]>
Migrate x-pack filebeat to single pipeline Signed-off-by: Alexandros Sapranidis <[email protected]>
Migrate x-pack filebeat to single pipeline Signed-off-by: Alexandros Sapranidis <[email protected]>
… pipeline (#39036) * Migrate X-PACK Filebeat pipeline to main Beat pipeline (#38941) Migrate x-pack filebeat to single pipeline Signed-off-by: Alexandros Sapranidis <[email protected]> * Remove darwin arm64 Signed-off-by: Alexandros Sapranidis <[email protected]> * Remove hearbeat Signed-off-by: Alexandros Sapranidis <[email protected]> --------- Signed-off-by: Alexandros Sapranidis <[email protected]> Co-authored-by: Alexandros Sapranidis <[email protected]>
… pipeline (#39037) * Migrate X-PACK Filebeat pipeline to main Beat pipeline (#38941) Migrate x-pack filebeat to single pipeline Signed-off-by: Alexandros Sapranidis <[email protected]> * Fix missed merge conflict Signed-off-by: Alexandros Sapranidis <[email protected]> --------- Signed-off-by: Alexandros Sapranidis <[email protected]> Co-authored-by: Alexandros Sapranidis <[email protected]>
… pipeline (#39044) Migrate x-pack filebeat to single pipeline Signed-off-by: Alexandros Sapranidis <[email protected]> Co-authored-by: Alexandros Sapranidis <[email protected]>
Proposed commit message
Migrating the x-pack filebeat pipeline into the centralized Beats pipelines
Testing
Simple build "default" case
https://buildkite.com/elastic/beats/builds/5731#018ee6f4-2d18-4a97-882b-2aa0d90dfa65
Adding all the labels
https://buildkite.com/elastic/beats/builds/5764
Running cloud tests build
https://buildkite.com/elastic/beats-xpack-filebeat/builds/1655#018eeb54-b690-431f-8d4b-59cd33a9870f
Same build from Jenkins https://beats-ci.elastic.co/blue/organizations/jenkins/Beats%2Fbeats/detail/PR-38941/16/pipeline/2687/
Signed-off-by: Alexandros Sapranidis [email protected]