Skip to content

Commit

Permalink
Added retries for packaging steps & K8S tests (#39466) (#39486)
Browse files Browse the repository at this point in the history
* added retries for packaging steps & k8s tests

* added timeout for packaging steps

(cherry picked from commit 75397eb)

Co-authored-by: Olga Naydyonock <[email protected]>
  • Loading branch information
mergify[bot] and oakrizan authored May 9, 2024
1 parent 9967eb9 commit 7438a34
Show file tree
Hide file tree
Showing 15 changed files with 112 additions and 0 deletions.
8 changes: 8 additions & 0 deletions .buildkite/auditbeat/auditbeat-pipeline.yml
Original file line number Diff line number Diff line change
Expand Up @@ -316,6 +316,10 @@ steps:
set -euo pipefail
cd auditbeat
mage package
retry:
automatic:
- limit: 3
timeout_in_minutes: 20
agents:
provider: gcp
image: "${IMAGE_UBUNTU_X86_64}"
Expand All @@ -334,6 +338,10 @@ steps:
set -euo pipefail
cd auditbeat
mage package
retry:
automatic:
- limit: 3
timeout_in_minutes: 20
agents:
provider: "aws"
imagePrefix: "${AWS_IMAGE_UBUNTU_ARM_64}"
Expand Down
12 changes: 12 additions & 0 deletions .buildkite/deploy/kubernetes/deploy-k8s-pipeline.yml
Original file line number Diff line number Diff line change
Expand Up @@ -26,6 +26,9 @@ steps:
commands:
- "MODULE=kubernetes make -C metricbeat integration-tests"
- "make -C deploy/kubernetes test"
retry:
automatic:
- limit: 3
agents:
provider: "gcp"
image: "${IMAGE_UBUNTU_X86_64}"
Expand All @@ -41,6 +44,9 @@ steps:
commands:
- "MODULE=kubernetes make -C metricbeat integration-tests"
- "make -C deploy/kubernetes test"
retry:
automatic:
- limit: 3
agents:
provider: "gcp"
image: "${IMAGE_UBUNTU_X86_64}"
Expand All @@ -56,6 +62,9 @@ steps:
commands:
- "MODULE=kubernetes make -C metricbeat integration-tests"
- "make -C deploy/kubernetes test"
retry:
automatic:
- limit: 3
agents:
provider: "gcp"
image: "${IMAGE_UBUNTU_X86_64}"
Expand All @@ -71,6 +80,9 @@ steps:
commands:
- "MODULE=kubernetes make -C metricbeat integration-tests"
- "make -C deploy/kubernetes test"
retry:
automatic:
- limit: 3
agents:
provider: "gcp"
image: "${IMAGE_UBUNTU_X86_64}"
Expand Down
8 changes: 8 additions & 0 deletions .buildkite/filebeat/filebeat-pipeline.yml
Original file line number Diff line number Diff line change
Expand Up @@ -269,6 +269,10 @@ steps:
command: |
cd filebeat
mage package
retry:
automatic:
- limit: 3
timeout_in_minutes: 20
agents:
provider: "gcp"
image: "${IMAGE_UBUNTU_X86_64}"
Expand All @@ -286,6 +290,10 @@ steps:
command: |
cd filebeat
mage package
retry:
automatic:
- limit: 3
timeout_in_minutes: 20
agents:
provider: "aws"
imagePrefix: "${AWS_IMAGE_UBUNTU_ARM_64}"
Expand Down
8 changes: 8 additions & 0 deletions .buildkite/heartbeat/heartbeat-pipeline.yml
Original file line number Diff line number Diff line change
Expand Up @@ -285,6 +285,10 @@ steps:
command: |
cd heartbeat
mage package
retry:
automatic:
- limit: 3
timeout_in_minutes: 20
agents:
provider: gcp
image: "${IMAGE_UBUNTU_X86_64}"
Expand All @@ -302,6 +306,10 @@ steps:
command: |
cd heartbeat
mage package
retry:
automatic:
- limit: 3
timeout_in_minutes: 20
agents:
provider: "aws"
imagePrefix: "${AWS_IMAGE_UBUNTU_ARM_64}"
Expand Down
8 changes: 8 additions & 0 deletions .buildkite/metricbeat/pipeline.yml
Original file line number Diff line number Diff line change
Expand Up @@ -295,6 +295,10 @@ steps:
- label: ":linux: Packaging Linux"
key: "packaging-linux"
command: "cd metricbeat && mage package"
retry:
automatic:
- limit: 3
timeout_in_minutes: 20
agents:
provider: "gcp"
image: "${IMAGE_UBUNTU_X86_64}"
Expand All @@ -310,6 +314,10 @@ steps:
- label: ":linux: Packaging ARM"
key: "packaging-arm"
command: "cd metricbeat && mage package"
retry:
automatic:
- limit: 3
timeout_in_minutes: 20
agents:
provider: "aws"
imagePrefix: "${IMAGE_UBUNTU_ARM_64}"
Expand Down
8 changes: 8 additions & 0 deletions .buildkite/packetbeat/pipeline.packetbeat.yml
Original file line number Diff line number Diff line change
Expand Up @@ -245,6 +245,10 @@ steps:
command: |
cd packetbeat
mage package
retry:
automatic:
- limit: 3
timeout_in_minutes: 20
agents:
provider: "gcp"
image: "${IMAGE_UBUNTU_X86_64}"
Expand All @@ -262,6 +266,10 @@ steps:
command: |
cd packetbeat
mage package
retry:
automatic:
- limit: 3
timeout_in_minutes: 20
agents:
provider: "aws"
imagePrefix: "${AWS_IMAGE_UBUNTU_ARM_64}"
Expand Down
4 changes: 4 additions & 0 deletions .buildkite/winlogbeat/pipeline.winlogbeat.yml
Original file line number Diff line number Diff line change
Expand Up @@ -160,6 +160,10 @@ steps:
command: |
cd winlogbeat
mage package
retry:
automatic:
- limit: 3
timeout_in_minutes: 20
agents:
provider: "gcp"
image: "${IMAGE_UBUNTU_X86_64}"
Expand Down
8 changes: 8 additions & 0 deletions .buildkite/x-pack/pipeline.xpack.auditbeat.yml
Original file line number Diff line number Diff line change
Expand Up @@ -258,6 +258,10 @@ steps:
command: |
cd x-pack/auditbeat
mage package
retry:
automatic:
- limit: 3
timeout_in_minutes: 20
agents:
provider: "gcp"
image: "${IMAGE_UBUNTU_X86_64}"
Expand All @@ -275,6 +279,10 @@ steps:
command: |
cd x-pack/auditbeat
mage package
retry:
automatic:
- limit: 3
timeout_in_minutes: 20
agents:
provider: "aws"
imagePrefix: "${IMAGE_UBUNTU_ARM_64}"
Expand Down
8 changes: 8 additions & 0 deletions .buildkite/x-pack/pipeline.xpack.dockerlogbeat.yml
Original file line number Diff line number Diff line change
Expand Up @@ -91,6 +91,10 @@ steps:
command: |
cd x-pack/dockerlogbeat
mage package
retry:
automatic:
- limit: 3
timeout_in_minutes: 20
agents:
provider: gcp
image: "${IMAGE_UBUNTU_X86_64}"
Expand All @@ -108,6 +112,10 @@ steps:
command: |
cd x-pack/dockerlogbeat
mage package
retry:
automatic:
- limit: 3
timeout_in_minutes: 20
agents:
provider: "aws"
imagePrefix: "${AWS_IMAGE_UBUNTU_ARM_64}"
Expand Down
8 changes: 8 additions & 0 deletions .buildkite/x-pack/pipeline.xpack.filebeat.yml
Original file line number Diff line number Diff line change
Expand Up @@ -332,6 +332,10 @@ steps:
command: |
cd x-pack/filebeat
mage package
retry:
automatic:
- limit: 3
timeout_in_minutes: 20
agents:
provider: "gcp"
image: "${IMAGE_UBUNTU_X86_64}"
Expand All @@ -349,6 +353,10 @@ steps:
command: |
cd x-pack/filebeat
mage package
retry:
automatic:
- limit: 3
timeout_in_minutes: 20
agents:
provider: "aws"
imagePrefix: "${IMAGE_UBUNTU_ARM_64}"
Expand Down
8 changes: 8 additions & 0 deletions .buildkite/x-pack/pipeline.xpack.heartbeat.yml
Original file line number Diff line number Diff line change
Expand Up @@ -255,6 +255,10 @@ steps:
command: |
cd x-pack/heartbeat
mage package
retry:
automatic:
- limit: 3
timeout_in_minutes: 20
agents:
provider: "gcp"
image: "${IMAGE_UBUNTU_X86_64}"
Expand All @@ -272,6 +276,10 @@ steps:
command: |
cd x-pack/heartbeat
mage package
retry:
automatic:
- limit: 3
timeout_in_minutes: 20
agents:
provider: "aws"
imagePrefix: "${AWS_IMAGE_UBUNTU_ARM_64}"
Expand Down
8 changes: 8 additions & 0 deletions .buildkite/x-pack/pipeline.xpack.metricbeat.yml
Original file line number Diff line number Diff line change
Expand Up @@ -319,6 +319,10 @@ steps:
command: |
cd x-pack/metricbeat
mage package
retry:
automatic:
- limit: 3
timeout_in_minutes: 20
agents:
provider: "gcp"
image: "${IMAGE_UBUNTU_X86_64}"
Expand All @@ -336,6 +340,10 @@ steps:
command: |
cd x-pack/metricbeat
mage package
retry:
automatic:
- limit: 3
timeout_in_minutes: 20
agents:
provider: "aws"
imagePrefix: "${IMAGE_UBUNTU_ARM_64}"
Expand Down
4 changes: 4 additions & 0 deletions .buildkite/x-pack/pipeline.xpack.osquerybeat.yml
Original file line number Diff line number Diff line change
Expand Up @@ -229,6 +229,10 @@ steps:
.buildkite/scripts/install-msitools.sh
cd x-pack/osquerybeat
mage package
retry:
automatic:
- limit: 3
timeout_in_minutes: 20
agents:
provider: "gcp"
image: "${IMAGE_UBUNTU_X86_64}"
Expand Down
8 changes: 8 additions & 0 deletions .buildkite/x-pack/pipeline.xpack.packetbeat.yml
Original file line number Diff line number Diff line change
Expand Up @@ -314,6 +314,10 @@ steps:
command: |
cd x-pack/packetbeat
mage package
retry:
automatic:
- limit: 3
timeout_in_minutes: 20
agents:
provider: "gcp"
image: "${IMAGE_UBUNTU_X86_64}"
Expand All @@ -331,6 +335,10 @@ steps:
command: |
cd x-pack/packetbeat
mage package
retry:
automatic:
- limit: 3
timeout_in_minutes: 20
agents:
provider: "aws"
imagePrefix: "${IMAGE_UBUNTU_ARM_64}"
Expand Down
4 changes: 4 additions & 0 deletions .buildkite/x-pack/pipeline.xpack.winlogbeat.yml
Original file line number Diff line number Diff line change
Expand Up @@ -170,6 +170,10 @@ steps:
- label: ":ubuntu: Packaging Linux"
key: "packaging-linux"
command: "cd x-pack/winlogbeat && mage package"
retry:
automatic:
- limit: 3
timeout_in_minutes: 20
agents:
provider: "gcp"
image: "${IMAGE_UBUNTU_X86_64}"
Expand Down

0 comments on commit 7438a34

Please sign in to comment.