Skip to content
GitLab
About GitLab
GitLab: the DevOps platform
Explore GitLab
Install GitLab
How GitLab compares
Get started
GitLab docs
GitLab Learn
Pricing
Talk to an expert
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Projects
Groups
Snippets
Sign up now
Login
Sign in
Toggle navigation
Menu
Open sidebar
infra
ansible-shared
databases
Commits
692d5740
Commit
692d5740
authored
Sep 11, 2019
by
Lars Beckers
Browse files
add gitlab CI config; add ansible-lint config; update yamllint config
parent
42b50f61
Pipeline
#1300
passed with stage
in 1 minute and 11 seconds
Changes
3
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
.ansible-lint
0 → 100644
View file @
692d5740
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'
.gitlab-ci.yml
0 → 100644
View file @
692d5740
---
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 ripgrep
-
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"
.yamllint
View file @
692d5740
...
...
@@ -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
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!
Cancel
Please
register
or
sign in
to comment