Skip to content

Commit

Permalink
added integrations label
Browse files Browse the repository at this point in the history
  • Loading branch information
oakrizan committed Apr 30, 2024
1 parent eb4ace1 commit 1a5d117
Showing 1 changed file with 8 additions and 7 deletions.
15 changes: 8 additions & 7 deletions .buildkite/auditbeat/auditbeat-pipeline.yml
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@ env:
ASDF_MAGE_VERSION: 1.15.0

steps:
- group: "Auditbeat Mandatory Testing "
- group: "Auditbeat Mandatory Testing"
key: "auditbeat-mandatory-tests"

steps:
Expand Down Expand Up @@ -109,11 +109,12 @@ steps:

- group: "Auditbeat Extended Tests"
key: "auditbeat-extended-tests"
if: build.env("BUILDKITE_PULL_REQUEST") == "false"
if: build.env("BUILDKITE_PULL_REQUEST") == "false" || build.env("GITHUB_PR_LABELS") =~ /.*(macOS|arm|integrations).*/

steps:
- label: ":linux: Auditbeat Ubuntu Integration Tests"
key: "auditbeat-extended-integ-tests"
if: build.env("BUILDKITE_PULL_REQUEST") == "false" || build.env("GITHUB_PR_LABELS") =~ /.*integrations.*/
command: |
set -euo pipefail
cd auditbeat
Expand All @@ -131,7 +132,7 @@ steps:

- label: ":linux: Auditbeat Linux ARM Integration Tests"
key: "auditbeat-extended-arm64-integ-tests"
if: build.env("GITHUB_PR_LABELS") =~ /.*arm.*/
if: build.env("BUILDKITE_PULL_REQUEST") == "false" || build.env("GITHUB_PR_LABELS") =~ /.*integrations.*/
command: |
set -euo pipefail
cd auditbeat
Expand All @@ -149,7 +150,7 @@ steps:

- label: ":linux: Auditbeat Linux ARM Unit Tests"
key: "auditbeat-extended-arm64-unit-tests"
if: build.env("GITHUB_PR_LABELS") =~ /.*arm.*/
if: build.env("BUILDKITE_PULL_REQUEST") == "false" || build.env("GITHUB_PR_LABELS") =~ /.*arm.*/
command: |
set -euo pipefail
cd auditbeat
Expand All @@ -166,7 +167,7 @@ steps:
context: "auditbeat: Linux ARM Unit Tests"

- label: ":mac: Auditbeat MacOS Unit Tests"
if: build.env("GITHUB_PR_LABELS") =~ /.*macOS.*/
if: build.env("BUILDKITE_PULL_REQUEST") == "false" || build.env("GITHUB_PR_LABELS") =~ /.*macOS.*/
command: |
set -euo pipefail
source .buildkite/scripts/install_macos_tools.sh
Expand All @@ -182,8 +183,8 @@ steps:
- github_commit_status:
context: "auditbeat: MacOS Unit Tests"

- label: ":mac: Auditbeat macOS ARM Unit Tests"
if: build.env("GITHUB_PR_LABELS") =~ /.*macOS.*/
- label: ":mac: Auditbeat MacOS ARM Unit Tests"
if: build.env("BUILDKITE_PULL_REQUEST") == "false" || build.env("GITHUB_PR_LABELS") =~ /.*macOS.*/
command: |
set -euo pipefail
source .buildkite/scripts/install_macos_tools.sh
Expand Down

0 comments on commit 1a5d117

Please sign in to comment.