Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/wickedone/gitlab-perl-helpers
collection of perl helpers for implementing code owner specific gitlab ci jobs
https://github.com/wickedone/gitlab-perl-helpers
continuous-integration coverage gitlab gitlab-ci infection mutation-testing perl php phpmd phpstan phpunit psalm test-automation
Last synced: 2 months ago
JSON representation
collection of perl helpers for implementing code owner specific gitlab ci jobs
- Host: GitHub
- URL: https://github.com/wickedone/gitlab-perl-helpers
- Owner: wickedOne
- License: mit
- Created: 2023-01-23T18:56:59.000Z (almost 2 years ago)
- Default Branch: master
- Last Pushed: 2024-07-14T21:03:16.000Z (5 months ago)
- Last Synced: 2024-07-30T17:54:02.301Z (5 months ago)
- Topics: continuous-integration, coverage, gitlab, gitlab-ci, infection, mutation-testing, perl, php, phpmd, phpstan, phpunit, psalm, test-automation
- Language: Perl
- Homepage:
- Size: 182 KB
- Stars: 2
- Watchers: 5
- Forks: 0
- Open Issues: 1
-
Metadata Files:
- Readme: README.md
- Funding: .github/FUNDING.yml
- License: LICENSE
- Code of conduct: CODE_OF_CONDUCT.md
Awesome Lists containing this project
README
[![Coverage Status](https://coveralls.io/repos/github/wickedOne/gitlab-perl-helpers/badge.svg?branch=master)](https://coveralls.io/github/wickedOne/gitlab-perl-helpers?branch=master)
[![codecov](https://codecov.io/gh/wickedOne/gitlab-perl-helpers/graph/badge.svg?token=J4SE1MBNOX)](https://codecov.io/gh/wickedOne/gitlab-perl-helpers)
# gitlab-perl-helperscollection of perl helpers for implementing code owner specific gitlab ci steps.
the general idea is to use the paths defined in the `CODEOWNERS` file for your team to interact with the merge request by either using all paths in the `CODEOWNERS` file, or intersect the merge request changes with those.## environment variables
these scripts rely on a couple of environment variables.
### global variables
the following environment variables are used by all scripts
- `DEV_TEAM`: owner as defined in the `CODEOWNERS` file
- `EXCLUDE_PATHS`: (optional): comma seperated list of paths to exclude while defined in the `CODEOWNERS` file for owner `DEV_TEAM`. defaults to empty string.
- `CODEOWNERS`: (optional): path to codeowners file, defaults to `./CODEOWNERS`## scripts
the `./scripts/` directory contains scripts used in the example configuration. please use them as templates and adjust them to your needs.
## details
most scripts generate a custom config file on the fly.
for more details on supported (static) analysis tools and implementation examples see the following:
1. [PHPUnit](doc/PHPUnit.md)
2. [Infection](doc/Infection.md)
3. [Psalm](doc/Psalm.md)
4. [PHPStan](doc/PHPStan.md)
5. [PHPMD](doc/PHPMD.md)