-
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
[CI] Enable packaging with Pipeline 2.0 #23854
Conversation
💚 Build Succeeded
Expand to view the summary
Build stats
Test stats 🧪
Trends 🧪💚 Flaky test reportTests succeeded. Expand to view the summary
Test stats 🧪
|
//'linux/s390x', | ||
'windows/amd64', | ||
'windows/386', | ||
(params.macos ? '' : 'darwin/amd64'), |
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.
Let's see what we do with this
@@ -0,0 +1,18 @@ | |||
when: |
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 new step, though there is no build in place yet but the packaging itself.
…d with gitCheckout)
This reverts commit 0174527.
Does this change mean the With this change, will we run all E2E tests? E.g. if I modify filebeat, will metricbeat packaing or auditbeat E2E test be able to mark my PR as failed? Regarding running packaging automatically. I would expect that packaging jobs are run when any magefile, Makfile, dev-tools or scripts directory is touched in a PR. |
Exactly, if the concern is regarding the E2E flakiness, I think there were a couple of issues here:
This particular approach will help to detect earlier any broken changes before any merges. cc @mdelapenya as he can clarify the above.
No, E2E will only run for those beats that got E2E to run and only if the changes are related to that particular beat. In other words, if you modify
Both systems will coexist and eventually we will move to this approach. The more couple the build/test/packaging/e2e stages are the sooner we can find regressions/bugs on a PR basis. The current approach for every commit in the
If no packaging and E2E are executed after a few commits, then it means the E2E might not detect regressions and the git bisect between the last successful In order to help with the analysis, we want to shift left all the validations that run by default in any branch. And ensure those validations are synchronous, and move away from the perception that merging on a broken branch does not produce slowness to everyone. In a nutshell, this process does nothing but validating the build/test/cross-compile/ing-testing/packaging/e2e in parallel for the specific beat. Therefore it's similar what we got already in place but with the addition of the packaging, the e2e will only happen if there is something configured for that particular beat. |
+1 on running packaging, E2E and tests in parallel. When testing branches, no tests should be excluded.
Again +1 for always running all CI on master and release/development branches. This also shows shortcomming in alerting. We should be able to build from master and 7.x at any time. If builds go red, the sirens should turn on. No packages for 3 days without anyone investigating for 3 workdays is unacceptable. We introduced a Build Manager Rotation last week having Beats developers help in analyzing and fixing tests. Are we missing discoverability/alerting?
+1 on testing only based on related changes. If I modify filebeat, will x-pack/filebeat packaging and E2E tests be run as well? In general there are serious issues in the process that need to be addressed. Not just during PRs but regular alerting as well, and us getting active. I see how the approach can help, but given that CI is not as stable as it should be yet, I worry about running everything on each PR potentially affecting the developer experience negatively, as we will need to run more things in parallel and increase the amount of sometimes unrelated tests that must pass. |
Pinging @elastic/ingest-management (Team:Ingest Management) |
What does this PR do?
Proposal to run the packaging in parallel on a PR basis.
See the follow ups section regarding what are the different areas that could be done in the future.
Why is it important?
Split the packaging per beat in order to validate them on a PR basis.
Tasks
Follow ups
Issues
Requires #23960
Caused elastic/e2e-testing#705