Skip to content

Commit c5cda3f

Browse files
authored
Run system-tests scenarios related to RASP (#7947)
* Add system-tests scenarios related to RASP * Exclude appsec scenarios from native image weblogs * Allow empty artifacts when no scenario is evaluated
1 parent 5a08588 commit c5cda3f

File tree

1 file changed

+14
-2
lines changed

1 file changed

+14
-2
lines changed

.circleci/config.continue.yml.j2

Lines changed: 14 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -816,7 +816,7 @@ jobs:
816816
parameters:
817817
weblog-variant:
818818
type: string
819-
parallelism: 3
819+
parallelism: 4
820820
steps:
821821
- setup_system_tests
822822
@@ -838,11 +838,22 @@ jobs:
838838
no_output_timeout: 5m
839839
command: |
840840
cd system-tests
841+
(
841842
echo "
842843
DEFAULT
843844
APM_TRACING_E2E
844845
APM_TRACING_E2E_SINGLE_SPAN
845-
" | circleci tests split > scenarios.list
846+
"
847+
if ! [[ << parameters.weblog-variant >> =~ .*native ]]; then
848+
echo "
849+
APPSEC_BLOCKING
850+
APPSEC_REQUEST_BLOCKING
851+
APPSEC_RASP
852+
APPSEC_RUNTIME_ACTIVATION
853+
REMOTE_CONFIG_MOCKED_BACKEND_ASM_DD
854+
"
855+
fi
856+
) | circleci tests split > scenarios.list
846857
for scenario in $(<scenarios.list); do
847858
if [[ $scenario =~ .*_E2E.* ]]; then
848859
export DD_SITE=datadoghq.com
@@ -860,6 +871,7 @@ jobs:
860871
command: |
861872
mkdir -p artifacts
862873
cd system-tests
874+
shopt -s nullglob
863875
for log_dir in logs*; do
864876
tar -cvzf ../artifacts/${log_dir}_<< parameters.weblog-variant >>.tar.gz $log_dir
865877
done

0 commit comments

Comments
 (0)