elasticsearch/.buildkite
Rene Groeschke 599560234f
[Build] Setup artifact signing for maven aggregation content (#130179)
Maven central expects signed artifacts when publishing
2025-06-27 14:24:10 +02:00
..
hooks [Build] Setup artifact signing for maven aggregation content (#130179) 2025-06-27 14:24:10 +02:00
pipelines [Build] Setup artifact signing for maven aggregation content (#130179) 2025-06-27 14:24:10 +02:00
scripts [CI] Correct the way merge base is identified (#130175) 2025-06-27 20:50:36 +10:00
.editorconfig [buildkite] Migrate pull-request pipelines from Jenkins (#99449) 2023-09-29 14:00:12 -04:00
.gitignore [buildkite] Migrate pull-request pipelines from Jenkins (#99449) 2023-09-29 14:00:12 -04:00
bun.lockb [buildkite] Migrate pull-request pipelines from Jenkins (#99449) 2023-09-29 14:00:12 -04:00
check-es-serverless.yml Update check-es-serverless.yml 2024-09-04 15:37:32 -04:00
package.json [ci] Add/update docs for .buildkite dir and PR pipeline generator (#103936) 2024-01-04 16:04:41 -05:00
packer_cache.sh [CI] Stop gradle processes between tasks in packer cache 2024-10-29 14:11:37 -04:00
pull-requests.json Renovate Bot PRs should run ci checks (#114699) 2024-10-14 10:47:24 +02:00
README.md [ci] Add/update docs for .buildkite dir and PR pipeline generator (#103936) 2024-01-04 16:04:41 -05:00
tsconfig.json [buildkite] Migrate pull-request pipelines from Jenkins (#99449) 2023-09-29 14:00:12 -04:00
update-es-serverless.yml Use last good commit when updating serverless submodule 2023-10-09 13:44:11 -07:00

Elasticsearch CI Pipelines

This directory contains pipeline definitions and scripts for running Elasticsearch CI on Buildkite.

Directory Structure

Pipeline Definitions

Pipelines are defined using YAML files residing in pipelines. These are mostly static definitions that are used as-is, but there are a few dynamically-generated exceptions (see below).

Dynamically Generated Pipelines

Pull request pipelines are generated dynamically based on labels, files changed, and other properties of pull requests.

Non-pull request pipelines that include BWC version matrices must also be generated whenever the list of BWC versions is updated.

Pull Request Pipelines

Pull request pipelines are generated dynamically at CI time based on numerous properties of the pull request. See scripts/pull-request for details.

BWC Version Matrices

For pipelines that include BWC version matrices, you will see one or more template files (e.g. periodic.template.yml) and a corresponding generated file (e.g. periodic.yml). The generated file is the one that is actually used by Buildkite.

These files are updated by running:

./gradlew updateCIBwcVersions

This also runs automatically during release procedures.

You should always make changes to the template files, and run the above command to update the generated files.

Node / TypeScript

Node (technically bun), TypeScript, and related files are currently used to generate pipelines for pull request CI. See scripts/pull-request for details.