From 2052861ac2f85505cc8216b7ce9d2076fa9c85bb Mon Sep 17 00:00:00 2001 From: Arne Teuke Date: Sun, 2 Mar 2025 22:41:46 +0100 Subject: [PATCH] update Readme --- .mdl_style.rb | 3 --- .mdlrc | 2 -- .spelling | 43 ------------------------------------------- Jenkinsfile | 23 +++-------------------- README.md | 10 ++++------ 5 files changed, 7 insertions(+), 74 deletions(-) delete mode 100644 .mdl_style.rb delete mode 100644 .mdlrc delete mode 100644 .spelling diff --git a/.mdl_style.rb b/.mdl_style.rb deleted file mode 100644 index 5d4d3b9..0000000 --- a/.mdl_style.rb +++ /dev/null @@ -1,3 +0,0 @@ -all -rule 'MD013', :line_length => 1000 -exclude_rule 'MD036' diff --git a/.mdlrc b/.mdlrc deleted file mode 100644 index e5c563a..0000000 --- a/.mdlrc +++ /dev/null @@ -1,2 +0,0 @@ -style '.mdl_style.rb' - diff --git a/.spelling b/.spelling deleted file mode 100644 index 29ee1b0..0000000 --- a/.spelling +++ /dev/null @@ -1,43 +0,0 @@ -# markdown-spellcheck spelling configuration file -# Format - lines begining # are comments -# global dictionary is at the start, file overrides afterwards -# one word per line, to define a file override use ' - filename' -# where filename is relative to this configuration file -Readme.md -httpd -sudo -selinux -site.pp -nodes.pp -cd_apache -:: -params -Foreman -cd_resources -CentOS -Puppet -ConfDroid -nagios -vHosts -vHost -phpMyAdmin -phpPgAdmin -parameterized -erb -Confdroid.com -UTF_Files -Elasticsearch -cd_firewall -puppetlabs -cd_elasticsearch -cd_fail2ban -Fail2Ban -intrusion -fail2ban -firewalld -prevention -management -CentOS7 -auto-installed -ipv4 -ipv6 diff --git a/Jenkinsfile b/Jenkinsfile index a72dacc..0107edb 100644 --- a/Jenkinsfile +++ b/Jenkinsfile @@ -64,28 +64,11 @@ pipeline { } } - stage('markdown-lint') { - steps { - sh ''' - source /opt/rh/rh-ruby27/enable - mdl README.md - ''' - } - } - - stage('spell check') { - steps { - sh ''' - mdspell -r -n -a "**/*.md" - ''' - } - } - - stage('SonarScan') { + stage('SonarScan') { steps { sh ''' /opt/sonar-scanner/bin/sonar-scanner \ - -Dsonar.projectKey=cd_fail2ban \ + -Dsonar.projectKey=fail2ban_cd \ -Dsonar.sources=. \ -Dsonar.host.url=https://sonarqube.confdroid.com \ -Dsonar.token=squ_af3fb66bbbcccf239ffe9393a5e70874f054be7a @@ -93,7 +76,7 @@ pipeline { } } - stage('create Puppet documention') { + stage('create Puppet documentation') { steps { sh '/opt/puppetlabs/bin/puppet strings' } diff --git a/README.md b/README.md index 6ae4b12..cffdfca 100644 --- a/README.md +++ b/README.md @@ -1,6 +1,6 @@ # Readme -[![Build Status](https://pipelines.confdroid.com/buildStatus/icon?job=cd_fail2ban)](https://pipelines.confdroid.com/job/cd_fail2ban/) +[![Build Status](https://pipelines.confdroid.com/buildStatus/icon?job=fail2ban_cd)](https://pipelines.confdroid.com/job/fail2ban_cd/) [[_TOC_]] @@ -27,7 +27,7 @@ Configuration Service -* manage service status (running or stopped) +* manage service status ## Dependencies @@ -68,8 +68,8 @@ All files and directories are configured with correct selinux context. If selinu ## Support -* OS: CentOS 7 -* Puppet 5 +* OS: Rocky 9 +* Puppet 8 ## Tests @@ -82,8 +82,6 @@ All files and directories are configured with correct selinux context. If selinu * Puppet Parser * ERB Template Parser * Test for unwanted UTF8 files in the Puppet code (see tests/UTF_Files) -* Markdown-lint -* Spellcheck * Sonar Quality Gate ## Contact Us