Commit 6a253abf authored by bmortier's avatar bmortier
Browse files

Update .gitlab-ci.yml

Add ou own docker images
Standardize with fusiondirectory ci
Showing with 18 additions and 16 deletions
+18 -16
# Specify docker image stages:
image: debian:stretch - lint
- codestyle
# Generate perlcritic rapport # Perl lint
create_perlcritic_rapport: create_perl_lint_rapport:
image: registry.fusiondirectory.org/fusiondirectory/fd/perlcodestyle:stretch
stage: lint
only: only:
- branches - branches
- tags
before_script:
- apt-get update -qq
- apt-get install -y -qq libperl-critic-perl
script: script:
- perlcritic . - perl -cW bin/ldap-schema-manager
- perl -cW bin/schema2ldif
# Perl lint # Generate perlcritic rapport
create_perl_lint_rapport: create_perlcritic_rapport:
image: registry.fusiondirectory.org/fusiondirectory/fd/perlcodestyle:stretch
stage: codestyle
only: only:
- branches - branches
- tags
before_script:
- apt-get update -qq
- apt-get install -y -qq perl
script: script:
- find bin/ -type f -print0 | xargs -0 -n1 perl -cw - cp bin/ldap-schema-manager bin/ldap-schema-manager.pl
- cp bin/schema2ldif bin/bin/schema2ldif.pl
- perlcritic --quiet --verbose "%f~|~%s~|~%l~|~%c~|~%m~|~%e~|~%p~||~%n" bin
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment