elasticsearch/.buildkite
Mariusz Józala f40328375b
[7.17] [ci] Add debian-12 to matrix in packaging and platform jobs (#116172) (#117336)
* [ci] Add debian-12 to matrix in packaging and platform jobs (#116172)

Lintian test has been changed to parse the result instead of using exit
code. This was required, because now `mismatched-override` is
non-erasable tag which cannot be ignored for exit code.
Lintian introduced non-backward-compatible format change for overrides
file. Because of that, some overrides are now duplicated in a format for
 older versions.
Additionally, Lintian overrides file has been cleaned up to remove the
tags which are no longer failing.

(cherry picked from commit 2ac267de3a)

# Conflicts:
#	distribution/packages/src/deb/lintian/elasticsearch
#	qa/os/src/test/java/org/elasticsearch/packaging/util/LintianResultParser.java
#	qa/packaging/src/test/java/org/elasticsearch/packaging/test/DebMetadataTests.java

* Spotless fix
2024-11-25 18:22:03 +11:00
..
hooks [CI] Use console=plain so that Buildkite logs aren't a mess (#115049) (#115123) 2024-10-21 16:27:03 -04:00
pipelines [7.17] [ci] Add debian-12 to matrix in packaging and platform jobs (#116172) (#117336) 2024-11-25 18:22:03 +11:00
scripts [ci] Add elastic-agent to Windows jobs (#108157) (#108199) 2024-05-02 10:38:47 -04:00
.editorconfig [7.17] [buildkite] Migrate pull-request pipelines from Jenkins (#99449) (#100091) 2023-09-29 15:27:18 -04:00
.gitignore [7.17] [buildkite] Migrate pull-request pipelines from Jenkins (#99449) (#100091) 2023-09-29 15:27:18 -04:00
bun.lockb [7.17] [buildkite] Migrate pull-request pipelines from Jenkins (#99449) (#100091) 2023-09-29 15:27:18 -04:00
package.json [ci] Add/update docs for .buildkite dir and PR pipeline generator (#103936) (#103940) 2024-01-04 17:05:26 -05:00
pull-requests.json [ci] Allow CI to be triggered by old elasticmachine-style comment (#105154) (#105158) 2024-02-05 16:23:07 -05:00
README.md [ci] Add/update docs for .buildkite dir and PR pipeline generator (#103936) (#103940) 2024-01-04 17:05:26 -05:00
tsconfig.json [7.17] [buildkite] Migrate pull-request pipelines from Jenkins (#99449) (#100091) 2023-09-29 15:27:18 -04: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.