Skip to content

Commit e55d865

Browse files
committed
test out the OOM testing pipeline integration
1 parent d264ed4 commit e55d865

File tree

3 files changed

+32
-6
lines changed

3 files changed

+32
-6
lines changed
Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,10 @@
1+
#!/bin/bash
2+
3+
set -euo pipefail
4+
5+
cat <<YAML | buildkite-agent pipeline upload
6+
steps:
7+
- label: ":bar_chart: Trigger Prebuilt Rules Package OOM pipeline"
8+
trigger: "appex-qa-stateful-security-prebuilt-rules-ftr-oom-testing"
9+
async: false
10+
YAML

.buildkite/scripts/test_one_package.sh

Lines changed: 13 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -35,4 +35,17 @@ if ! process_package "${package}" ; then
3535
fi
3636
popd > /dev/null
3737

38+
if [ -f "./.buildkite/scripts/packages/$package.sh" ]; then
39+
echo "--- [${package}] File exists!"
40+
fi
41+
42+
cat "./.buildkite/scripts/packages/$package.sh"
43+
44+
if [ -x "./.buildkite/scripts/packages/$package.sh" ]; then
45+
echo "--- [${package}] Run individual package checker"
46+
"./.buildkite/scripts/packages/$package.sh"
47+
else
48+
echo "--- [${package}] Individual package checker ./packages/$package.sh is not found, continuing..."
49+
fi
50+
3851
exit "${exit_code}"

.buildkite/scripts/trigger_integrations_in_parallel.sh

Lines changed: 9 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -51,18 +51,21 @@ fi
5151

5252
packages_to_test=0
5353

54+
PACKAGE_LIST="security_detection_engine"
55+
5456
for package in ${PACKAGE_LIST}; do
5557
# check if needed to create an step for this package
5658
echo "--- [$package] check if it is required to be tested"
5759
pushd "packages/${package}" > /dev/null
5860
skip_package="false"
5961
failure="false"
60-
if ! reason=$(is_pr_affected "${package}" "${from}" "${to}") ; then
61-
skip_package="true"
62-
if [[ "${reason}" == "${FATAL_ERROR}" ]]; then
63-
failure=true
64-
fi
65-
fi
62+
reason="-"
63+
# if ! reason=$(is_pr_affected "${package}" "${from}" "${to}") ; then
64+
# skip_package="true"
65+
# if [[ "${reason}" == "${FATAL_ERROR}" ]]; then
66+
# failure=true
67+
# fi
68+
# fi
6669
popd > /dev/null
6770
if [[ "${failure}" == "true" ]]; then
6871
echo "Unexpected failure checking ${package}"

0 commit comments

Comments
 (0)