From 3c3d167e2995327fb4eb2d92b791fde83b2257b6 Mon Sep 17 00:00:00 2001 From: Frank Brehm Date: Tue, 5 Jul 2022 17:27:01 +0200 Subject: [PATCH] Fixing .gitlab-ci.yml and adding .yamllint.yaml --- .gitlab-ci.yml | 4 ++-- .yamllint.yaml | 46 ++++++++++++++++++++++++++++++++++++++++++++++ 2 files changed, 48 insertions(+), 2 deletions(-) create mode 100644 .yamllint.yaml diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml index 5807a7e..66a6d7f 100644 --- a/.gitlab-ci.yml +++ b/.gitlab-ci.yml @@ -253,8 +253,8 @@ Create Centos8 template: - /^dev\/.*$/ - /^hf.*$/ - tags - only: - - schedules +# only: +# - schedules Create AlmaLinux8 template: extends: diff --git a/.yamllint.yaml b/.yamllint.yaml new file mode 100644 index 0000000..f7dc556 --- /dev/null +++ b/.yamllint.yaml @@ -0,0 +1,46 @@ +--- +rules: + braces: + min-spaces-inside: 0 + max-spaces-inside: 1 + min-spaces-inside-empty: 0 + max-spaces-inside-empty: 1 + brackets: + min-spaces-inside: 0 + max-spaces-inside: 1 + min-spaces-inside-empty: 0 + max-spaces-inside-empty: 1 + colons: + max-spaces-before: 0 + max-spaces-after: 1 + commas: + max-spaces-before: 1 + min-spaces-after: 1 + max-spaces-after: 1 + comments: + level: warning + require-starting-space: false + min-spaces-from-content: 2 + comments-indentation: disable + document-end: disable + document-start: + level: warning + present: true + empty-lines: + max: 2 + max-start: 0 + max-end: 1 + hyphens: + max-spaces-after: 1 + indentation: + spaces: consistent + indent-sequences: true + check-multi-line-strings: false + key-duplicates: enable + line-length: disable + new-line-at-end-of-file: enable + new-lines: + type: unix + trailing-spaces: enable + truthy: + level: warning -- 2.39.5