Drupal 8 ci image with all Php / Node tools needed for CI or Local Build/Tests/Lint.
Used with project Gitlab CI Drupal.
- Fork from juampynr/drupal8ci
- Based on Drupal official image, added
- Node.js 10 + Yarn
- Php7 + Apache added extensions: xsl, imagick, xdebug
- Composer + Prestissimo plugin
- Robo CI
- Phpqa including:
- Drupal Coder
- Mariadb (MySQL) client
- jq
The default image 8.7-drupal
include Drupal core with Google Chrome.
Tag 8.8-drupal
rely on current Drupal 8.8.x-dev
version.
Variants no-drupal
are used for a project including a Drupal template from a composer.json
.
To use with a local Drupal 8 managed by composer, mount your Drupal on /var/www/html
Those images can be used for local tests with Docker, see Running the jobs locally with Docker
CI variable CI_DO_RELEASE
, default to 1 to push to Docker hub.
Other variables to skip jobs:
SKIP_STABLE 0
SKIP_STABLE_SELENIUM 0
SKIP_DEV 0
SKIP_DEV_SELENIUM 0
SKIP_NO_DRUPAL 0
SKIP_NO_DRUPAL_SELENIUM 0
# Local build and tests with no push to Docker hub.
make dry-release
# Local push from previous build.
make push-release
# All in one build and push.
make release
Want some help implementing this on your project? I provide Drupal 8 expertise as a freelance, just contact me.