From 3e8e08fca3e752266d1e7dfe1effb730d0a74c1b Mon Sep 17 00:00:00 2001 From: Olga Naidjonoka Date: Mon, 27 May 2024 16:49:36 +0300 Subject: [PATCH 1/9] updated pipeline --- .buildkite/x-pack/pipeline.xpack.metricbeat.yml | 6 +----- 1 file changed, 1 insertion(+), 5 deletions(-) diff --git a/.buildkite/x-pack/pipeline.xpack.metricbeat.yml b/.buildkite/x-pack/pipeline.xpack.metricbeat.yml index 668d6a0ee13..0d4abdce036 100644 --- a/.buildkite/x-pack/pipeline.xpack.metricbeat.yml +++ b/.buildkite/x-pack/pipeline.xpack.metricbeat.yml @@ -45,7 +45,7 @@ steps: notify: - github_commit_status: context: "x-pack/metricbeat: 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 @@ -80,10 +80,6 @@ steps: key: "mandatory-int-test" command: | set -euo pipefail - # docker-compose problem debugging - which docker-compose - docker-compose --version - pwd # defines the MODULE env var based on what's changed in a PR source .buildkite/scripts/changesets.sh defineModuleFromTheChangeSet x-pack/metricbeat From f485a65ad6095803e27495db6f78576234b2ad7d Mon Sep 17 00:00:00 2001 From: Olga Naidjonoka Date: Mon, 3 Jun 2024 11:51:32 +0300 Subject: [PATCH 2/9] replaced deprecated no-ansi opt --- libbeat/tests/compose/wrapper.go | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/libbeat/tests/compose/wrapper.go b/libbeat/tests/compose/wrapper.go index 87919c3fd9c..cf6d5afcff7 100644 --- a/libbeat/tests/compose/wrapper.go +++ b/libbeat/tests/compose/wrapper.go @@ -154,7 +154,8 @@ func (d *wrapperDriver) Close() error { func (d *wrapperDriver) cmd(ctx context.Context, command string, arg ...string) *exec.Cmd { var args []string - args = append(args, "--no-ansi", "--project-name", d.Name) + args = append(args, "--ansi never", "--project-name", d.Name) + //args = append(args, "--no-ansi", "--project-name", d.Name) for _, f := range d.Files { args = append(args, "--file", f) } @@ -367,7 +368,7 @@ func (d *wrapperDriver) serviceNames(ctx context.Context) ([]string, error) { cmd.Stdout = &stdout err := cmd.Run() if err != nil { - return nil, errors.Wrap(err, "failed to get list of service names") + return nil, errors.Wrap(err, "failed to get list of service names. attempted command: ["+cmd.String()+"]") } return strings.Fields(stdout.String()), nil } From 095d090c02f9d38afa1a3a6832fa2e118cc0cdf8 Mon Sep 17 00:00:00 2001 From: Olga Naidjonoka Date: Tue, 4 Jun 2024 13:16:41 +0300 Subject: [PATCH 3/9] docker-compose problem debugging --- .buildkite/x-pack/pipeline.xpack.metricbeat.yml | 2 -- libbeat/tests/compose/wrapper.go | 4 ++-- 2 files changed, 2 insertions(+), 4 deletions(-) diff --git a/.buildkite/x-pack/pipeline.xpack.metricbeat.yml b/.buildkite/x-pack/pipeline.xpack.metricbeat.yml index 0d4abdce036..62f47b33ed9 100644 --- a/.buildkite/x-pack/pipeline.xpack.metricbeat.yml +++ b/.buildkite/x-pack/pipeline.xpack.metricbeat.yml @@ -227,8 +227,6 @@ steps: ASDF_TERRAFORM_VERSION: 1.0.2 MODULE_DIR: "x-pack/metricbeat/module/aws" MODULE: "aws" - # TEST_TAGS should be reviewed and updated: https://github.com/elastic/ingest-dev/issues/3476 - TEST_TAGS: "aws" agents: provider: "aws" imagePrefix: "${AWS_IMAGE_UBUNTU_ARM_64}" diff --git a/libbeat/tests/compose/wrapper.go b/libbeat/tests/compose/wrapper.go index cf6d5afcff7..29057f72fca 100644 --- a/libbeat/tests/compose/wrapper.go +++ b/libbeat/tests/compose/wrapper.go @@ -154,8 +154,8 @@ func (d *wrapperDriver) Close() error { func (d *wrapperDriver) cmd(ctx context.Context, command string, arg ...string) *exec.Cmd { var args []string - args = append(args, "--ansi never", "--project-name", d.Name) - //args = append(args, "--no-ansi", "--project-name", d.Name) + //args = append(args, "--ansi never", "--project-name", d.Name) + args = append(args, "--no-ansi", "--project-name", d.Name) for _, f := range d.Files { args = append(args, "--file", f) } From d68d264d601095e20a94593e58bc7b07390e434e Mon Sep 17 00:00:00 2001 From: Olga Naidjonoka Date: Wed, 12 Jun 2024 14:35:26 +0300 Subject: [PATCH 4/9] restored libbeat/tests/compose/wrapper.go --- libbeat/tests/compose/wrapper.go | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/libbeat/tests/compose/wrapper.go b/libbeat/tests/compose/wrapper.go index 29057f72fca..87919c3fd9c 100644 --- a/libbeat/tests/compose/wrapper.go +++ b/libbeat/tests/compose/wrapper.go @@ -154,7 +154,6 @@ func (d *wrapperDriver) Close() error { func (d *wrapperDriver) cmd(ctx context.Context, command string, arg ...string) *exec.Cmd { var args []string - //args = append(args, "--ansi never", "--project-name", d.Name) args = append(args, "--no-ansi", "--project-name", d.Name) for _, f := range d.Files { args = append(args, "--file", f) @@ -368,7 +367,7 @@ func (d *wrapperDriver) serviceNames(ctx context.Context) ([]string, error) { cmd.Stdout = &stdout err := cmd.Run() if err != nil { - return nil, errors.Wrap(err, "failed to get list of service names. attempted command: ["+cmd.String()+"]") + return nil, errors.Wrap(err, "failed to get list of service names") } return strings.Fields(stdout.String()), nil } From e778e778b8ab1c73cbef42b4171915dec2cfbc54 Mon Sep 17 00:00:00 2001 From: Olga Naidjonoka Date: Wed, 12 Jun 2024 15:54:24 +0300 Subject: [PATCH 5/9] updated region --- .buildkite/x-pack/pipeline.xpack.metricbeat.yml | 1 + 1 file changed, 1 insertion(+) diff --git a/.buildkite/x-pack/pipeline.xpack.metricbeat.yml b/.buildkite/x-pack/pipeline.xpack.metricbeat.yml index 62f47b33ed9..172a86aa39d 100644 --- a/.buildkite/x-pack/pipeline.xpack.metricbeat.yml +++ b/.buildkite/x-pack/pipeline.xpack.metricbeat.yml @@ -227,6 +227,7 @@ steps: ASDF_TERRAFORM_VERSION: 1.0.2 MODULE_DIR: "x-pack/metricbeat/module/aws" MODULE: "aws" + REPO: "beats" agents: provider: "aws" imagePrefix: "${AWS_IMAGE_UBUNTU_ARM_64}" From fe601fa6435cf7437ac17e620b06a98d9d62696b Mon Sep 17 00:00:00 2001 From: Olga Naidjonoka Date: Thu, 13 Jun 2024 14:07:03 +0300 Subject: [PATCH 6/9] updated region for x-pack/filebeat --- .buildkite/metricbeat/pipeline.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.buildkite/metricbeat/pipeline.yml b/.buildkite/metricbeat/pipeline.yml index 65fa3f97fac..3491232a5ac 100644 --- a/.buildkite/metricbeat/pipeline.yml +++ b/.buildkite/metricbeat/pipeline.yml @@ -47,7 +47,7 @@ steps: notify: - github_commit_status: context: "metricbeat: 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 From 40a108fed1db42f2d0ec12d105f85220dbf044e2 Mon Sep 17 00:00:00 2001 From: Olga Naidjonoka Date: Fri, 21 Jun 2024 11:42:48 +0300 Subject: [PATCH 7/9] removed repo env var and commented TEST_TAGS --- .buildkite/x-pack/pipeline.xpack.metricbeat.yml | 1 - 1 file changed, 1 deletion(-) diff --git a/.buildkite/x-pack/pipeline.xpack.metricbeat.yml b/.buildkite/x-pack/pipeline.xpack.metricbeat.yml index 172a86aa39d..62f47b33ed9 100644 --- a/.buildkite/x-pack/pipeline.xpack.metricbeat.yml +++ b/.buildkite/x-pack/pipeline.xpack.metricbeat.yml @@ -227,7 +227,6 @@ steps: ASDF_TERRAFORM_VERSION: 1.0.2 MODULE_DIR: "x-pack/metricbeat/module/aws" MODULE: "aws" - REPO: "beats" agents: provider: "aws" imagePrefix: "${AWS_IMAGE_UBUNTU_ARM_64}" From cb066608c213120f83b1626dc2ea1aae516755bb Mon Sep 17 00:00:00 2001 From: Olga Naidjonoka Date: Wed, 26 Jun 2024 15:15:20 +0300 Subject: [PATCH 8/9] moved test tags var to pipleine --- .buildkite/x-pack/pipeline.xpack.metricbeat.yml | 2 ++ 1 file changed, 2 insertions(+) diff --git a/.buildkite/x-pack/pipeline.xpack.metricbeat.yml b/.buildkite/x-pack/pipeline.xpack.metricbeat.yml index 62f47b33ed9..0d4abdce036 100644 --- a/.buildkite/x-pack/pipeline.xpack.metricbeat.yml +++ b/.buildkite/x-pack/pipeline.xpack.metricbeat.yml @@ -227,6 +227,8 @@ steps: ASDF_TERRAFORM_VERSION: 1.0.2 MODULE_DIR: "x-pack/metricbeat/module/aws" MODULE: "aws" + # TEST_TAGS should be reviewed and updated: https://github.com/elastic/ingest-dev/issues/3476 + TEST_TAGS: "aws" agents: provider: "aws" imagePrefix: "${AWS_IMAGE_UBUNTU_ARM_64}" From ddfed84e74e76e7e2a58f2574c31fc91313d424f Mon Sep 17 00:00:00 2001 From: Olga Naidjonoka Date: Fri, 28 Jun 2024 09:21:32 +0300 Subject: [PATCH 9/9] updated namings --- .buildkite/auditbeat/auditbeat-pipeline.yml | 45 +++++++-------- .buildkite/filebeat/filebeat-pipeline.yml | 55 ++++++++++--------- .buildkite/heartbeat/heartbeat-pipeline.yml | 51 ++++++++--------- .buildkite/libbeat/pipeline.libbeat.yml | 28 +++++----- .buildkite/metricbeat/pipeline.yml | 39 ++++++------- .buildkite/packetbeat/pipeline.packetbeat.yml | 39 ++++++------- .buildkite/winlogbeat/pipeline.winlogbeat.yml | 33 +++++------ .../x-pack/pipeline.xpack.auditbeat.yml | 40 +++++++------- .../x-pack/pipeline.xpack.dockerlogbeat.yml | 19 ++++--- .buildkite/x-pack/pipeline.xpack.filebeat.yml | 48 ++++++++-------- .../x-pack/pipeline.xpack.heartbeat.yml | 45 +++++++-------- .buildkite/x-pack/pipeline.xpack.libbeat.yml | 22 ++++---- .../x-pack/pipeline.xpack.metricbeat.yml | 39 ++++++------- .../x-pack/pipeline.xpack.osquerybeat.yml | 34 ++++++------ .../x-pack/pipeline.xpack.packetbeat.yml | 14 ++--- .../x-pack/pipeline.xpack.winlogbeat.yml | 10 ++-- 16 files changed, 286 insertions(+), 275 deletions(-) diff --git a/.buildkite/auditbeat/auditbeat-pipeline.yml b/.buildkite/auditbeat/auditbeat-pipeline.yml index 07743a3c384..e5f950c98d5 100644 --- a/.buildkite/auditbeat/auditbeat-pipeline.yml +++ b/.buildkite/auditbeat/auditbeat-pipeline.yml @@ -27,11 +27,11 @@ env: TEST_COVERAGE: "true" steps: - - group: "Auditbeat Check/Update" + - group: "Check/Update" key: "auditbeat-check-update" steps: - - label: "Run check/update" + - label: "Auditbeat: Run check/update" command: | set -eo pipefail make -C auditbeat check update @@ -47,7 +47,7 @@ steps: notify: - github_commit_status: context: "auditbeat: 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 @@ -55,11 +55,11 @@ steps: if: build.env("BUILDKITE_PULL_REQUEST") != "false" depends_on: "auditbeat-check-update" - - group: "Auditbeat Mandatory Testing" + - group: "Mandatory Testing" key: "auditbeat-mandatory-tests" steps: - - label: ":linux: Auditbeat Ubuntu arm64 Unit Tests" + - label: ":ubuntu: Auditbeat: Ubuntu arm64 Unit Tests" key: "auditbeat-extended-arm64-unit-tests" command: | cd auditbeat @@ -76,9 +76,9 @@ steps: - "auditbeat/build/*.json" notify: - github_commit_status: - context: "auditbeat: Linux arm64 Unit Tests" + context: "auditbeat: Ubuntu arm64 Unit Tests" - - label: ":ubuntu: Auditbeat Unit Tests" + - label: ":ubuntu: Auditbeat: Ubuntu x86_64 Unit Tests" command: | cd auditbeat mage build unitTest @@ -94,9 +94,9 @@ steps: - "auditbeat/build/*.json" notify: - github_commit_status: - context: "auditbeat: Ubuntu Unit Tests" + context: "auditbeat: Ubuntu x86_64 Unit Tests" - - label: "Module compat tests: next major" + - label: ":ubuntu: Auditbeat: Module compat tests: next major" # Run module integration tests under next major of Elastic stack. env: STACK_ENVIRONMENT: "next-major" @@ -121,7 +121,7 @@ steps: - github_commit_status: context: "auditbeat: Module compat tests / next major" - - label: ":linux: Auditbeat Crosscompile" + - label: ":ubuntu: Auditbeat: Crosscompile" command: | make -C auditbeat crosscompile env: @@ -137,7 +137,7 @@ steps: - github_commit_status: context: "auditbeat: Crosscompile" - - label: ":windows: Auditbeat Win-2019 Unit Tests" + - label: ":windows: Auditbeat: Win 2019 Unit Tests" command: | Set-Location -Path auditbeat mage build unitTest @@ -155,14 +155,14 @@ steps: - "auditbeat/build/*.json" notify: - github_commit_status: - context: "auditbeat: Windows 2019 Unit Tests" + context: "auditbeat: Win 2019 Unit Tests" - - group: "Auditbeat Extended Tests" + - group: "Extended Tests" key: "auditbeat-extended-tests" if: build.env("BUILDKITE_PULL_REQUEST") == "false" || build.env("GITHUB_PR_LABELS") =~ /.*(macOS|arm|integrations).*/ steps: - - label: ":mac: Auditbeat macOS x86_64 Unit Tests" + - label: ":mac: Auditbeat: macOS x86_64 Unit Tests" if: build.env("BUILDKITE_PULL_REQUEST") == "false" || build.env("GITHUB_PR_LABELS") =~ /.*macOS.*/ command: | set -euo pipefail @@ -182,12 +182,12 @@ steps: - github_commit_status: context: "auditbeat: macOS x86_64 Unit Tests" - - group: "Auditbeat Windows Extended Testing" + - group: "Windows Extended Testing" key: "auditbeat-extended-tests-win" if: build.env("BUILDKITE_PULL_REQUEST") == "false" || build.env("GITHUB_PR_LABELS") =~ /.*[Ww]indows.*/ steps: - - label: ":windows: Auditbeat Win-2016 Unit Tests" + - label: ":windows: Auditbeat: Win 2016 Unit Tests" key: "auditbeat-extended-win-2016-unit-tests" command: | Set-Location -Path auditbeat @@ -206,9 +206,9 @@ steps: - "auditbeat/build/*.json" notify: - github_commit_status: - context: "auditbeat: Extended Windows 2019 Unit Tests" + context: "auditbeat: Extended Win 2019 Unit Tests" - - label: ":windows: Auditbeat Win-10 Unit Tests" + - label: ":windows: Auditbeat: Win 10 Unit Tests" key: "auditbeat-extended-win-10-unit-tests" command: | Set-Location -Path auditbeat @@ -227,7 +227,7 @@ steps: - "auditbeat/build/*.json" notify: - github_commit_status: - context: "auditbeat: Extended Windows 10 Unit Tests" + context: "auditbeat: Extended Win 10 Unit Tests" - wait: ~ # with PRs, we want to run packaging only if mandatory tests succeed @@ -236,10 +236,11 @@ steps: if: build.env("BUILDKITE_PULL_REQUEST") != "false" depends_on: "auditbeat-mandatory-tests" - - group: "Auditbeat Packaging" + - group: "Packaging" key: "auditbeat-packaging" + steps: - - label: ":ubuntu: Auditbeat/Packaging Linux" + - label: ":ubuntu: Auditbeat: Packaging Linux" key: "auditbeat-package-linux-x86" env: PLATFORMS: "+all linux/amd64 linux/arm64 windows/amd64 darwin/amd64" @@ -259,7 +260,7 @@ steps: - github_commit_status: context: "auditbeat: Packaging Linux" - - label: ":linux: Auditbeat/Packaging Linux arm64" + - label: ":linux: Auditbeat: Packaging Linux arm64" key: "auditbeat-package-linux-arm64" env: PLATFORMS: "linux/arm64" diff --git a/.buildkite/filebeat/filebeat-pipeline.yml b/.buildkite/filebeat/filebeat-pipeline.yml index 3b9ca11d25a..2715a2f2caa 100644 --- a/.buildkite/filebeat/filebeat-pipeline.yml +++ b/.buildkite/filebeat/filebeat-pipeline.yml @@ -24,10 +24,10 @@ env: TEST_COVERAGE: "true" steps: - - group: "Filebeat Check/Update" + - group: "Check/Update" key: "filebeat-check-update" steps: - - label: "Run check/update" + - label: "Filebeat: Run check/update" command: | set -eo pipefail make -C filebeat check update @@ -43,7 +43,7 @@ steps: notify: - github_commit_status: context: "filebeat: 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 @@ -51,10 +51,11 @@ steps: if: build.env("BUILDKITE_PULL_REQUEST") != "false" depends_on: "filebeat-check-update" - - group: "Filebeat Mandatory Tests" + - group: "Mandatory Tests" key: "filebeat-mandatory-tests" + steps: - - label: ":ubuntu: Filebeat Unit Tests" + - label: ":ubuntu: Filebeat: Ubuntu x86_64 Unit Tests" command: | cd filebeat mage build unitTest @@ -70,9 +71,9 @@ steps: - "filebeat/build/*.json" notify: - github_commit_status: - context: "filebeat: Linux x86_64 Unit Tests" + context: "filebeat: Ubuntu x86_64 Unit Tests" - - label: ":linux: Filebeat arm64 Unit Tests" + - label: ":ubuntu: Filebeat: Ubuntu arm64 Unit Tests" command: | cd filebeat mage build unitTest @@ -88,9 +89,9 @@ steps: - "filebeat/build/*.json" notify: - github_commit_status: - context: "filebeat: Linux arm64 Unit Tests" + context: "filebeat: Ubuntu arm64 Unit Tests" - - label: ":ubuntu: Filebeat Go Integration Tests" + - label: ":ubuntu: Filebeat: Go Integration Tests" command: | cd filebeat mage -v goIntegTest @@ -106,9 +107,9 @@ steps: - "filebeat/build/*.json" notify: - github_commit_status: - context: "filebeat: Filebeat Go Integration Tests" + context: "filebeat: Filebeat: Go Integration Tests" - - label: ":ubuntu: Filebeat Python Integration Tests" + - label: ":ubuntu: Filebeat: Python Integration Tests" command: | cd filebeat mage pythonIntegTest @@ -124,9 +125,9 @@ steps: - "filebeat/build/*.json" notify: - github_commit_status: - context: "filebeat: Python Integration Tests" + context: "filebeat: Python: Integration Tests" - - label: "Module compat tests: previous minor" + - label: ":ubuntu: Filebeat: Module compat tests: previous minor" # Runs module integration tests under previous minor of ES to ensure ingest pipeline compatibility env: STACK_ENVIRONMENT: "prev-minor" @@ -151,9 +152,9 @@ steps: - "filebeat/build/*.json" notify: - github_commit_status: - context: "filebeat: Module compat tests / previous minor" + context: "filebeat: Module compat tests: previous minor" - - label: "Module compat tests: next major" + - label: ":ubuntu: Filebeat: Module compat tests: next major" # Run module integration tests under next major of Elastic stack. env: STACK_ENVIRONMENT: "next-major" @@ -177,9 +178,9 @@ steps: - "filebeat/build/*.json" notify: - github_commit_status: - context: "filebeat: Module compat tests / next major" + context: "filebeat: Module compat tests: next major" - - label: ":windows: Filebeat Windows 2019 Unit Tests" + - label: ":windows: Filebeat: Win 2019 Unit Tests" key: "windows-extended-2019" command: | Set-Location -Path filebeat @@ -198,13 +199,13 @@ steps: - "filebeat/build/*.json" notify: - github_commit_status: - context: "filebeat: Windows 2019 Unit Tests" + context: "filebeat: Win 2019 Unit Tests" - - group: "Filebeat Extended Tests" + - group: "Extended Tests" key: "filebeat-extended-tests" steps: - - label: ":mac: MacOS x64_64 Unit Tests" + - label: ":mac: Filebeat: macOS x64_64 Unit Tests" key: "macos-unit-tests-extended" if: build.env("BUILDKITE_PULL_REQUEST") == "false" || build.env("GITHUB_PR_LABELS") =~ /.*macOS.*/ command: | @@ -230,7 +231,7 @@ steps: if: build.env("BUILDKITE_PULL_REQUEST") == "false" || build.env("GITHUB_PR_LABELS") =~ /.*[Ww]indows.*/ steps: - - label: ":windows: Filebeat Windows 2016 Unit Tests" + - label: ":windows: Filebeat: Win 2016 Unit Tests" key: "windows-2016-unit-tests" command: | Set-Location -Path filebeat @@ -249,9 +250,9 @@ steps: - "filebeat/build/*.json" notify: - github_commit_status: - context: "filebeat: Windows 2016 Unit Tests" + context: "filebeat: Win 2016 Unit Tests" - - label: ":windows: Filebeat Windows 10 Unit Tests" + - label: ":windows: Filebeat: Win 10 Unit Tests" key: "windows-extended-10" command: | Set-Location -Path filebeat @@ -270,7 +271,7 @@ steps: - "filebeat/build/*.json" notify: - github_commit_status: - context: "filebeat: Windows 10 Unit Tests" + context: "filebeat: Win 10 Unit Tests" - wait: ~ # with PRs, we want to run packaging only if mandatory tests succeed @@ -279,10 +280,10 @@ steps: if: build.env("BUILDKITE_PULL_REQUEST") != "false" depends_on: "filebeat-mandatory-tests" - - group: "Filebeat Packaging" + - group: "Packaging" key: "packaging" steps: - - label: ":linux: Filebeat Packaging Linux" + - label: ":ubuntu: Filebeat: Packaging Linux" key: "packaging-linux" command: | cd filebeat @@ -303,7 +304,7 @@ steps: - github_commit_status: context: "filebeat: Packaging Linux" - - label: ":linux: Filebeat Packaging arm64" + - label: ":ubuntu: Filebeat: Packaging arm64" key: "packaging-arm" command: | cd filebeat diff --git a/.buildkite/heartbeat/heartbeat-pipeline.yml b/.buildkite/heartbeat/heartbeat-pipeline.yml index 641f610d911..7591cb8b93a 100644 --- a/.buildkite/heartbeat/heartbeat-pipeline.yml +++ b/.buildkite/heartbeat/heartbeat-pipeline.yml @@ -26,11 +26,11 @@ env: TEST_COVERAGE: "true" steps: - - group: "Heartbeat Check/Update" + - group: "Check/Update" key: "heartbeat-check-update" - + steps: - - label: "Run check/update" + - label: "Heartbeat: Run check/update" command: | set -eo pipefail make -C heartbeat check update @@ -46,7 +46,7 @@ steps: notify: - github_commit_status: context: "hearbeat: 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 @@ -54,11 +54,11 @@ steps: if: build.env("BUILDKITE_PULL_REQUEST") != "false" depends_on: "heartbeat-check-update" - - group: "Heartbeat Mandatory Testing" + - group: "Mandatory Testing" key: "heartbeat-mandatory-tests" steps: - - label: ":linux: Heartbeat arm64 Unit Tests" + - label: ":ubuntu: Heartbeat: Ubuntu arm64 Unit Tests" command: | cd heartbeat mage build unitTest @@ -72,9 +72,9 @@ steps: artifact_paths: "heartbeat/build/*.xml" notify: - github_commit_status: - context: "heartbeat: Linux arm64 Unit Tests" + context: "heartbeat: Ubuntu arm64 Unit Tests" - - label: ":ubuntu: Heartbeat Unit Tests" + - label: ":ubuntu: Heartbeat: Ubuntu x86_64 Unit Tests" command: | cd heartbeat mage build unitTest @@ -90,9 +90,9 @@ steps: - "heartbeat/build/*.json" notify: - github_commit_status: - context: "heartbeat: Ubuntu Unit Tests" + context: "heartbeat: Ubuntu x86_64 Unit Tests" - - label: ":windows: Win-2019 Unit Tests" + - label: ":windows: Heartbeat: Win 2019 Unit Tests" key: "windows-2019" command: | Set-Location -Path heartbeat @@ -110,9 +110,9 @@ steps: - "heartbeat/build/*.json" notify: - github_commit_status: - context: "heartbeat: Win-2019 Unit Tests" + context: "heartbeat: Win 2019 Unit Tests" - - label: ":ubuntu: Heartbeat Go (Module) Integration Tests" + - label: ":ubuntu: Heartbeat: Go (Module) Integration Tests" command: | set -euo pipefail echo "~~~ Installing @elastic/synthetics" @@ -139,7 +139,7 @@ steps: - github_commit_status: context: "heartbeat: Go Integration Tests" - - label: ":ubuntu: Heartbeat Python (Module) Integration Tests" + - label: ":ubuntu: Heartbeat: Python (Module) Integration Tests" command: | set -euo pipefail # defines the MODULE env var based on what's changed in a PR @@ -163,12 +163,12 @@ steps: - github_commit_status: context: "heartbeat: Python Integration Tests" - - group: "Heartbeat Extended Tests" + - group: "Extended Tests" key: "heartbeat-extended-tests" if: build.env("BUILDKITE_PULL_REQUEST") == "false" || build.env("GITHUB_PR_LABELS") =~ /.*macOS.*/ steps: - - label: ":mac: macOS x86_64 Unit Tests" + - label: ":mac: Heartbeat: macOS x86_64 Unit Tests" key: "macos-extended" if: build.env("BUILDKITE_PULL_REQUEST") == "false" || build.env("GITHUB_PR_LABELS") =~ /.*macOS.*/ command: | @@ -189,12 +189,12 @@ steps: - github_commit_status: context: "heartbeat: macOS x86_64 Unit Tests" - - group: "Heartbeat Windows Extended Testing" + - group: "Windows Extended Testing" key: "heartbeat-extended-tests-win" if: build.env("BUILDKITE_PULL_REQUEST") == "false" || build.env("GITHUB_PR_LABELS") =~ /.*[Ww]indows.*/ steps: - - label: ":windows: Win-2016 Unit Tests" + - label: ":windows: Heartbeat: Win 2016 Unit Tests" key: "heartbeat-win-extended-2016" command: | Set-Location -Path heartbeat @@ -212,9 +212,9 @@ steps: - "heartbeat/build/*.json" notify: - github_commit_status: - context: "heartbeat: Win-2016 Unit Tests" + context: "heartbeat: Win 2016 Unit Tests" - - label: ":windows: Win-11 Unit Tests" + - label: ":windows: Heartbeat: Win 11 Unit Tests" key: "heartbeat-windows-extended-11" command: | Set-Location -Path heartbeat @@ -232,9 +232,9 @@ steps: - "heartbeat/build/*.json" notify: - github_commit_status: - context: "heartbeat: Win-11 Unit Tests" + context: "heartbeat: Win 11 Unit Tests" - - label: ":windows: Win-10 Unit Tests" + - label: ":windows: Heartbeat: Win 10 Unit Tests" key: "heartbeat-windows-extended-10" command: | Set-Location -Path heartbeat @@ -252,7 +252,7 @@ steps: - "heartbeat/build/*.json" notify: - github_commit_status: - context: "heartbeat: Win-10 Unit Tests" + context: "heartbeat: Win 10 Unit Tests" - wait: ~ # with PRs, we want to run packaging only if mandatory tests succeed @@ -261,10 +261,11 @@ steps: if: build.env("BUILDKITE_PULL_REQUEST") != "false" depends_on: "heartbeat-mandatory-tests" - - group: "Heartbeat Packaging" + - group: "Packaging" key: "heartbeat-packaging" + steps: - - label: ":ubuntu: Heartbeat Packaging Linux" + - label: ":ubuntu: Heartbeat: Packaging Linux" key: "heartbeat-package-linux" env: PLATFORMS: "+all linux/amd64 linux/arm64 windows/amd64 darwin/amd64" @@ -284,7 +285,7 @@ steps: - github_commit_status: context: "heartbeat: Packaging Linux" - - label: ":linux: Heartbeat Packaging Linux arm64" + - label: ":ubuntu: Heartbeat: Packaging Linux arm64" key: "heartbeat-package-linux-arm" env: PLATFORMS: "linux/arm64" diff --git a/.buildkite/libbeat/pipeline.libbeat.yml b/.buildkite/libbeat/pipeline.libbeat.yml index af3ac567525..f26ed181f3d 100644 --- a/.buildkite/libbeat/pipeline.libbeat.yml +++ b/.buildkite/libbeat/pipeline.libbeat.yml @@ -17,10 +17,10 @@ env: TEST_COVERAGE: "true" steps: - - group: "libbeat Check/Update" + - group: "Check/Update" key: "libbeat-check-update" steps: - - label: "Run check/update" + - label: "Libbeat: Run check/update" command: | set -eo pipefail make -C libbeat check update @@ -36,7 +36,7 @@ steps: notify: - github_commit_status: context: "libbeat: 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 @@ -48,7 +48,7 @@ steps: key: "mandatory-tests" steps: - - label: ":ubuntu: Libbeat Ubuntu Unit Tests" + - label: ":ubuntu: Libbeat: Ubuntu x86_64 Unit Tests" key: "mandatory-linux-unit-test" command: | set -euo pipefail @@ -66,9 +66,9 @@ steps: - "libbeat/build/*.json" notify: - github_commit_status: - context: "libbeat: Linux x86_64 Unit Tests" + context: "libbeat: Ubuntu x86_64 Unit Tests" - - label: ":ubuntu: Libbeat Go Integration Tests" + - label: ":ubuntu: Libbeat: Go Integration Tests" key: "mandatory-int-test" command: | set -euo pipefail @@ -88,7 +88,7 @@ steps: - github_commit_status: context: "libbeat: Go Integration Tests" - - label: ":ubuntu: Libbeat Python Integration Tests" + - label: ":ubuntu: Libbeat: Python Integration Tests" key: "mandatory-python-int-test" command: | set -euo pipefail @@ -108,7 +108,7 @@ steps: - github_commit_status: context: "libbeat: Python Integration Tests" - - label: ":ubuntu: Libbeat Module compat tests - next major" + - label: ":ubuntu: Libbeat: Module compat tests: next major" # Run module integration tests under next major of Elastic stack. env: STACK_ENVIRONMENT: "next-major" @@ -131,9 +131,9 @@ steps: - "libbeat/build/*.json" notify: - github_commit_status: - context: "libbeat: Module compat tests / next major" + context: "libbeat: Module compat tests: next major" - - label: ":ubuntu: Libbeat Crosscompile" + - label: ":ubuntu: Libbeat: Crosscompile" key: "mandatory-cross-compile" command: | set -euo pipefail @@ -153,7 +153,7 @@ steps: - github_commit_status: context: "libbeat: Crosscompile" - - label: ":ubuntu: Libbeat Stress Tests" + - label: ":ubuntu: Libbeat: Stress Tests" key: "mandatory-stress-test" command: | set -euo pipefail @@ -171,12 +171,12 @@ steps: - github_commit_status: context: "libbeat: Stress Tests" - - group: "Libbeat Extended Tests" + - group: "Extended Tests" key: "extended-tests" if: build.env("BUILDKITE_PULL_REQUEST") == "false" || build.env("GITHUB_PR_LABELS") =~ /.*arm.*/ steps: - - label: ":ubuntu: Libbeat Linux arm64 Unit Tests" + - label: ":ubuntu: Libbeat: Ubuntu arm64 Unit Tests" key: "extended-arm64-unit-tests" command: | set -euo pipefail @@ -194,4 +194,4 @@ steps: - "libbeat/build/*.json" notify: - github_commit_status: - context: "libbeat: Linux arm64 Unit Tests" + context: "libbeat: Ubuntu arm64 Unit Tests" diff --git a/.buildkite/metricbeat/pipeline.yml b/.buildkite/metricbeat/pipeline.yml index 3491232a5ac..a4d8bfcb350 100644 --- a/.buildkite/metricbeat/pipeline.yml +++ b/.buildkite/metricbeat/pipeline.yml @@ -28,10 +28,11 @@ env: TEST_COVERAGE: "true" steps: - - group: "Metricbeat Check/Update" + - group: "Check/Update" key: "metricbeat-check-update" + steps: - - label: "Run check/update" + - label: "Metricbeat: Run check/update" command: | set -eo pipefail make -C metricbeat check update @@ -55,10 +56,10 @@ steps: if: build.env("BUILDKITE_PULL_REQUEST") != "false" depends_on: "metricbeat-check-update" - - group: "Metricbeat Mandatory Tests" + - group: "Mandatory Tests" key: "metricbeat-mandatory-tests" steps: - - label: ":ubuntu: Metricbeat Linux x86_64 Unit Tests" + - label: ":ubuntu: Metricbeat: Ubuntu x86_64 Unit Tests" key: "mandatory-linux-unit-test" command: | cd metricbeat @@ -75,9 +76,9 @@ steps: - "metricbeat/build/*.json" notify: - github_commit_status: - context: "metricbeat: Linux x86_64 Unit Tests" + context: "metricbeat: Ubuntu x86_64 Unit Tests" - - label: ":ubuntu: Metricbeat Go Integration Tests" + - label: ":ubuntu: Metricbeat: Go Integration Tests" key: "mandatory-int-test" command: | set -euo pipefail @@ -103,7 +104,7 @@ steps: - github_commit_status: context: "metricbeat: Go Integration Tests" - - label: ":ubuntu: Python Integration Tests" + - label: ":ubuntu: Metricbeat: Python Integration Tests" key: "mandatory-python-int-test" command: | set -euo pipefail @@ -129,7 +130,7 @@ steps: - github_commit_status: context: "metricbeat: Python Integration Tests" - - label: ":ubuntu: Metricbeat Crosscompile" + - label: ":ubuntu: Metricbeat: Crosscompile" key: "mandatory-cross-compile" command: "make -C metricbeat crosscompile" retry: @@ -146,7 +147,7 @@ steps: - github_commit_status: context: "metricbeat: Crosscompile" - - label: ":windows: Metricbeat Win-2019 Unit Tests" + - label: ":windows: Metricbeat: Win 2019 Unit Tests" command: | Set-Location -Path metricbeat mage build unitTest @@ -165,14 +166,14 @@ steps: - "metricbeat/build/*.json" notify: - github_commit_status: - context: "metricbeat: Win-2019 Unit Tests" + context: "metricbeat: Win 2019 Unit Tests" - - group: "Metricbeat Extended Windows Tests" + - group: "Extended Windows Tests" key: "metricbeat-extended-win-tests" if: build.env("BUILDKITE_PULL_REQUEST") == "false" || build.env("GITHUB_PR_LABELS") =~ /.*[Ww]indows.*/ steps: - - label: ":windows: Metricbeat Win 10 Unit Tests" + - label: ":windows: Metricbeat: Win 10 Unit Tests" command: | Set-Location -Path metricbeat mage build unitTest @@ -193,7 +194,7 @@ steps: - github_commit_status: context: "metricbeat: Win 10 Unit Tests" - - label: ":windows: Metricbeat Win-2016 Unit Tests" + - label: ":windows: Metricbeat: Win 2016 Unit Tests" command: | Set-Location -Path metricbeat mage build unitTest @@ -212,14 +213,14 @@ steps: - "metricbeat/build/*.json" notify: - github_commit_status: - context: "metricbeat: Win-2016 Unit Tests" + context: "metricbeat: Win 2016 Unit Tests" - - group: "Metricbeat Extended macOS Tests" + - group: "Extended Tests" key: "metricbeat-extended-macos-tests" if: build.env("BUILDKITE_PULL_REQUEST") == "false" || build.env("GITHUB_PR_LABELS") =~ /.*macOS.*/ steps: - - label: ":mac: Metricbeat macOS x64_64 Unit Tests" + - label: ":mac: Metricbeat: macOS x64_64 Unit Tests" key: "extended-macos-x64-64-unit-tests" command: | set -euo pipefail @@ -245,10 +246,10 @@ steps: if: build.env("BUILDKITE_PULL_REQUEST") != "false" depends_on: "metricbeat-mandatory-tests" - - group: "Metricbeat Packaging" + - group: "Packaging" key: "metricbeat-packaging" steps: - - label: ":ubuntu: Metricbeat Packaging Linux" + - label: ":ubuntu: Metricbeat: Packaging Linux" key: "packaging-linux" command: | cd metricbeat @@ -269,7 +270,7 @@ steps: - github_commit_status: context: "metricbeat: Packaging Linux" - - label: ":ubuntu: Metricbeat Packaging Linux arm64" + - label: ":ubuntu: Metricbeat: Packaging Linux arm64" key: "packaging-arm" command: | cd metricbeat diff --git a/.buildkite/packetbeat/pipeline.packetbeat.yml b/.buildkite/packetbeat/pipeline.packetbeat.yml index 948e4f6d367..d2d2c3b9b54 100644 --- a/.buildkite/packetbeat/pipeline.packetbeat.yml +++ b/.buildkite/packetbeat/pipeline.packetbeat.yml @@ -25,10 +25,11 @@ env: TEST_COVERAGE: "true" steps: - - group: "Packetbeat Check/Update" + - group: "Check/Update" key: "packetbeat-check-update" + steps: - - label: "Run check/update" + - label: "Packetbeat: Run check/update" command: | set -eo pipefail make -C packetbeat check update @@ -44,7 +45,7 @@ steps: notify: - github_commit_status: context: "packetbeat: 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 @@ -52,11 +53,11 @@ steps: if: build.env("BUILDKITE_PULL_REQUEST") != "false" depends_on: "packetbeat-check-update" - - group: "packetbeat Mandatory Tests" + - group: "Mandatory Tests" key: "packetbeat-mandatory-tests" steps: - - label: ":ubuntu: Packetbeat Linux x86_64 Unit Tests" + - label: ":ubuntu: Packetbeat: Ubuntu x86_64 Unit Tests" command: | cd packetbeat mage build unitTest @@ -72,9 +73,9 @@ steps: - "packetbeat/build/*.json" notify: - github_commit_status: - context: "packetbeat: Linux x86_64 Unit Tests" + context: "packetbeat: Ubuntu x86_64 Unit Tests" - - label: ":ubuntu: Packetbeat Linux arm64 Unit Tests" + - label: ":ubuntu: Packetbeat: Ubuntu arm64 Unit Tests" key: "linux-arm64-unit-tests" command: | cd packetbeat @@ -91,9 +92,9 @@ steps: - "packetbeat/build/*.json" notify: - github_commit_status: - context: "packetbeat: Linux arm64 Unit Tests" + context: "packetbeat: Ubuntu arm64 Unit Tests" - - label: ":windows: Packetbeat Win-2019 Unit Tests" + - label: ":windows: Packetbeat: Win 2019 Unit Tests" command: | Set-Location -Path packetbeat mage build unitTest @@ -111,14 +112,14 @@ steps: - "packetbeat/build/*.json" notify: - github_commit_status: - context: "packetbeat: Win-2019 Unit Tests" + context: "packetbeat: Win 2019 Unit Tests" - - group: "Packetbeat Extended Windows Tests" + - group: "Extended Windows Tests" key: "packetbeat-extended-windows-tests" if: build.env("BUILDKITE_PULL_REQUEST") == "false" || build.env("GITHUB_PR_LABELS") =~ /.*[Ww]indows.*/ steps: - - label: ":windows: Packetbeat Win-2016 Unit Tests" + - label: ":windows: Packetbeat: Win 2016 Unit Tests" command: | Set-Location -Path packetbeat mage build unitTest @@ -136,9 +137,9 @@ steps: - "packetbeat/build/*.json" notify: - github_commit_status: - context: "packetbeat: Win-2016 Unit Tests" + context: "packetbeat: Win 2016 Unit Tests" - - label: ":windows: Packetbeat Win 10 Unit Tests" + - label: ":windows: Packetbeat: Win 10 Unit Tests" command: | Set-Location -Path packetbeat mage build unitTest @@ -158,11 +159,11 @@ steps: - github_commit_status: context: "packetbeat: Win 10 Unit Tests" - - group: "Packetbeat Extended Tests" + - group: "Extended Tests" key: "extended-tests" steps: - - label: ":mac: Packetbeat macOS x86_64 Unit Tests" + - label: ":mac: Packetbeat: macOS x86_64 Unit Tests" key: "macos-x86-64-unit-tests-extended" if: build.env("BUILDKITE_PULL_REQUEST") == "false" || build.env("GITHUB_PR_LABELS") =~ /.*macOS.*/ command: | @@ -190,10 +191,10 @@ steps: if: build.env("BUILDKITE_PULL_REQUEST") != "false" depends_on: "packetbeat-mandatory-tests" - - group: "Packetbeat Packaging" + - group: "Packaging" key: "packaging" steps: - - label: ":ubuntu: Packetbeat Packaging Linux" + - label: ":ubuntu: Packetbeat: Packaging Linux" key: "packaging-linux" command: | cd packetbeat @@ -214,7 +215,7 @@ steps: - github_commit_status: context: "packetbeat: Packaging Linux" - - label: ":ubuntu: Packetbeat Packaging arm64" + - label: ":ubuntu: Packetbeat: Packaging Linux arm64" key: "packaging-arm" command: | cd packetbeat diff --git a/.buildkite/winlogbeat/pipeline.winlogbeat.yml b/.buildkite/winlogbeat/pipeline.winlogbeat.yml index b3f161f1a27..2e4fcb0bd18 100644 --- a/.buildkite/winlogbeat/pipeline.winlogbeat.yml +++ b/.buildkite/winlogbeat/pipeline.winlogbeat.yml @@ -22,10 +22,11 @@ env: DOCKER_PULL: 0 steps: - - group: "Winlogbeat Check/Update" + - group: "Check/Update" key: "winlogbeat-check-update" + steps: - - label: "Run check/update" + - label: "Winlogbeat: Run check/update" command: | set -eo pipefail make -C winlogbeat check update @@ -41,7 +42,7 @@ steps: 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 @@ -49,11 +50,11 @@ steps: if: build.env("BUILDKITE_PULL_REQUEST") != "false" depends_on: "winlogbeat-check-update" - - group: "Winlogbeat Mandatory Tests" + - group: "Mandatory Tests" key: "winlogbeat-mandatory-tests" steps: - - label: ":ubuntu: Winlogbeat Crossccompile" + - label: ":ubuntu: Winlogbeat: Crossccompile" key: "mandatory-cross-compile" command: "make -C winlogbeat crosscompile" retry: @@ -70,7 +71,7 @@ steps: - github_commit_status: context: "winlogbeat: Crosscompile" - - label: ":windows: Winlogbeat Win-2019 Unit Tests" + - label: ":windows: Winlogbeat: Win 2019 Unit Tests" command: | Set-Location -Path winlogbeat mage build unitTest @@ -89,9 +90,9 @@ steps: - "winlogbeat/build/*.json" notify: - github_commit_status: - context: "winlogbeat: Win-2019 Unit Tests" + context: "winlogbeat: Win 2019 Unit Tests" - - label: ":windows: Winlogbeat Win-2022 Unit Tests" + - label: ":windows: Winlogbeat: Win 2022 Unit Tests" command: | Set-Location -Path winlogbeat mage build unitTest @@ -110,14 +111,14 @@ steps: - "winlogbeat/build/*.json" notify: - github_commit_status: - context: "winlogbeat: Win-2022 Unit Tests" + context: "winlogbeat: Win 2022 Unit Tests" - - group: "Winlogbeat Extended Windows Tests" + - group: "Extended Windows Tests" key: "winlogbeat-extended-win-tests" if: build.env("BUILDKITE_PULL_REQUEST") == "false" || build.env("GITHUB_PR_LABELS") =~ /.*[Ww]indows.*/ steps: - - label: ":windows: Winlogbeat Win-10 Unit Tests" + - label: ":windows: Winlogbeat: Win 10 Unit Tests" command: | Set-Location -Path winlogbeat mage build unitTest @@ -136,9 +137,9 @@ steps: - "winlogbeat/build/*.json" notify: - github_commit_status: - context: "winlogbeat: Win-10 Unit Tests" + context: "winlogbeat: Win 10 Unit Tests" - - label: ":windows: Winlogbeat Win-2016 Unit Tests" + - label: ":windows: Winlogbeat: Win 2016 Unit Tests" command: | Set-Location -Path winlogbeat mage build unitTest @@ -157,7 +158,7 @@ steps: - "winlogbeat/build/*.json" notify: - github_commit_status: - context: "winlogbeat: Win-2016 Unit Tests" + context: "winlogbeat: Win 2016 Unit Tests" - wait: ~ # with PRs, we want to run packaging only if mandatory tests succeed @@ -166,11 +167,11 @@ steps: if: build.env("BUILDKITE_PULL_REQUEST") != "false" depends_on: "winlogbeat-mandatory-tests" - - group: "Winlogbeat Packaging" + - group: "Packaging" key: "winlogbeat-packaging" steps: - - label: ":ubuntu: Winlogbeat Packaging Linux" + - label: ":ubuntu: Winlogbeat: Packaging Linux" key: "packaging-linux" command: | cd winlogbeat diff --git a/.buildkite/x-pack/pipeline.xpack.auditbeat.yml b/.buildkite/x-pack/pipeline.xpack.auditbeat.yml index a8a788a8934..12c89d5bd8e 100644 --- a/.buildkite/x-pack/pipeline.xpack.auditbeat.yml +++ b/.buildkite/x-pack/pipeline.xpack.auditbeat.yml @@ -26,11 +26,11 @@ env: TEST_COVERAGE: "true" steps: - - group: "x-pack/auditbeat Check/Update" + - group: "Check/Update" key: "x-pack-auditbeat-check-update" steps: - - label: "Run check/update" + - label: "x-pack/auditbeat: Run check/update" command: | set -eo pipefail make -C x-pack/auditbeat check update @@ -46,19 +46,19 @@ steps: notify: - github_commit_status: context: "x-pack/auditbeat: 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-auditbeat-check-update" - - - group: "x-pack/auditbeat Mandatory Tests" + + - group: "Mandatory Tests" key: "x-pack-auditbeat-mandatory-tests" steps: - - label: ":ubuntu: x-pack/auditbeat arm64 Unit Tests" + - label: ":ubuntu: x-pack/auditbeat: Ubuntu arm64 Unit Tests" command: | cd x-pack/auditbeat mage build unitTest @@ -74,9 +74,9 @@ steps: - "x-pack/auditbeat/build/*.json" notify: - github_commit_status: - context: "x-pack/auditbeat: Linux arm64 Unit Tests" + context: "x-pack/auditbeat: Ubuntu arm64 Unit Tests" - - label: ":ubuntu: x-pack/auditbeat Build (MODULE) Tests" + - label: ":ubuntu: x-pack/auditbeat: Build (MODULE) Tests" key: "mandatory-build-test" command: | set -euo pipefail @@ -100,7 +100,7 @@ steps: - github_commit_status: context: "x-pack/auditbeat: Build (MODULE) Tests" - - label: ":windows: x-pack/auditbeat Windows 2019 Unit Tests" + - label: ":windows: x-pack/auditbeat: Win 2019 Unit Tests" command: | Set-Location -Path x-pack/auditbeat mage build unitTest @@ -119,15 +119,15 @@ steps: - "x-pack/auditbeat/build/*.json" notify: - github_commit_status: - context: "x-pack/auditbeat: Windows 2019 Extended Tests" + context: "x-pack/auditbeat: Win 2019 Unit Tests" - - group: "x-pack/auditbeat Extended Windows Tests" + - group: "Extended Windows Tests" key: "x-pack-auditbeat-extended-win-tests" if: build.env("BUILDKITE_PULL_REQUEST") == "false" || build.env("GITHUB_PR_LABELS") =~ /.*[Ww]indows.*/ steps: - - label: ":windows: x-pack/auditbeat Windows 2016 Unit Tests" + - label: ":windows: x-pack/auditbeat: Win 2016 Unit Tests" command: | Set-Location -Path x-pack/auditbeat mage build unitTest @@ -146,9 +146,9 @@ steps: - "x-pack/auditbeat/build/*.json" notify: - github_commit_status: - context: "x-pack/auditbeat: Windows 2016 Unit Tests" + context: "x-pack/auditbeat: Win 2016 Unit Tests" - - label: ":windows: x-pack/auditbeat Windows 10 Unit Tests" + - label: ":windows: x-pack/auditbeat: Win 10 Unit Tests" command: | Set-Location -Path x-pack/auditbeat mage build unitTest @@ -167,14 +167,14 @@ steps: - "x-pack/auditbeat/build/*.json" notify: - github_commit_status: - context: "x-pack/auditbeat: Windows 10 Extended Tests" + context: "x-pack/auditbeat: Win 10 Extended Tests" - - group: "x-pack/auditbeat Extended Tests" + - group: "Extended Tests" key: "x-pack-auditbeat-extended-tests" if: build.env("BUILDKITE_PULL_REQUEST") == "false" || build.env("GITHUB_PR_LABELS") =~ /.*(macOS).*/ steps: - - label: ":mac: x-pack/auditbeat macOS x86_64 Unit Tests" + - label: ":mac: x-pack/auditbeat: macOS x86_64 Unit Tests" if: build.env("BUILDKITE_PULL_REQUEST") == "false" || build.env("GITHUB_PR_LABELS") =~ /.*macOS.*/ command: | set -euo pipefail @@ -202,11 +202,11 @@ steps: depends_on: - step: "x-pack-auditbeat-mandatory-tests" - - group: "x-pack/auditbeat Packaging" + - group: "Packaging" key: "x-pack-auditbeat-packaging" steps: - - label: ":ubuntu: x-pack/auditbeat Packaging Linux" + - label: ":ubuntu: x-pack/auditbeat: Packaging Linux" key: "packaging-linux" command: | cd x-pack/auditbeat @@ -227,7 +227,7 @@ steps: - github_commit_status: context: "x-pack/auditbeat: Packaging Linux" - - label: ":ubuntu: x-pack/auditbeat Packaging Linux arm64" + - label: ":ubuntu: x-pack/auditbeat: Packaging Linux arm64" key: "packaging-arm" command: | cd x-pack/auditbeat diff --git a/.buildkite/x-pack/pipeline.xpack.dockerlogbeat.yml b/.buildkite/x-pack/pipeline.xpack.dockerlogbeat.yml index cdcf43dc4a2..fde0b6c9504 100644 --- a/.buildkite/x-pack/pipeline.xpack.dockerlogbeat.yml +++ b/.buildkite/x-pack/pipeline.xpack.dockerlogbeat.yml @@ -18,10 +18,11 @@ env: TEST_COVERAGE: "true" steps: - - group: "x-pack/dockerlogbeat Check/Update" + - group: "Check/Update" key: "x-pack-dockerlogbeat-check-update" + steps: - - label: "Run check/update" + - label: "x-pack/dockerlogbeat: Run check/update" command: | set -eo pipefail make -C x-pack/dockerlogbeat check update @@ -37,7 +38,7 @@ steps: notify: - github_commit_status: context: "x-pack/dockerlogbeat: 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 @@ -45,10 +46,10 @@ steps: if: build.env("BUILDKITE_PULL_REQUEST") != "false" depends_on: "x-pack-dockerlogbeat-check-update" - - group: "x-pack/dockerlogbeat Mandatory Tests" + - group: "Mandatory Tests" key: "xpack-dockerlogbeat-mandatory-tests" steps: - - label: ":ubuntu: x-pack/dockerlogbeat Ubuntu Unit Tests" + - label: ":ubuntu: x-pack/dockerlogbeat: Ubuntu x86_64 Unit Tests" key: "mandatory-linux-unit-test" command: | cd x-pack/dockerlogbeat @@ -67,7 +68,7 @@ steps: - github_commit_status: context: "x-pack/dockerlogbeat: Ubuntu Unit Tests" - - label: ":ubuntu: x-pack/dockerlogbeat Go (Module) Integration Tests" + - label: ":ubuntu: x-pack/dockerlogbeat: Go (Module) Integration Tests" key: "mandatory-int-test" command: | set -euo pipefail @@ -99,11 +100,11 @@ steps: depends_on: - "xpack-dockerlogbeat-mandatory-tests" - - group: "x-pack/dockerlogbeat Packaging" + - group: "Packaging" key: "xpack-dockerlogbeat-packaging" steps: - - label: ":ubuntu: x-pack/dockerlogbeat Packaging Linux" + - label: ":ubuntu: x-pack/dockerlogbeat: Packaging Linux" key: "auditbeat-package-linux-x86" env: PLATFORMS: "+all linux/amd64 linux/arm64 windows/amd64 darwin/amd64" @@ -123,7 +124,7 @@ steps: - github_commit_status: context: "x-pack/dockerlogbeat: Packaging Linux" - - label: ":linux: x-pack/dockerlogbeat Packaging Linux arm64" + - label: ":linux: x-pack/dockerlogbeat: Packaging Linux arm64" key: "auditbeat-package-linux-arm" env: PLATFORMS: "linux/arm64" diff --git a/.buildkite/x-pack/pipeline.xpack.filebeat.yml b/.buildkite/x-pack/pipeline.xpack.filebeat.yml index 1aac5ca1f6a..c9e77c93a84 100644 --- a/.buildkite/x-pack/pipeline.xpack.filebeat.yml +++ b/.buildkite/x-pack/pipeline.xpack.filebeat.yml @@ -24,10 +24,11 @@ env: TEST_COVERAGE: "true" steps: - - group: "x-pack/filebeat Check/Update" + - group: "Check/Update" key: "x-pack-filebeat-check-update" + steps: - - label: "Run check/update" + - label: "x-pack/filebeat: Run check/update" command: | set -eo pipefail make -C x-pack/filebeat check update @@ -52,11 +53,11 @@ steps: depends_on: "x-pack-filebeat-check-update" - - group: "x-pack/filebeat Mandatory Tests" + - group: "Mandatory Tests" key: "x-pack-filebeat-mandatory-tests" steps: - - label: ":ubuntu: x-pack/filebeat Linux arm64 Unit Tests" + - label: ":ubuntu: x-pack/filebeat: Ubuntu arm64 Unit Tests" key: "x-pack-filebeat-mandatory-linux-arm-unit-test" command: | cd x-pack/filebeat @@ -70,9 +71,9 @@ steps: - "x-pack/filebeat/build/*.json" notify: - github_commit_status: - context: "x-pack/filebeat: Linux arm64 Unit Tests" + context: "x-pack/filebeat: Ubuntu arm64 Unit Tests" - - label: ":ubuntu: x-pack/filebeat Unit Tests" + - label: ":ubuntu: x-pack/filebeat: Ubuntu x86_64 Unit Tests" key: "x-pack-filebeat-mandatory-linux-unit-test" command: | cd x-pack/filebeat @@ -89,9 +90,9 @@ steps: - "x-pack/filebeat/build/*.json" notify: - github_commit_status: - context: "x-pack/filebeat: Unit Tests" + context: "x-pack/filebeat: Ubuntu x86_64 Unit Tests" - - label: ":ubuntu: x-pack/filebeat Go Integration Tests" + - label: ":ubuntu: x-pack/filebeat: Go Integration Tests" key: "x-pack-filebeat-mandatory-int-test" command: | cd x-pack/filebeat @@ -110,7 +111,7 @@ steps: - github_commit_status: context: "x-pack/filebeat: Go Integration Tests" - - label: ":ubuntu: x-pack/filebeat Python Integration Tests" + - label: ":ubuntu: x-pack/filebeat: Python Integration Tests" key: "x-pack-filebeat-mandatory-python-int-test" command: | cd x-pack/filebeat @@ -129,7 +130,7 @@ steps: - github_commit_status: context: "x-pack/filebeat: Python Integration Tests" - - label: ":ubuntu: x-pack/filebeat Module compat tests - previous minor" + - label: ":ubuntu: x-pack/filebeat: Module compat tests: previous minor" # Run module integration tests under previous minor of Elastic stack. env: STACK_ENVIRONMENT: "prev-minor" @@ -154,9 +155,9 @@ steps: - "filebeat/build/*.json" notify: - github_commit_status: - context: "x-pack/filebeat: Module compat tests / previous minor" + context: "x-pack/filebeat: Module compat tests: previous minor" - - label: ":windows: x-pack/filebeat Win-2019 Unit Tests" + - label: ":windows: x-pack/filebeat: Win 2019 Unit Tests" command: | Set-Location -Path x-pack/filebeat mage build unitTest @@ -175,14 +176,14 @@ steps: - "x-pack/filebeat/build/*.json" notify: - github_commit_status: - context: "x-pack/filebeat: Win-2019 Unit Tests" + context: "x-pack/filebeat: Win 2019 Unit Tests" - - group: "x-pack/filebeat Extended Windows Tests" + - group: "Extended Windows Tests" key: "x-pack-filebeat-extended-win-tests" if: build.env("BUILDKITE_PULL_REQUEST") == "false" || build.env("GITHUB_PR_LABELS") =~ /.*[Ww]indows.*/ steps: - - label: ":windows: x-pack/filebeat Win-2016 Unit Tests" + - label: ":windows: x-pack/filebeat: Win 2016 Unit Tests" command: | Set-Location -Path x-pack/filebeat mage build unitTest @@ -201,9 +202,9 @@ steps: - "x-pack/filebeat/build/*.json" notify: - github_commit_status: - context: "x-pack/filebeat: Win-2016 Unit Tests" + context: "x-pack/filebeat: Win 2016 Unit Tests" - - label: ":windows: x-pack/filebeat Win 10 Unit Tests" + - label: ":windows: x-pack/filebeat: Win 10 Unit Tests" command: | Set-Location -Path x-pack/filebeat mage build unitTest @@ -224,11 +225,11 @@ steps: - github_commit_status: context: "x-pack/filebeat: Win 10 Unit Tests" - - group: "x-pack/filebeat Extended Tests" + - group: "Extended Tests" key: "x-pack-filebeat-extended-tests" steps: - - label: ":mac: x-pack/filebeat macOS x86_64 Unit Tests" + - label: ":mac: x-pack/filebeat: macOS x86_64 Unit Tests" if: build.env("BUILDKITE_PULL_REQUEST") == "false" || build.env("GITHUB_PR_LABELS") =~ /.*macOS.*/ command: | set -euo pipefail @@ -248,7 +249,7 @@ steps: - github_commit_status: context: "x-pack/filebeat: macOS x86_64 Unit Tests" - - label: ":ubuntu: x-pack/filebeat AWS Tests" + - label: ":ubuntu: x-pack/filebeat: AWS Tests" key: "x-pack-filebeat-extended-cloud-test" skip: "skipping due to elastic/ingest-dev#3467" # https://github.com/elastic/ingest-dev/issues/3467 @@ -284,10 +285,11 @@ steps: depends_on: - step: "x-pack-filebeat-mandatory-tests" - - group: "x-pack/filebeat Packaging" + - group: "Packaging" key: "x-pack-filebeat-packaging" + steps: - - label: ":ubuntu: x-pack/filebeat Packaging Linux" + - label: ":ubuntu: x-pack/filebeat: Packaging Linux" key: "packaging-linux" command: | cd x-pack/filebeat @@ -308,7 +310,7 @@ steps: - github_commit_status: context: "x-pack/filebeat: Packaging Linux" - - label: ":ubuntu: x-pack/filebeat Packaging arm64" + - label: ":ubuntu: x-pack/filebeat: Packaging arm64" key: "packaging-arm" command: | cd x-pack/filebeat diff --git a/.buildkite/x-pack/pipeline.xpack.heartbeat.yml b/.buildkite/x-pack/pipeline.xpack.heartbeat.yml index 9051416c991..bfd98053c7d 100644 --- a/.buildkite/x-pack/pipeline.xpack.heartbeat.yml +++ b/.buildkite/x-pack/pipeline.xpack.heartbeat.yml @@ -31,11 +31,11 @@ env: TEST_COVERAGE: "true" steps: - - group: "x-pack/heartbeat Check/Update" + - group: "Check/Update" key: "x-pack-heartbeat-check-update" - + steps: - - label: "Run check/update" + - label: "x-pack/heartbeat: Run check/update" command: | set -eo pipefail make -C x-pack/heartbeat check update @@ -51,7 +51,7 @@ steps: notify: - github_commit_status: context: "x-pack/heartbeat: 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 @@ -59,10 +59,11 @@ steps: if: build.env("BUILDKITE_PULL_REQUEST") != "false" depends_on: "x-pack-heartbeat-check-update" - - group: "x-pack/heartbeat Mandatory Tests" + - group: "Mandatory Tests" key: "x-pack-heartbeat-mandatory-tests" + steps: - - label: ":ubuntu: x-pack/heartbeat Ubuntu Unit Tests" + - label: ":ubuntu: x-pack/heartbeat: Ubuntu x86_64 Unit Tests" key: "mandatory-linux-unit-test" command: | set -euo pipefail @@ -83,9 +84,9 @@ steps: - "x-pack/heartbeat/build/*.json" notify: - github_commit_status: - context: "x-pack/heartbeat: Ubuntu Unit Tests" + context: "x-pack/heartbeat: Ubuntu x86_64 Unit Tests" - - label: ":ubuntu: x-pack/heartbeat Go Integration Tests" + - label: ":ubuntu: x-pack/heartbeat: Go Integration Tests" key: "mandatory-int-test" command: | set -euo pipefail @@ -108,7 +109,7 @@ steps: - github_commit_status: context: "x-pack/heartbeat: Go Integration Tests" - - label: ":windows: x-pack/heartbeat Windows 2019 Unit Tests" + - label: ":windows: x-pack/heartbeat: Win 2019 Unit Tests" skip: "skipping due to elastic/beats#23957 and elastic/beats#23958" command: | Set-Location -Path x-pack/heartbeat @@ -128,15 +129,15 @@ steps: - "x-pack/heartbeat/build/*.json" notify: - github_commit_status: - context: "x-pack/heartbeat: Windows 2019 Unit Tests" + context: "x-pack/heartbeat: Win 2019 Unit Tests" - - group: "x-pack/heartbeat Extended Windows Tests" + - group: "Extended Windows Tests" key: "x-pack-heartbeat-extended-win-tests" if: build.env("BUILDKITE_PULL_REQUEST") == "false" || build.env("GITHUB_PR_LABELS") =~ /.*[Ww]indows.*/ skip: "skipping due to elastic/beats#23957 and elastic/beats#23958" steps: - - label: ":windows: x-pack/heartbeat Windows 2016 Unit Tests" + - label: ":windows: x-pack/heartbeat: Win 2016 Unit Tests" key: "mandatory-win-2016-unit-tests" skip: "skipping due to elastic/beats#23957 and elastic/beats#23958" command: | @@ -156,9 +157,9 @@ steps: - "x-pack/heartbeat/build/*.json" notify: - github_commit_status: - context: "x-pack/heartbeat: Windows 2016 Unit Tests" + context: "x-pack/heartbeat: Win 2016 Unit Tests" - - label: ":windows: x-pack/heartbeat Windows 10 Unit Tests" + - label: ":windows: x-pack/heartbeat: Win 10 Unit Tests" command: | Set-Location -Path x-pack/heartbeat mage build test @@ -177,14 +178,14 @@ steps: - "x-pack/heartbeat/build/*.json" notify: - github_commit_status: - context: "x-pack/heartbeat: Windows 10 Unit Tests" + context: "x-pack/heartbeat: Win 10 Unit Tests" - - group: "x-pack/heartbeat macOS Extended Tests" - key: "x-pack-heartbeat-extended-tests-macos" + - group: "Extended Tests" + key: "x-pack-heartbeat-extended-tests" if: build.env("BUILDKITE_PULL_REQUEST") == "false" || build.env("GITHUB_PR_LABELS") =~ /.*macOS.*/ steps: - - label: ":mac: x-pack/heartbeat macOS x86_64 Unit Tests" + - label: ":mac: x-pack/heartbeat: macOS x86_64 Unit Tests" command: | set -euo pipefail source .buildkite/scripts/install_macos_tools.sh @@ -213,11 +214,11 @@ steps: depends_on: - step: "x-pack-heartbeat-mandatory-tests" - - group: "x-pack/heartbeat Packaging" + - group: "Packaging" key: "x-pack-heartbeat-packaging" if: build.env("BUILDKITE_PULL_REQUEST") != "false" steps: - - label: ":ubuntu: x-pack/heartbeat Packaging Linux x86_64" + - label: ":ubuntu: x-pack/heartbeat: Packaging Linux" key: "packaging-linux" command: | cd x-pack/heartbeat @@ -236,9 +237,9 @@ steps: PLATFORMS: "+all linux/amd64 linux/arm64 windows/amd64 darwin/amd64" notify: - github_commit_status: - context: "x-pack/heartbeat: Packaging Linux x86_64" + context: "x-pack/heartbeat: Packaging Linux" - - label: ":ubuntu: x-pack/heartbeat Packaging Linux arm64" + - label: ":ubuntu: x-pack/heartbeat: Packaging Linux arm64" key: "packaging-arm" command: | cd x-pack/heartbeat diff --git a/.buildkite/x-pack/pipeline.xpack.libbeat.yml b/.buildkite/x-pack/pipeline.xpack.libbeat.yml index 6e38316bab7..bbcb7853e8e 100644 --- a/.buildkite/x-pack/pipeline.xpack.libbeat.yml +++ b/.buildkite/x-pack/pipeline.xpack.libbeat.yml @@ -19,10 +19,10 @@ env: TEST_COVERAGE: "true" steps: - - group: "x-pack/libbeat Check/Update" + - group: "Check/Update" key: "x-pack-libbeat-check-update" steps: - - label: "Run check/update" + - label: "x-pack/libbeat: Run check/update" command: | set -eo pipefail make -C x-pack/libbeat check update @@ -38,7 +38,7 @@ steps: notify: - github_commit_status: context: "x-pack/libbeat: 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 @@ -46,11 +46,11 @@ steps: if: build.env("BUILDKITE_PULL_REQUEST") != "false" depends_on: "x-pack-libbeat-check-update" - - group: "x-pack/libbeat Mandatory Tests" + - group: "Mandatory Tests" key: "x-pack-libbeat-mandatory-tests" steps: - - label: ":ubuntu: x-pack/libbeat Unit Tests" + - label: ":ubuntu: x-pack/libbeat: Ubuntu x86_64 Unit Tests" key: "mandatory-linux-unit-test" command: | cd x-pack/libbeat @@ -67,9 +67,9 @@ steps: - "x-pack/libbeat/build/*.json" notify: - github_commit_status: - context: "x-pack/libbeat: Unit Tests" + context: "x-pack/libbeat: Ubuntu x86_64 Unit Tests" - - label: ":ubuntu: x-pack/libbeat Go Integration Tests" + - label: ":ubuntu: x-pack/libbeat: Go Integration Tests" key: "mandatory-int-test" command: | cd x-pack/libbeat @@ -88,7 +88,7 @@ steps: - github_commit_status: context: "x-pack/libbeat: Go Integration Tests" - - label: ":ubuntu: x-pack/libbeat Python Integration Tests" + - label: ":ubuntu: x-pack/libbeat: Python Integration Tests" key: "mandatory-python-int-test" command: | cd x-pack/libbeat @@ -107,12 +107,12 @@ steps: - github_commit_status: context: "x-pack/libbeat: Python Integration Tests" - - group: "x-pack/libbeat Extended Tests" + - group: "Extended Tests" key: "x-pack-libbeat-extended-tests-linux-arm" if: build.env("BUILDKITE_PULL_REQUEST") == "false" || build.env("GITHUB_PR_LABELS") =~ /.*arm.*/ steps: - - label: ":ubuntu: x-pack/libbeat arm64 Unit Tests" + - label: ":ubuntu: x-pack/libbeat: Ubuntu arm64 Unit Tests" key: "extended-arm64-unit-tests" command: | cd x-pack/libbeat @@ -129,4 +129,4 @@ steps: - "x-pack/libbeat/build/*.json" notify: - github_commit_status: - context: "x-pack/libbeat: Linux arm64 Unit Tests" + context: "x-pack/libbeat: Ubuntu arm64 Unit Tests" diff --git a/.buildkite/x-pack/pipeline.xpack.metricbeat.yml b/.buildkite/x-pack/pipeline.xpack.metricbeat.yml index 0d4abdce036..54073381855 100644 --- a/.buildkite/x-pack/pipeline.xpack.metricbeat.yml +++ b/.buildkite/x-pack/pipeline.xpack.metricbeat.yml @@ -26,10 +26,11 @@ env: TEST_COVERAGE: "true" steps: - - group: "x-pack/metricbeat Check/Update" + - group: "Check/Update" key: "x-pack-metricbeat-check-update" + steps: - - label: "Run check/update" + - label: "x-pack/metricbeat: Run check/update" command: | set -eo pipefail make -C x-pack/metricbeat check update @@ -53,11 +54,11 @@ steps: if: build.env("BUILDKITE_PULL_REQUEST") != "false" depends_on: "x-pack-metricbeat-check-update" - - group: "x-pack/metricbeat Mandatory Tests" + - group: "Mandatory Tests" key: "x-pack-metricbeat-mandatory-tests" steps: - - label: ":ubuntu: x-pack/metricbeat Linux x86_64 Unit Tests" + - label: ":ubuntu: x-pack/metricbeat: Ubuntu x86_64 Unit Tests" key: "mandatory-linux-unit-test" command: | cd x-pack/metricbeat @@ -74,9 +75,9 @@ steps: - "x-pack/metricbeat/build/*.json" notify: - github_commit_status: - context: "x-pack/metricbeat: Linux x86_64 Unit Tests" + context: "x-pack/metricbeat: Ubuntu x86_64 Unit Tests" - - label: ":ubuntu: x-pack/metricbeat Go (MODULE) Integration Tests" + - label: ":ubuntu: x-pack/metricbeat: Go (MODULE) Integration Tests" key: "mandatory-int-test" command: | set -euo pipefail @@ -99,7 +100,7 @@ steps: - github_commit_status: context: "x-pack/metricbeat: Go (MODULE) Integration Tests" - - label: ":ubuntu: x-pack/metricbeat Python (MODULE) Integration Tests" + - label: ":ubuntu: x-pack/metricbeat: Python (MODULE) Integration Tests" key: "mandatory-python-int-test" command: | set -euo pipefail @@ -122,7 +123,7 @@ steps: - github_commit_status: context: "x-pack/metricbeat: Python (MODULE) Integration Tests" - - label: ":windows: x-pack/metricbeat Win-2019 Unit Tests" + - label: ":windows: x-pack/metricbeat: Win 2019 Unit Tests" command: | Set-Location -Path x-pack/metricbeat mage build unitTest @@ -141,14 +142,14 @@ steps: - "x-pack/metricbeat/build/*.json" notify: - github_commit_status: - context: "x-pack/metricbeat: Win-2019 Unit Tests" + context: "x-pack/metricbeat: Win 2019 Unit Tests" - - group: "x-pack/metricbeat Extended Windows Tests" + - group: "Extended Windows Tests" key: "x-pack-metricbeat-extended-win-tests" if: build.env("BUILDKITE_PULL_REQUEST") == "false" || build.env("GITHUB_PR_LABELS") =~ /.*[Ww]indows.*/ steps: - - label: ":windows: x-pack/metricbeat Win-2016 Unit Tests" + - label: ":windows: x-pack/metricbeat: Win 2016 Unit Tests" command: | Set-Location -Path x-pack/metricbeat mage build unitTest @@ -167,9 +168,9 @@ steps: - "x-pack/metricbeat/build/*.json" notify: - github_commit_status: - context: "x-pack/metricbeat: Win-2016 Unit Tests" + context: "x-pack/metricbeat: Win 2016 Unit Tests" - - label: ":windows: x-pack/metricbeat Win 10 Unit Tests" + - label: ":windows: x-pack/metricbeat: Win 10 Unit Tests" command: | Set-Location -Path x-pack/metricbeat mage build unitTest @@ -190,12 +191,12 @@ steps: - github_commit_status: context: "x-pack/metricbeat: Win 10 Unit Tests" - - group: "x-pack/metricbeat Extended Tests" + - group: "Extended Tests" key: "x-pack-metricbeat-extended-tests" if: build.env("BUILDKITE_PULL_REQUEST") == "false" || build.env("GITHUB_PR_LABELS") =~ /.*(macOS|aws).*/ steps: - - label: ":mac: x-pack/metricbeat macOS x86_64 Unit Tests" + - label: ":mac: x-pack/metricbeat: macOS x86_64 Unit Tests" if: build.env("BUILDKITE_PULL_REQUEST") == "false" || build.env("GITHUB_PR_LABELS") =~ /.*macOS.*/ command: | set -euo pipefail @@ -214,7 +215,7 @@ steps: - github_commit_status: context: "x-pack/metricbeat: macOS x86_64 Unit Tests" - - label: ":ubuntu: x-pack/metricbeat AWS Tests" + - label: ":ubuntu: x-pack/metricbeat: AWS Tests" key: "x-pack-metricbeat-extended-cloud-test" if: build.env("GITHUB_PR_LABELS") =~ /.*aws.*/ command: | @@ -248,10 +249,10 @@ steps: depends_on: - step: "x-pack-metricbeat-mandatory-tests" - - group: "x-pack/metricbeat Packaging" + - group: "Packaging" key: "x-pack-metricbeat-packaging" steps: - - label: ":ubuntu: x-pack/metricbeat Packaging Linux" + - label: ":ubuntu: x-pack/metricbeat: Packaging Linux" key: "packaging-linux" command: | cd x-pack/metricbeat @@ -272,7 +273,7 @@ steps: - github_commit_status: context: "x-pack/metricbeat: Packaging Linux" - - label: ":ubuntu: x-pack/metricbeat Packaging arm64" + - label: ":ubuntu: x-pack/metricbeat: Packaging arm64" key: "packaging-arm" command: | cd x-pack/metricbeat diff --git a/.buildkite/x-pack/pipeline.xpack.osquerybeat.yml b/.buildkite/x-pack/pipeline.xpack.osquerybeat.yml index 0eb7298a3ae..4c35bbf88f3 100644 --- a/.buildkite/x-pack/pipeline.xpack.osquerybeat.yml +++ b/.buildkite/x-pack/pipeline.xpack.osquerybeat.yml @@ -20,10 +20,10 @@ env: TEST_COVERAGE: "true" steps: - - group: "x-pack/osquerybeat Check/Update" + - group: "Check/Update" key: "x-pack-osquerybeat-check-update" steps: - - label: "Run check/update" + - label: "-pack/osquerybeat: Run check/update" command: | set -eo pipefail make -C x-pack/osquerybeat check update @@ -39,7 +39,7 @@ steps: 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 @@ -47,11 +47,11 @@ steps: if: build.env("BUILDKITE_PULL_REQUEST") != "false" depends_on: "x-pack-osquerybeat-check-update" - - group: "x-pack/osquerybeat Mandatory Tests" + - group: "Mandatory Tests" key: "x-pack-osquerybeat-mandatory-tests" steps: - - label: ":ubuntu: x-pack/osquerybeat Linux x86_64 Unit Tests" + - label: ":ubuntu: x-pack/osquerybeat: Ubuntu x86_64 Unit Tests" key: "mandatory-linux-unit-test" command: | cd x-pack/osquerybeat @@ -68,9 +68,9 @@ steps: - "x-pack/osquerybeat/build/*.json" notify: - github_commit_status: - context: "x-pack/osquerybeat: Linux x86_64 Unit Tests" + context: "x-pack/osquerybeat: Ubuntu x86_64 Unit Tests" - - label: ":ubuntu: x-pack/osquerybeat Go Integration Tests" + - label: ":ubuntu: x-pack/osquerybeat: Go Integration Tests" key: "mandatory-int-test" command: | cd x-pack/osquerybeat @@ -89,7 +89,7 @@ steps: - github_commit_status: context: "x-pack/osquerybeat: Go Integration Tests" - - label: ":windows: x-pack/osquerybeat Win-2019 Unit Tests" + - label: ":windows: x-pack/osquerybeat: Win 2019 Unit Tests" command: | Set-Location -Path x-pack/osquerybeat mage build unitTest @@ -108,14 +108,14 @@ steps: - "x-pack/osquerybeat/build/*.json" notify: - github_commit_status: - context: "x-pack/osquerybeat: Win-2019 Unit Tests" + context: "x-pack/osquerybeat: Win 2019 Unit Tests" - - group: "x-pack/osquerybeat Extended Windows Tests" + - group: "Extended Windows Tests" key: "x-pack-osquerybeat-extended-win-tests" if: build.env("BUILDKITE_PULL_REQUEST") == "false" || build.env("GITHUB_PR_LABELS") =~ /.*[Ww]indows.*/ steps: - - label: ":windows: x-pack/osquerybeat Win 10 Unit Tests" + - label: ":windows: x-pack/osquerybeat: Win 10 Unit Tests" command: | Set-Location -Path x-pack/osquerybeat mage build unitTest @@ -136,7 +136,7 @@ steps: - github_commit_status: context: "x-pack/osquerybeat: Win 10 Unit Tests" - - label: ":windows: x-pack/osquerybeat Win-2016 Unit Tests" + - label: ":windows: x-pack/osquerybeat: Win 2016 Unit Tests" command: | Set-Location -Path x-pack/osquerybeat mage build unitTest @@ -155,14 +155,14 @@ steps: - "x-pack/osquerybeat/build/*.json" notify: - github_commit_status: - context: "x-pack/osquerybeat: Win-2016 Unit Tests" + context: "x-pack/osquerybeat: Win 2016 Unit Tests" - - group: "x-pack/osquerybeat Extended Tests" + - group: "Extended Tests" key: "x-pack-osquerybeat-extended-tests" if: build.env("BUILDKITE_PULL_REQUEST") == "false" || build.env("GITHUB_PR_LABELS") =~ /.*macOS.*/ steps: - - label: ":mac: x-pack/osquerybeat macOS x86_64 Unit Tests" + - label: ":mac: x-pack/osquerybeat: macOS x86_64 Unit Tests" command: | set -euo pipefail source .buildkite/scripts/install_macos_tools.sh @@ -188,10 +188,10 @@ steps: depends_on: - step: "x-pack-osquerybeat-mandatory-tests" - - group: "x-pack/osquerybeat Packaging" + - group: "Packaging" key: "x-pack-querybeat-packaging" steps: - - label: ":ubuntu: x-pack/osquerybeat Packaging Linux" + - label: ":ubuntu: x-pack/osquerybeat: Packaging Linux" key: "packaging-linux" command: | cd x-pack/osquerybeat diff --git a/.buildkite/x-pack/pipeline.xpack.packetbeat.yml b/.buildkite/x-pack/pipeline.xpack.packetbeat.yml index 3e4cfd0623f..5aea4efdb7f 100644 --- a/.buildkite/x-pack/pipeline.xpack.packetbeat.yml +++ b/.buildkite/x-pack/pipeline.xpack.packetbeat.yml @@ -23,7 +23,7 @@ env: TEST_COVERAGE: "true" steps: - - group: "x-pack/packetbeat Check/Update" + - group: "Check/Update" key: "x-pack-packetbeat-check-update" steps: - label: "Run check/update" @@ -42,15 +42,15 @@ steps: notify: - github_commit_status: context: "x-pack/packetbeat: 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-packetbeat-check-update" - - - group: "x-pack/packetbeat Mandatory Tests" + + - group: "Mandatory Tests" key: "x-pack-packetbeat-mandatory-tests" steps: @@ -114,7 +114,7 @@ steps: - github_commit_status: context: "x-pack/packetbeat: Win-2019 Unit Tests" - - group: "x-pack/packetbeat Extended Windows Tests" + - group: "Extended Windows Tests" key: "x-pack-packetbeat-extended-win-tests" if: build.env("BUILDKITE_PULL_REQUEST") == "false" || build.env("GITHUB_PR_LABELS") =~ /.*[Ww]indows.*/ @@ -161,7 +161,7 @@ steps: - github_commit_status: context: "x-pack/packetbeat: Win-2016 Unit Tests" - - group: "x-pack/packetbeat Extended Tests" + - group: "Extended Tests" key: "x-pack-packetbeat-extended-macos-tests" if: build.env("BUILDKITE_PULL_REQUEST") == "false" || build.env("GITHUB_PR_LABELS") =~ /.*macOS.*/ @@ -186,7 +186,7 @@ steps: - github_commit_status: context: "x-pack/packetbeat: MacOS Unit Tests" - - group: "x-pack/packetbeat Packaging" + - group: "Packaging" key: "x-pack-packetbeat-packaging" if: build.env("BUILDKITE_PULL_REQUEST") != "false" depends_on: diff --git a/.buildkite/x-pack/pipeline.xpack.winlogbeat.yml b/.buildkite/x-pack/pipeline.xpack.winlogbeat.yml index 901f9565024..742685f93e9 100644 --- a/.buildkite/x-pack/pipeline.xpack.winlogbeat.yml +++ b/.buildkite/x-pack/pipeline.xpack.winlogbeat.yml @@ -19,7 +19,7 @@ env: TEST_COVERAGE: "true" steps: - - group: "x-pack/winlogbeat Check/Update" + - group: "Check/Update" key: "x-pack-winlogbeat-check-update" steps: - label: "Run check/update" @@ -38,7 +38,7 @@ steps: 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 @@ -46,7 +46,7 @@ steps: if: build.env("BUILDKITE_PULL_REQUEST") != "false" depends_on: "x-pack-winlogbeat-check-update" - - group: "x-pack/winlogbeat Mandatory Tests" + - group: "Mandatory Tests" key: "x-pack-winlogbeat-mandatory-tests" steps: - label: ":windows: x-pack/winlogbeat Win-2019 Unit (MODULE) Tests" @@ -94,7 +94,7 @@ steps: - github_commit_status: context: "x-pack/winlogbeat Win-2022 Unit Tests" - - group: "x-pack/winlogbeat Extended Windows Tests" + - group: "Extended Windows Tests" key: "extended-win-tests" if: build.env("BUILDKITE_PULL_REQUEST") == "false" || build.env("GITHUB_PR_LABELS") =~ /.*[Ww]indows.*/ @@ -167,7 +167,7 @@ steps: depends_on: - "x-pack-winlogbeat-mandatory-tests" - - group: "x-pack/winlogbeat Packaging" + - group: "Packaging" key: "x-pack-winlogbeat-packaging" steps: