Giter VIP home page Giter VIP logo

docker-rails-with-pronto-for-gitlab-ci's Introduction

Docker Rails with Pronto For Gitlab CI

What will happen?

Pronto messages posted to gitlab

Pronto started a discussion on commit

The Docker Rails with additions to support pronto gem for gitlab ci.

What is pronto?

A code review tool.

Included Packages

package version
ruby 2.4.1
cmake 3.4.3
libssh 1.6.0
node 8.1.2 10.12.0
libgit2 master

Add pronto to your Gemfile

gem 'pronto'
gem 'pronto-brakeman', require: false
gem 'pronto-flay', require: false
gem 'pronto-rails_best_practices', require: false
gem 'pronto-rails_schema', require: false
gem 'pronto-rubocop', require: false

More Runners

Example .gitlab-ci.yml

# image: "muhammet/docker-rails-with-pronto:latest" node v8.1.2
image: "svtek/docker-rails-with-pronto:latest" # node v10.12.0
services:
  - mysql:latest
  - redis:latest

variables:
  # Configure mysql environment variables (https://hub.docker.com/r/_/mysql/)
  MYSQL_DATABASE: blah
  MYSQL_ROOT_PASSWORD: blah

stages:
  - review

before_script:  
  - gem install bundler --no-ri --no-rdoc
  - bundle install --jobs $(nproc) "${FLAGS[@]}"

review:
  stage: review
  tags:
    - ruby
    - linux
  script:
    - PRONTO_GITLAB_API_PRIVATE_TOKEN=YOUR_PRIVATE_TOKEN pronto run -f gitlab -c origin/master

Note: If you get an error in GitLab runner like: Either installing with --full-index or running bundle update i18n-tasks replace the gem install bundler --no-ri --no-rdoc line with gem install bundler --no-ri --no-rdoc --version 1.14.6

Authors

Sahin Boydas

Co-Founder @ MojiLaLa
LinkedIn
Muhammet

Developer @ MojiLaLa
Github
Sadik

Backend Engineer @ MojiLaLa
Github

Many thanks to @newsdev for Docker Rails project.

docker-rails-with-pronto-for-gitlab-ci's People

Contributors

aaronkrolik avatar abstrctn avatar adamdilek avatar albertsun avatar bkoski avatar buth avatar sadikay avatar sahin avatar

Stargazers

 avatar

Watchers

 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.