Skip to content
GitLab
Explore
Projects
Groups
Topics
Snippets
Projects
Groups
Topics
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
fusiondirectory
schema2ldif
Commits
6a253abf
Commit
6a253abf
authored
4 years ago
by
bmortier
Browse files
Options
Download
Patches
Plain Diff
Update .gitlab-ci.yml
Add ou own docker images Standardize with fusiondirectory ci
parent
edf4ecff
1.3-fixes
5488-add-a-github-funding-yml
5498-add-a-changelog-md
5504-remove-all-leftover-of-opensides-be-inside-the-sources
No related merge requests found
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
.gitlab-ci.yml
+18
-16
.gitlab-ci.yml
with
18 additions
and
16 deletions
+18
-16
.gitlab-ci.yml
+
18
−
16
View file @
6a253abf
# 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
This diff is collapsed.
Click to expand it.
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment
Menu
Explore
Projects
Groups
Topics
Snippets