Skip to content

Commit 9e2ef86

Browse files
authored
Update (#39879)
1 parent dc876a0 commit 9e2ef86

File tree

3 files changed

+52
-28
lines changed

3 files changed

+52
-28
lines changed

.buildkite/winlogbeat/pipeline.winlogbeat.yml

Lines changed: 26 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -23,6 +23,32 @@ env:
2323
DOCKER_PULL: 0
2424

2525
steps:
26+
- group: "Winlogbeat Check/Update"
27+
key: "winlogbeat-check-update"
28+
steps:
29+
- label: "Run check/update"
30+
command: |
31+
make -C winlogbeat check update
32+
make check-no-changes
33+
retry:
34+
automatic:
35+
- limit: 3
36+
agents:
37+
image: "docker.elastic.co/ci-agent-images/platform-ingest/buildkite-agent-beats-ci-with-hooks:latest"
38+
cpu: "4000m"
39+
memory: "8Gi"
40+
useCustomGlobalHooks: true
41+
notify:
42+
- github_commit_status:
43+
context: "winlogbeat: check/update"
44+
45+
- wait: ~
46+
# with PRs, we want to run mandatory tests only if check/update step succeed
47+
# for other cases, e.g. merge commits, we want to run mundatory test (and publish) independently of other tests
48+
# this allows building DRA artifacts even if there is flakiness in check/update step
49+
if: build.env("BUILDKITE_PULL_REQUEST") != "false"
50+
depends_on: "winlogbeat-check-update"
51+
2652
- group: "Winlogbeat Mandatory Tests"
2753
key: "winlogbeat-mandatory-tests"
2854

.buildkite/x-pack/pipeline.xpack.winlogbeat.yml

Lines changed: 26 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -19,6 +19,32 @@ env:
1919
TEST_COVERAGE: "true"
2020

2121
steps:
22+
- group: "x-pack/winlogbeat Check/Update"
23+
key: "x-pack-winlogbeat-check-update"
24+
steps:
25+
- label: "Run check/update"
26+
command: |
27+
make -C x-pack/winlogbeat check update
28+
make check-no-changes
29+
retry:
30+
automatic:
31+
- limit: 3
32+
agents:
33+
image: "docker.elastic.co/ci-agent-images/platform-ingest/buildkite-agent-beats-ci-with-hooks:latest"
34+
cpu: "4000m"
35+
memory: "8Gi"
36+
useCustomGlobalHooks: true
37+
notify:
38+
- github_commit_status:
39+
context: "x-pack/winlogbeat: check/update"
40+
41+
- wait: ~
42+
# with PRs, we want to run mandatory tests only if check/update step succeed
43+
# for other cases, e.g. merge commits, we want to run mundatory test (and publish) independently of other tests
44+
# this allows building DRA artifacts even if there is flakiness in check/update step
45+
if: build.env("BUILDKITE_PULL_REQUEST") != "false"
46+
depends_on: "x-pack-winlogbeat-check-update"
47+
2248
- group: "x-pack/winlogbeat Mandatory Tests"
2349
key: "x-pack-winlogbeat-mandatory-tests"
2450
steps:

.github/workflows/check-winlogbeat.yml

Lines changed: 0 additions & 28 deletions
This file was deleted.

0 commit comments

Comments
 (0)