From 8712d4033a1453f858a78004ab1ed5d185c60409 Mon Sep 17 00:00:00 2001 From: wilsonge Date: Tue, 13 Aug 2019 01:31:05 +0100 Subject: [PATCH] Upgrade drone file to docker image + drone 1. Requires signature --- .drone.yml | 50 ++++++++++++++++++++++++++++++-------------------- 1 file changed, 30 insertions(+), 20 deletions(-) diff --git a/.drone.yml b/.drone.yml index 456f65d..053116b 100644 --- a/.drone.yml +++ b/.drone.yml @@ -1,20 +1,30 @@ -cache: - mount: - - vendor - - .git -build: - image: yveshoppe/joomla-systemtests:latest - commands: - - chmod a+x .drone/build.sh - - ./.drone/build.sh - - apache2ctl start - - service mysql start - - cd /tests/www - - export DISPLAY=:0 - - Xvfb -screen 0 1024x768x24 -ac +extension GLX +render -noreset > /dev/null 2>&1 & - - sleep 3 - - fluxbox > /dev/null 2>&1 & - - vendor/bin/robo run:tests - clone: - depth: 1 - path: repo +--- +kind: pipeline +name: default + +steps: + - name: weblinks-codeception-tests + image: joomlaprojects/docker-systemtests:latest + commands: + - composer install + - chmod a+x .drone/build.sh + - ./.drone/build.sh + - apache2ctl start + - service mysql start + - cd /tests/www + - export DISPLAY=:0 + - Xvfb -screen 0 1024x768x24 -ac +extension GLX +render -noreset > /dev/null 2>&1 & + - sleep 3 + - fluxbox > /dev/null 2>&1 & + - vendor/bin/robo run:tests + +volumes: + - name: weblinks_cache + host: + path: /tmp/weblinks_cache + +--- +kind: signature +hmac: 41c9d399a788c8e97a0444ee8483682cfcb5b21d920b4012852a48ed3b2e9db8 + +...