wunderio/drupal-gitlab-local-pipelines

Run Drupal Gitlab pipeline tasks locally with GrumpPHP.

Installs: 25

Dependents: 0

Suggesters: 0

Security: 0

Stars: 0

Watchers: 1

Forks: 0

Open Issues: 1

Type:composer-plugin

pkg:composer/wunderio/drupal-gitlab-local-pipelines

0.0.10 2024-06-28 07:31 UTC

This package is auto-updated.

Last update: 2025-09-28 10:16:28 UTC


README

This is a small project to try and run Drupal GitLab tasks locally with GrumpPHP via Docker.

Installation

  1. Install wunderio/drupal-gitlab-local-pipelines Composer package using our Docker image (answer 'y' when prompted):

    docker run -it -v "$(pwd)":/app hkirsman/dglp composer require wunderio/drupal-gitlab-local-pipelines --dev

    or use your local Composer:

    composer require wunderio/drupal-gitlab-local-pipelines --dev
  2. Add vendor and grumphp.yml to .gitignore file:

    # Composer
    vendor
    composer.lock
    grumphp.yml
  3. Start using, either update your code and try to commit or run the scanner on whole codebase:

    docker run -it -v "$(pwd)":/app hkirsman/dglp vendor/bin/grumphp run

Pushing Docker changes Docker Hub

  1. Create image

    make build
  2. Log in to Docker Hub:

    docker login
  3. Tag Docker Image

    docker tag hkirsman/dglp hkirsman/dglp:latest
  4. Push Docker Image

    docker push hkirsman/dglp:latest