29
0
mirror of https://github.com/joomla/joomla-cms.git synced 2024-06-28 16:13:42 +00:00

[4.0] Cleaning up Drone configuration (#31116)

* Cleaning up Drone configuration

* Fix step dependency

* Switching npm image to 14-alpine
This commit is contained in:
Hannes Papenberg 2020-10-23 22:04:25 +02:00 committed by GitHub
parent 793b62de5c
commit 3c97ab58f5
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -24,7 +24,7 @@ steps:
- echo $(date)
- name: npm
image: node:current-alpine
image: node:14-alpine
depends_on: [ phpcs ]
commands:
- npm ci --unsafe-perm
@ -128,20 +128,8 @@ steps:
commands:
- npm run lint:js
- name: javascript-tests
depends_on: [ npm ]
image: joomlaprojects/docker-images:systemtests
environment:
JOOMLA_INSTALLATION_DISABLE_LOCALHOST_CHECK: 1
commands:
- export DISPLAY=:0
- Xvfb -screen 0 1024x768x24 -ac +extension GLX +render -noreset > /dev/null 2>&1 &
- sleep 3
- fluxbox > /dev/null 2>&1 &
- npm run test
- name: system-tests-mysql
depends_on: [ javascript-tests ]
depends_on: [ javascript-cs ]
image: joomlaprojects/docker-images:systemtests
environment:
JOOMLA_INSTALLATION_DISABLE_LOCALHOST_CHECK: 1
@ -215,15 +203,9 @@ branches:
exclude: [ l10n_* ]
volumes:
- name: cache
host:
path: /tmp/cache
- name: composer-cache
host:
path: /tmp/composer-cache
- name: reference
host:
path: /tmp/reference
services:
- name: mysql
@ -243,12 +225,6 @@ services:
MYSQL_ROOT_PASSWORD: joomla_ut
MYSQL_DATABASE: test_joomla
- name: memcached
image: memcached:alpine
- name: redis
image: redis:alpine
- name: postgres
image: postgres:11-alpine
ports:
@ -293,6 +269,6 @@ steps:
---
kind: signature
hmac: 4f58d8f61573498094e990f8f9ca8dec5324e727cfaa277c8fcb2392c17e33fe
hmac: f99784b6fd6bf3707a600f262bb9e59aa7b5f97e54df8976e459096de4344ef3
...