Skip to content

Commit

Permalink
Label/context fixes to pipeline
Browse files Browse the repository at this point in the history
  • Loading branch information
dliappis committed May 2, 2024
1 parent badd99e commit 23a3204
Showing 1 changed file with 19 additions and 19 deletions.
38 changes: 19 additions & 19 deletions .buildkite/auditbeat/auditbeat-pipeline.yml
Original file line number Diff line number Diff line change
Expand Up @@ -59,7 +59,7 @@ steps:
- github_commit_status:
context: "auditbeat: RHEL Unit Tests"

- label: ":windows: Auditbeat Win-2016 Unit Tests"
- label: ":windows: Auditbeat Windows 2016 Unit Tests"
command: |
Set-Location -Path auditbeat
mage build unitTest
Expand All @@ -74,9 +74,9 @@ steps:
- "auditbeat/build/*.json"
notify:
- github_commit_status:
context: "auditbeat: Win-2016 Unit Tests"
context: "auditbeat: Windows 2016 Unit Tests"

- label: ":windows: Auditbeat Win-2022 Unit Tests"
- label: ":windows: Auditbeat Windows 2022 Unit Tests"
command: |
Set-Location -Path auditbeat
mage build unitTest
Expand All @@ -91,7 +91,7 @@ steps:
- "auditbeat/build/*.json"
notify:
- github_commit_status:
context: "auditbeat: Win-2022 Unit Tests"
context: "auditbeat: Windows 2022 Unit Tests"

- label: ":linux: Auditbeat Crosscompile"
command: |
Expand Down Expand Up @@ -130,7 +130,7 @@ steps:
- github_commit_status:
context: "auditbeat: Linux Integration Tests"

- label: ":linux: Auditbeat Linux ARM Integration Tests"
- label: ":linux: Auditbeat Ubuntu arm64 Integration Tests"
key: "auditbeat-extended-arm64-integ-tests"
if: build.env("BUILDKITE_PULL_REQUEST") == "false" || build.env("GITHUB_PR_LABELS") =~ /.*integrations.*/
command: |
Expand All @@ -146,9 +146,9 @@ steps:
- "auditbeat/build/*.json"
notify:
- github_commit_status:
context: "auditbeat: Linux ARM Integration Tests"
context: "auditbeat: Linux arm64 Integration Tests"

- label: ":linux: Auditbeat Linux ARM Unit Tests"
- label: ":linux: Auditbeat Ubuntu arm64 Unit Tests"
key: "auditbeat-extended-arm64-unit-tests"
if: build.env("BUILDKITE_PULL_REQUEST") == "false" || build.env("GITHUB_PR_LABELS") =~ /.*arm.*/
command: |
Expand All @@ -164,9 +164,9 @@ steps:
- "auditbeat/build/*.json"
notify:
- github_commit_status:
context: "auditbeat: Linux ARM Unit Tests"
context: "auditbeat: Linux arm64 Unit Tests"

- label: ":mac: Auditbeat MacOS 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
Expand All @@ -181,9 +181,9 @@ steps:
- "auditbeat/build/*.json"
notify:
- github_commit_status:
context: "auditbeat: MacOS Unit Tests"
context: "auditbeat: macOS x86_64 Unit Tests"

- label: ":mac: Auditbeat MacOS ARM Unit Tests"
- label: ":mac: Auditbeat macOS arm64 ARM Unit Tests"
if: build.env("BUILDKITE_PULL_REQUEST") == "false" || build.env("GITHUB_PR_LABELS") =~ /.*macOS.*/
command: |
set -euo pipefail
Expand All @@ -198,14 +198,14 @@ steps:
- "auditbeat/build/*.json"
notify:
- github_commit_status:
context: "auditbeat: MacOS ARM Unit Tests"
context: "auditbeat: macOS arm64 Unit Tests"

- group: "Auditbeat 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-2019 Unit Tests"
- label: ":windows: Auditbeat Windows 2019 Unit Tests"
key: "auditbeat-extended-win-2019-unit-tests"
command: |
Set-Location -Path auditbeat
Expand All @@ -221,9 +221,9 @@ steps:
- "auditbeat/build/*.json"
notify:
- github_commit_status:
context: "auditbeat: Extended Win-2019 Unit Tests"
context: "auditbeat: Extended Windows 2019 Unit Tests"

- label: ":windows: Auditbeat Win-10 Unit Tests"
- label: ":windows: Auditbeat Windows 10 Unit Tests"
key: "auditbeat-extended-win-10-unit-tests"
command: |
Set-Location -Path auditbeat
Expand All @@ -239,9 +239,9 @@ steps:
- "auditbeat/build/*.json"
notify:
- github_commit_status:
context: "auditbeat: Extended Win-10 Unit Tests"
context: "auditbeat: Extended Windows 10 Unit Tests"

- label: ":windows: Auditbeat Win 11 Unit Tests"
- label: ":windows: Auditbeat Windows 11 Unit Tests"
key: "auditbeat-extended-win-11-unit-tests"
command: |
Set-Location -Path auditbeat
Expand All @@ -257,7 +257,7 @@ steps:
- "auditbeat/build/*.json"
notify:
- github_commit_status:
context: "auditbeat: Extended Win 11 Unit Tests"
context: "auditbeat: Extended Windows 11 Unit Tests"

- wait: ~
# with PRs, we want to run packaging only if mandatory tests succeed
Expand All @@ -284,7 +284,7 @@ steps:
machineType: "${GCP_HI_PERF_MACHINE_TYPE}"
notify:
- github_commit_status:
context: "auditbeat: Packaging Linux"
context: "auditbeat: Packaging"

- label: ":linux: Auditbeat/Packaging Linux arm64"
key: "auditbeat-package-linux-arm64"
Expand Down

0 comments on commit 23a3204

Please sign in to comment.