Skip to content

Commit

Permalink
Add prev-minor/next-major tests for filebeat 7.17 (#39560)
Browse files Browse the repository at this point in the history
This commit adds missing mandatory checks on Buildkite, specifically on
the 7.17 branch for filebeat. They can be found defined in Jenkins in
https://github.com/elastic/beats/blob/b5f369062719b350dc31ed6768c25be4b95f2f6f/filebeat/Jenkinsfile.yml#L39-L53
  • Loading branch information
dliappis authored May 15, 2024
1 parent 01d301b commit db973b3
Showing 1 changed file with 53 additions and 0 deletions.
53 changes: 53 additions & 0 deletions .buildkite/filebeat/filebeat-pipeline.yml
Original file line number Diff line number Diff line change
Expand Up @@ -84,6 +84,59 @@ steps:
- github_commit_status:
context: "filebeat: Python Integration Tests"

- label: "Module compat tests: previous minor"
# Runs module integration tests under previous minor of ES to ensure ingest pipeline compatibility
env:
STACK_ENVIRONMENT: "prev-minor"
TESTING_FILEBEAT_SKIP_DIFF: 1
PYTEST_ADDOPTS: "-k test_xpack_modules"
command: |
set -euo pipefail
source .buildkite/scripts/changesets.sh
defineModuleFromTheChangeSet filebeat
echo "~~~ Running tests"
cd filebeat
mage pythonIntegTest
retry:
automatic:
- limit: 3
agents:
provider: "gcp"
image: "${IMAGE_UBUNTU_X86_64}"
machineType: "${GCP_HI_PERF_MACHINE_TYPE}"
artifact_paths:
- "filebeat/build/*.xml"
- "filebeat/build/*.json"
notify:
- github_commit_status:
context: "filebeat: Module compat tests / previous minor"

- label: "Module compat tests: next major"
# Run module integration tests under next major of Elastic stack.
env:
STACK_ENVIRONMENT: "next-major"
TESTING_FILEBEAT_SKIP_DIFF: 1
command: |
set -euo pipefail
source .buildkite/scripts/changesets.sh
defineModuleFromTheChangeSet filebeat
echo "~~~ Running tests"
cd filebeat
mage pythonIntegTest
retry:
automatic:
- limit: 3
agents:
provider: "gcp"
image: "${IMAGE_UBUNTU_X86_64}"
machineType: "${GCP_HI_PERF_MACHINE_TYPE}"
artifact_paths:
- "filebeat/build/*.xml"
- "filebeat/build/*.json"
notify:
- github_commit_status:
context: "filebeat: Module compat tests / next major"

- label: ":windows: Windows 2016 Unit Tests"
key: "windows-2016-unit-tests"
command: |
Expand Down

0 comments on commit db973b3

Please sign in to comment.