Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/mogtofu33/drupal8ci
MIRROR for https://gitlab.com/mog33/drupal8ci
https://github.com/mogtofu33/drupal8ci
docker drupal drupal-10 drupal-9 gitlab-ci
Last synced: 2 months ago
JSON representation
MIRROR for https://gitlab.com/mog33/drupal8ci
- Host: GitHub
- URL: https://github.com/mogtofu33/drupal8ci
- Owner: mogtofu33
- License: gpl-3.0
- Created: 2018-12-05T00:41:52.000Z (about 6 years ago)
- Default Branch: 4.x-dev
- Last Pushed: 2024-05-22T10:18:07.000Z (9 months ago)
- Last Synced: 2024-05-22T10:54:33.177Z (9 months ago)
- Topics: docker, drupal, drupal-10, drupal-9, gitlab-ci
- Language: Dockerfile
- Homepage: https://gitlab.com/mog33/drupal8ci
- Size: 2.01 MB
- Stars: 1
- Watchers: 3
- Forks: 5
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# Drupal 10 CI Docker image for Gitlab CI
## Details
[Drupal 10](https://www.drupal.org) ci image based on official [docker Drupal](https://github.com/docker-library/drupal)
with some Php/NodeJs tools needed for CI or Local Build/Test/Lint.Used with project [Gitlab CI Drupal](https://gitlab.com/mog33/gitlab-ci-drupal).
* Fork from [juampynr/drupal8ci](https://hub.docker.com/r/juampynr/drupal8ci/~/dockerfile/)
* Based on [Drupal official image](https://github.com/docker-library/drupal), added
* [Node.js](https://nodejs.org/en/) + [Yarn](https://yarnpkg.com)
* [Robo CI](http://robo.li)
* [Phpqa](https://github.com/EdgedesignCZ/phpqa) including:
* [Phpmetrics](https://www.phpmetrics.org)
* [Phploc](https://github.com/sebastianbergmann/phploc)
* [Phpcs](https://github.com/squizlabs/PHP_CodeSniffer)
* [Phpmd](https://phpmd.org)
* [Pdepend](https://pdepend.org)
* [phpstan](https://github.com/phpstan/phpstan)
* [phpstan-drupal](https://github.com/mglaman/phpstan-drupal)
* [Drupal Coder](https://www.drupal.org/project/coder)
* Mariadb (MySQL) and PostgreSQL client
* Php with extensions:
* intl xsl mysqli bcmath calendar sockets pcntl opcache exif ftp imagick xdebug
* [jq](https://stedolan.github.io/jq/)
* [bc](https://www.gnu.org/software/bc/)
* [xsltproc](http://xmlsoft.org/xslt/xsltproc.html)
* [gettext](http://xmlsoft.org/xslt/xsltproc.html)## Basic usage (local)
All images are based on official [docker Drupal](https://github.com/docker-library) images managed by Composer.
To use with a local Drupal 10 managed by Composer, mount your Drupal on `/opt/drupal/`
## Issues
* ...
## Build
CI variable `CI_DO_RELEASE`, default to `1` to push to Docker hub.
## Tests
Tests with [infratest](https://testinfra.readthedocs.io/en/latest/).
```bash
docker run -it --rm mogtofu33/drupal8ci:4.x-dev-10.2 /tests/prepare-tests.sh && pytest
```----
Want some help implementing this on your project? I provide Drupal expertise as a **freelance**, just [contact me](https://developpeur-drupal.com/en).