commit a5fada3: [Minor] Try fix CI

Andrew Lewis nerf at judo.za.org
Fri Sep 15 15:35:03 UTC 2023


Author: Andrew Lewis
Date: 2023-09-15 15:52:36 +0200
URL: https://github.com/rspamd/rspamd/commit/a5fada39950d217ac39c9732bac7499cad74a4c5 (refs/pull/4603/head)

[Minor] Try fix CI

---
 .drone.yml | 14 +++++++-------
 1 file 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
 
 ...


More information about the Commits mailing list