diff options
author | Andrew Lewis <nerf@judo.za.org> | 2023-09-15 15:52:36 +0200 |
---|---|---|
committer | Andrew Lewis <nerf@judo.za.org> | 2023-09-15 15:52:36 +0200 |
commit | a5fada39950d217ac39c9732bac7499cad74a4c5 (patch) | |
tree | 019213b252e67c6bedf7bb5812bb1fae9a3e00a7 /.drone.yml | |
parent | 2f603c1a3881c1807782d12cbcaff6d4b1bc0b7f (diff) | |
download | rspamd-a5fada39950d217ac39c9732bac7499cad74a4c5.tar.gz rspamd-a5fada39950d217ac39c9732bac7499cad74a4c5.zip |
[Minor] Try fix CI
Diffstat (limited to '.drone.yml')
-rw-r--r-- | .drone.yml | 14 |
1 files changed, 7 insertions, 7 deletions
diff --git a/.drone.yml b/.drone.yml index c7e10cdbc..f2221908b 100644 --- a/.drone.yml +++ b/.drone.yml @@ -41,7 +41,7 @@ steps: -DENABLE_LIBUNWIND=ON -DENABLE_HYPERSCAN=ON -GNinja - $CI_WORKSPACE + $DRONE_WORKSPACE - ncpu=$(getconf _NPROCESSORS_ONLN) - ninja -j $ncpu install - ninja -j $ncpu rspamd-test @@ -72,7 +72,7 @@ steps: -DENABLE_FULL_DEBUG=ON -DENABLE_HYPERSCAN=ON -DSANITIZE=address - $CI_WORKSPACE + $DRONE_WORKSPACE - ncpu=$(getconf _NPROCESSORS_ONLN) - make -j $ncpu install - make -j $ncpu rspamd-test @@ -185,12 +185,12 @@ steps: # use umask to create world-writable files so nobody can write to *.gcda files created by root - umask 0000 - set +e - - RSPAMD_INSTALLROOT=/rspamd/install robot --removekeywords wuks --exclude isbroken $CI_WORKSPACE/test/functional/cases; EXIT_CODE=$? + - RSPAMD_INSTALLROOT=/rspamd/install robot --removekeywords wuks --exclude isbroken $DRONE_WORKSPACE/test/functional/cases; EXIT_CODE=$? - set -e # upload test results to nginx frontent using WebDAV PUT - > if [ -n "$HTTP_PUT_AUTH" ]; then - $CI_WORKSPACE/test/tools/http_put.py log.html report.html https://$DRONE_SYSTEM_HOSTNAME/testlogs/$DRONE_REPO/$DRONE_BUILD_NUMBER/; + $DRONE_WORKSPACE/test/tools/http_put.py log.html report.html https://$DRONE_SYSTEM_HOSTNAME/testlogs/$DRONE_REPO/$DRONE_BUILD_NUMBER/; fi # core_pattern=/var/tmp/%u.%e.core so one or two cores can be saved for each binary - core_files=$(find /var/tmp/ -name '*.core') @@ -216,7 +216,7 @@ steps: commands: - cd /rspamd/build # extract coverage data for C code from .gcda files and save it in a format suitable for coveralls.io - - $CI_WORKSPACE/test/tools/gcov_coveralls.py --exclude test --prefix /rspamd/build --prefix $CI_WORKSPACE --out coverage.c.json + - $DRONE_WORKSPACE/test/tools/gcov_coveralls.py --exclude test --prefix /rspamd/build --prefix $DRONE_WORKSPACE --out coverage.c.json # luacov-coveralls reads luacov.stats.out generated by functional tests # (see collect_lua_coverage() in test/functional/lib/rspamd.py) # and writes json report for coveralls.io @@ -224,7 +224,7 @@ steps: # * merge coverage for C and Lua code # * remove prefixes from absolute paths (in luacov-coveralls files), filter test, contrib, e. t.c # * upload report to coveralls.io - - $CI_WORKSPACE/test/tools/merge_coveralls.py --root $CI_WORKSPACE --input coverage.c.json unit_test_lua.json coverage.functional.lua.json --token=$COVERALLS_REPO_TOKEN + - $DRONE_WORKSPACE/test/tools/merge_coveralls.py --root $DRONE_WORKSPACE --input coverage.c.json unit_test_lua.json coverage.functional.lua.json --token=$COVERALLS_REPO_TOKEN environment: COVERALLS_REPO_TOKEN: { from_secret: coveralls_repo_token } when: @@ -283,6 +283,6 @@ trigger: --- kind: signature -hmac: f872f03e58aa40d039377909ef889f867b77d82cdd8b87b398096e3a1e954a24 +hmac: 13670c504d29a1249b3a06c171016f14377e3c74101935bc23f6c542036562df ... |