29
0
mirror of https://github.com/joomla/joomla-cms.git synced 2024-06-24 22:39:31 +00:00

[4.0] Keep system tests screenshots and html if failing. (#25368)

* Keep system tests screenshots and html if failing.

* Update signature
This commit is contained in:
Harald Leithner 2019-06-30 10:39:27 +02:00 committed by David Jardin
parent 9e783e0157
commit 171e6e0c40

View File

@ -115,6 +115,27 @@ steps:
commands:
- bash tests/Codeception/drone-system-run.sh "$(pwd)" postgres
- name: artifacts-system-tests
image: cschlosser/drone-ftps
depends_on: [ system-tests-postgres ]
environment:
FTP_USERNAME:
from_secret: ftpusername
FTP_PASSWORD:
from_secret: ftppassword
PLUGIN_HOSTNAME: ci.joomla.org:21
PLUGIN_SRC_DIR: /tests/Codeception/_output/
PLUGIN_DEST_DIR: /artifacts
PLUGIN_SECURE: false
PLUGIN_EXCLUDE: ^\.git/$
commands:
- export PLUGIN_DEST_DIR=$PLUGIN_DEST_DIR/$DRONE_REPO/$DRONE_BRANCH/$DRONE_PULL_REQUEST_$DRONE_BUILD_NUMBER/system-tests
- echo https://ci.joomla.org:444$PLUGIN_DEST_DIR
- /bin/upload.sh
when:
status:
- failure
- name: api-tests
depends_on: [ system-tests-postgres ]
image: joomlaprojects/docker-systemtests:latest
@ -141,7 +162,6 @@ steps:
branches:
exclude: [ l10n_* ]
volumes:
- name: cache
host:
@ -173,6 +193,6 @@ services:
---
kind: signature
hmac: e1c1f28a3614a9ec4d16677b85ae8a9cdff64b25d95eb5a0af7505184276ac62
hmac: b3723ea069a4139d4b9aef660f8fa5e01cc0c59017a77438a7245e0d552ef72a
...