Skip to content

Commit

Permalink
Update (elastic#39879)
Browse files Browse the repository at this point in the history
  • Loading branch information
ev1yehor authored Jun 12, 2024
1 parent dc876a0 commit 9e2ef86
Show file tree
Hide file tree
Showing 3 changed files with 52 additions and 28 deletions.
26 changes: 26 additions & 0 deletions .buildkite/winlogbeat/pipeline.winlogbeat.yml
Original file line number Diff line number Diff line change
Expand Up @@ -23,6 +23,32 @@ env:
DOCKER_PULL: 0

steps:
- group: "Winlogbeat Check/Update"
key: "winlogbeat-check-update"
steps:
- label: "Run check/update"
command: |
make -C winlogbeat 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: "winlogbeat: 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: "winlogbeat-check-update"

- group: "Winlogbeat Mandatory Tests"
key: "winlogbeat-mandatory-tests"

Expand Down
26 changes: 26 additions & 0 deletions .buildkite/x-pack/pipeline.xpack.winlogbeat.yml
Original file line number Diff line number Diff line change
Expand Up @@ -19,6 +19,32 @@ env:
TEST_COVERAGE: "true"

steps:
- group: "x-pack/winlogbeat Check/Update"
key: "x-pack-winlogbeat-check-update"
steps:
- label: "Run check/update"
command: |
make -C x-pack/winlogbeat 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/winlogbeat: 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-winlogbeat-check-update"

- group: "x-pack/winlogbeat Mandatory Tests"
key: "x-pack-winlogbeat-mandatory-tests"
steps:
Expand Down
28 changes: 0 additions & 28 deletions .github/workflows/check-winlogbeat.yml

This file was deleted.

0 comments on commit 9e2ef86

Please sign in to comment.