Skip to content

Commit

Permalink
added concurrency groups (#41619)
Browse files Browse the repository at this point in the history
  • Loading branch information
oakrizan authored Nov 13, 2024
1 parent 7c575e4 commit 5b41c60
Show file tree
Hide file tree
Showing 11 changed files with 88 additions and 0 deletions.
8 changes: 8 additions & 0 deletions .buildkite/auditbeat/auditbeat-pipeline.yml
Original file line number Diff line number Diff line change
Expand Up @@ -31,6 +31,11 @@ env:
# Module Tests
BEAT_PATH: "auditbeat"

# Concurrency definition
CONCURRENCY_GROUP: "orka-concurrency-group"
CONCURRENCY_COUNT: 10
CONCURRENCY_METHOD: eager

steps:
- group: "Check/Update"
key: "auditbeat-check-update"
Expand Down Expand Up @@ -178,6 +183,9 @@ steps:
source .buildkite/scripts/install_macos_tools.sh
cd auditbeat
mage build unitTest
concurrency_group: "${CONCURRENCY_GROUP}"
concurrency: "${CONCURRENCY_COUNT}"
concurrency_method: "${CONCURRENCY_METHOD}"
retry:
automatic:
- limit: 3
Expand Down
8 changes: 8 additions & 0 deletions .buildkite/filebeat/filebeat-pipeline.yml
Original file line number Diff line number Diff line change
Expand Up @@ -28,6 +28,11 @@ env:
# Module Tests
BEAT_PATH: "filebeat"

# Concurrency definition
CONCURRENCY_GROUP: "orka-concurrency-group"
CONCURRENCY_COUNT: 10
CONCURRENCY_METHOD: eager

steps:
- group: "Check/Update"
key: "filebeat-check-update"
Expand Down Expand Up @@ -221,6 +226,9 @@ steps:
source .buildkite/scripts/install_macos_tools.sh
cd filebeat
mage build unitTest
concurrency_group: "${CONCURRENCY_GROUP}"
concurrency: "${CONCURRENCY_COUNT}"
concurrency_method: "${CONCURRENCY_METHOD}"
retry:
automatic:
- limit: 3
Expand Down
8 changes: 8 additions & 0 deletions .buildkite/heartbeat/heartbeat-pipeline.yml
Original file line number Diff line number Diff line change
Expand Up @@ -29,6 +29,11 @@ env:
RACE_DETECTOR: "true"
TEST_COVERAGE: "true"

# Concurrency definition
CONCURRENCY_GROUP: "orka-concurrency-group"
CONCURRENCY_COUNT: 10
CONCURRENCY_METHOD: eager

steps:
- group: "Check/Update"
key: "heartbeat-check-update"
Expand Down Expand Up @@ -177,6 +182,9 @@ steps:
source .buildkite/scripts/install_macos_tools.sh
cd heartbeat
mage build unitTest
concurrency_group: "${CONCURRENCY_GROUP}"
concurrency: "${CONCURRENCY_COUNT}"
concurrency_method: "${CONCURRENCY_METHOD}"
retry:
automatic:
- limit: 3
Expand Down
8 changes: 8 additions & 0 deletions .buildkite/metricbeat/pipeline.yml
Original file line number Diff line number Diff line change
Expand Up @@ -32,6 +32,11 @@ env:
RACE_DETECTOR: "true"
TEST_COVERAGE: "true"

# Concurrency definition
CONCURRENCY_GROUP: "orka-concurrency-group"
CONCURRENCY_COUNT: 10
CONCURRENCY_METHOD: eager

steps:
- group: "Check/Update"
key: "metricbeat-check-update"
Expand Down Expand Up @@ -234,6 +239,9 @@ steps:
set -euo pipefail
source .buildkite/scripts/install_macos_tools.sh
cd metricbeat && mage build unitTest
concurrency_group: "${CONCURRENCY_GROUP}"
concurrency: "${CONCURRENCY_COUNT}"
concurrency_method: "${CONCURRENCY_METHOD}"
retry:
automatic:
- limit: 3
Expand Down
8 changes: 8 additions & 0 deletions .buildkite/packetbeat/pipeline.packetbeat.yml
Original file line number Diff line number Diff line change
Expand Up @@ -26,6 +26,11 @@ env:
RACE_DETECTOR: "true"
TEST_COVERAGE: "true"

# Concurrency definition
CONCURRENCY_GROUP: "orka-concurrency-group"
CONCURRENCY_COUNT: 10
CONCURRENCY_METHOD: eager

steps:
- group: "Check/Update"
key: "packetbeat-check-update"
Expand Down Expand Up @@ -183,6 +188,9 @@ steps:
source .buildkite/scripts/install_macos_tools.sh
cd packetbeat
mage build unitTest
concurrency_group: "${CONCURRENCY_GROUP}"
concurrency: "${CONCURRENCY_COUNT}"
concurrency_method: "${CONCURRENCY_METHOD}"
retry:
automatic:
- limit: 3
Expand Down
8 changes: 8 additions & 0 deletions .buildkite/x-pack/pipeline.xpack.auditbeat.yml
Original file line number Diff line number Diff line change
Expand Up @@ -30,6 +30,11 @@ env:
# Module tests
BEAT_PATH: "x-pack/auditbeat"

# Concurrency definition
CONCURRENCY_GROUP: "orka-concurrency-group"
CONCURRENCY_COUNT: 10
CONCURRENCY_METHOD: eager

steps:
- group: "Check/Update"
key: "x-pack-auditbeat-check-update"
Expand Down Expand Up @@ -191,6 +196,9 @@ steps:
source .buildkite/scripts/install_macos_tools.sh
cd x-pack/auditbeat
mage build unitTest
concurrency_group: "${CONCURRENCY_GROUP}"
concurrency: "${CONCURRENCY_COUNT}"
concurrency_method: "${CONCURRENCY_METHOD}"
retry:
automatic:
- limit: 3
Expand Down
8 changes: 8 additions & 0 deletions .buildkite/x-pack/pipeline.xpack.filebeat.yml
Original file line number Diff line number Diff line change
Expand Up @@ -28,6 +28,11 @@ env:
# Module Tests
BEAT_PATH: "x-pack/filebeat"

# Concurrency definition
CONCURRENCY_GROUP: "orka-concurrency-group"
CONCURRENCY_COUNT: 10
CONCURRENCY_METHOD: eager

steps:
- group: "Check/Update"
key: "x-pack-filebeat-check-update"
Expand Down Expand Up @@ -247,6 +252,9 @@ steps:
source .buildkite/scripts/install_macos_tools.sh
cd x-pack/filebeat
mage build unitTest
concurrency_group: "${CONCURRENCY_GROUP}"
concurrency: "${CONCURRENCY_COUNT}"
concurrency_method: "${CONCURRENCY_METHOD}"
retry:
automatic:
- limit: 3
Expand Down
8 changes: 8 additions & 0 deletions .buildkite/x-pack/pipeline.xpack.heartbeat.yml
Original file line number Diff line number Diff line change
Expand Up @@ -32,6 +32,11 @@ env:
RACE_DETECTOR: "true"
TEST_COVERAGE: "true"

# Concurrency definition
CONCURRENCY_GROUP: "orka-concurrency-group"
CONCURRENCY_COUNT: 10
CONCURRENCY_METHOD: eager

steps:
- group: "Check/Update"
key: "x-pack-heartbeat-check-update"
Expand Down Expand Up @@ -205,6 +210,9 @@ steps:
installNodeJsDependencies
cd x-pack/heartbeat
mage build unitTest
concurrency_group: "${CONCURRENCY_GROUP}"
concurrency: "${CONCURRENCY_COUNT}"
concurrency_method: "${CONCURRENCY_METHOD}"
retry:
automatic:
- limit: 3
Expand Down
8 changes: 8 additions & 0 deletions .buildkite/x-pack/pipeline.xpack.metricbeat.yml
Original file line number Diff line number Diff line change
Expand Up @@ -30,6 +30,11 @@ env:
# Module tests
BEAT_PATH: "x-pack/metricbeat"

# Concurrency definition
CONCURRENCY_GROUP: "orka-concurrency-group"
CONCURRENCY_COUNT: 10
CONCURRENCY_METHOD: eager

steps:
- group: "Check/Update"
key: "x-pack-metricbeat-check-update"
Expand Down Expand Up @@ -209,6 +214,9 @@ steps:
set -euo pipefail
source .buildkite/scripts/install_macos_tools.sh
cd x-pack/metricbeat && mage build unitTest
concurrency_group: "${CONCURRENCY_GROUP}"
concurrency: "${CONCURRENCY_COUNT}"
concurrency_method: "${CONCURRENCY_METHOD}"
retry:
automatic:
- limit: 3
Expand Down
8 changes: 8 additions & 0 deletions .buildkite/x-pack/pipeline.xpack.osquerybeat.yml
Original file line number Diff line number Diff line change
Expand Up @@ -21,6 +21,11 @@ env:
RACE_DETECTOR: "true"
TEST_COVERAGE: "true"

# Concurrency definition
CONCURRENCY_GROUP: "orka-concurrency-group"
CONCURRENCY_COUNT: 10
CONCURRENCY_METHOD: eager

steps:
- group: "Check/Update"
key: "x-pack-osquerybeat-check-update"
Expand Down Expand Up @@ -179,6 +184,9 @@ steps:
set -euo pipefail
source .buildkite/scripts/install_macos_tools.sh
cd x-pack/osquerybeat && mage build unitTest
concurrency_group: "${CONCURRENCY_GROUP}"
concurrency: "${CONCURRENCY_COUNT}"
concurrency_method: "${CONCURRENCY_METHOD}"
retry:
automatic:
- limit: 3
Expand Down
8 changes: 8 additions & 0 deletions .buildkite/x-pack/pipeline.xpack.packetbeat.yml
Original file line number Diff line number Diff line change
Expand Up @@ -24,6 +24,11 @@ env:
RACE_DETECTOR: "true"
TEST_COVERAGE: "true"

# Concurrency definition
CONCURRENCY_GROUP: "orka-concurrency-group"
CONCURRENCY_COUNT: 10
CONCURRENCY_METHOD: eager

steps:
- group: "Check/Update"
key: "x-pack-packetbeat-check-update"
Expand Down Expand Up @@ -185,6 +190,9 @@ steps:
source .buildkite/scripts/install_macos_tools.sh
cd x-pack/packetbeat
mage build unitTest
concurrency_group: "${CONCURRENCY_GROUP}"
concurrency: "${CONCURRENCY_COUNT}"
concurrency_method: "${CONCURRENCY_METHOD}"
retry:
automatic:
- limit: 3
Expand Down

0 comments on commit 5b41c60

Please sign in to comment.