Update .drone.yml

This commit is contained in:
Harald Leithner 2021-07-19 14:19:14 +02:00 committed by GitHub
parent 6bedd432f8
commit 3202988ee3
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 21 additions and 0 deletions

View File

@ -18,6 +18,27 @@ steps:
- fluxbox > /dev/null 2>&1 &
- vendor/bin/robo run:tests
- name: artifacts-codeception-tests
image: cschlosser/drone-ftps
depends_on: [ api-tests ]
environment:
FTP_USERNAME:
from_secret: ftpusername
FTP_PASSWORD:
from_secret: ftppassword
PLUGIN_HOSTNAME: ftp.artifacts.joomla.org:21
PLUGIN_SRC_DIR: /tests/www/tests/_output/
PLUGIN_DEST_DIR: /
PLUGIN_SECURE: false
PLUGIN_EXCLUDE: ^\.git/$
commands:
- export PLUGIN_DEST_DIR=$PLUGIN_DEST_DIR/$DRONE_REPO/$DRONE_BRANCH/$DRONE_PULL_REQUEST/system-tests/$DRONE_BUILD_NUMBER
- echo https://artifacts.joomla.org$PLUGIN_DEST_DIR
- /bin/upload.sh
when:
status:
- failure
volumes:
- name: weblinks_cache
host: