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

Migrate X-PACK Filebeat pipeline to main Beat pipeline #38941

Merged
merged 18 commits into from
Apr 18, 2024

Conversation

alexsapran
Copy link
Contributor

@alexsapran alexsapran commented Apr 15, 2024

Proposed commit message

Migrating the x-pack filebeat pipeline into the centralized Beats pipelines

Testing

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]>
@alexsapran alexsapran added backport-7.17 Automated backport to the 7.17 branch with mergify backport-v8.13.0 Automated backport with mergify Team:Ingest-EngProd labels Apr 15, 2024
@botelastic botelastic bot added needs_team Indicates that the issue/PR needs a Team:* label and removed needs_team Indicates that the issue/PR needs a Team:* label labels Apr 15, 2024
@alexsapran alexsapran changed the title Remove bot trigger Migrate X-PACK Filebeat pipeline to main Beat pipeline Apr 15, 2024
@elasticmachine
Copy link
Collaborator

elasticmachine commented Apr 15, 2024

💚 Build Succeeded

the below badges are clickable and redirect to their specific view in the CI or DOCS
Pipeline View Test View Changes Artifacts preview preview

Expand to view the summary

Build stats

  • Duration: 13 min 19 sec

❕ Flaky test report

No test was executed to be analysed.

🤖 GitHub comments

Expand to view the GitHub comments

To re-run your PR in the CI, just comment with:

  • /test : Re-trigger the build.

  • /package : Generate the packages and run the E2E tests.

  • /beats-tester : Run the installation tests with beats-tester.

  • run elasticsearch-ci/docs : Re-trigger the docs validation. (use unformatted text in the comment!)

Copy link
Contributor

mergify bot commented Apr 16, 2024

This pull request is now in conflicts. Could you fix it? 🙏
To fixup this pull request, you can check out it locally. See documentation: https://help.github.com/articles/checking-out-pull-requests-locally/

git fetch upstream
git checkout -b buildkite/x-pack-filebeat upstream/buildkite/x-pack-filebeat
git merge upstream/main
git push upstream buildkite/x-pack-filebeat

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]>
@alexsapran alexsapran added :Windows macOS Enable builds in the CI for darwin testing arm Enable builds in the CI for ARM testing aws Enable builds in the CI for aws cloud testing labels Apr 16, 2024
@alexsapran
Copy link
Contributor Author

/test

Signed-off-by: Alexandros Sapranidis <[email protected]>
@alexsapran
Copy link
Contributor Author

/test x-pack/filebeat for aws cloud

Signed-off-by: Alexandros Sapranidis <[email protected]>
@alexsapran alexsapran removed the macOS Enable builds in the CI for darwin testing label Apr 17, 2024
@alexsapran
Copy link
Contributor Author

/test x-pack/filebeat for aws cloud

@alexsapran alexsapran marked this pull request as ready for review April 17, 2024 13:23
@alexsapran alexsapran requested a review from a team as a code owner April 17, 2024 13:23
@alexsapran alexsapran requested a review from dliappis April 17, 2024 13:23
@alexsapran
Copy link
Contributor Author

There are some failures, which I re-triggered, they are known flaky windows tests.

Copy link
Contributor

@dliappis dliappis left a 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"
Copy link
Contributor

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

Copy link
Contributor Author

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).*/
Copy link
Contributor

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

Copy link
Contributor Author

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).*/
Copy link
Contributor

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

@alexsapran alexsapran requested a review from dliappis April 17, 2024 15:57
Signed-off-by: Alexandros Sapranidis <[email protected]>
Copy link
Contributor

@dliappis dliappis left a comment

Choose a reason for hiding this comment

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

LGTM

@dliappis dliappis added the backport-v8.14.0 Automated backport with mergify label Apr 18, 2024
@alexsapran alexsapran merged commit fcd4be0 into elastic:main Apr 18, 2024
130 of 139 checks passed
mergify bot pushed a commit that referenced this pull request Apr 18, 2024
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
mergify bot pushed a commit that referenced this pull request Apr 18, 2024
Migrate x-pack filebeat to single pipeline

Signed-off-by: Alexandros Sapranidis <[email protected]>
(cherry picked from commit fcd4be0)
@alexsapran alexsapran added backport-v8.14.0 Automated backport with mergify and removed backport-v8.14.0 Automated backport with mergify labels Apr 18, 2024
mergify bot pushed a commit that referenced this pull request Apr 18, 2024
Migrate x-pack filebeat to single pipeline

Signed-off-by: Alexandros Sapranidis <[email protected]>
(cherry picked from commit fcd4be0)
alexsapran added a commit that referenced this pull request Apr 18, 2024
Migrate x-pack filebeat to single pipeline

Signed-off-by: Alexandros Sapranidis <[email protected]>
alexsapran added a commit that referenced this pull request Apr 18, 2024
Migrate x-pack filebeat to single pipeline

Signed-off-by: Alexandros Sapranidis <[email protected]>
alexsapran added a commit that referenced this pull request Apr 18, 2024
Migrate x-pack filebeat to single pipeline

Signed-off-by: Alexandros Sapranidis <[email protected]>
alexsapran added a commit that referenced this pull request Apr 18, 2024
Migrate x-pack filebeat to single pipeline

Signed-off-by: Alexandros Sapranidis <[email protected]>
alexsapran added a commit that referenced this pull request Apr 19, 2024
… 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]>
alexsapran added a commit that referenced this pull request Apr 19, 2024
… 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]>
alexsapran added a commit that referenced this pull request Apr 19, 2024
… pipeline (#39044)

Migrate x-pack filebeat to single pipeline

Signed-off-by: Alexandros Sapranidis <[email protected]>
Co-authored-by: Alexandros Sapranidis <[email protected]>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
arm Enable builds in the CI for ARM testing aws Enable builds in the CI for aws cloud testing backport-7.17 Automated backport to the 7.17 branch with mergify backport-v8.13.0 Automated backport with mergify backport-v8.14.0 Automated backport with mergify Team:Ingest-EngProd :Windows
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants