Skip to content

Commit b8637f7

Browse files
fix(ci): isolate PHPTs from Fabric egress proxy
1 parent f560ac2 commit b8637f7

2 files changed

Lines changed: 4 additions & 0 deletions

File tree

.gitlab/generate-appsec.php

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -100,6 +100,8 @@
100100
-DCMAKE_CXX_FLAGS='-stdlib=libc++' -DCMAKE_CXX_LINK_FLAGS='-stdlib=libc++'
101101
-DDD_APPSEC_TESTING=ON -DBOOST_CACHE_PREFIX=$CI_PROJECT_DIR/boost-cache
102102
-DENABLE_ASAN=$ASAN_FLAG"
103+
# The Fabric proxy changes curl test behavior and leaks HTTP_PROXY into $_SERVER.
104+
- unset HTTP_PROXY HTTPS_PROXY http_proxy https_proxy ALL_PROXY all_proxy
103105
- ASAN_OPTIONS=malloc_context_size=0 make -j 4 xtest
104106

105107
.appsec_integration_tests:

.gitlab/generate-profiler.php

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -165,6 +165,8 @@
165165
- "if php -r 'exit(PHP_VERSION_ID < 80400 ? 0 : 1);'; then cat profiling/tests/php-language-xfail-pre84.list >> /tmp/profiler-php-language-xfail.list; fi"
166166
- export XFAIL_LIST=/tmp/profiler-php-language-xfail.list
167167
- ulimit -c unlimited
168+
# The Fabric proxy changes curl test behavior and leaks HTTP_PROXY into $_SERVER.
169+
- unset HTTP_PROXY HTTPS_PROXY http_proxy https_proxy ALL_PROXY all_proxy
168170
- .gitlab/run_php_language_tests.sh
169171
after_script:
170172
- |

0 commit comments

Comments
 (0)