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

Run BK exhaustive pipeline when code is pushed #15738

Merged
merged 3 commits into from
Jan 10, 2024

Conversation

dliappis
Copy link
Contributor

@dliappis dliappis commented Jan 2, 2024

Release notes

[rn:skip]

What does this PR do?

As we are close to sunsetting Jenkins by completing the exhaustive tests Buildkite pipeline, it makes sense to start already running the existing phases (testing and compatibility).

This commit defines the trigger to be code events, i.e. direct pushes and merge commits, similar to what we currently have in Jenkins.

Why is it important/What is the impact to the user?

It allows us to gradually remove the corresponding phases from Jenkins to reduce CI duplication.
This will be especially useful when merging #15696 as the change is incompatible with Jenkins.

How to test this PR locally

An example build triggered manually can be found in https://buildkite.com/elastic/logstash-exhaustive-tests-pipeline/builds/49#_
Unfortunately Windows tests will fail due to #15562

Related issues

As we are close to sunsetting Jenkins by completing the
exhaustive tests Buildkite pipeline, it makes sense to start
already running the exhisting phases (testing and compatibility).

This commit defines the trigger to be code events, i.e. direct pushes
and merge commits, similar to what we currently have in Jenkins.
@dliappis dliappis added the ci label Jan 2, 2024
@dliappis dliappis requested a review from jsvd January 2, 2024 15:51
@dliappis dliappis self-assigned this Jan 2, 2024
build_branches: true
build_pull_request_forks: false
build_pull_requests: false
build_tags: false
Copy link
Contributor Author

Choose a reason for hiding this comment

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

conversely, I felt that we don't need to trigger this pipeline when we push tags.

Copy link
Member

Choose a reason for hiding this comment

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

Agreed, not for tags.

@dliappis
Copy link
Contributor Author

dliappis commented Jan 3, 2024

@elasticmachine run elasticsearch-ci/docs

@dliappis dliappis force-pushed the trigger-exhaustive-tests branch 3 times, most recently from bec791a to 9204c09 Compare January 9, 2024 14:01
@dliappis dliappis force-pushed the trigger-exhaustive-tests branch from 9204c09 to 6a2f84f Compare January 9, 2024 14:31
@dliappis
Copy link
Contributor Author

dliappis commented Jan 9, 2024

@jsvd I addressed your comment (about skipping on docs changes). This is an example (manually triggered) build: https://buildkite.com/elastic/logstash-exhaustive-tests-pipeline/builds/56

Regarding the other comments we are aligned and no further changes are needed. Please take another look when you can.

Copy link

Quality Gate passed Quality Gate passed

Kudos, no new issues were introduced!

0 New issues
0 Security Hotspots
No Coverage information No data about Coverage
No Duplication information No data about Duplication

See analysis details on SonarQube

@elasticmachine
Copy link
Collaborator

elasticmachine commented Jan 9, 2024

💛 Build succeeded, but was flaky

Failed CI Steps

History

cc @dliappis

Copy link
Member

@jsvd jsvd 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 merged commit c8726b7 into elastic:main Jan 10, 2024
5 checks passed
@dliappis
Copy link
Contributor Author

@logstashmachine backport 8.12

github-actions bot pushed a commit that referenced this pull request Jan 10, 2024
This commit enables running the exhaustive tests Buildkite pipeline
(i.e. the equivalent to the `main` Jenkins tests) ; the trigger is
code events, i.e. direct pushes, merge commits and creation of new branches.

CI is skipped if changes are only related to files under `docs/`.

(cherry picked from commit c8726b7)
dliappis added a commit to dliappis/logstash that referenced this pull request Jan 10, 2024
This commit enables running the exhaustive tests Buildkite pipeline
(i.e. the equivalent to the `main` Jenkins tests) ; the trigger is
code events, i.e. direct pushes, merge commits and creation of new branches.

CI is skipped if changes are only related to files under `docs/`.
dliappis added a commit to dliappis/logstash that referenced this pull request Jan 10, 2024
This commit enables running the exhaustive tests Buildkite pipeline
(i.e. the equivalent to the `main` Jenkins tests) ; the trigger is
code events, i.e. direct pushes, merge commits and creation of new branches.

CI is skipped if changes are only related to files under `docs/`.
dliappis added a commit to dliappis/logstash that referenced this pull request Jan 10, 2024
This commit enables running the exhaustive tests Buildkite pipeline
(i.e. the equivalent to the `main` Jenkins tests) ; the trigger is
code events, i.e. direct pushes, merge commits and creation of new branches.

CI is skipped if changes are only related to files under `docs/`.
dliappis added a commit that referenced this pull request Jan 10, 2024
This commit enables running the exhaustive tests Buildkite pipeline
(i.e. the equivalent to the `main` Jenkins tests) ; the trigger is
code events, i.e. direct pushes, merge commits and creation of new branches.

CI is skipped if changes are only related to files under `docs/`.
dliappis added a commit that referenced this pull request Jan 10, 2024
This commit enables running the exhaustive tests Buildkite pipeline
(i.e. the equivalent to the `main` Jenkins tests) ; the trigger is
code events, i.e. direct pushes, merge commits and creation of new branches.

CI is skipped if changes are only related to files under `docs/`.

(cherry picked from commit c8726b7)

Co-authored-by: Dimitrios Liappis <[email protected]>
dliappis added a commit that referenced this pull request Jan 10, 2024
This commit enables running the exhaustive tests Buildkite pipeline
(i.e. the equivalent to the `main` Jenkins tests) ; the trigger is
code events, i.e. direct pushes, merge commits and creation of new branches.

CI is skipped if changes are only related to files under `docs/`.

(cherry picked from commit c8726b7)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants