Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
Schema2ldif
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Iterations
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Locked files
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Package registry
Container Registry
Model registry
Operate
Environments
Terraform modules
Monitor
Incidents
Service Desk
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Code review analytics
Issue analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Terms and privacy
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
mirrored_repos
fusiondirectory
Schema2ldif
Commits
6a253abf
Commit
6a253abf
authored
4 years ago
by
bmortier
Browse files
Options
Downloads
Patches
Plain Diff
Update .gitlab-ci.yml
Add ou own docker images Standardize with fusiondirectory ci
parent
edf4ecff
No related branches found
No related tags found
No related merge requests found
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
.gitlab-ci.yml
+18
-16
18 additions, 16 deletions
.gitlab-ci.yml
with
18 additions
and
16 deletions
.gitlab-ci.yml
+
18
−
16
View file @
6a253abf
# Specify docker image
image
:
debian:stretch
stages
:
-
lint
-
codestyle
# Generate perlcritic rapport
create_perlcritic_rapport
:
# Perl lint
create_perl_lint_rapport
:
image
:
registry.fusiondirectory.org/fusiondirectory/fd/perlcodestyle:stretch
stage
:
lint
only
:
-
branches
-
tags
before_script
:
-
apt-get update -qq
-
apt-get install -y -qq libperl-critic-perl
script
:
-
perlcritic .
-
perl -cW bin/ldap-schema-manager
-
perl -cW bin/schema2ldif
# Perl lint
create_perl_lint_rapport
:
# Generate perlcritic rapport
create_perlcritic_rapport
:
image
:
registry.fusiondirectory.org/fusiondirectory/fd/perlcodestyle:stretch
stage
:
codestyle
only
:
-
branches
-
tags
before_script
:
-
apt-get update -qq
-
apt-get install -y -qq perl
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.
Preview
0%
Loading
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