Skip to content

Commit

Permalink
pr fixes
Browse files Browse the repository at this point in the history
  • Loading branch information
oakrizan committed May 4, 2024
1 parent 4122638 commit 5630072
Showing 1 changed file with 17 additions and 15 deletions.
32 changes: 17 additions & 15 deletions .buildkite/x-pack/pipeline.xpack.heartbeat.yml
Expand Up @@ -30,7 +30,7 @@ steps:
- group: "x-pack/heartbeat Mandatory Tests"
key: "x-pack-heartbeat-mandatory-tests"
steps:
- label: ":linux: Ubuntu Unit Tests"
- label: ":ubuntu: x-pack/heartbeat Ubuntu Unit Tests"
key: "mandatory-linux-unit-test"
command: |
set -euo pipefail
Expand All @@ -53,7 +53,7 @@ steps:
- github_commit_status:
context: "x-pack/heartbeat: Ubuntu Unit Tests"

- label: ":go: Go Integration Tests"
- label: ":ubuntu: x-pack/heartbeat Go Integration Tests"
key: "mandatory-int-test"
command: |
set -euo pipefail
Expand All @@ -76,7 +76,7 @@ steps:
- github_commit_status:
context: "x-pack/heartbeat: Go Integration Tests"

- label: ":windows: Windows 2016 Unit Tests"
- label: ":windows: x-pack/heartbeat Windows 2016 Unit Tests"
key: "mandatory-win-2016-unit-tests"
skip: "skipping due to elastic/beats#23957 and elastic/beats#23958"
command: |
Expand All @@ -99,7 +99,7 @@ steps:
context: "x-pack/heartbeat: Windows 2016 Unit Tests"

# Doesn't exist in Jenkins
- label: ":windows: Windows 2022 Unit Tests"
- label: ":windows: x-pack/heartbeat Windows 2022 Unit Tests"
key: "mandatory-win-2022-unit-tests"
skip: "skipping due to elastic/beats#23957 and elastic/beats#23958"
command: |
Expand Down Expand Up @@ -127,7 +127,7 @@ steps:
skip: "skipping due to elastic/beats#23957 and elastic/beats#23958"

steps:
- label: ":windows: Windows 10 Unit Tests"
- label: ":windows: x-pack/heartbeat Windows 10 Unit Tests"
command: |
Set-Location -Path x-pack/heartbeat
mage build test
Expand All @@ -149,7 +149,7 @@ steps:
context: "x-pack/heartbeat: Windows 10 Unit Tests"

# Doesn't exist in Jenkins
- label: ":windows: Windows 11 Unit Tests"
- label: ":windows: x-pack/heartbeat Windows 11 Unit Tests"
command: |
Set-Location -Path x-pack/heartbeat
mage build test
Expand All @@ -170,7 +170,7 @@ steps:
- github_commit_status:
context: "x-pack/heartbeat: Windows 11 Unit Tests"

- label: ":windows: Windows 2019 Unit Tests"
- label: ":windows: x-pack/heartbeat Windows 2019 Unit Tests"
command: |
Set-Location -Path x-pack/heartbeat
mage build test
Expand All @@ -196,7 +196,7 @@ steps:
if: build.env("BUILDKITE_PULL_REQUEST") == "false" || build.env("GITHUB_PR_LABELS") =~ /.*macOS.*/

steps:
- label: ":mac: 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
Expand All @@ -217,7 +217,7 @@ steps:
- github_commit_status:
context: "x-pack/heartbeat: macOS x86_64 Extended Tests"

- label: ":mac: macOS arm64 Unit Tests"
- label: ":mac: x-pack/heartbeat macOS arm64 Unit Tests"
command: |
set -euo pipefail
source .buildkite/scripts/install_macos_tools.sh
Expand Down Expand Up @@ -246,13 +246,14 @@ steps:
depends_on:
- step: "x-pack-heartbeat-mandatory-tests"

- group: "Packaging"
key: "packaging"
- group: "x-pack/heartbeat Packaging"
key: "x-pack-heartbeat-packaging"
if: build.env("BUILDKITE_PULL_REQUEST") != "false"
steps:
- label: ":linux: Packaging Linux"
- label: ":ubuntu: x-pack/heartbeat Packaging Linux x86_64"
key: "packaging-linux"
command: |
set -euo pipefail
cd x-pack/heartbeat
mage package
agents:
Expand All @@ -265,11 +266,12 @@ steps:
PLATFORMS: "+all linux/amd64 linux/arm64 windows/amd64 darwin/amd64 darwin/arm64"
notify:
- github_commit_status:
context: "x-pack/heartbeat: Packaging Linux"
context: "x-pack/heartbeat: Packaging Linux x86_64"

- label: ":linux: Packaging ARM"
- label: ":ubuntu: x-pack/heartbeat Packaging Linux arm64"
key: "packaging-arm"
command: |
set -euo pipefail
cd x-pack/heartbeat
mage package
agents:
Expand All @@ -281,4 +283,4 @@ steps:
PACKAGES: "docker"
notify:
- github_commit_status:
context: "x-pack/heartbeat: Packaging Linux ARM"
context: "x-pack/heartbeat: Packaging Linux arm64"

0 comments on commit 5630072

Please sign in to comment.