]> source.dussan.org Git - rspamd.git/commitdiff
Remove indentation from yaml '>' blocks
authorAnton Yuzhaninov <citrin+git@citrin.ru>
Tue, 23 Oct 2018 15:57:37 +0000 (11:57 -0400)
committerAnton Yuzhaninov <citrin+git@citrin.ru>
Tue, 23 Oct 2018 15:57:37 +0000 (11:57 -0400)
With indentation block literal is not folded as expected.

.drone.yml

index 787baa6d8ad4a89c63737d79dab7cc7b00984d69..6215a9332d36f890904c191f0cd57fe3231bfbb4 100644 (file)
@@ -74,8 +74,8 @@ pipeline:
       # if rspamd-test was terminated by a signal it should be SIGSEGV or SIGABRT, try to examine core
       - >
         if [ $EXIT_CODE -gt 128 ]; then
-               gdb -c /var/tmp/*.rspamd-test.core ./rspamd-test -ex "set pagination 0" -ex "thread apply all bt full" --batch;
-               exit $EXIT_CODE;
+        gdb -c /var/tmp/*.rspamd-test.core ./rspamd-test -ex "set pagination 0" -ex "thread apply all bt full" --batch;
+        exit $EXIT_CODE;
         fi
       # luacov-coveralls reads luacov.stats.out written by rspamd-test using luacov module
       # and writes json report for coveralls.io service
@@ -99,7 +99,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 $CI_SYSTEM_LINK/testlogs/$CI_REPO_NAME/$CI_BUILD_NUMBER/;
         fi
       - find /var/tmp/ -name '*.core'
       - exit $EXIT_CODE