Skip to content
Merged
Show file tree
Hide file tree
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
8 changes: 2 additions & 6 deletions .buildkite/auditbeat/auditbeat-pipeline.yml
Original file line number Diff line number Diff line change
Expand Up @@ -454,9 +454,7 @@ steps:
env:
PLATFORMS: "+all linux/amd64 linux/arm64 windows/amd64 darwin/amd64 darwin/arm64"
command: |
set -euo pipefail
cd auditbeat
mage package
.buildkite/scripts/packaging/packaging.sh auditbeat
retry:
automatic:
- limit: 1
Expand All @@ -475,9 +473,7 @@ steps:
PLATFORMS: "linux/arm64"
PACKAGES: "docker"
command: |
set -euo pipefail
cd auditbeat
mage package
cd.buildkite/scripts/packaging/packaging.sh auditbeat
Comment thread
oakrizan marked this conversation as resolved.
Outdated
retry:
automatic:
- limit: 1
Expand Down
6 changes: 2 additions & 4 deletions .buildkite/filebeat/filebeat-pipeline.yml
Original file line number Diff line number Diff line change
Expand Up @@ -399,8 +399,7 @@ steps:
env:
PLATFORMS: "+all linux/amd64 linux/arm64 windows/amd64 darwin/amd64 darwin/arm64"
command: |
cd filebeat
mage package
.buildkite/scripts/packaging/packaging.sh filebeat
retry:
automatic:
- limit: 1
Expand All @@ -421,8 +420,7 @@ steps:
PLATFORMS: "linux/arm64"
PACKAGES: "docker"
command: |
cd filebeat
mage package
.buildkite/scripts/packaging/packaging.sh filebeat
retry:
automatic:
- limit: 1
Expand Down
6 changes: 2 additions & 4 deletions .buildkite/heartbeat/heartbeat-pipeline.yml
Original file line number Diff line number Diff line change
Expand Up @@ -343,8 +343,7 @@ steps:
env:
PLATFORMS: "+all linux/amd64 linux/arm64 windows/amd64 darwin/amd64 darwin/arm64"
command: |
cd heartbeat
mage package
.buildkite/scripts/packaging/packaging.sh heartbeat
retry:
automatic:
- limit: 1
Expand All @@ -363,8 +362,7 @@ steps:
PLATFORMS: "linux/arm64"
PACKAGES: "docker"
command: |
cd heartbeat
mage package
.buildkite/scripts/packaging/packaging.sh heartbeat
retry:
automatic:
- limit: 1
Expand Down
6 changes: 2 additions & 4 deletions .buildkite/metricbeat/pipeline.yml
Original file line number Diff line number Diff line change
Expand Up @@ -399,8 +399,7 @@ steps:
env:
PLATFORMS: "+all linux/amd64 linux/arm64 windows/amd64 darwin/amd64 darwin/arm64"
command: |
cd metricbeat
mage package
.buildkite/scripts/packaging/packaging.sh metricbeat
retry:
automatic:
- limit: 1
Expand All @@ -421,8 +420,7 @@ steps:
PLATFORMS: "linux/arm64"
PACKAGES: "docker"
command: |
cd metricbeat
mage package
.buildkite/scripts/packaging/packaging.sh metricbeat
retry:
automatic:
- limit: 1
Expand Down
6 changes: 2 additions & 4 deletions .buildkite/packetbeat/pipeline.packetbeat.yml
Original file line number Diff line number Diff line change
Expand Up @@ -366,8 +366,7 @@ steps:
env:
PLATFORMS: "+all linux/amd64 linux/arm64 windows/amd64 darwin/amd64 darwin/arm64"
command: |
cd packetbeat
mage package
.buildkite/scripts/packaging/packaging.sh packetbeat
retry:
automatic:
- limit: 1
Expand All @@ -388,8 +387,7 @@ steps:
PLATFORMS: "linux/arm64"
PACKAGES: "docker"
command: |
cd packetbeat
mage package
.buildkite/scripts/packaging/packaging.sh packetbeat
retry:
automatic:
- limit: 1
Expand Down
15 changes: 15 additions & 0 deletions .buildkite/scripts/packaging/packaging.sh
Original file line number Diff line number Diff line change
@@ -0,0 +1,15 @@
#!/usr/bin/env bash
Comment thread
oakrizan marked this conversation as resolved.

set -ueo pipefail

BEAT_DIR=${1:-""}

if [ -z "$BEAT_DIR" ]; then
echo "Error: Beat directory must be specified."
exit 1
fi
Comment thread
oakrizan marked this conversation as resolved.
Outdated

docker run --privileged --rm tonistiigi/binfmt:master --install all

cd $BEAT_DIR
mage package
3 changes: 1 addition & 2 deletions .buildkite/winlogbeat/pipeline.winlogbeat.yml
Original file line number Diff line number Diff line change
Expand Up @@ -209,8 +209,7 @@ steps:
env:
PLATFORMS: "+all linux/amd64 linux/arm64 windows/amd64 darwin/amd64 darwin/arm64"
command: |
cd winlogbeat
mage package
.buildkite/scripts/packaging/packaging.sh winlogbeat
retry:
automatic:
- limit: 1
Expand Down
4 changes: 1 addition & 3 deletions .buildkite/x-pack/pipeline.xpack.agentbeat.yml
Original file line number Diff line number Diff line change
Expand Up @@ -70,9 +70,7 @@ steps:
PLATFORMS: "+all linux/amd64 linux/arm64 windows/amd64 darwin/amd64 darwin/arm64"
SNAPSHOT: true
command: |
set -euo pipefail
cd x-pack/agentbeat
mage package
.buildkite/scripts/packaging/packaging.sh x-pack/agentbeat
artifact_paths:
- x-pack/agentbeat/build/distributions/**/*
- "x-pack/agentbeat/build/*.xml"
Expand Down
6 changes: 2 additions & 4 deletions .buildkite/x-pack/pipeline.xpack.auditbeat.yml
Original file line number Diff line number Diff line change
Expand Up @@ -374,8 +374,7 @@ steps:
env:
PLATFORMS: "+all linux/amd64 linux/arm64 windows/amd64 darwin/amd64 darwin/arm64"
command: |
cd x-pack/auditbeat
mage package
.buildkite/scripts/packaging/packaging.sh x-pack/auditbeat
retry:
automatic:
- limit: 1
Expand All @@ -396,8 +395,7 @@ steps:
PLATFORMS: "linux/arm64"
PACKAGES: "docker"
command: |
cd x-pack/auditbeat
mage package
.buildkite/scripts/packaging/packaging.sh x-pack/auditbeat
retry:
automatic:
- limit: 1
Expand Down
6 changes: 2 additions & 4 deletions .buildkite/x-pack/pipeline.xpack.dockerlogbeat.yml
Original file line number Diff line number Diff line change
Expand Up @@ -117,8 +117,7 @@ steps:
env:
PLATFORMS: "+all linux/amd64 linux/arm64 windows/amd64 darwin/amd64 darwin/arm64"
command: |
cd x-pack/dockerlogbeat
mage package
.buildkite/scripts/packaging/packaging.shx-pack/dockerlogbeat
Comment thread
dliappis marked this conversation as resolved.
Outdated
retry:
automatic:
- limit: 1
Expand All @@ -137,8 +136,7 @@ steps:
PLATFORMS: "linux/arm64"
PACKAGES: "docker"
command: |
cd x-pack/dockerlogbeat
mage package
.buildkite/scripts/packaging/packaging.sh x-pack/dockerlogbeat
retry:
automatic:
- limit: 1
Expand Down
6 changes: 2 additions & 4 deletions .buildkite/x-pack/pipeline.xpack.filebeat.yml
Original file line number Diff line number Diff line change
Expand Up @@ -430,8 +430,7 @@ steps:
env:
PLATFORMS: "+all linux/amd64 linux/arm64 windows/amd64 darwin/amd64 darwin/arm64"
command: |
cd x-pack/filebeat
mage package
.buildkite/scripts/packaging/packaging.sh x-pack/filebeat
retry:
automatic:
- limit: 1
Expand All @@ -452,8 +451,7 @@ steps:
PLATFORMS: "linux/arm64"
PACKAGES: "docker"
command: |
cd x-pack/filebeat
mage package
.buildkite/scripts/packaging/packaging.sh x-pack/filebeat
retry:
automatic:
- limit: 1
Expand Down
6 changes: 2 additions & 4 deletions .buildkite/x-pack/pipeline.xpack.heartbeat.yml
Original file line number Diff line number Diff line change
Expand Up @@ -361,8 +361,7 @@ steps:
env:
PLATFORMS: "+all linux/amd64 linux/arm64 windows/amd64 darwin/amd64 darwin/arm64"
command: |
cd x-pack/heartbeat
mage package
.buildkite/scripts/packaging/packaging.sh x-pack/heartbeat
retry:
automatic:
- limit: 1
Expand All @@ -383,8 +382,7 @@ steps:
PLATFORMS: "linux/arm64"
PACKAGES: "docker"
command: |
cd x-pack/heartbeat
mage package
.buildkite/scripts/packaging/packaging.sh x-pack/heartbeat
retry:
automatic:
- limit: 1
Expand Down
6 changes: 2 additions & 4 deletions .buildkite/x-pack/pipeline.xpack.metricbeat.yml
Original file line number Diff line number Diff line change
Expand Up @@ -408,8 +408,7 @@ steps:
env:
PLATFORMS: "+all linux/amd64 linux/arm64 windows/amd64 darwin/amd64 darwin/arm64"
command: |
cd x-pack/metricbeat
mage package
.buildkite/scripts/packaging/packaging.sh x-pack/metricbeat
retry:
automatic:
- limit: 1
Expand All @@ -430,8 +429,7 @@ steps:
PLATFORMS: "linux/arm64"
PACKAGES: "docker"
command: |
cd x-pack/metricbeat
mage package
.buildkite/scripts/packaging/packaging.sh x-pack/metricbeat
retry:
automatic:
- limit: 1
Expand Down
3 changes: 1 addition & 2 deletions .buildkite/x-pack/pipeline.xpack.osquerybeat.yml
Original file line number Diff line number Diff line change
Expand Up @@ -283,8 +283,7 @@ steps:
env:
PLATFORMS: "+all linux/amd64 linux/arm64 windows/amd64 darwin/amd64 darwin/arm64"
command: |
cd x-pack/osquerybeat
mage package
.buildkite/scripts/packaging/packaging.sh x-pack/osquerybeat
retry:
automatic:
- limit: 1
Expand Down
6 changes: 2 additions & 4 deletions .buildkite/x-pack/pipeline.xpack.packetbeat.yml
Original file line number Diff line number Diff line change
Expand Up @@ -451,8 +451,7 @@ steps:
env:
PLATFORMS: "+all linux/amd64 linux/arm64 windows/amd64 darwin/amd64 darwin/arm64"
command: |
cd x-pack/packetbeat
mage package
.buildkite/scripts/packaging/packaging.sh x-pack/packetbeat
retry:
automatic:
- limit: 1
Expand All @@ -473,8 +472,7 @@ steps:
PLATFORMS: "linux/arm64"
PACKAGES: "docker"
command: |
cd x-pack/packetbeat
mage package
.buildkite/scripts/packaging/packaging.sh x-pack/packetbeat
retry:
automatic:
- limit: 1
Expand Down
3 changes: 1 addition & 2 deletions .buildkite/x-pack/pipeline.xpack.winlogbeat.yml
Original file line number Diff line number Diff line change
Expand Up @@ -252,8 +252,7 @@ steps:
env:
PLATFORMS: "+all linux/amd64 linux/arm64 windows/amd64 darwin/amd64 darwin/arm64"
command: |
cd x-pack/winlogbeat
mage package
.buildkite/scripts/packaging/packaging.sh x-pack/winlogbeat
retry:
automatic:
- limit: 1
Expand Down