Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
A
ansible-dns-cache
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Iterations
Wiki
Requirements
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Locked files
Build
Pipelines
Jobs
Pipeline schedules
Test cases
Artifacts
Deploy
Releases
Container registry
Model registry
Operate
Environments
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Code review analytics
Issue analytics
Insights
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
infra
ansible-shared
ansible-dns-cache
Commits
8f2a7491
Commit
8f2a7491
authored
5 years ago
by
Lars Beckers
Browse files
Options
Downloads
Patches
Plain Diff
add ansible-lint config, add gitlab CI config, update yamllint config
parent
d745d3da
No related branches found
No related tags found
No related merge requests found
Pipeline
#1291
failed
5 years ago
Stage: test
Changes
3
Pipelines
1
Show whitespace changes
Inline
Side-by-side
Showing
3 changed files
.ansible-lint
+9
-0
9 additions, 0 deletions
.ansible-lint
.gitlab-ci.yml
+25
-0
25 additions, 0 deletions
.gitlab-ci.yml
.yamllint
+5
-1
5 additions, 1 deletion
.yamllint
with
39 additions
and
1 deletion
.ansible-lint
0 → 100644
+
9
−
0
View file @
8f2a7491
parseable: true
quiet: true
use_default_rules: true
skip_list:
- '204' # line length is checked by yamllint
- '401' # git checkout must contain explicit version
- '701' # 7xx is about ansible galaxy guidelines
- '702'
- '703'
This diff is collapsed.
Click to expand it.
.gitlab-ci.yml
0 → 100644
+
25
−
0
View file @
8f2a7491
---
image
:
registry.git.fsmpi.rwth-aachen.de/infra/ci-containers/fsmpi-ansible:buster
variables
:
GIT_SUBMODULE_STRATEGY
:
recursive
before_script
:
-
export LANG=en_US.UTF-8
-
chmod o-w .
-
apt-get -qq update && apt-get -qq install -y ansible-lint
-
ansible --version
-
ansible-lint --version
-
yamllint --version
stages
:
-
test
test
:
stage
:
test
script
:
-
yamllint .
-
ansible-lint ./*/
# yamllint disable-line rule:line-length
-
!
rg --fixed-strings "passwordstore" ./*/templates
This diff is collapsed.
Click to expand it.
.yamllint
+
5
−
1
View file @
8f2a7491
...
...
@@ -14,6 +14,10 @@ rules:
forbid-in-block-mappings: true
line-length:
level: warning
allow-non-breakable-inline-mappings: true
octal-values:
forbid-implicit-octal: true
level: warning
level: error
# quoted-strings: enable
truthy:
level: error
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