summaryrefslogtreecommitdiffstats
path: root/.drone.yml
diff options
context:
space:
mode:
authorAnton Yuzhaninov <citrin+git@citrin.ru>2019-10-14 14:40:45 +0100
committerAnton Yuzhaninov <citrin+git@citrin.ru>2019-10-14 14:40:45 +0100
commitee019ae2bfe0fabf539975dee0e64f4c8a64971c (patch)
tree359e9ef7f57566ac02ec278ab3b8e7ba211161fe /.drone.yml
parentb711239c11939e529bdf3f292754e709522680ed (diff)
downloadrspamd-ee019ae2bfe0fabf539975dee0e64f4c8a64971c.tar.gz
rspamd-ee019ae2bfe0fabf539975dee0e64f4c8a64971c.zip
Update enviroment variable after Drone upgrade
Drone 0.8 and Drone 1.x are not fully compatible.
Diffstat (limited to '.drone.yml')
-rw-r--r--.drone.yml4
1 files changed, 1 insertions, 3 deletions
diff --git a/.drone.yml b/.drone.yml
index 458e4aa6c..ba27e014d 100644
--- a/.drone.yml
+++ b/.drone.yml
@@ -10,8 +10,6 @@ pipeline:
image: ubuntu:18.04
commands:
- install -d -o nobody -g nogroup /rspamd/build /rspamd/install /rspamd/fedora/build /rspamd/fedora/install
- # for debug
- - echo $CI_COMMIT_AUTHOR
build:
# https://github.com/rspamd/rspamd-build-docker/blob/master/ubuntu-build/Dockerfile
@@ -157,7 +155,7 @@ pipeline:
# 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/;
+ $CI_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')