Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
11 changes: 11 additions & 0 deletions .buildkite/pull-request-test-matrix.yml
Original file line number Diff line number Diff line change
Expand Up @@ -30,3 +30,14 @@ main:
- 9.next
- 9.future
- main
move-to-es-bridge-api:
releases:
- 9.previous
- 9.current
snapshots:
- 8.future
- 9.previous
- 9.current
- 9.next
- 9.future
- main
4 changes: 2 additions & 2 deletions .buildkite/scripts/pull-request-pipeline/generate-steps.py
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@
from ruamel.yaml import YAML

RELEASES_URL = "https://raw.githubusercontent.com/elastic/logstash/main/ci/logstash_releases.json"
TEST_MATRIX_URL = "https://raw.githubusercontent.com/elastic/logstash-filter-elastic_integration/main/.buildkite/pull" \
TEST_MATRIX_URL = "https://raw.githubusercontent.com/elastic/logstash-filter-elastic_integration/move-to-es-bridge-api/.buildkite/pull" \
"-request-test-matrix.yml"
TEST_COMMAND: typing.final = ".buildkite/scripts/run_tests.sh"

Expand Down Expand Up @@ -80,7 +80,7 @@ def make_matrix_version_key(branch: str) -> str:
else os.getenv("TARGET_BRANCH")
print(f"Running with target_branch: {target_branch}")

matrix_version_key = target_branch if target_branch == "main" else make_matrix_version_key(target_branch)
matrix_version_key = target_branch if target_branch in ["main", "move-to-es-bridge-api"] else make_matrix_version_key(target_branch)
matrix_releases = matrix_map_yaml.get(matrix_version_key, {}).get("releases", [])
matrix_snapshots = matrix_map_yaml.get(matrix_version_key, {}).get("snapshots", [])

Expand Down