[master] 7e9c6a7ba [cci] use su instead of sudo
Guillaume Quintard
guillaume at varnish-software.com
Tue Jan 12 18:30:07 UTC 2021
commit 7e9c6a7ba293ffb7b2875d4b8d168c44cc289eaf
Author: Guillaume Quintard <guillaume at varnish-software.com>
Date: Tue Jan 12 10:29:09 2021 -0800
[cci] use su instead of sudo
diff --git a/.circleci/config.yml b/.circleci/config.yml
index adcaae3b6..899dd36cb 100644
--- a/.circleci/config.yml
+++ b/.circleci/config.yml
@@ -224,17 +224,17 @@ jobs:
export TSAN_OPTIONS=abort_on_error=1,halt_on_error=1,use_sigaltstack=0,suppressions=$(pwd)/tools/tsan.suppr
export UBSAN_OPTIONS=halt_on_error=1,print_stacktrace=1,use_sigaltstack=0,suppressions=$(pwd)/tools/ubsan.suppr
- sudo -u varnish ./configure \
+ su varnish -c './configure \
--quiet \
--with-unwind \
--enable-developer-warnings \
--enable-debugging-symbols \
--disable-stack-protector \
--with-persistent-storage \
- << parameters.extra_conf >>
- sudo -u varnish \
- --preserve-env=ASAN_OPTIONS,LSAN_OPTIONS,TSAN_OPTIONS,UBSAN_OPTIONS \
- make distcheck VERBOSE=1 -j 12 -k
+ << parameters.extra_conf >>'
+ su varnish \
+ --whitelist-environment=ASAN_OPTIONS,LSAN_OPTIONS,TSAN_OPTIONS,UBSAN_OPTIONS \
+ -c 'make distcheck VERBOSE=1 -j 12 -k'
collect_packages:
docker:
More information about the varnish-commit
mailing list