From 3202988ee3de8f5364c1c48d75c6c5c1a4b12d41 Mon Sep 17 00:00:00 2001 From: Harald Leithner Date: Mon, 19 Jul 2021 14:19:14 +0200 Subject: [PATCH] Update .drone.yml --- .drone.yml | 21 +++++++++++++++++++++ 1 file changed, 21 insertions(+) diff --git a/.drone.yml b/.drone.yml index 69697ac..bcba97c 100644 --- a/.drone.yml +++ b/.drone.yml @@ -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: