Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
A
aim_control
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Iterations
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Locked files
Build
Pipelines
Jobs
Pipeline schedules
Test cases
Artifacts
Deploy
Releases
Model registry
Analyze
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
liu-puppet-modules
aim_control
Commits
05ae70e6
Commit
05ae70e6
authored
6 years ago
by
Alexander Olofsson
Browse files
Options
Downloads
Patches
Plain Diff
Create a GitLab-CI file
parent
1cee7bd0
No related branches found
No related tags found
No related merge requests found
Pipeline
#3704
failed
6 years ago
Stage: puppet
Changes
1
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
.gitlab-ci.yml
+42
-0
42 additions, 0 deletions
.gitlab-ci.yml
with
42 additions
and
0 deletions
.gitlab-ci.yml
0 → 100644
+
42
−
0
View file @
05ae70e6
---
stages
:
-
puppet
puppet-lint
:
tags
:
[
puppet
]
stage
:
puppet
image
:
ananace/puppetlint:latest-checks
script
:
-
puppet-lint
--no-documentation-check
--with-filename
--config .puppet-lint.rc
--log-format '%{path}:%{line}:%{check}:%{KIND}:%{message}'
manifests
puppet-parser
:
tags
:
[
puppet
]
stage
:
puppet
image
:
ananace/puppetlint:latest
script
:
-
puppet parser validate
--strict_variables
--render-as s
--modulepath="$(pwd)/.."
manifests
-
find templates -type f -name '*.epp' -print0 |
xargs -0r puppet epp validate --render-as s
# TODO: Remove --no-strict-license once a license is in place
-
metadata-json-lint
--no-strict-license
metadata.json
ruby
:
tags
:
[
puppet
]
stage
:
puppet
image
:
ruby:alpine
script
:
-
"
[
-d
lib
]
&&
find
lib
-type
f
-name
'*.rb'
-print0
|
xargs
-0rn1
sh
-c
'printf
\"
$0:
\"
;
cat
$0
|
ruby
-c
2>&1'"
-
"
[
-d
templates
]
&&
find
templates
-type
f
-name
'*.erb'
-print0
|
xargs
-0rn1
sh
-c
'printf
\"
$0:
\"
;
erb
-PxT
\"
-
\"
\"
$0
\"
|
ruby
-c
2>&1'"
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