Skip to content

Commit

Permalink
pr fixes
Browse files Browse the repository at this point in the history
  • Loading branch information
oakrizan committed May 7, 2024
1 parent 94f29c8 commit a927a23
Showing 1 changed file with 20 additions and 11 deletions.
31 changes: 20 additions & 11 deletions .buildkite/x-pack/pipeline.xpack.dockerlogbeat.yml
Original file line number Diff line number Diff line change
Expand Up @@ -22,12 +22,15 @@ env:
IMAGE_WIN_2022: "family/platform-ingest-beats-windows-2022"

steps:
- group: "x-pack/Dockerlogbeat Mandatory Tests"
- group: "x-pack/dockerlogbeat Mandatory Tests"
key: "x-pack-dockerlogbeat-mandatory-tests"
steps:
- label: ":ubuntu: x-pack/Dockerlogbeat Ubuntu Unit Tests"
- label: ":ubuntu: x-pack/dockerlogbeat Ubuntu Unit Tests"
key: "mandatory-linux-unit-test"
command: "cd x-pack/dockerlogbeat && mage build unitTest"
command: |
set -euo pipefail
cd x-pack/dockerlogbeat
mage build unitTest
retry:
automatic:
- limit: 3
Expand All @@ -42,7 +45,7 @@ steps:
- github_commit_status:
context: "x-pack/dockerlogbeat: Ubuntu Unit Tests"

- label: ":ubuntu: x-pack/Dockerlogbeat Go Integration Tests"
- label: ":ubuntu: x-pack/dockerlogbeat Go (Module) Integration Tests"
key: "mandatory-int-test"
command: |
set -euo pipefail
Expand All @@ -66,7 +69,7 @@ steps:
- "x-pack/dockerlogbeat/build/*.json"
notify:
- github_commit_status:
context: "x-pack/dockerlogbeat: Go Integration Tests"
context: "x-pack/dockerlogbeat: Go (Module) Integration Tests"

- wait: ~
# with PRs, we want to run packaging only if mandatory tests succeed
Expand All @@ -76,31 +79,37 @@ steps:
depends_on:
- "x-pack-dockerlogbeat-mandatory-tests"

- group: "x-pack/Dockerlogbeat Packaging"
- group: "x-pack/dockerlogbeat Packaging"
key: "x-pack-dockerlogbeat-packaging"

steps:
- label: ":ubuntu: x-pack/Dockerlogbeat Packaging Linux X86"
- label: ":ubuntu: x-pack/dockerlogbeat Packaging Linux x86_64"
key: "auditbeat-package-linux-x86"
env:
PLATFORMS: "+all linux/amd64 linux/arm64 windows/amd64 darwin/amd64 darwin/arm64"
SNAPSHOT: true
command: "cd x-pack/dockerlogbeat && mage package"
command: |
set -euo pipefail
cd x-pack/dockerlogbeat
mage package
agents:
provider: gcp
image: "${IMAGE_UBUNTU_X86_64}"
machineType: "${GCP_HI_PERF_MACHINE_TYPE}"
notify:
- github_commit_status:
context: "x-pack/dockerlogbeat: Packaging Linux X86"
context: "x-pack/dockerlogbeat: Packaging Linux x86_64"

- label: ":linux: x-pack/Dockerlogbeat Packaging Linux ARM"
- label: ":linux: x-pack/dockerlogbeat Packaging Linux ARM"
key: "auditbeat-package-linux-arm"
env:
PLATFORMS: "linux/arm64"
PACKAGES: "docker"
SNAPSHOT: true
command: "cd x-pack/dockerlogbeat && mage package"
command: |
set -euo pipefail
cd x-pack/dockerlogbeat
mage package
agents:
provider: "aws"
imagePrefix: "${AWS_IMAGE_UBUNTU_ARM_64}"
Expand Down

0 comments on commit a927a23

Please sign in to comment.