Upgrade drone file to docker image + drone 1. Requires signature
This commit is contained in:
parent
0716d5e3e6
commit
8712d4033a
50
.drone.yml
50
.drone.yml
|
@ -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
|
||||||
|
|
||||||
|
...
|
||||||
|
|
Loading…
Reference in New Issue