2017 © Pedro Peláez
 

library gitlab-reporter

Simple package for reporting bugs results to the Gitlab.com merge request in form of the comments

image

mariusz-kraj/gitlab-reporter

Simple package for reporting bugs results to the Gitlab.com merge request in form of the comments

  • Thursday, February 1, 2018
  • by mariusz-kraj-c
  • Repository
  • 1 Watchers
  • 0 Stars
  • 452 Installations
  • PHP
  • 0 Dependents
  • 0 Suggesters
  • 0 Forks
  • 0 Open issues
  • 14 Versions
  • 23 % Grown

The README.md

Gitlab.com CI reporter

Instalation

  1. Install from composer
composer require --dev "mariusz-kraj/gitlab-reporter:*"
  1. Add config file ".gitlab-ci-reporter.yml" in the root of your project:
reporters:
    phpunit:
        path: 'tests/_output/report.xml'
        failIfNotFound: true
    phpcs:
        path: 'build/phpcs.xml'
        failIfNotFound: true
    phpmd:
        path: 'build/phpmd.xml'
        failIfNotFound: true
  1. Add 'after_' to your "gitlab-ci.yml":
after_script:
  - bin/gitlab-reporter publish
  1. Generate access code and add secret variable, (*1)

    1. Go to access token
    2. Give access to API
    3. Copy token
    4. Go to the Project > Settings > CI\CD > Secret Variables
    5. Create ACCESS TOKEN variable with the token as a value
  2. Create a new merge request and wait for comments!, (*2)

To Do

  • Tests
  • Documentation
  • Config validation
  • PHPUnit Coverage reports
  • Comments with attachments
  • Changing state of merge request depending on the reports
  • Instructions for contributors

Limitations

  • Gitlab CI doesn't have environmental variable with merge request id,library is searching for MR from current branch. If there would be more than one MR from one branch (why?) it will take the first one and ignore rest

The Versions

01/02 2018

dev-master

9999999-dev

Simple package for reporting bugs results to the Gitlab.com merge request in form of the comments

  Sources   Download

MIT

The Requires

 

by Mariusz Kraj

01/02 2018

0.0.13

0.0.13.0

Simple package for reporting bugs results to the Gitlab.com merge request in form of the comments

  Sources   Download

MIT

The Requires

 

by Mariusz Kraj

07/12 2017

0.0.11

0.0.11.0

Simple package for reporting bugs results to the Gitlab.com merge request in form of the comments

  Sources   Download

MIT

The Requires

 

by Mariusz Kraj

07/12 2017

0.0.12

0.0.12.0

Simple package for reporting bugs results to the Gitlab.com merge request in form of the comments

  Sources   Download

MIT

The Requires

 

by Mariusz Kraj

07/12 2017

0.0.10

0.0.10.0

Simple package for reporting bugs results to the Gitlab.com merge request in form of the comments

  Sources   Download

MIT

The Requires

 

by Mariusz Kraj

07/12 2017

0.0.9

0.0.9.0

Simple package for reporting bugs results to the Gitlab.com merge request in form of the comments

  Sources   Download

MIT

The Requires

 

by Mariusz Kraj

24/11 2017

0.0.8

0.0.8.0

Simple package for reporting bugs results to the Gitlab.com merge request in form of the comments

  Sources   Download

MIT

The Requires

 

by Mariusz Kraj

22/11 2017

0.0.7

0.0.7.0

Simple package for reporting bugs results to the Gitlab.com merge request in form of the comments

  Sources   Download

MIT

The Requires

 

by Mariusz Kraj

22/11 2017

0.0.6

0.0.6.0

Simple package for reporting bugs results to the Gitlab.com merge request in form of the comments

  Sources   Download

MIT

The Requires

 

by Mariusz Kraj

22/11 2017

0.0.5

0.0.5.0

Simple package for reporting bugs results to the Gitlab.com merge request in form of the comments

  Sources   Download

MIT

The Requires

 

by Mariusz Kraj

22/11 2017

0.0.4

0.0.4.0

Simple package for reporting bugs results to the Gitlab.com merge request in form of the comments

  Sources   Download

MIT

The Requires

 

by Mariusz Kraj

22/11 2017

0.0.3

0.0.3.0

Simple package for reporting bugs results to the Gitlab.com merge request in form of the comments

  Sources   Download

MIT

The Requires

 

by Mariusz Kraj

21/11 2017

0.0.2

0.0.2.0

Simple package for reporting bugs results to the Gitlab.com merge request in form of the comments

  Sources   Download

MIT

The Requires

 

by Mariusz Kraj

20/11 2017

0.0.1

0.0.1.0

Simple package for reporting bugs results to the Gitlab.com merge request in form of the comments

  Sources   Download

MIT

The Requires

 

by Mariusz Kraj