Skip to content

Commit

Permalink
full test
Browse files Browse the repository at this point in the history
  • Loading branch information
Siarhei Harbuz committed Jan 26, 2024
1 parent 4af8233 commit d1e5d55
Show file tree
Hide file tree
Showing 5 changed files with 35 additions and 29 deletions.
48 changes: 24 additions & 24 deletions .buildkite/libbeat/pipeline.libbeat.yml
Original file line number Diff line number Diff line change
Expand Up @@ -19,32 +19,32 @@ steps:
machineType: "c2-standard-16"
artifact_paths: "libbeat/build/*.*"

# - label: ":go: Go Intergration Tests"
# key: "mandatory-int-test"
# command: ".buildkite/scripts/go_int_tests.sh ${PIPELINE_NAME}"
# agents:
# provider: "gcp"
# image: "${IMAGE_UBUNTU_X86_64}"
# machineType: "c2-standard-16"
# artifact_paths: "libbeat/build/*.*"
- label: ":go: Go Intergration Tests"
key: "mandatory-int-test"
command: ".buildkite/scripts/go_int_tests.sh ${PIPELINE_NAME}"
agents:
provider: "gcp"
image: "${IMAGE_UBUNTU_X86_64}"
machineType: "c2-standard-16"
artifact_paths: "libbeat/build/*.*"

# - label: ":python: Python Integration Tests"
# key: "mandatory-python-int-test"
# command: ".buildkite/scripts/py_int_tests.sh ${PIPELINE_NAME}"
# agents:
# provider: "gcp"
# image: "${IMAGE_UBUNTU_X86_64}"
# machineType: "c2-standard-16"
# artifact_paths: "libbeat/build/*.*"
- label: ":python: Python Integration Tests"
key: "mandatory-python-int-test"
command: ".buildkite/scripts/py_int_tests.sh ${PIPELINE_NAME}"
agents:
provider: "gcp"
image: "${IMAGE_UBUNTU_X86_64}"
machineType: "c2-standard-16"
artifact_paths: "libbeat/build/*.*"

# - label: ":negative_squared_cross_mark: Cross compile"
# key: "mandatory-cross-compile"
# command: ".buildkite/scripts/crosscompile.sh ${PIPELINE_NAME}"
# agents:
# provider: "gcp"
# image: "${IMAGE_UBUNTU_X86_64}"
# machineType: "c2-standard-16"
# artifact_paths: "libbeat/build/*.*"
- label: ":negative_squared_cross_mark: Cross compile"
key: "mandatory-cross-compile"
command: ".buildkite/scripts/crosscompile.sh ${PIPELINE_NAME}"
agents:
provider: "gcp"
image: "${IMAGE_UBUNTU_X86_64}"
machineType: "c2-standard-16"
artifact_paths: "libbeat/build/*.*"

- label: ":testengine: Stress Tests"
key: "mandatory-stress-test"
Expand Down
4 changes: 3 additions & 1 deletion .buildkite/scripts/crosscompile.sh
Original file line number Diff line number Diff line change
Expand Up @@ -6,10 +6,12 @@ set -euo pipefail

beats_subfolder=$1

echo "--- Run Crosscompile for $beats_subfolder"
sudo chmod -R go-w ${beats_subfolder}/

echo "--- Run Crosscompile for $beats_subfolder"
pushd "${beats_subfolder}" > /dev/null

umask 0022
make crosscompile

popd > /dev/null
3 changes: 2 additions & 1 deletion .buildkite/scripts/go_int_tests.sh
Original file line number Diff line number Diff line change
Expand Up @@ -6,8 +6,9 @@ set -euo pipefail

beats_subfolder=$1

echo "--- Run Go Intergration Tests for $beats_subfolder"
sudo chmod -R go-w ${beats_subfolder}/

echo "--- Run Go Intergration Tests for $beats_subfolder"
pushd "${beats_subfolder}" > /dev/null

umask 0022
Expand Down
4 changes: 2 additions & 2 deletions .buildkite/scripts/py_int_tests.sh
Original file line number Diff line number Diff line change
Expand Up @@ -6,9 +6,9 @@ set -euo pipefail

beats_subfolder=$1

echo "--- Run Python Intergration Tests for $beats_subfolder"

sudo chmod -R go-w ${beats_subfolder}/

echo "--- Run Python Intergration Tests for $beats_subfolder"
pushd "${beats_subfolder}" > /dev/null

umask 0022
Expand Down
5 changes: 4 additions & 1 deletion .buildkite/scripts/unit_tests.sh
Original file line number Diff line number Diff line change
Expand Up @@ -6,9 +6,12 @@ set -euo pipefail

beats_subfolder=$1

sudo chmod -R go-w ${beats_subfolder}/

echo "--- Run Unit Tests"
sudo chmod -R go-w "${beats_subfolder}/"
pushd "${beats_subfolder}" > /dev/null

umask 0022
mage build unitTest

popd > /dev/null

0 comments on commit d1e5d55

Please sign in to comment.