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

Backport PR #15539 to 7.17: [ci] JDK matrix Buildkite pipelines (part 1) #15556

Merged
merged 1 commit into from
Nov 9, 2023

Conversation

github-actions[bot]
Copy link
Contributor

@github-actions github-actions bot commented Nov 9, 2023

Backport PR #15539 to 7.17 branch, original message:


Release notes

[rn:skip]

What does this PR do?

This commit is the first part of the migration of JDK matrix tests
from Jenkins to Buildkite. There will be two separate pipelines, for
Linux and Windows, and this commit only adds the Linux one.

Linux support is currently limited to Ubuntu 22.04 and 20.04, but
additional operating systems will be added seamlessly outside of the Logstash
repository, via through additional VM images.

Pipeline steps are created dynamically and the underlying script is meant to be
common for Linux and Windows. Windows is currently a stub and
will be added in a follow up PR.

Checklist

  • My code follows the style guidelines of this project
    - [ ] I have commented my code, particularly in hard-to-understand areas
    - [ ] I have made corresponding changes to the documentation
    - [ ] I have made corresponding change to the default configuration files (and/or docker env variables)
  • I have added tests that prove my fix is effective or that my feature works -> see https://buildkite.com/elastic/logstash-linux-jdk-matrix-pipeline/builds/11

How to test this PR locally

Trigger a build by clicking https://buildkite.com/elastic/logstash-linux-jdk-matrix-pipeline#new and using pull/15539/merge in the branch field.

Related issues

Screenshots

When the (Linux) job gets triggered manually, it's paused prompting the user to choose:

image

once that's done, it runs the jobs in groups per "OS-JDK".
The steps are dynamically built and emitted for debugging/reference purposes.
We also display a markdown table per group, with the status of each individual test using annotations like:

image

This commit is the first part of the migration of JDK matrix tests
from Jenkins to Buildkite. There will be two separate pipelines, for
Linux and Windows.

Linux is currently limited to Ubuntu 22.04 and 20.04, but
additional operating systems will be added outside of the Logstash
repository seamlessly through additional VM images.

Steps are created dynamically and the underlying script is meant to be
common for Linux and Windows. Windows is currently a stub and
will be added in a follow up PR.

Relates:

- elastic/ingest-dev#1725
- elastic/ci-agent-images#424

(cherry picked from commit 956bf48)
@elasticmachine
Copy link
Collaborator

💚 Build Succeeded

@dliappis dliappis merged commit 44b6ec5 into 7.17 Nov 9, 2023
@roaksoax roaksoax added the ci label Dec 13, 2023
@jsvd jsvd deleted the backport_15539_7.17 branch March 11, 2024 09:36
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.

3 participants