Skip to content

ecedi/drupal8ci

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Drupal 8 CI Docker image for Gitlab CI

Image size Docker Build Status pipeline status

_

Details

Drupal 8 ci image with all Php / Node tools needed for CI or Local Build/Tests/Lint.

Used with project Gitlab CI Drupal.

Basic usage (local)

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

Build

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.

Releases

No releases published

Packages

No packages published

Languages

  • Shell 37.5%
  • Dockerfile 24.3%
  • Smarty 24.3%
  • Makefile 13.9%