Skip to content

Commit

Permalink
Update pipeline.xpack.osquerybeat.yml (#39888) (#39917)
Browse files Browse the repository at this point in the history
(cherry picked from commit e71bf82)

Co-authored-by: ev1yehor <146825775+ev1yehor@users.noreply.github.com>
  • Loading branch information
mergify[bot] and ev1yehor authored Jun 18, 2024
1 parent 7eb36d4 commit b0de1c7
Showing 1 changed file with 26 additions and 0 deletions.
26 changes: 26 additions & 0 deletions .buildkite/x-pack/pipeline.xpack.osquerybeat.yml
Original file line number Diff line number Diff line change
Expand Up @@ -20,6 +20,32 @@ env:
TEST_COVERAGE: "true"

steps:
- group: "x-pack/osquerybeat Check/Update"
key: "x-pack-osquerybeat-check-update"
steps:
- label: "Run check/update"
command: |
make -C x-pack/osquerybeat check update
make check-no-changes
retry:
automatic:
- limit: 3
agents:
image: "docker.elastic.co/ci-agent-images/platform-ingest/buildkite-agent-beats-ci-with-hooks:latest"
cpu: "4000m"
memory: "8Gi"
useCustomGlobalHooks: true
notify:
- github_commit_status:
context: "x-pack/osquerybeat: check/update"

- wait: ~
# with PRs, we want to run mandatory tests only if check/update step succeed
# for other cases, e.g. merge commits, we want to run mundatory test (and publish) independently of other tests
# this allows building DRA artifacts even if there is flakiness in check/update step
if: build.env("BUILDKITE_PULL_REQUEST") != "false"
depends_on: "x-pack-osquerybeat-check-update"

- group: "x-pack/osquerybeat Mandatory Tests"
key: "x-pack-osquerybeat-mandatory-tests"

Expand Down

0 comments on commit b0de1c7

Please sign in to comment.