Skip to content

Commit

Permalink
updated step commands
Browse files Browse the repository at this point in the history
  • Loading branch information
oakrizan committed Mar 26, 2024
1 parent 0bcac27 commit 8ed0717
Show file tree
Hide file tree
Showing 4 changed files with 24 additions and 48 deletions.
10 changes: 5 additions & 5 deletions .buildkite/auditbeat/auditbeat-pipeline.yml
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@ steps:

steps:
- label: ":ubuntu: Unit Tests"
command: mage -d "${BEATS_PROJECT_NAME}" unitTest
command: "mage -d ${BEATS_PROJECT_NAME} unitTest"
notify:
- github_commit_status:
context: "Auditbeat: linux/Unit Tests"
Expand All @@ -37,7 +37,7 @@ steps:
- "auditbeat/build/*.json"

- label: ":rhel: Unit Tests"
command: mage -d "${BEATS_PROJECT_NAME}" unitTest
command: "mage -d ${BEATS_PROJECT_NAME} unitTest"
notify:
- github_commit_status:
context: "Auditbeat: rhel/Unit Tests"
Expand Down Expand Up @@ -83,7 +83,7 @@ steps:

- label: ":linux: Crosscompile"
command:
- ".buildkite/auditbeat/scripts/crosscompile.sh"
- "make -C auditbeat crosscompile"
env:
GOX_FLAGS: "-arch amd64"
notify:
Expand All @@ -102,7 +102,7 @@ steps:
- label: ":linux: ARM64 Unit Tests"
key: "arm-extended"
if: build.env("GITHUB_PR_TRIGGER_COMMENT") == "auditbeat for arm" || build.env("GITHUB_PR_LABELS") =~ /.*arm.*/
command: mage -d "${BEATS_PROJECT_NAME}" unitTest
command: "mage -d ${BEATS_PROJECT_NAME} unitTest"
notify:
- github_commit_status:
context: "Auditbeat: Unit Tests ARM"
Expand All @@ -115,7 +115,7 @@ steps:
- label: ":mac: MacOS Unit Tests"
key: "macos-extended"
if: build.env("GITHUB_PR_TRIGGER_COMMENT") == "auditbeat for macos" || build.env("GITHUB_PR_LABELS") =~ /.*macOS.*/
command: mage -d "${BEATS_PROJECT_NAME}" unitTest
command: "mage -d ${BEATS_PROJECT_NAME} unitTest"
notify:
- github_commit_status:
context: "Auditbeat: MacOS Unit Tests"
Expand Down
20 changes: 10 additions & 10 deletions .buildkite/filebeat/filebeat-pipeline.yml
Original file line number Diff line number Diff line change
Expand Up @@ -23,8 +23,7 @@ steps:

steps:
- label: ":ubuntu: Unit Tests"
command:
- ".buildkite/filebeat/scripts/unit-tests.sh"
command: "mage -d ${BEATS_PROJECT_NAME} unitTest"
notify:
- github_commit_status:
context: "Filebeat: linux/Unit Tests"
Expand All @@ -38,7 +37,10 @@ steps:

- label: ":ubuntu: Go Integration Tests"
command:
- ".buildkite/filebeat/scripts/integration-gotests.sh"
# - ".buildkite/filebeat/scripts/integration-gotests.sh"
- "sudo chmod -R go-w ${BEATS_PROJECT_NAME}"
- "umask 0022"
- "mage -d ${BEATS_PROJECT_NAME} goIntegTest"
notify:
- github_commit_status:
context: "Filebeat: Go Integration Tests"
Expand All @@ -52,7 +54,8 @@ steps:

- label: ":ubuntu: Python Integration Tests"
command:
- ".buildkite/filebeat/scripts/integration-pytests.sh"
- "mage -d ${BEATS_PROJECT_NAME} pythonIntegTest"
# - ".buildkite/filebeat/scripts/integration-pytests.sh"
notify:
- github_commit_status:
context: "Filebeat: Python Integration Tests"
Expand Down Expand Up @@ -104,8 +107,7 @@ steps:
- label: ":linux: ARM64 Unit Tests"
key: "arm-extended"
if: build.env("GITHUB_PR_TRIGGER_COMMENT") == "filebeat for arm" || build.env("GITHUB_PR_LABELS") =~ /.*arm.*/
command:
- ".buildkite/filebeat/scripts/unit-tests.sh"
command: "mage -d ${BEATS_PROJECT_NAME} unitTest"
notify:
- github_commit_status:
context: "Filebeat: Unit Tests ARM"
Expand All @@ -118,8 +120,7 @@ steps:
- label: ":mac: MacOS Unit Tests"
key: "macos-extended"
if: build.env("GITHUB_PR_TRIGGER_COMMENT") == "filebeat for macos" || build.env("GITHUB_PR_LABELS") =~ /.*macOS.*/
command:
- ".buildkite/filebeat/scripts/unit-tests.sh"
command: "mage -d ${BEATS_PROJECT_NAME} unitTest"
notify:
- github_commit_status:
context: "Filebeat: MacOS Unit Tests"
Expand All @@ -131,8 +132,7 @@ steps:
- label: ":mac: MacOS ARM Unit Tests"
key: "macos-extended-arm"
if: build.env("GITHUB_PR_TRIGGER_COMMENT") == "filebeat for macos" || build.env("GITHUB_PR_LABELS") =~ /.*macOS.*/
command:
- ".buildkite/filebeat/scripts/unit-tests.sh"
command: "mage -d ${BEATS_PROJECT_NAME} unitTest"
notify:
- github_commit_status:
context: "Filebeat: MacOS ARM Unit Tests"
Expand Down
21 changes: 9 additions & 12 deletions .buildkite/heartbeat/heartbeat-pipeline.yml
Original file line number Diff line number Diff line change
Expand Up @@ -24,8 +24,7 @@ steps:

steps:
- label: ":ubuntu: Unit Tests"
command:
- ".buildkite/heartbeat/scripts/unit-tests.sh"
command: "mage -d ${BEATS_PROJECT_NAME} unitTest"
notify:
- github_commit_status:
context: "Heartbeat: ubuntu/Unit Tests"
Expand All @@ -38,8 +37,7 @@ steps:
- "heartbeat/build/*.json"

- label: ":rhel:-9 Unit Tests"
command:
- ".buildkite/heartbeat/scripts/unit-tests.sh"
command: "mage -d ${BEATS_PROJECT_NAME} unitTest"
notify:
- github_commit_status:
context: "Heartbeat: rhel-9/Unit Tests"
Expand Down Expand Up @@ -83,7 +81,8 @@ steps:

- label: ":ubuntu: Go Integration Tests"
command:
- ".buildkite/heartbeat/scripts/integration-gotests.sh"
- "mage -d ${BEATS_PROJECT_NAME} goIntegTest"
# - ".buildkite/heartbeat/scripts/integration-gotests.sh"
notify:
- github_commit_status:
context: "Heartbeat: Go Integration Tests"
Expand All @@ -97,7 +96,8 @@ steps:

- label: ":ubuntu: Python Integration Tests"
command:
- ".buildkite/heartbeat/scripts/integration-pytests.sh"
- "mage -d ${BEATS_PROJECT_NAME} pythonIntegTest"
# - ".buildkite/heartbeat/scripts/integration-pytests.sh"
notify:
- github_commit_status:
context: "Heartbeat: Python Integration Tests"
Expand All @@ -117,8 +117,7 @@ steps:
- label: ":linux: ARM64 Unit Tests"
key: "arm-extended"
if: build.env("GITHUB_PR_TRIGGER_COMMENT") == "heartbeat for arm" || build.env("GITHUB_PR_LABELS") =~ /.*arm.*/
command:
- ".buildkite/heartbeat/scripts/unit-tests.sh"
command: "mage -d ${BEATS_PROJECT_NAME} unitTest"
notify:
- github_commit_status:
context: "Heartbeat: Unit Tests ARM"
Expand All @@ -131,8 +130,7 @@ steps:
- label: ":mac: MacOS Unit Tests"
key: "macos-extended"
if: build.env("GITHUB_PR_TRIGGER_COMMENT") == "heartbeat for macos" || build.env("GITHUB_PR_LABELS") =~ /.*macOS.*/
command:
- ".buildkite/heartbeat/scripts/unit-tests.sh"
command: "mage -d ${BEATS_PROJECT_NAME} unitTest"
notify:
- github_commit_status:
context: "Heartbeat: MacOS Unit Tests"
Expand All @@ -144,8 +142,7 @@ steps:
- label: ":mac: MacOS ARM Unit Tests"
key: "macos-extended-arm"
if: build.env("GITHUB_PR_TRIGGER_COMMENT") == "heartbeat for macos" || build.env("GITHUB_PR_LABELS") =~ /.*macOS.*/
command:
- ".buildkite/heartbeat/scripts/unit-tests.sh"
command: "mage -d ${BEATS_PROJECT_NAME} unitTest"
notify:
- github_commit_status:
context: "Heartbeat: MacOS ARM Unit Tests"
Expand Down
21 changes: 0 additions & 21 deletions .buildkite/scripts/win-tests.ps1

This file was deleted.

0 comments on commit 8ed0717

Please sign in to comment.