Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
19 changes: 18 additions & 1 deletion .gitlab/generate-package.php
Original file line number Diff line number Diff line change
Expand Up @@ -1318,10 +1318,26 @@
script:
- ./run.sh $TESTSUITE

"System Tests: [tracer-release]":
<?php
$system_tests_weblogs = [
"apache-mod-7.0", "apache-mod-7.0-zts",
"apache-mod-7.1", "apache-mod-7.1-zts",
"apache-mod-7.2", "apache-mod-7.2-zts",
"apache-mod-7.3", "apache-mod-7.3-zts",
"apache-mod-7.4", "apache-mod-7.4-zts",
"apache-mod-8.0", "apache-mod-8.0-zts",
"apache-mod-8.1", "apache-mod-8.1-zts",
"apache-mod-8.2", "apache-mod-8.2-zts",
"php-fpm-7.0", "php-fpm-7.1", "php-fpm-7.2", "php-fpm-7.3", "php-fpm-7.4",
"php-fpm-8.0", "php-fpm-8.1", "php-fpm-8.2", "php-fpm-8.5",
];
Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

It's a bit odd that we don't have weblogs for 8.3 and 8.4 and for 8.5 with apache.
But that's what we have now, so approved.

?>
<?php foreach ($system_tests_weblogs as $weblog): ?>
"System Tests: [<?= $weblog ?>, tracer-release]":
extends: .system_tests
timeout: 4h
variables:
BUILD_SH_ARGS: -w <?= $weblog ?> php
# Expand the DinD loopback volume to avoid running out of disk space.
# See https://datadoghq.atlassian.net/wiki/spaces/K8S/pages/2874901299/How+to+use+Micro+VMs#DinD-in-CI
DOCKER_LOOPBACK_SIZE: 50G
Expand All @@ -1338,6 +1354,7 @@
- SCENARIOS=$(PYTHONPATH=. venv/bin/python utils/scripts/compute-workflow-parameters.py php -g tracer_release -f json | python3 -c "import sys,json;d=json.load(sys.stdin);s=set();[s.update(v['scenarios']) for v in d.values() if isinstance(v,dict) and 'scenarios' in v];print(' '.join(sorted(s)))")
- FAILED=""; for S in $SCENARIOS; do echo "=== Running $S ==="; ./run.sh $S || FAILED="$FAILED $S"; done; if [ -n "$FAILED" ]; then echo "Failed scenarios:$FAILED"; exit 1; fi

<?php endforeach; ?>
"System Tests: [parametric]":
extends: .system_tests
variables:
Expand Down
Loading