Upgrade drone file to docker image + drone 1. Requires signature

This commit is contained in:
wilsonge 2019-08-13 01:31:05 +01:00
parent 0716d5e3e6
commit 8712d4033a
No known key found for this signature in database
GPG Key ID: EF81319318FC9D04
1 changed files with 30 additions and 20 deletions

View File

@ -1,20 +1,30 @@
cache: ---
mount: kind: pipeline
- vendor name: default
- .git
build: steps:
image: yveshoppe/joomla-systemtests:latest - name: weblinks-codeception-tests
commands: image: joomlaprojects/docker-systemtests:latest
- chmod a+x .drone/build.sh commands:
- ./.drone/build.sh - composer install
- apache2ctl start - chmod a+x .drone/build.sh
- service mysql start - ./.drone/build.sh
- cd /tests/www - apache2ctl start
- export DISPLAY=:0 - service mysql start
- Xvfb -screen 0 1024x768x24 -ac +extension GLX +render -noreset > /dev/null 2>&1 & - cd /tests/www
- sleep 3 - export DISPLAY=:0
- fluxbox > /dev/null 2>&1 & - Xvfb -screen 0 1024x768x24 -ac +extension GLX +render -noreset > /dev/null 2>&1 &
- vendor/bin/robo run:tests - sleep 3
clone: - fluxbox > /dev/null 2>&1 &
depth: 1 - vendor/bin/robo run:tests
path: repo
volumes:
- name: weblinks_cache
host:
path: /tmp/weblinks_cache
---
kind: signature
hmac: 41c9d399a788c8e97a0444ee8483682cfcb5b21d920b4012852a48ed3b2e9db8
...