]> source.dussan.org Git - rspamd.git/commitdiff
[Minor] Try fix CI 4603/head
authorAndrew Lewis <nerf@judo.za.org>
Fri, 15 Sep 2023 13:52:36 +0000 (15:52 +0200)
committerAndrew Lewis <nerf@judo.za.org>
Fri, 15 Sep 2023 13:52:36 +0000 (15:52 +0200)
.drone.yml

index c7e10cdbc57583155ace0960a013834a47c6beda..f2221908bd27976d9b9b8f1d4f52e50e66cda5b8 100644 (file)
@@ -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
 
 ...