Skip to content

Commit

Permalink
updated filebeat pipeline
Browse files Browse the repository at this point in the history
  • Loading branch information
oakrizan committed Apr 29, 2024
1 parent a4b21dc commit 40c8e42
Showing 1 changed file with 12 additions and 3 deletions.
15 changes: 12 additions & 3 deletions .buildkite/filebeat/filebeat-pipeline.yml
Original file line number Diff line number Diff line change
Expand Up @@ -28,6 +28,7 @@ steps:
steps:
- label: ":ubuntu: Ubuntu Unit Tests"
command: |
set -euo pipefail
cd filebeat
mage build unitTest
agents:
Expand All @@ -43,6 +44,7 @@ steps:

- label: ":ubuntu: Ubuntu Go Integration Tests"
command: |
set -euo pipefail
cd filebeat
mage goIntegTest
agents:
Expand All @@ -58,6 +60,7 @@ steps:

- label: ":ubuntu: Ubuntu Python Integration Tests"
command: |
set -euo pipefail
cd filebeat
mage pythonIntegTest
agents:
Expand Down Expand Up @@ -109,6 +112,8 @@ steps:

- group: "Filebeat Extended Tests"
key: "filebeat-extended-tests"
if: build.env("BUILDKITE_PULL_REQUEST") == "false" || build.env("GITHUB_PR_LABELS") =~ /.*(macOS|arm).*/

steps:
- label: ":mac: MacOS x64_64 Unit Tests"
key: "macos-unit-tests-extended"
Expand All @@ -126,9 +131,9 @@ steps:
- "filebeat/build/*.json"
notify:
- github_commit_status:
context: "filebeat: Extended MacOS Unit Tests"
context: "filebeat: MacOS Unit Tests"

- label: ":mac: MacOS arm64 Unit Tests"
- label: ":mac: MacOS ARM Unit Tests"
key: "macos-arm64-unit-tests-extended"
if: build.env("BUILDKITE_PULL_REQUEST") == "false" || build.env("GITHUB_PR_LABELS") =~ /.*macOS.*/
command: |
Expand All @@ -144,12 +149,13 @@ steps:
- "filebeat/build/*.json"
notify:
- github_commit_status:
context: "filebeat: Extended MacOS ARM Unit Tests"
context: "filebeat: MacOS ARM Unit Tests"

- label: ":linux: Ubuntu ARM Unit Tests"
key: "extended-arm64-unit-test"
if: build.env("BUILDKITE_PULL_REQUEST") == "false" || build.env("GITHUB_PR_LABELS") =~ /.*arm.*/
command: |
set -euo pipefail
cd filebeat
mage build unitTest
agents:
Expand All @@ -166,6 +172,7 @@ steps:
- group: "Extended Windows Tests"
key: "filebeat-extended-win-tests"
if: build.env("BUILDKITE_PULL_REQUEST") == "false" || build.env("GITHUB_PR_LABELS") =~ /.*[Ww]indows.*/

steps:
- label: ":windows: Windows 2019 Unit Tests"
key: "windows-extended-2019"
Expand Down Expand Up @@ -234,6 +241,7 @@ steps:
- label: ":linux: Packaging Linux"
key: "packaging-linux"
command: |
set -euo pipefail
cd filebeat
mage package
agents:
Expand All @@ -251,6 +259,7 @@ steps:
- label: ":linux: Packaging ARM"
key: "packaging-arm"
command: |
set -euo pipefail
cd filebeat
mage package
agents:
Expand Down

0 comments on commit 40c8e42

Please sign in to comment.