diff options
author | Anton Yuzhaninov <citrin+git@citrin.ru> | 2018-10-22 22:19:29 -0400 |
---|---|---|
committer | Anton Yuzhaninov <citrin+git@citrin.ru> | 2018-10-22 22:56:05 -0400 |
commit | b3826709eca5a7cda0a61e4ae87c34cd2f3fb8d4 (patch) | |
tree | be6bc169d67c56c44223fdaa351271e1c3795a93 /.drone.yml | |
parent | a9ea9d8bcd0092abafb3b967951fef5c493c0d7d (diff) | |
download | rspamd-b3826709eca5a7cda0a61e4ae87c34cd2f3fb8d4.tar.gz rspamd-b3826709eca5a7cda0a61e4ae87c34cd2f3fb8d4.zip |
Share robot log and report on https://ci.rspamd.com/testlogs/
Sending functional test log (about 5Mb) in a email attachmend was temporary
solution.
Upload them to https://ci.rspamd.com/testlogs/ instead.
Link to log/report will be printed in build log.
Diffstat (limited to '.drone.yml')
-rw-r--r-- | .drone.yml | 11 |
1 files changed, 9 insertions, 2 deletions
diff --git a/.drone.yml b/.drone.yml index 76962e6e6..7db345c63 100644 --- a/.drone.yml +++ b/.drone.yml @@ -93,9 +93,17 @@ pipeline: # some rspamd processes during this test work as root and some as nobody # 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 --xunit xunit.xml --exclude isbroken $CI_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 $CI_SYSTEM_LINK/testlogs/$CI_REPO_NAME/$CI_BUILD_NUMBER/; + fi - find /var/tmp/ -name '*.core' - exit $EXIT_CODE + secrets: [http_put_auth] send-coverage: image: rspamd/ci-ubuntu-test @@ -113,10 +121,9 @@ pipeline: # don't send coverage report for pull request event: [push, tag] - send-test-log: + notify: image: drillster/drone-email from: noreply@rspamd.com - attachment: /rspamd/build/log.html secrets: [email_host, email_username, email_password] when: status: failure |