Skip to content

Use GrumPHP to run the same rules as Drupal Gitlab Pipelines does for faster feedback loop.

Notifications You must be signed in to change notification settings

wunderio/drupal-gitlab-local-pipelines

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

15 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Drupal GitLab local pipelines

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

About

Use GrumPHP to run the same rules as Drupal Gitlab Pipelines does for faster feedback loop.

Resources

Stars

Watchers

Forks

Packages

No packages published