Skip to content

Commit

Permalink
Explicitly set DOCKER_PULL, RACE_DETECTOR and TEST_COVERAGE for pipel…
Browse files Browse the repository at this point in the history
…ines (#39510) (#39518)

* Explicitly set RACE_DETECTOR and TEST_COVERAGE for pipelines

* Moved DOCKER_PULL var to winlogonbeat pipeline

* added xpack/heartbeat

(cherry picked from commit c773028)

Co-authored-by: Pavel Zorin <[email protected]>
  • Loading branch information
mergify[bot] and pazone authored May 14, 2024
1 parent 60413c3 commit b5f3690
Show file tree
Hide file tree
Showing 17 changed files with 66 additions and 3 deletions.
4 changes: 4 additions & 0 deletions .buildkite/auditbeat/auditbeat-pipeline.yml
Original file line number Diff line number Diff line change
Expand Up @@ -22,6 +22,10 @@ env:
# Other deps
ASDF_MAGE_VERSION: 1.15.0

# Unit tests
RACE_DETECTOR: "true"
TEST_COVERAGE: "true"

steps:
- group: "Auditbeat Mandatory Testing"
key: "auditbeat-mandatory-tests"
Expand Down
4 changes: 4 additions & 0 deletions .buildkite/filebeat/filebeat-pipeline.yml
Original file line number Diff line number Diff line change
Expand Up @@ -22,6 +22,10 @@ env:
K8S_VERSION: "v1.29.0"
ASDF_KIND_VERSION: "0.20.0"

# Unit tests
RACE_DETECTOR: "true"
TEST_COVERAGE: "true"

steps:
- group: "Filebeat Mandatory Tests"
key: "filebeat-mandatory-tests"
Expand Down
4 changes: 4 additions & 0 deletions .buildkite/heartbeat/heartbeat-pipeline.yml
Original file line number Diff line number Diff line change
Expand Up @@ -21,6 +21,10 @@ env:
# Other deps
ASDF_MAGE_VERSION: 1.15.0

# Unit tests
RACE_DETECTOR: "true"
TEST_COVERAGE: "true"

steps:
- group: "Heartbeat Mandatory Testing"
key: "heartbeat-mandatory-tests"
Expand Down
4 changes: 4 additions & 0 deletions .buildkite/libbeat/pipeline.libbeat.yml
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,10 @@ env:
#Deps
ASDF_MAGE_VERSION: 1.15.0

# Unit tests
RACE_DETECTOR: "true"
TEST_COVERAGE: "true"

steps:
- group: "Mandatory Tests"
key: "mandatory-tests"
Expand Down
4 changes: 4 additions & 0 deletions .buildkite/metricbeat/pipeline.yml
Original file line number Diff line number Diff line change
Expand Up @@ -25,6 +25,10 @@ env:
# Other deps
ASDF_MAGE_VERSION: 1.15.0

# Unit tests
RACE_DETECTOR: "true"
TEST_COVERAGE: "true"

steps:
- group: "Metricbeat Mandatory Tests"
key: "metricbeat-mandatory-tests"
Expand Down
4 changes: 4 additions & 0 deletions .buildkite/packetbeat/pipeline.packetbeat.yml
Original file line number Diff line number Diff line change
Expand Up @@ -20,6 +20,10 @@ env:
#Deps
ASDF_MAGE_VERSION: 1.15.0

# Unit tests
RACE_DETECTOR: "true"
TEST_COVERAGE: "true"

steps:
- group: "packetbeat Mandatory Tests"
key: "packetbeat-mandatory-tests"
Expand Down
3 changes: 0 additions & 3 deletions .buildkite/scripts/setenv.sh
Original file line number Diff line number Diff line change
Expand Up @@ -44,9 +44,6 @@ exportVars() {

if [[ "$BUILDKITE_PIPELINE_SLUG" == "beats-metricbeat" || "$BUILDKITE_PIPELINE_SLUG" == "beats-xpack-metricbeat" || "$BUILDKITE_PIPELINE_SLUG" == "beats-xpack-winlogbeat" || "$BUILDKITE_PIPELINE_SLUG" == "beats-xpack-auditbeat" ]]; then
exportVars
export RACE_DETECTOR="true"
export TEST_COVERAGE="true"
export DOCKER_PULL="0"
export TEST_TAGS="${TEST_TAGS:+$TEST_TAGS,}oracle"
fi

Expand Down
6 changes: 6 additions & 0 deletions .buildkite/winlogbeat/pipeline.winlogbeat.yml
Original file line number Diff line number Diff line change
Expand Up @@ -16,6 +16,12 @@ env:
# Other deps
ASDF_MAGE_VERSION: 1.15.0

# Unit tests
RACE_DETECTOR: "true"
TEST_COVERAGE: "true"
# See docker.go. Sets --pull to docker-compose
DOCKER_PULL: 0

steps:
- group: "Winlogbeat Mandatory Tests"
key: "winlogbeat-mandatory-tests"
Expand Down
4 changes: 4 additions & 0 deletions .buildkite/x-pack/pipeline.xpack.auditbeat.yml
Original file line number Diff line number Diff line change
Expand Up @@ -22,6 +22,10 @@ env:
# Other deps
ASDF_MAGE_VERSION: 1.15.0

# Unit tests
RACE_DETECTOR: "true"
TEST_COVERAGE: "true"

steps:
- group: "x-pack/auditbeat Mandatory Tests"
key: "x-pack-auditbeat-mandatory-tests"
Expand Down
4 changes: 4 additions & 0 deletions .buildkite/x-pack/pipeline.xpack.dockerlogbeat.yml
Original file line number Diff line number Diff line change
Expand Up @@ -22,6 +22,10 @@ env:
# Other deps
ASDF_MAGE_VERSION: 1.15.0

# Unit tests
RACE_DETECTOR: "true"
TEST_COVERAGE: "true"

steps:
- group: "x-pack/dockerlogbeat Mandatory Tests"
key: "xpack-dockerlogbeat-mandatory-tests"
Expand Down
4 changes: 4 additions & 0 deletions .buildkite/x-pack/pipeline.xpack.filebeat.yml
Original file line number Diff line number Diff line change
Expand Up @@ -21,6 +21,10 @@ env:
# Other deps
ASDF_MAGE_VERSION: 1.15.0

# Unit tests
RACE_DETECTOR: "true"
TEST_COVERAGE: "true"

steps:
- group: "x-pack/filebeat Mandatory Tests"
key: "x-pack-filebeat-mandatory-tests"
Expand Down
4 changes: 4 additions & 0 deletions .buildkite/x-pack/pipeline.xpack.heartbeat.yml
Original file line number Diff line number Diff line change
Expand Up @@ -26,6 +26,10 @@ env:
ASDF_MAGE_VERSION: 1.15.0
ASDF_NODEJS_VERSION: 18.17.1

# Unit tests
RACE_DETECTOR: "true"
TEST_COVERAGE: "true"

steps:
- group: "x-pack/heartbeat Mandatory Tests"
key: "x-pack-heartbeat-mandatory-tests"
Expand Down
4 changes: 4 additions & 0 deletions .buildkite/x-pack/pipeline.xpack.libbeat.yml
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,10 @@ env:
#Deps
ASDF_MAGE_VERSION: 1.15.0

# Unit tests
RACE_DETECTOR: "true"
TEST_COVERAGE: "true"

steps:
- group: "x-pack/libbeat Mandatory Tests"
key: "x-pack-libbeat-mandatory-tests"
Expand Down
4 changes: 4 additions & 0 deletions .buildkite/x-pack/pipeline.xpack.metricbeat.yml
Original file line number Diff line number Diff line change
Expand Up @@ -21,6 +21,10 @@ env:
# Other deps
ASDF_MAGE_VERSION: 1.15.0

# Unit tests
RACE_DETECTOR: "true"
TEST_COVERAGE: "true"

steps:
- group: "x-pack/metricbeat Mandatory Tests"
key: "x-pack-metricbeat-mandatory-tests"
Expand Down
4 changes: 4 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,10 @@ env:
# Other deps
ASDF_MAGE_VERSION: 1.15.0

# Unit tests
RACE_DETECTOR: "true"
TEST_COVERAGE: "true"

steps:
- group: "x-pack/osquerybeat Mandatory Tests"
key: "x-pack-osquerybeat-mandatory-tests"
Expand Down
4 changes: 4 additions & 0 deletions .buildkite/x-pack/pipeline.xpack.packetbeat.yml
Original file line number Diff line number Diff line change
Expand Up @@ -16,6 +16,10 @@ env:
#Deps
ASDF_MAGE_VERSION: 1.15.0

# Unit tests
RACE_DETECTOR: "true"
TEST_COVERAGE: "true"

steps:
- group: "x-pack/packetbeat Mandatory Tests"
key: "x-pack-packetbeat-mandatory-tests"
Expand Down
4 changes: 4 additions & 0 deletions .buildkite/x-pack/pipeline.xpack.winlogbeat.yml
Original file line number Diff line number Diff line change
Expand Up @@ -15,6 +15,10 @@ env:
# Other deps
ASDF_MAGE_VERSION: 1.15.0

# Unit tests
RACE_DETECTOR: "true"
TEST_COVERAGE: "true"

steps:
- group: "x-pack/Winlogbeat Mandatory Tests"
key: "x-pack-winlogbeat-mandatory-tests"
Expand Down

0 comments on commit b5f3690

Please sign in to comment.