-
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
Trigger the monorepo trigger only on PR #39176
Trigger the monorepo trigger only on PR #39176
Conversation
Signed-off-by: Alexandros Sapranidis <alexandros@elastic.co>
Signed-off-by: Alexandros Sapranidis <alexandros@elastic.co>
Signed-off-by: Alexandros Sapranidis <alexandros@elastic.co>
Signed-off-by: Alexandros Sapranidis <alexandros@elastic.co>
This reverts commit b58e5ce.
Signed-off-by: Alexandros Sapranidis <alexandros@elastic.co>
Signed-off-by: Alexandros Sapranidis <alexandros@elastic.co>
Signed-off-by: Alexandros Sapranidis <alexandros@elastic.co>
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. Left a suggestion for an improvement
@@ -241,7 +306,15 @@ steps: | |||
- BUILDKITE_PULL_REQUEST_BASE_BRANCH=${BUILDKITE_PULL_REQUEST_BASE_BRANCH} | |||
- GITHUB_PR_LABELS=${GITHUB_PR_LABELS} | |||
|
|||
- label: "Triggering Build for Xpack/Winlogbeat" |
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.
should we change the name a bit to help us understand that these aren't PR triggers? Something like:
Triggering merge commit Build for x-pack/winlogbeat
? It might be useful when users look at the BK run view to understand what was is being run?
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.
good suggestion. TBH, I don't know; given that the UI in BK would already be filtered by the branch, being explicit about it in the label seems too much.
We could keep this as is and revisit the labels for all the steps in a follow-up. As part of this work, I noticed other inconsistencies that I chose to avoid fixing here.
Fix the Beats main pipeline to work when running on merge commits on branches as well as pull requests. (cherry picked from commit 272b5c7)
Fix the Beats main pipeline to work when running on merge commits on branches as well as pull requests. (cherry picked from commit 272b5c7)
Fix the Beats main pipeline to work when running on merge commits on branches as well as pull requests. (cherry picked from commit 272b5c7)
Fix the Beats main pipeline to work when running on merge commits on branches as well as pull requests. (cherry picked from commit 272b5c7) Co-authored-by: Alexandros Sapranidis <alexandros@elastic.co>
Fix the Beats main pipeline to work when running on merge commits on branches as well as pull requests. (cherry picked from commit 272b5c7) Co-authored-by: Alexandros Sapranidis <alexandros@elastic.co>
Fix the Beats main pipeline to work when running on merge commits on branches as well as pull requests. (cherry picked from commit 272b5c7) Co-authored-by: Alexandros Sapranidis <alexandros@elastic.co>
Proposed commit message
This PR adjusts the central pipeline to enable running the trigger steps for branches and PRs.
Example build with only triggering for Auditbeat to show that it worked https://buildkite.com/elastic/beats/builds/6353
Proper testing, unfortunately, with BK is done after we merge this.
Signed-off-by: Alexandros Sapranidis alexandros@elastic.co