Skip to content
Merged
Show file tree
Hide file tree
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
2 changes: 1 addition & 1 deletion .gitlab/generate-tracer.php
Original file line number Diff line number Diff line change
Expand Up @@ -180,7 +180,7 @@ function before_script_steps() {
stage: test
tags: [ "arch:${ARCH}" ]
image: registry.ddbuild.io/images/mirror/datadog/dd-trace-ci:php-${PHP_MAJOR_MINOR}_bookworm-5
timeout: 30m
timeout: 60m
variables:
host_os: linux-gnu
COMPOSER_MEMORY_LIMIT: "-1"
Expand Down
22 changes: 11 additions & 11 deletions docker-compose.linux.override.yml
Original file line number Diff line number Diff line change
Expand Up @@ -15,14 +15,14 @@ x-aliases:
services:
# --- Alpine ---
'8.0-alpine': { <<: *linux_php_service }
# --- Buster ---
'7.0-buster': { <<: *linux_php_service }
'7.1-buster': { <<: *linux_php_service }
'7.2-buster': { <<: *linux_php_service }
'7.3-buster': { <<: *linux_php_service }
'7.4-buster': { <<: *linux_php_service }
'8.0-buster': { <<: *linux_php_service }
'8.1-buster': { <<: *linux_php_service }
'8.2-buster': { <<: *linux_php_service }
'8.3-buster': { <<: *linux_php_service }
'8.4-buster': { <<: *linux_php_service }
# --- Bookworm ---
'7.0-bookworm': { <<: *linux_php_service }
'7.1-bookworm': { <<: *linux_php_service }
'7.2-bookworm': { <<: *linux_php_service }
'7.3-bookworm': { <<: *linux_php_service }
'7.4-bookworm': { <<: *linux_php_service }
'8.0-bookworm': { <<: *linux_php_service }
'8.1-bookworm': { <<: *linux_php_service }
'8.2-bookworm': { <<: *linux_php_service }
'8.3-bookworm': { <<: *linux_php_service }
'8.4-bookworm': { <<: *linux_php_service }
2 changes: 1 addition & 1 deletion dockerfiles/ci/alpine/php-8.0/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -90,7 +90,7 @@ RUN set -eux; \
switch-php ${PHP_VERSION}-debug;

# Install Composer
COPY --from=composer:1 /usr/bin/composer /usr/local/bin/composer
COPY --from=composer:2 /usr/bin/composer /usr/local/bin/composer

COPY welcome /etc/motd

Expand Down
2 changes: 1 addition & 1 deletion dockerfiles/ci/bookworm/php-8.0/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -85,7 +85,7 @@ RUN set -eux; \
switch-php debug;

# Install Composer
COPY --from=composer:1 /usr/bin/composer /usr/local/bin/composer
COPY --from=composer:2 /usr/bin/composer /usr/local/bin/composer

COPY welcome /etc/motd
RUN sudo sed -i "s/VERSIONS/$(ls $PHP_INSTALL_DIR | xargs)/" /etc/motd
Expand Down
2 changes: 1 addition & 1 deletion dockerfiles/ci/bookworm/php-8.1/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -86,7 +86,7 @@ RUN set -eux; \
switch-php debug;

# Install Composer
COPY --from=composer:1 /usr/bin/composer /usr/local/bin/composer
COPY --from=composer:2 /usr/bin/composer /usr/local/bin/composer

COPY welcome /etc/motd
RUN sudo sed -i "s/VERSIONS/$(ls $PHP_INSTALL_DIR | xargs)/" /etc/motd
Expand Down
2 changes: 1 addition & 1 deletion dockerfiles/ci/buster/php-8.0/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -84,7 +84,7 @@ RUN set -eux; \
switch-php debug;

# Install Composer
COPY --from=composer:1 /usr/bin/composer /usr/local/bin/composer
COPY --from=composer:2 /usr/bin/composer /usr/local/bin/composer

COPY welcome /etc/motd
RUN sudo sed -i "s/VERSIONS/$(ls $PHP_INSTALL_DIR | xargs)/" /etc/motd
Expand Down
2 changes: 1 addition & 1 deletion dockerfiles/ci/buster/php-8.1/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -85,7 +85,7 @@ RUN set -eux; \
switch-php debug;

# Install Composer
COPY --from=composer:1 /usr/bin/composer /usr/local/bin/composer
COPY --from=composer:2 /usr/bin/composer /usr/local/bin/composer

COPY welcome /etc/motd
RUN sudo sed -i "s/VERSIONS/$(ls $PHP_INSTALL_DIR | xargs)/" /etc/motd
Expand Down
1 change: 1 addition & 0 deletions dockerfiles/ci/xfail_tests/7.4.list
Original file line number Diff line number Diff line change
Expand Up @@ -264,6 +264,7 @@ ext/phar/tests/phar_buildfromiterator8.phpt
ext/phar/tests/phar_oo_002.phpt
ext/phar/tests/phar_oo_005.phpt
ext/phar/tests/phar_oo_007.phpt
ext/posix/tests/posix_getgrnam_basic.phpt
ext/readline/tests/libedit_callback_handler_install_001.phpt
ext/readline/tests/libedit_callback_handler_remove_001.phpt
ext/reflection/tests/009.phpt
Expand Down
2 changes: 2 additions & 0 deletions dockerfiles/ci/xfail_tests/8.0.list
Original file line number Diff line number Diff line change
Expand Up @@ -311,6 +311,7 @@ ext/phar/tests/phar_metadata_write4.phpt
ext/phar/tests/phar_oo_002.phpt
ext/phar/tests/phar_oo_005.phpt
ext/phar/tests/phar_oo_007.phpt
ext/posix/tests/posix_getgrnam_basic.phpt
ext/readline/tests/libedit_callback_handler_install_001.phpt
ext/readline/tests/libedit_callback_handler_remove_001.phpt
ext/reflection/tests/009.phpt
Expand Down Expand Up @@ -562,3 +563,4 @@ ext/standard/tests/http/ghsa-hgf5-96fm-v528-003.phpt
ext/standard/tests/http/ghsa-hgf5-96fm-v528-002.phpt
ext/standard/tests/http/ghsa-hgf5-96fm-v528-001.phpt
ext/standard/tests/http/ignore_errors.phpt
ext/standard/tests/general_functions/proc_open02.phpt
1 change: 1 addition & 0 deletions dockerfiles/ci/xfail_tests/8.1.list
Original file line number Diff line number Diff line change
Expand Up @@ -128,6 +128,7 @@ ext/phar/tests/phar_metadata_write4.phpt
ext/phar/tests/phar_oo_002.phpt
ext/phar/tests/phar_oo_005.phpt
ext/phar/tests/phar_oo_007.phpt
ext/posix/tests/posix_getgrnam_basic.phpt
ext/readline/tests/libedit_callback_handler_install_001.phpt
ext/readline/tests/libedit_callback_handler_remove_001.phpt
ext/simplexml/tests/bug51615.phpt
Expand Down
1 change: 1 addition & 0 deletions dockerfiles/ci/xfail_tests/8.2.list
Original file line number Diff line number Diff line change
Expand Up @@ -118,6 +118,7 @@ ext/phar/tests/phar_metadata_write4.phpt
ext/phar/tests/phar_oo_002.phpt
ext/phar/tests/phar_oo_005.phpt
ext/phar/tests/phar_oo_007.phpt
ext/posix/tests/posix_getgrnam_basic.phpt
ext/readline/tests/libedit_callback_handler_install_001.phpt
ext/readline/tests/libedit_callback_handler_remove_001.phpt
ext/simplexml/tests/bug51615.phpt
Expand Down
1 change: 1 addition & 0 deletions dockerfiles/ci/xfail_tests/8.3.list
Original file line number Diff line number Diff line change
Expand Up @@ -116,6 +116,7 @@ ext/phar/tests/phar_metadata_write4.phpt
ext/phar/tests/phar_oo_002.phpt
ext/phar/tests/phar_oo_005.phpt
ext/phar/tests/phar_oo_007.phpt
ext/posix/tests/posix_getgrnam_basic.phpt
ext/readline/tests/libedit_callback_handler_install_001.phpt
ext/readline/tests/libedit_callback_handler_remove_001.phpt
ext/simplexml/tests/bug51615.phpt
Expand Down
1 change: 1 addition & 0 deletions dockerfiles/ci/xfail_tests/8.4.list
Original file line number Diff line number Diff line change
Expand Up @@ -120,6 +120,7 @@ ext/phar/tests/phar_metadata_write4.phpt
ext/phar/tests/phar_oo_002.phpt
ext/phar/tests/phar_oo_005.phpt
ext/phar/tests/phar_oo_007.phpt
ext/posix/tests/posix_getgrnam_basic.phpt
ext/readline/tests/libedit_callback_handler_install_001.phpt
ext/readline/tests/libedit_callback_handler_remove_001.phpt
ext/simplexml/tests/bug51615.phpt
Expand Down
3 changes: 2 additions & 1 deletion dockerfiles/frameworks/flow.yml
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,8 @@ services:
flow:
depends_on: ['mysql', 'nginx_file_server']
image: 'datadog/dd-trace-ci:php-framework-flow'
environment:
DD_LOGS_INJECTION: "false"
build:
context: contrib
target: flow
Expand All @@ -17,7 +19,6 @@ services:
MYSQL_ROOT_PASSWORD: ""
MYSQL_ALLOW_EMPTY_PASSWORD: 1
MYSQL_ROOT_HOST: "%"
DD_LOGS_INJECTION: "false"
expose: ["3306"]
healthcheck:
test: ["CMD", "mysqladmin" ,"ping", "-h", "localhost"]
Expand Down
2 changes: 2 additions & 0 deletions tests/ext/library_config/fleet_config_overloads_env.phpt
Original file line number Diff line number Diff line change
Expand Up @@ -23,6 +23,8 @@ echo 'DD_ENV: '.dd_trace_env_config("DD_ENV")."\n";
// System INI
echo 'DD_DYNAMIC_INSTRUMENTATION_ENABLED: '.to_str(dd_trace_env_config("DD_DYNAMIC_INSTRUMENTATION_ENABLED"))."\n";

dd_trace_internal_fn("finalize_telemetry");

?>
--EXPECT--
DD_SERVICE: service_from_fleet_config
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -23,6 +23,8 @@ echo 'DD_ENV: '.dd_trace_env_config("DD_ENV")."\n";
// System INI
echo 'DD_DYNAMIC_INSTRUMENTATION_ENABLED: '.to_str(dd_trace_env_config("DD_DYNAMIC_INSTRUMENTATION_ENABLED"))."\n";

dd_trace_internal_fn("finalize_telemetry");

?>
--EXPECT--
DD_SERVICE: service_from_env
Expand Down
Loading